aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patches/apache/_apache.tar.gzbin2893 -> 0 bytes
-rwxr-xr-xpatches/apache/apache.SlackBuild211
-rw-r--r--patches/apache/apache.dbm.diff.gzbin575 -> 0 bytes
-rw-r--r--patches/apache/apache_1.3.35.stupid.include.bug.diff.gzbin352 -> 0 bytes
-rw-r--r--patches/apache/config.layout.slack19
-rw-r--r--patches/apache/slack-desc19
-rwxr-xr-xpatches/bin/bin.SlackBuild430
-rw-r--r--patches/bin/debianutils_2.7.dsc21
-rw-r--r--patches/bin/dosfstools-x86_64.diff.gzbin1438 -> 0 bytes
-rw-r--r--patches/bin/eject-x86_64.diff.gzbin317 -> 0 bytes
-rw-r--r--patches/bin/rescan-scsi-bus119
-rw-r--r--patches/bin/rpm2targz123
-rw-r--r--patches/bin/rpm2targz.README16
-rw-r--r--patches/bin/rpmoffset.c24
-rw-r--r--patches/bin/slack-desc19
-rw-r--r--patches/bin/tree-x86_64.diff.gzbin263 -> 0 bytes
-rw-r--r--patches/bin/zoo-x86_64.diff.gzbin305 -> 0 bytes
-rwxr-xr-xpatches/curl/curl.SlackBuild119
-rw-r--r--patches/curl/libcurl-ntlmbuf.patch.gzbin428 -> 0 bytes
-rw-r--r--patches/curl/slack-desc19
-rwxr-xr-xpatches/file/file.SlackBuild152
-rw-r--r--patches/file/file.quiet.diff.gzbin297 -> 0 bytes
-rw-r--r--patches/file/file.short.diff.gzbin223 -> 0 bytes
-rw-r--r--patches/file/file.zisofs.magic.gzbin214 -> 0 bytes
-rw-r--r--patches/file/patch-4.20-REG_STARTEND.gzbin562 -> 0 bytes
-rw-r--r--patches/file/slack-desc19
-rwxr-xr-xpatches/freetype/freetype.SlackBuild150
-rwxr-xr-xpatches/gnupg/gnupg.SlackBuild378
-rw-r--r--patches/gnupg/slack-desc.gnupg19
-rw-r--r--patches/gzip/gzip-1.3.5-google-owl-bound.diff.gzbin1358 -> 0 bytes
-rw-r--r--patches/gzip/gzip-1.3.5-gunzip-dir.patch.gzbin346 -> 0 bytes
-rw-r--r--patches/gzip/gzip-1.3.5-gzip-perm.patch.gzbin718 -> 0 bytes
-rw-r--r--patches/gzip/gzip-1.3.5-huft-build-return-fix.patch.gzbin425 -> 0 bytes
-rwxr-xr-xpatches/gzip/gzip.SlackBuild179
-rw-r--r--patches/gzip/slack-desc19
-rwxr-xr-xpatches/libpng/libpng.SlackBuild164
-rw-r--r--patches/libpng/libpng.libs.diff.gzbin315 -> 0 bytes
-rw-r--r--patches/libpng/libpng.mmx-x86-only.diff.gzbin289 -> 0 bytes
-rwxr-xr-xpatches/libtiff/libtiff.SlackBuild113
-rw-r--r--patches/libtiff/slack-desc19
-rw-r--r--patches/libtiff/tiff-3.8.2.goo-sec.diff.gzbin6121 -> 0 bytes
-rw-r--r--patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gzbin423 -> 0 bytes
-rwxr-xr-xpatches/libwpd/libwpd.SlackBuild109
-rw-r--r--patches/libwpd/slack-desc19
-rwxr-xr-xpatches/lm_sensors/lm_sensors.SlackBuild196
-rw-r--r--patches/mod_ssl/_mod_ssl.tar.gzbin4699 -> 0 bytes
-rw-r--r--patches/mod_ssl/libssl.module.diff.gzbin392 -> 0 bytes
-rwxr-xr-xpatches/mod_ssl/mod_ssl.SlackBuild191
-rw-r--r--patches/mod_ssl/mod_ssl.conf.example266
-rw-r--r--patches/mod_ssl/slack-desc19
-rw-r--r--patches/mozilla-firefox/default.xpm299
-rw-r--r--patches/mozilla-firefox/doinst.sh7
-rw-r--r--patches/mozilla-firefox/firefox.desktop81
-rw-r--r--patches/mozilla-firefox/firefox.pngbin3931 -> 0 bytes
-rwxr-xr-xpatches/mozilla-firefox/mozilla-firefox.SlackBuild106
-rw-r--r--patches/mozilla-firefox/slack-desc19
-rw-r--r--patches/mysql/doinst.sh.gzbin348 -> 0 bytes
-rwxr-xr-xpatches/mysql/mysql.SlackBuild177
-rw-r--r--patches/mysql/rc.mysqld.gzbin1094 -> 0 bytes
-rw-r--r--patches/mysql/slack-desc19
-rwxr-xr-xpatches/openldap-client/openldap-client.SlackBuild147
-rw-r--r--patches/openssh/doinst.sh.gzbin479 -> 0 bytes
-rwxr-xr-xpatches/openssh/openssh.SlackBuild217
-rw-r--r--patches/openssh/rc.sshd50
-rw-r--r--patches/openssh/slack-desc19
-rw-r--r--patches/openssl/certwatch.gzbin1727 -> 0 bytes
-rw-r--r--patches/openssl/doinst.sh-openssl-solibs.gzbin281 -> 0 bytes
-rw-r--r--patches/openssl/doinst.sh-openssl.gzbin336 -> 0 bytes
-rw-r--r--patches/openssl/doinst.sh.gzbin266 -> 0 bytes
-rwxr-xr-xpatches/openssl/openssl.SlackBuild688
-rw-r--r--patches/openssl/openssl.optsx86.diff.gzbin444 -> 0 bytes
-rw-r--r--patches/openssl/openssl.soname.diff.gzbin283 -> 0 bytes
-rw-r--r--patches/openssl/patch-CAN-2005-2969.diff.gzbin336 -> 0 bytes
-rw-r--r--patches/openssl/slack-desc.openssl19
-rw-r--r--patches/openssl/slack-desc.openssl-solibs19
-rwxr-xr-xpatches/pcre/pcre.SlackBuild197
-rw-r--r--patches/php/conf/mod_php4-apache1.3.conf.example12
-rw-r--r--patches/php/conf/mod_php5-apache1.3.conf.example12
-rw-r--r--patches/php/conf/mod_php5-apache2.conf.example12
-rw-r--r--patches/php/doinst.sh.gzbin175 -> 0 bytes
-rw-r--r--patches/php/patches/php-with-_lib-4.4.1.diff.gzbin18751 -> 0 bytes
-rw-r--r--patches/php/patches/php-with-_lib-4.4.2.diff.gzbin19573 -> 0 bytes
-rw-r--r--patches/php/patches/php-with-_lib-4.4.3.diff.gzbin19573 -> 0 bytes
-rw-r--r--patches/php/patches/php-with-_lib-4.4.4.diff.gzbin19573 -> 0 bytes
-rw-r--r--patches/php/patches/php-with-_lib-4.4.5.diff.gzbin18828 -> 0 bytes
-rw-r--r--patches/php/patches/php-with-_lib-4.4.7.diff.gzbin18703 -> 0 bytes
-rw-r--r--patches/php/patches/php.ini-x86_64.diff.gzbin1140 -> 0 bytes
-rw-r--r--patches/php/patches/php.ini.diff.gzbin619 -> 0 bytes
-rw-r--r--patches/php/patches/php.recommended.ini.x86_64.diff.gzbin1156 -> 0 bytes
-rw-r--r--patches/php/patches/php.squirrel.diff.gzbin357 -> 0 bytes
-rw-r--r--patches/php/patches/php4.utf8.diff.gzbin447 -> 0 bytes
-rwxr-xr-xpatches/php/php-pgsql.SlackBuild343
-rw-r--r--patches/php/php-pgsql.slack-desc19
-rw-r--r--patches/php/php-pgsql.slack-required2
-rwxr-xr-xpatches/php/php.SlackBuild601
-rwxr-xr-xpatches/php/php4-snapshot.SlackBuild336
-rw-r--r--patches/php/slack-desc19
-rw-r--r--patches/php/slack-required1
-rw-r--r--patches/pine/_imapd.tar.gzbin241 -> 0 bytes
-rw-r--r--patches/pine/_pine.tar.gzbin279 -> 0 bytes
-rw-r--r--patches/pine/fpic.diff.gzbin199 -> 0 bytes
-rw-r--r--patches/pine/pine-slackware.config.diff.gzbin1445 -> 0 bytes
-rwxr-xr-xpatches/pine/pine.SlackBuild187
-rw-r--r--patches/pine/pine.debug.diff.gzbin186 -> 0 bytes
-rw-r--r--patches/pine/pinepgp-0.18.0-makefile-sed-fix.patch.gzbin738 -> 0 bytes
-rw-r--r--patches/pine/slack-desc.imapd19
-rw-r--r--patches/pine/slack-desc.pine19
-rw-r--r--patches/rsync/rsync-2.6.9.diff61
-rwxr-xr-xpatches/rsync/rsync.SlackBuild122
-rw-r--r--patches/rsync/slack-desc19
-rw-r--r--patches/sdl/libdir-fix.diff.gzbin323 -> 0 bytes
-rwxr-xr-xpatches/sdl/sdl.SlackBuild205
-rw-r--r--patches/sdl/slack-desc19
-rw-r--r--patches/smartmontools/doinst.sh.gzbin270 -> 0 bytes
-rw-r--r--patches/smartmontools/slack-desc19
-rwxr-xr-xpatches/smartmontools/smartmontools.SlackBuild94
-rw-r--r--patches/subversion/slack-desc19
-rw-r--r--patches/subversion/slack-required1
-rw-r--r--patches/subversion/subversion.SlackBuild161
-rw-r--r--patches/sudo/doinst.sh.gzbin275 -> 0 bytes
-rw-r--r--patches/sudo/slack-desc19
-rwxr-xr-xpatches/sudo/sudo.SlackBuild127
122 files changed, 0 insertions, 7663 deletions
diff --git a/patches/apache/_apache.tar.gz b/patches/apache/_apache.tar.gz
deleted file mode 100644
index 9243ce41..00000000
--- a/patches/apache/_apache.tar.gz
+++ /dev/null
Binary files differ
diff --git a/patches/apache/apache.SlackBuild b/patches/apache/apache.SlackBuild
deleted file mode 100755
index dc20751f..00000000
--- a/patches/apache/apache.SlackBuild
+++ /dev/null
@@ -1,211 +0,0 @@
-#!/bin/bash
-#
-# Build and package an EAPI-enabled Apache on Slackware.
-# (libmm is also installed with this package)
-# by: David Cantrell <david@slackware.com>
-# Maintained by: Patrick Volkerding <volkerdi@slackware.com>
-# Small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-APACHE_VER=${APACHE_VER:=1.3.37}
-MM_VER=${MM_VER:=1.3.1}
-MODSSL_VER=${MODSSL_VER:=2.8.28-1.3.37}
-
-PACKAGE="apache"
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE"_"$APACHE_VER.tar.$PACKAGE_EXT"
-URL="http://ftp.unicamp.br/pub/apache/httpd/$SRC"
-MM="mm-$MM_VER.tar.gz"
-MM_URL="ftp://ftp.ossp.org/pkg/lib/mm/$MM"
-MODSSL="mod_ssl-$MODSSL_VER.tar.gz"
-MODSSL_URL="http://www.modssl.org/source/$MODSSL"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
-
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
- fi
-
- if [ ! -f "$SRC_DIR/$MM" ]; then
- wget "$MM_URL" -O "$SRC_DIR/$MM"
- fi
-
- if [ ! -f "$SRC_DIR/$MODSSL" ]; then
- wget "$MODSSL_URL" -O "$SRC_DIR/$MODSSL"
- fi
-
-fi
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-PKG=$TMP/package-$PACKAGE
-mkdir -p $PKG
-( cd $PKG ; explodepkg $CWD/_apache.tar.gz )
-
-cd $TMP
-rm -rf mm-$MM_VER apache_$APACHE_VER mod_ssl-$MODSSL_VER
-tar xvzf $SRC_DIR/$MM
-tar xvzf $SRC_DIR/$SRC
-tar xvzf $SRC_DIR/$MODSSL
-
-# build libmm
-cd $TMP/mm-$MM_VER
-chown -R root.root .
-./configure \
- --prefix=/usr \
- --enable-static \
- --libdir=$LIBDIR \
- --enable-shared
-make -j3
-
-# EAPI is not part of Apache by default, it comes from mod_ssl. It
-# allows us to build and package mod_ssl seperately. We pull out the
-# EAPI patch and apply it to Apache so that our build will have that
-# support enabled. We also apply a few other patches from mod_ssl.
-( cd $TMP/apache_$APACHE_VER
- cat $TMP/mod_ssl-$MODSSL_VER/pkg.eapi/eapi.patch | patch -p0
- cat $TMP/mod_ssl-$MODSSL_VER/pkg.addon/addon.patch | patch -p0 )
-( cd $TMP/mod_ssl-$MODSSL_VER/pkg.eapi
- cp -a *.h $TMP/apache_$APACHE_VER/src/include
- cp -a *.c $TMP/apache_$APACHE_VER/src/ap )
-( cd $TMP/mod_ssl-$MODSSL_VER/pkg.addon
- cp -a *.c $TMP/apache_$APACHE_VER/src/modules/extra
- cp -a *.html $TMP/apache_$APACHE_VER/htdocs/manual/mod )
-
-# build apache
-cd $TMP/apache_$APACHE_VER
-# Stop using old obsolete DB1.
-zcat $CWD/apache.dbm.diff.gz | patch -p1 --verbose || exit 1
-
-if [ "$APACHE_VER" == "1.3.35" ]; then
- # Clearly 1.3.35 got minimal testing...
- zcat $CWD/apache_1.3.35.stupid.include.bug.diff.gz | patch -p1 --verbose || exit 1
-fi
-
-chown -R root.root .
-cat $CWD/config.layout.slack >> config.layout
-EAPI=SYSTEM \
-./configure \
- --with-layout=Slackware \
- --enable-module=most \
- --enable-shared=max \
- --manualdir=/var/www/htdocs/manual \
- --enable-rule=eapi
-make -j3
-
-# install libmm
-cd $TMP/mm-$MM_VER
-make DESTDIR=$PKG install
-chmod 755 $PKG/usr/lib/libmm.so.*
-mkdir -p $PKG/usr/doc/mm-$MM_VER
-cp -a \
- ChangeLog INSTALL LICENSE PORTING README THANKS \
- $PKG/usr/doc/mm-$MM_VER
-
-# install apahe
-cd $TMP/apache_$APACHE_VER
-make install root=$PKG
-mkdir -p $PKG/usr/doc/apache-$APACHE_VER
-cp -a \
- ABOUT_APACHE Announcement INSTALL KEYS LICENSE README README.configure \
- $PKG/usr/doc/apache-$APACHE_VER
-cp -a \
- $TMP/mod_ssl-$MODSSL_VER/pkg.eapi/README.EAPI \
- $PKG/usr/doc/apache-$APACHE_VER
-
-# we do not want these in the package, if they don't exist on the system
-# then we copy the default one in place as the real file
-( cd $PKG/etc/apache
- rm -rf access.conf httpd.conf magic mime.types srm.conf )
-
-# we add a block to the end of httpd.conf and touch zero length files
-# for the SSL and PHP module packages
-cat << EOF >> $PKG/etc/apache/httpd.conf.default
-
-# By default, all external Apache modules are disabled. To enable a particular
-# module for Apache, make sure the necessary packages are installed. Then
-# uncomment the appropriate Include line below, save the file, and restart
-# Apache. Note that some modules may need additional configuration steps. For
-# example, mod_ssl requires a site certificate which you may need to generate.
-#
-# Lastly, if you remove a module package, be sure to edit this file and comment
-# out the appropriate Include line.
-
-# ==> mod_php configuration settings <==
-#
-# PACKAGES REQUIRED: openssl-solibs (A series) and/or openssl (N series),
-# mysql (AP series), gmp (L series), mhash (L series),
-# and apache (N series)
-#
-#Include /etc/apache/mod_php.conf
-
-# ==> mod_ssl configuration settings <==
-#
-# PACKAGES REQUIRED: apache (N series) and openssl (N series)
-#
-#Include /etc/apache/mod_ssl.conf
-
-EOF
-
-# some housekeeping
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-gzip -9 $PKG/usr/man/*/*
-chown -R root.bin $PKG/usr/bin
-chown -R root.bin $PKG/usr/sbin
-
-# This is a point of overlap with the mod_ssl package, so we'll make it
-# a symlink so that it's less of a trap for the unsuspecting admin:
-( cd $PKG/usr/sbin
- mv apachectl apachectl-standard
- # Better to use some custom code in doinst.sh.
- #ln -sf apachectl-standard apachectl
-)
-
-# Add slack-desc:
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# make the package
-cd $PKG
-makepkg -l y -c n $REPOS/apache-$APACHE_VER-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/apache/apache.dbm.diff.gz b/patches/apache/apache.dbm.diff.gz
deleted file mode 100644
index aad1ee0c..00000000
--- a/patches/apache/apache.dbm.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/apache/apache_1.3.35.stupid.include.bug.diff.gz b/patches/apache/apache_1.3.35.stupid.include.bug.diff.gz
deleted file mode 100644
index 9a38f518..00000000
--- a/patches/apache/apache_1.3.35.stupid.include.bug.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/apache/config.layout.slack b/patches/apache/config.layout.slack
deleted file mode 100644
index e40a1bbd..00000000
--- a/patches/apache/config.layout.slack
+++ /dev/null
@@ -1,19 +0,0 @@
-# Layout for Slackware Linux
-<Layout Slackware>
- prefix: /usr
- exec_prefix: $prefix
- bindir: $exec_prefix/bin
- sbindir: $exec_prefix/sbin
- libexecdir: $exec_prefix/libexec/apache
- mandir: $prefix/man
- sysconfdir: /etc/apache
- datadir: /var/www
- iconsdir: $datadir/icons
- htdocsdir: $datadir/htdocs
- cgidir: $datadir/cgi-bin
- includedir: $prefix/include/apache
- localstatedir: /var
- runtimedir: $localstatedir/run
- logfiledir: $localstatedir/log/apache
- proxycachedir: $localstatedir/cache/proxy
-</Layout>
diff --git a/patches/apache/slack-desc b/patches/apache/slack-desc
deleted file mode 100644
index 515121c8..00000000
--- a/patches/apache/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-apache: apache (The Apache HTTP Server)
-apache:
-apache: Apache is an HTTP server designed as a plug-in replacement for the
-apache: NCSA HTTP server. It fixes numerous bugs in the NCSA server and
-apache: includes many frequently requested new features, and has an API which
-apache: allows it to be extended to meet users' needs more easily.
-apache:
-apache: Apache is the most popular web server in the known universe; over
-apache: half of the servers on the Internet are running Apache or one of
-apache: its variants.
-apache:
diff --git a/patches/bin/bin.SlackBuild b/patches/bin/bin.SlackBuild
deleted file mode 100755
index 9ff96d66..00000000
--- a/patches/bin/bin.SlackBuild
+++ /dev/null
@@ -1,430 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/bin/bin.SlackBuild
-# small changes by rhatto
-#
-
-# Set initial variables:
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="bin"
-VERSION=10.2
-ARCH=${ARCH:=i486}
-BUILD="1rha"
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-DUTILS=2.7
-DOSFS=2.10
-WHICH=2.16
-EJECT=2.1.4
-FILE=4.15
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-bin
-rm -rf $PKG
-mkdir -p $PKG
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-# REPO="ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/bin"
-REPO="ftp://mirror.pacific.net.au/linux/slackware/slackware-10.2/patches/source/bin"
-if [ "$GET" != "no" ]; then ( cd $SRC_DIR && ncftpget $REPO/*gz ) ; fi
-
-if [ "$ARCH" == "x86_64" ]; then
- LIB="lib64"
-else
- LIB="lib"
-fi
-
-# Explode the package framework:
-cd $PKG
-explodepkg $SRC_DIR/_bin.tar.gz
-
-echo "+=============+"
-echo "| debianutils |"
-echo "+=============+"
-cd $TMP
-tar xzvf $SRC_DIR/debianutils_$DUTILS.tar.gz
-cd debianutils-$DUTILS
-chown -R root.root .
-./configure --prefix=/usr
-make || exit 32
-## We actually use our own very simple run-parts script instead...
-#cat run-parts > $PKG/usr/bin/run-parts
-#cat run-parts.8 | gzip -9c > $PKG/usr/man/man8/run-parts.8.gz
-cat mktemp > $PKG/usr/bin/mktemp
-cat mktemp.1 | gzip -9c > $PKG/usr/man/man1/mktemp.1.gz
-cat savelog > $PKG/usr/bin/savelog
-cat savelog.8 | gzip -9c > $PKG/usr/man/man8/savelog.8.gz
-cat tempfile > $PKG/usr/bin/tempfile
-cat tempfile.1 | gzip -9c > $PKG/usr/man/man1/tempfile.1.gz
-
-echo "+=======+"
-echo "| eject |"
-echo "+=======+"
-cd $TMP
-rm -rf eject
-tar xzvf $SRC_DIR/eject-$EJECT.tar.gz
-cd eject
-chown -R root:root .
-if [ "$ARCH" == "x86_64" ]; then
- zcat $CWD/eject-x86_64.diff.gz | patch -p1 --verbose
-fi
-CFLAGS= ./configure --prefix=/usr
-make || exit 32
-cat eject > $PKG/usr/bin/eject
-cat eject.1 | gzip -9c > $PKG/usr/man/man1/eject.1.gz
-cat volname > $PKG/usr/bin/volname
-cat volname.1 | gzip -9c > $PKG/usr/man/man1/volname.1.gz
-mkdir -p $PKG/usr/doc/eject-$EJECT
-cp -a AUTHORS COPYING NEWS PORTING PROBLEMS README TODO eject-$EJECT.lsm \
- $PKG/usr/doc/eject-$EJECT
-chmod 644 $PKG/usr/doc/eject-$EJECT/*
-
-echo "+===========+"
-echo "| fbset-2.1 |"
-echo "+===========+"
-cd $TMP
-tar xzvf $SRC_DIR/fbset-2.1.tar.gz
-cd fbset-2.1
-chown -R root.root .
-make || exit 32
-mkdir -p $PKG/usr/sbin
-cat fbset > $PKG/usr/sbin/fbset
-chmod 755 $PKG/usr/sbin/fbset
-mkdir -p $PKG/etc
-cat etc/fb.modes.ATI > $PKG/etc/fb.modes
-mkdir -p $PKG/usr/man/man5
-cat fb.modes.5 | gzip -9c > $PKG/usr/man/man5/fb.modes.5.gz
-mkdir -p $PKG/usr/man/man8
-cat fbset.8 | gzip -9c > $PKG/usr/man/man8/fbset.8.gz
-
-echo "+===========+"
-echo "| lha-1.14i |"
-echo "+===========+"
-cd $TMP
-tar xzvf $SRC_DIR/lha-114i.tar.gz
-cd lha-114i
-zcat $SRC_DIR/lha-114i-sec.patch.gz | patch -p1 --verbose
-zcat $SRC_DIR/lha-114i-symlink.patch.gz | patch -p1 --verbose
-chown -R root.root .
-make || exit 32
-cat src/lha > $PKG/usr/bin/lha
-
-echo "+========+"
-echo "| ed-0.2 |"
-echo "+========+"
-cd $TMP
-tar xzvf $SRC_DIR/ed-0.2.tar.gz
-cd ed-0.2
-chown -R root.root .
-zcat $SRC_DIR/ed-0.2.mkstemp.diff.gz | patch -p1 -E --backup --verbose
-CFLAGS=-O2 \
-./configure \
- --prefix=/usr \
- $ARCH-slackware-linux
-make || exit 32
-cat ed > $PKG/bin/ed
-cat ed.1 | gzip -9c > $PKG/usr/man/man1/ed.1.gz
-cat ed.info | gzip -9c > $PKG/usr/info/ed.info.gz
-
-echo "+==========+"
-echo "| compress |"
-echo "+==========+"
-cd $TMP
-tar xzvf $SRC_DIR/compress.tar.gz
-cd compress
-chown -R root.root .
-zcat $SRC_DIR/compress.diff.gz | patch -p0 -E --backup --verbose
-if [ "$ARCH" == "x86_64" ]; then
- echo 450000 > USERMEM # the default from the source file
-fi
-make || exit 32
-cat compress > $PKG/usr/bin/compress
-cat compress.1 | gzip -9c > $PKG/usr/man/man1/compress.1.gz
-echo '.so man1/compress.1' | gzip -9c > $PKG/usr/man/man1/uncompress.1.gz
-
-echo "+=========+"
-echo "| banners |"
-echo "+=========+"
-cd $TMP
-tar xzvf $SRC_DIR/banners.tar.gz
-cd banners
-chown -R root.root .
-make || exit 32
-cat bban > $PKG/usr/bin/bban
-cat sysvbanner > $PKG/usr/bin/sysvbanner
-
-echo "+===========+"
-echo "| file-$FILE |"
-echo "+===========+"
-cd $TMP
-tar xzvf $SRC_DIR/file-$FILE.tar.gz
-cd file-$FILE
-chown -R root.root .
-zcat $SRC_DIR/file.quiet.diff.gz | patch -p1 -E --verbose
-zcat $SRC_DIR/file.short.diff.gz | patch -p1 -E --verbose
-zcat $SRC_DIR/file.rzip.magic.gz >> magic/Magdir/compress
-zcat $SRC_DIR/file.zisofs.magic.gz >> magic/Magdir/compress
-./configure \
- --prefix=/usr \
- --libdir=/usr/$LIB \
- --sysconfdir=/etc \
- --datadir=/etc \
- --enable-fsect-man5 \
- --enable-shared=no \
- $ARCH-slackware-linux
-make || exit 32
-make install DESTDIR=$PKG
-# Is file really this much of a processing bottleneck? Doubtful.
-rm -f $PKG/etc/file/magic.mgc $PKG/etc/file/magic.mime.mgc
-strip -g $PKG/usr/$LIB/libmagic.a
-mkdir -p $PKG/usr/doc/file-$FILE
-cp -a \
- LEGAL.NOTICE README \
- $PKG/usr/doc/file-$FILE
-chmod 644 $PKG/usr/doc/file-$FILE/*
-gzip -9 $PKG/usr/man/man1/file.1 \
- $PKG/usr/man/man3/libmagic.3 \
- $PKG/usr/man/man5/magic.5
-# /etc/magic has been traditional for so long that it seems like a
-# real good idea to provide a link:
-( cd $PKG/etc
- ln -sf file/magic magic
-)
-
-echo "+============+"
-echo "| dosfstools |"
-echo "+============+"
-cd $TMP
-tar xzvf $SRC_DIR/dosfstools-$DOSFS.tar.gz
-cd dosfstools-$DOSFS
-if [ "$ARCH" == "x86_64" ]; then zcat $CWD/dosfstools-x86_64.diff.gz | patch -p1 --verbose; fi
-chown -R root.root .
-mkdir -p $PKG/usr/doc/dosfstools-$DOSFS
-cp -a CHANGES README.Atari TODO $PKG/usr/doc/dosfstools-$DOSFS
-mkdir -p $PKG/usr/doc/dosfstools-$DOSFS/mkdosfs
-( cd mkdosfs ; cp -a ANNOUNCE COPYING ChangeLog README mkdosfs-ygg-0.3b.lsm $PKG/usr/doc/dosfstools-$DOSFS/mkdosfs )
-mkdir -p $PKG/usr/doc/dosfstools-$DOSFS/dosfsck
-( cd dosfsck ; cp -a CHANGES COPYING README $PKG/usr/doc/dosfstools-$DOSFS/dosfsck )
-make || exit 32
-cd mkdosfs
-cat mkdosfs > $PKG/sbin/mkdosfs
-cat mkdosfs.8 | gzip -9c > $PKG/usr/man/man8/mkdosfs.8.gz
-cd ../dosfsck
-cat dosfsck > $PKG/sbin/dosfsck
-cat dosfsck.8 | gzip -9c > $PKG/usr/man/man8/dosfsck.8.gz
-
-echo "+=============+"
-echo "| patch-2.5.4 |"
-echo "+=============+"
-cd $TMP
-tar xzvf $SRC_DIR/patch-2.5.4.tar.gz
-cd patch-2.5.4
-chown -R root.root .
-mkdir -p $PKG/usr/doc/patch-2.5.4
-cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/patch-2.5.4
-chmod 644 $PKG/usr/doc/patch-2.5.4/*
-./configure \
- --prefix=/usr \
- $ARCH-slackware-linux
-make CFLAGS=-O2
-cat patch > $PKG/usr/bin/patch
-cat patch.man | gzip -9c > $PKG/usr/man/man1/patch.1.gz
-
-echo "+===========+"
-echo "| rpm2targz |"
-echo "+===========+"
-cd $TMP
-cc -o rpmoffset $CWD/rpmoffset.c
-cat rpmoffset > $PKG/usr/bin/rpmoffset
-rm rpmoffset
-cat $CWD/rpm2targz > $PKG/usr/bin/rpm2targz
-mkdir -p $PKG/usr/doc/rpm2targz
-cp -a $CWD/rpm2targz.README $PKG/usr/doc/rpm2targz/rpm2targz.README
-chmod 644 $PKG/usr/doc/rpm2targz/rpm2targz.README
-
-echo "+===========+"
-echo "| run-parts |"
-echo "+===========+"
-zcat $SRC_DIR/run-parts.gz > $PKG/usr/bin/run-parts
-chmod 755 $PKG/usr/bin/run-parts
-cat $SRC_DIR/run-parts.8.gz > $PKG/usr/man/man8/run-parts.8.gz
-
-echo "+=================+"
-echo "| sharutils-4.2.1 |"
-echo "+=================+"
-cd $TMP
-tar xzvf $SRC_DIR/sharutils-4.2.1.tar.gz
-cd sharutils-4.2.1
-chown -R root.root .
-mkdir -p $PKG/usr/doc/sharutils-4.2.1
-cp -a ABOUT-NLS AUTHORS BACKLOG COPYING INSTALL NEWS README \
- README.OLD THANKS TODO $PKG/usr/doc/sharutils-4.2.1
-chmod 644 $PKG/usr/doc/sharutils-4.2.1/*
-# For now, NLS seems to cause build errors on this one...
-CFLAGS=-O2 \
-./configure \
- --disable-nls \
- --prefix=/usr \
- $ARCH-slackware-linux
-make || exit 32
-cd src
-cat shar > $PKG/usr/bin/shar
-cat unshar > $PKG/usr/bin/unshar
-cat uuencode > $PKG/usr/bin/uuencode
-cat uudecode > $PKG/usr/bin/uudecode
-cd ../doc
-cat sharutils.info | gzip -9c > $PKG/usr/info/sharutils.info.gz
-# Include old manpages, since the source package doesn't have them anymore:
-for page in shar.1.gz unshar.1.gz uuencode.1.gz ; do
- cat $SRC_DIR/$page > $PKG/usr/man/man1/$page
-done
-echo '.so man1/uuencode.1' | gzip -9c > $PKG/usr/man/man1/uudecode.1.gz
-cat $SRC_DIR/uuencode.5.gz > $PKG/usr/man/man5/uuencode.5.gz
-
-echo "+===============+"
-echo "| splitvt-1.6.5 |"
-echo "+===============+"
-cd $TMP
-rm -rf splitvt-1.6.5
-tar xzvf $SRC_DIR/splitvt-1.6.5.tar.gz
-cd splitvt-1.6.5
-zcat $SRC_DIR/splitvt.devpts.diff.gz | patch -p1 --verbose
-chown -R root.root .
-./configure
-make || exit 32
-cat splitvt > $PKG/usr/bin/splitvt
-cat splitvt.1 | gzip -9c > $PKG/usr/man/man1/splitvt.1.gz
-mkdir -p $PKG/usr/doc/splitvt-1.6.5
-cp -a examples ANNOUNCE CHANGES NOTES README TODO \
- $PKG/usr/doc/splitvt-1.6.5
-( cd $PKG/usr/doc/splitvt-1.6.5
- find . -type d | xargs chmod 755
- find . -type f | xargs chmod 644 )
-
-echo "+==========+"
-echo "| time-1.7 |"
-echo "+==========+"
-cd $TMP
-tar xvzf $SRC_DIR/time-1.7.tar.gz
-cd time-1.7
-chown -R root.root .
-./configure \
- --prefix=/usr \
- $ARCH-slackware-linux
-make CFLAGS=-O2
-cat time > $PKG/usr/bin/time
-cat time.info | gzip -9c > $PKG/usr/info/time.info.gz
-
-echo "+===============+"
-echo "| todos/fromdos |"
-echo "+===============+"
-cd $TMP
-tar xzvf $SRC_DIR/todos.tar.gz
-cd todos
-chown -R root.root .
-make || exit 32
-cat todos > $PKG/usr/bin/todos
-cat fromdos > $PKG/usr/bin/fromdos
-cat todos.1.gz > $PKG/usr/man/man1/todos.1.gz
-cat fromdos.1.gz > $PKG/usr/man/man1/fromdos.1.gz
-
-echo "+============+"
-echo "| tree-1.4b3 |"
-echo "+============+"
-cd $TMP
-tar xzvf $SRC_DIR/tree-1.4b3.tar.gz
-cd tree-1.4
-if [ "$ARCH" == "x86_64" ]; then zcat $CWD/tree-x86_64.diff.gz | patch -p1 --verbose; fi
-chown -R root.root .
-make clean
-make || exit 32
-cat tree > $PKG/usr/bin/tree
-chmod 755 $PKG/usr/bin/tree
-cat tree.1 | gzip -9c > $PKG/usr/man/man1/tree.1.gz
-mkdir -p $PKG/usr/doc/tree-1.4b3
-cp -a CHANGES LICENSE README README.sacl $PKG/usr/doc/tree-1.4b3
-chmod 644 $PKG/usr/doc/tree-1.4b3/*
-
-echo "+==========+"
-echo "| unarj230 |"
-echo "+==========+"
-cd $TMP
-tar xzvf $SRC_DIR/unarj230.tar.gz
-cd unarj230
-chown -R root.root .
-zcat $SRC_DIR/unarj230.diff.gz | patch -p0 -E --verbose --backup
-make || exit 32
-cat unarj > $PKG/usr/bin/unarj
-
-echo "+============+"
-echo "| which-$WHICH |"
-echo "+============+"
-cd $TMP
-tar xzvf $SRC_DIR/which-$WHICH.tar.gz
-cd which-$WHICH
-chown -R root.root .
-./configure --prefix=/usr
-make CFLAGS=-O2
-cat which > $PKG/bin/which
-cat which.1 | gzip -9c > $PKG/usr/man/man1/which.1.gz
-cat which.info | gzip -9c > $PKG/usr/info/which.info.gz
-mkdir -p $PKG/usr/doc/which-$WHICH
-cp -a AUTHORS COPYING EXAMPLES INSTALL NEWS README README.alias $PKG/usr/doc/which-$WHICH
-
-echo "+==========+"
-echo "| zoo-2.10 |"
-echo "+==========+"
-cd $TMP
-rm -rf zoo-2.10
-tar xzvf $SRC_DIR/zoo-2.10.tar.gz
-cd zoo-2.10
-chown -R root:root .
-zcat $SRC_DIR/zoo_2.10-17.diff.gz | patch -p1 -E --verbose --backup || exit 1
-for diff in debian/patches/*.dpatch ; do
- cat $diff | patch -p1 --verbose || exit 1
-done
-if [ "$ARCH" == "x86_64" ]; then zcat $CWD/zoo-x86_64.diff.gz | patch -p1 --verbose; fi
-make linux
-cat fiz > $PKG/usr/bin/fiz
-cat zoo > $PKG/usr/bin/zoo
-for page in fiz.1 zoo.1 ; do
- cat $page | gzip -9c > $PKG/usr/man/man1/$page.gz
-done
-
-# Add a very handy tool for scanning new SCSI devices. Most useful for
-# finding new USB and Firewire storage devices which show up as SCSI.
-cp -a $CWD/rescan-scsi-bus $PKG/sbin/rescan-scsi-bus
-chmod 755 $PKG/sbin/rescan-scsi-bus
-
-# Strip everything for good measure:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-chown -R root.bin $PKG/bin $PKG/usr/bin $PKG/sbin $PKG/usr/sbin
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# Build the package:
-cd $PKG
-makepkg -l y -c n $REPOS/bin-$VERSION-$ARCH-$BUILD.tgz
-
-# Clean up the extra stuff:
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/bin/debianutils_2.7.dsc b/patches/bin/debianutils_2.7.dsc
deleted file mode 100644
index 25a643a7..00000000
--- a/patches/bin/debianutils_2.7.dsc
+++ /dev/null
@@ -1,21 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-Format: 1.0
-Source: debianutils
-Version: 2.7
-Binary: debianutils
-Maintainer: Clint Adams <schizo@debian.org>
-Architecture: any
-Standards-Version: 3.6.1
-Files:
- e966d93a3ee20068197104049ebd7d70 165590 debianutils_2.7.tar.gz
-
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-Comment: Debian!
-
-iD8DBQFAO4b85m0u66uWM3ARAotWAKCE/B4HoDVZ5rHi4AISWwHO59cEgwCgqQ6d
-Rt+5nuJdAgkcQgKDQu52RwI=
-=2QDD
------END PGP SIGNATURE-----
diff --git a/patches/bin/dosfstools-x86_64.diff.gz b/patches/bin/dosfstools-x86_64.diff.gz
deleted file mode 100644
index 1b4c48fe..00000000
--- a/patches/bin/dosfstools-x86_64.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/bin/eject-x86_64.diff.gz b/patches/bin/eject-x86_64.diff.gz
deleted file mode 100644
index fbee7500..00000000
--- a/patches/bin/eject-x86_64.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/bin/rescan-scsi-bus b/patches/bin/rescan-scsi-bus
deleted file mode 100644
index f1745bd9..00000000
--- a/patches/bin/rescan-scsi-bus
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/sh
-# Skript to rescan SCSI bus, using the
-# scsi add-single-device mechanism
-# (w) 98/03/19 Kurt Garloff <kurt@garloff.de> (c) GNU GPL
-
-# This script is useful for automatically scanning for new
-# USB and IEEE1394 devices which will not show up automatically
-# if they use a LUN (logical unit number) other than 0.
-# To search all LUNS for new devices to enable, run like this:
-#
-# rescan-scsi-bus -l
-
-found=0
-rmvd=0
-
-# Return hosts. /proc/scsi/HOSTADAPTER/? must exist
-findhosts() {
- hosts=
- for name in /proc/scsi/*/?; do
- name=${name#/proc/scsi/}
- if test ! $name = scsi ; then
- hosts="$hosts ${name#*/}"
- echo "Host adapter ${name#*/} (${name%/*}) found."
- fi
- done
-}
-
-# Test if SCSI device $host $channen $id $lun exists
-# Outputs description from /proc/scsi/scsi, returns new
-testexist() {
- grepstr="scsi$host Channel: 0$channel Id: 0*$id Lun: 0$lun"
- new=`cat /proc/scsi/scsi | grep -e "$grepstr"`
- if test ! -z "$new" ; then
- cat /proc/scsi/scsi | grep -e "$grepstr"
- cat /proc/scsi/scsi | grep -A2 -e "$grepstr" | tail -n 2
- fi
-}
-
-# Perform search (scan $host)
-dosearch() {
- for channel in $channelsearch; do
- for id in $idsearch; do
- for lun in $lunsearch; do
- new=
- devnr="$host $channel $id $lun"
- echo "Scanning for device $devnr ..."
- printf "OLD: "
- testexist
- if test ! -z "$remove" -a ! -z "$new" ; then
- echo "scsi remove-single-device $devnr" > /proc/scsi/scsi
- echo "scsi add-single-device $devnr" > /proc/scsi/scsi
- printf "\r\x1b[A\x1b[A\x1b[AOLD: "
- testexist
- if test -z "$new"; then
- printf "\rDEL: \r\n\n\n\n"
- rmvd=$(($rmvd+1))
- fi
- fi
- if test -z "$new" ; then
- printf "\rNEW: "
- echo "scsi add-single-device $devnr" > /proc/scsi/scsi
- testexist
- if test -z "$new"; then
- printf "\r\x1b[A"
- else
- found=$(($found+1))
- fi
- fi
- done
- done
- done
-}
-
-
-# main
-if test @$1 = @--help -o @$1 = @-h ; then
- echo "Usage: rescan-scsi-bus.sh [-l] [-w] [-c] [host [host ...]]"
- echo " -l activates scanning for LUNs 0 .. 7 [default: 0]"
- echo " -w enables scanning for device IDs 0 .. 15 [def.: 0 .. 7]"
- echo " -r enables removing of devices [default: disabled]"
- echo " -c enables scanning of channels 0 1 [default: 0]"
- echo " If hosts are given, only these are scanned [default: all]"
- exit 0
-fi
-
-# defaults
-lunsearch="0"
-idsearch="0 1 2 3 4 5 6 7"
-channelsearch="0"
-remove=""
-
-# Scan options
-opt="$1"
-while test ! -z "$opt" -a -z "${opt##-*}"; do
- opt=${opt#-}
- case "$opt" in
- l) lunsearch="0 1 2 3 4 5 6 7" ;;
- w) idsearch="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15" ;;
- c) channelsearch="0 1" ;;
- r) remove=1 ;;
- *) echo "Unknown option -$opt !" ;;
- esac
- shift
- opt="$1"
-done
-
-# Hosts given ?
-if test @$1 = @; then
- findhosts
-else
- hosts=$*
-fi
-
-for host in $hosts; do
- dosearch
-done
-echo "$found new device(s) found. "
-echo "$rmvd device(s) removed. "
-
diff --git a/patches/bin/rpm2targz b/patches/bin/rpm2targz
deleted file mode 100644
index 4df00d7c..00000000
--- a/patches/bin/rpm2targz
+++ /dev/null
@@ -1,123 +0,0 @@
-#!/bin/sh
-# Copyright 1997, 1998 Patrick Volkerding, Moorhead, MN USA
-# Copyright 2002, 2004 Slackware Linux, Inc., Concord, CA USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-
-if [ "$1" = "" ]; then
- echo "$0: Converts RPM format to standard GNU tar + GNU zip format."
- echo " (view converted packages with \"less\", install and remove"
- echo " with \"installpkg\", \"removepkg\", \"pkgtool\", or manually"
- echo " with \"tar\")"
- echo
- echo "Usage: $0 <file.rpm>"
- if [ "`basename $0`" = "rpm2tgz" ]; then
- echo " (Outputs \"file.tgz\")"
- else
- echo " (Outputs \"file.tar.gz\")"
- fi
- exit 1;
-fi
-
-# Create a new temporary directory with a secure filename:
-make_temp_dir() {
- if [ -x "$(which mcookie)" ]; then
- tempd=/tmp/tmp.$(mcookie)
- mkdir -p -m 0755 $tempd
- elif [ -x "$(which openssl)" ]; then
- tempd=/tmp/tmp.$(dd if=/dev/urandom bs=1k count=1 2> /dev/null | openssl dgst -md5)
- mkdir -p -m 0755 $tempd
- elif [ -x "$(which md5)" ]; then
- tempd=/tmp/tmp.$(dd if=/dev/urandom bs=1k count=1 2> /dev/null | md5)
- mkdir -p -m 0755 $tempd
- elif [ -x "$(which mktemp)" ]; then
- tempd=$(mktemp -d)
- chmod 755 $tempd
- ## Uncomment for insecure use, but don't blame me:
- #else
- # tempd=/tmp/tmp.$$
- # mkdir -p -m 0755 $tempd
- fi
- if [ -d $tempd ]; then # success, return the name of the directory:
- echo $tempd
- else
- echo "ERROR: Could not find mcookie, openssl, or md5."
- echo " Exiting since a secure temporary directory could not be made."
- exit 1
- fi
-}
-
-for i in $* ; do
-
- # Determine if this is a source or binary RPM.
- # If we have getrpmtype, use that. Otherwise, try "file".
- if which getrpmtype 1> /dev/null 2> /dev/null; then
- if getrpmtype -n $i | grep source 1> /dev/null 2> /dev/null ; then
- isSource=1
- else
- isSource=0
- fi
- else # use file. This works fine on Slackware, and is the default.
- if file $i | grep RPM | grep " src " 1> /dev/null 2> /dev/null ; then
- isSource=1
- else
- isSource=0
- fi
- fi
-
- # Create a temporary directory:
- TMPDIR=$(make_temp_dir)
-
- # Extract the RPM:
- ofn=$TMPDIR/$(basename $i .rpm).cpio
- if which rpm2cpio 1> /dev/null 2> /dev/null ; then
- rpm2cpio $i > $ofn 2> /dev/null
- if [ ! $? = 0 ]; then
- echo "ERROR: rpm2cpio failed. (maybe $i is not an RPM?)"
- rm -rf $TMPDIR
- continue
- fi
- else # less reliable than rpm2cpio...
- ( dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | gzip -dc > $ofn 2>/dev/null ) || \
- ( dd ibs=`rpmoffset < $i` skip=1 if=$i 2> /dev/null | bzip2 -dc > $ofn 2>/dev/null )
- fi
- DEST=$TMPDIR
- if [ "$isSource" = "1" ]; then
- DEST=$DEST/$(basename $(basename $i .rpm) .src)
- fi
- mkdir -p $DEST
- ( cd $DEST
- cpio -i -m -d < $ofn 1> /dev/null 2> /dev/null
- rm -f $ofn
- find . -type d -perm 700 -exec chmod 755 {} \;
- )
-
- # Repack the files in a tar+gz archive:
- ( cd $TMPDIR ; tar cf - . ) > `basename $i .rpm`.tar
- gzip -9 `basename $i .rpm`.tar
- if [ "`basename $0`" = "rpm2tgz" ]; then
- mv `basename $i .rpm`.tar.gz `basename $i .rpm`.tgz
- fi
-
- # Remove temporary directory:
- rm -rf $TMPDIR
-
-done
-
diff --git a/patches/bin/rpm2targz.README b/patches/bin/rpm2targz.README
deleted file mode 100644
index 9936f052..00000000
--- a/patches/bin/rpm2targz.README
+++ /dev/null
@@ -1,16 +0,0 @@
-
-This package contains 'rpm2targz', a simple utility to convert Red Hat-style
-RPM packages into standard tar.gz archives. Converted binary packages can then
-be installed/removed using the 'installpkg/removepkg' commands, or 'pkgtool'.
-
-It's advisable to at least examine the converted package with 'less' to make
-sure it won't do anything too crazy to your system.
-
-By default, rpm2targz will attempt to use "file" to detect source RPMS, and will
-put the contents into a subdirectory in the resulting package. This may not be
-portable to other operating systems -- if you're trying to run rpm2targz on an
-OS that doesn't have a file that knows RPM types, and you care about this source
-RPM feature, you can compile and install David Cantrell's standalone getrpmtype
-utility. The getrpmtype.tar.gz source archive can be found in Slackware's
-source tree in source/a/bin/.
-
diff --git a/patches/bin/rpmoffset.c b/patches/bin/rpmoffset.c
deleted file mode 100644
index 57af397c..00000000
--- a/patches/bin/rpmoffset.c
+++ /dev/null
@@ -1,24 +0,0 @@
-
-/* Find how deeply inside an .RPM the real data is */
-/* kept, and report the offset in bytes */
-
-/* Wouldn't it be a lot more sane if we could just untar these things? */
-
-#include <stdlib.h>
-
-/* These offsets keep getting bigger, so we're going to just bite a 2MB */
-/* chunk of RAM right away so that we have enough. Yeah, horrible */
-/* quick and dirty implementation, but hey -- it gets the job done. */
-
-#define RPMBUFSIZ 2097152
-
-main()
-{
- char *buff = malloc(RPMBUFSIZ),*eb,*p;
- for (p = buff, eb = buff + read(0,buff,RPMBUFSIZ); p < eb; p++)
- if ((*p == '\037' && p[1] == '\213' && p[2] == '\010') ||
- (*p == 'B' && p[1] == 'Z' && p[2] == 'h' && '1' <= p[3] && p[3] <= '9' ))
- printf("%d\n",p - buff),
- exit(0);
- exit(1);
-}
diff --git a/patches/bin/slack-desc b/patches/bin/slack-desc
deleted file mode 100644
index 4fc4151d..00000000
--- a/patches/bin/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-bin: bin (some common system utilities)
-bin:
-bin: The "bin" package is a collection of utilities for handling various
-bin: kinds of archives, identifying file types, and processing data.
-bin: Several of these tools are used by system scripts, so this is a
-bin: required package. The bin package contains these programs:
-bin:
-bin: bban compress diskcopy dosfsck ed eject fbset file fiz fromdos lha
-bin: mkdosfs mktemp patch rescan-scsi-bus rpm2targz rpmoffset run-parts
-bin: savelog shar splitvt sysvbanner tempfile time todos tree unarj unshar
-bin: uudecode uuencode volname which xx zoo
diff --git a/patches/bin/tree-x86_64.diff.gz b/patches/bin/tree-x86_64.diff.gz
deleted file mode 100644
index 9d2f6170..00000000
--- a/patches/bin/tree-x86_64.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/bin/zoo-x86_64.diff.gz b/patches/bin/zoo-x86_64.diff.gz
deleted file mode 100644
index efd5b095..00000000
--- a/patches/bin/zoo-x86_64.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/curl/curl.SlackBuild b/patches/curl/curl.SlackBuild
deleted file mode 100755
index 3550eea0..00000000
--- a/patches/curl/curl.SlackBuild
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/curl/curl.SlackBuild
-# small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="curl"
-VERSION=7.17.1
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://curl.haxx.se/download/$SRC"
-KEY="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x279D5C91"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- rm -f $SRC_DIR/$SRC.asc
- wget "$URL" -O "$SRC_DIR/$SRC"
- wget "$URL.asc" -O "$SRC_DIR/$SRC.asc"
-fi
-
-lynx -dump "$KEY" | gpg --import
-gpg --verify $SRC_DIR/$SRC.asc || echo "WARNING: gpg check failed"
-
-# Uncomment to build a no-SSL version:
-#SSLOPT=--without-ssl
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-$PACKAGE
-rm -rf $TMP
-mkdir -p $PKG
-cd $TMP
-
-tar xvf$tarflag $SRC_DIR/$SRC
-cd curl-$VERSION
-
-# zcat $CWD/libcurl-ntlmbuf.patch.gz | patch -p0 --verbose || exit
-
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=$LIBDIR \
- $SSLOPT
-make -j3
-make install DESTDIR=$PKG
-chown -R root.bin $PKG/usr/bin
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-if [ "$ARCH" == "x86_64" ]; then
- strip -g $PKG/usr/lib64/libcurl.a
-else
- strip -g $PKG/usr/lib/libcurl.a
-fi
-
-mkdir -p $PKG/usr/doc/curl-$VERSION
-cp -a \
- CHANGES COPYING README UPGRADE \
- $PKG/usr/doc/curl-$VERSION
-( cd docs
- rm -rf Makefile* curl-config.1 curl-config.html curl.1 curl.html libcurl
- cp -a \
- BUGS CONTRIBUTE FAQ FEATURES INSTALL INTERNALS MANUAL README.win32 RESOURCES THANKS TODO examples \
- $PKG/usr/doc/curl-$VERSION )
-gzip -9 $PKG/usr/man/man?/*.?
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-makepkg -l y -c n $REPOS/curl-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/curl/libcurl-ntlmbuf.patch.gz b/patches/curl/libcurl-ntlmbuf.patch.gz
deleted file mode 100644
index ef678dd7..00000000
--- a/patches/curl/libcurl-ntlmbuf.patch.gz
+++ /dev/null
Binary files differ
diff --git a/patches/curl/slack-desc b/patches/curl/slack-desc
deleted file mode 100644
index d09b2555..00000000
--- a/patches/curl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-curl: curl
-curl:
-curl: Curl is a command line tool for transferring data specified with URL
-curl: syntax. The command is designed to work without user interaction or
-curl: any kind of interactivity. Curl offers a busload of useful tricks
-curl: like proxy support, user authentication, ftp upload, HTTP post, SSL
-curl: (https:) connections, cookies, file transfer resume and more.
-curl:
-curl: libcurl is a library that Curl uses to do its job. It is readily
-curl: available to be used by your software, too.
-curl:
diff --git a/patches/file/file.SlackBuild b/patches/file/file.SlackBuild
deleted file mode 100755
index 2cdf12fb..00000000
--- a/patches/file/file.SlackBuild
+++ /dev/null
@@ -1,152 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-11.0/patches/source/file/file.SlackBuild
-# small changes by rhatto at riseup.net
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building cairo are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="file"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=4.20}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- export LDFLAGS="-L/lib64 -L/usr/lib64"
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="ftp://ftp.astron.com/pub/file/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-$PACKAGE
-rm -rf $TMP
-mkdir -p $PKG
-cd $TMP
-
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd $PACKAGE-$VERSION
-
-if [ "$VERSION" == "4.20" ]; then
- cd src
- zcat $CWD/patch-4.20-REG_STARTEND.gz | patch -p0 --verbose || exit 1
- cd ..
-fi
-
-chown -R root:root .
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-zcat $CWD/file.quiet.diff.gz | patch -p1 -E --verbose || exit 1
-zcat $CWD/file.short.diff.gz | patch -p1 -E --verbose || exit 1
-zcat $CWD/file.zisofs.magic.gz >> magic/Magdir/compress
-
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --datadir=/etc \
- --enable-fsect-man5 \
- --libdir=$LIBDIR \
- --build=$ARCH-slackware-linux
-
-make -j5 || exit $ERROR_MAKE
-make install DESTDIR=$PKG || exit $ERROR_INSTALL
-
-# Is file really this much of a processing bottleneck? Doubtful.
-# If you really need these (let's say you're doing virus scanning
-# and this *would* speed things up quite a bit) you can create
-# the pre-parsed files yourself using file's -C option.
-rm -f $PKG/etc/file/magic.mgc $PKG/etc/file/magic.mime.mgc
-
-# /etc/magic has been traditional for so long that it seems like a
-# real good idea to provide a link:
-( cd $PKG/etc
- ln -sf file/magic magic
-)
-
-# Strip everything for good measure:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-strip -g $PKG/usr/lib/libmagic.a
-
-mkdir -p $PKG/usr/doc/file-$VERSION
-cp -a \
- LEGAL.NOTICE README \
- $PKG/usr/doc/file-$VERSION
-
-# Compress and if needed symlink the man pages:
-if [ -d $PKG/usr/man ]; then
- ( cd $PKG/usr/man
- for manpagedir in $(find . -type d -name "man*") ; do
- ( cd $manpagedir
- for eachpage in $( find . -type l -maxdepth 1) ; do
- ln -s $( readlink $eachpage ).gz $eachpage.gz
- rm $eachpage
- done
- gzip -9 *.?
- )
- done
- )
-fi
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# Build the package:
-cd $PKG
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/file/file.quiet.diff.gz b/patches/file/file.quiet.diff.gz
deleted file mode 100644
index 015b7257..00000000
--- a/patches/file/file.quiet.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/file/file.short.diff.gz b/patches/file/file.short.diff.gz
deleted file mode 100644
index ab48b7b7..00000000
--- a/patches/file/file.short.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/file/file.zisofs.magic.gz b/patches/file/file.zisofs.magic.gz
deleted file mode 100644
index d229703c..00000000
--- a/patches/file/file.zisofs.magic.gz
+++ /dev/null
Binary files differ
diff --git a/patches/file/patch-4.20-REG_STARTEND.gz b/patches/file/patch-4.20-REG_STARTEND.gz
deleted file mode 100644
index d11e1ff0..00000000
--- a/patches/file/patch-4.20-REG_STARTEND.gz
+++ /dev/null
Binary files differ
diff --git a/patches/file/slack-desc b/patches/file/slack-desc
deleted file mode 100644
index 96be2617..00000000
--- a/patches/file/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-file: file (a utility to determine file type)
-file:
-file: This is Ian F. Darwin's 'file' utility, used to identify files.
-file: Christos Zoulas has been file's maintainer since 1994.
-file:
-file:
-file:
-file:
-file:
-file:
-file:
diff --git a/patches/freetype/freetype.SlackBuild b/patches/freetype/freetype.SlackBuild
deleted file mode 100755
index 83dc0897..00000000
--- a/patches/freetype/freetype.SlackBuild
+++ /dev/null
@@ -1,150 +0,0 @@
-#!/bin/bash
-#
-# slackbuild for a freetype2 package
-# this is a small modified version of the script found at
-# http://www.slackware.com/~alien/slackbuilds/freetype2/build/freetype2.SlackBuild
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building cairo are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD=`pwd`
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PRGNAM=freetype
-VERSION=${VERSION:-2.3.5}
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1rha}
-TMP=${TMP:-/tmp}
-SRC_DIR=${SRC:-$CWD}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-PACKAGE="$PRGNAM"
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://easynews.dl.sourceforge.net/sourceforge/$PACKAGE/$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-RTOOL="wget"
-
-function slack_build {
-
-cat << EOF
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler-----------------------------------------------------|
-freetype: freetype (A free and portable TrueType font rendering engine)
-freetype:
-freetype: FreeType 2 is a high-quality and portable font engine that is capable
-freetype: of supporting several font formats (be they bitmapped or scalable)
-freetype: through a simple and uniform interface. Its design is modular and
-freetype: allows independent "font driver" modules to be added, even at runtime,
-freetype: to support additional formats. It also provides a high-quality
-freetype: anti-aliasing renderer, an innovative auto-hinting engine, and support
-freetype: for the following font formats: TrueType Type1, CID-Type 1, Multiple
-freetype: Masters Type 1 OpenType/CFF, pure CFF, and CEF Windows FNT/FON.
-freetype:
-EOF
-
-}
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-$PRGNAM
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-tar xvf $SRC_DIR/$PRGNAM-$VERSION.tar.$PACKAGE_EXT || exit $ERROR_TAR
-cd $PRGNAM-$VERSION
-
-if [ -f "$CWD/freetype.illadvisederror.diff.gz" ]; then
- # This breaks far too many things. Freetype2 developers will have to get their
- # punishment on someone else's distribution.
- zcat $CWD/freetype.illadvisederror.diff.gz | patch -p1 -b -z .ill --verbose || exit $ERROR_PATCH
-fi
-
-if [ -f "$CWD/freetype_enable_bytecode_interpreter.patch.gz" ]; then
- # Enable freetype's bytecode interpreter:
- zcat $CWD/freetype_enable_bytecode_interpreter.patch.gz | patch -p1 -b -z .bc --verbose || exit $ERROR_PATCH
-fi
-
-chown -R root.root .
-CFLAGS="$SLKCFLAGS" make setup CFG="--prefix=/usr --libdir=$LIBDIR $ARCH-slackware-linux" || exit $ERROR_CONF
-make || exit $ERROR_MAKE
-make install DESTDIR=$PKG || exit $ERROR_INSTALL
-ldconfig
-
-mkdir -p $PKG/usr/include
-( cd $PKG/usr/include
- rm -rf freetype
- ln -sf freetype2/freetype .
-)
-mkdir -p $PKG/usr/X11R6/lib/X11/doc
-cp -a docs $PKG/usr/X11R6/lib/X11/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/X11R6/lib/X11/doc/$PRGNAM-$VERSION/reference
-
-chown root:bin $PKG/usr/bin/*
-chmod -R go-w $PKG/usr/X11R6/lib/X11/doc/$PRGNAM-$VERSION/*
-
-mkdir -p $PKG/install
-
-slack_build > $PKG/install/slack-desc
-
-cd $PKG
-
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-makepkg -l y -c n $REPOS/$PRGNAM-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-# slack_build | grep "^${PRGNAM}" > $REPOS/$PRGNAM-$VERSION-$ARCH-$BUILD.txt
-# (cd $REPOS && md5sum $PRGNAM-$VERSION-$ARCH-$BUILD.tgz > $PRGNAM-$VERSION-$ARCH-$BUILD.tgz.md5)
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
diff --git a/patches/gnupg/gnupg.SlackBuild b/patches/gnupg/gnupg.SlackBuild
deleted file mode 100755
index 9b4bddc2..00000000
--- a/patches/gnupg/gnupg.SlackBuild
+++ /dev/null
@@ -1,378 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/gnupg/gnupg.SlackBuild
-# small changes by rhatto
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building cairo are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-# Set initial variables:
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="gnupg"
-VERSION=${VERSION:=1.4.7}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-# signing key from http://www.gnupg.org/(en)/signature_key.html
-gpg --import << EOGPG
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.4.3rc1 (GNU/Linux)
-
-mQGiBDWiHh4RBAD+l0rg5p9rW4M3sKvmeyzhs2mDxhRKDTVVUnTwpMIR2kIA9pT4
-3No/coPajDvhZTaDM/vSz25IZDZWJ7gEu86RpoEdtr/eK8GuDcgsWvFs5+YpCDwW
-G2dx39ME7DN+SRvEE1xUm4E9G2Nnd2UNtLgg82wgi/ZK4Ih9CYDyo0a9awCgisn3
-RvZ/MREJmQq1+SjJgDx+c2sEAOEnxGYisqIKcOTdPOTTie7o7x+nem2uac7uOW68
-N+wRWxhGPIxsOdueMIa7U94Wg/Ydn4f2WngJpBvKNaHYmW8j1Q5zvZXXpIWRXSvy
-TR641BceGHNdYiR/PiDBJsGQ3ac7n7pwhV4qex3IViRDJWz5Dzr88x+Oju63KtxY
-urUIBACi7d1rUlHr4ok7iBRlWHYXU2hpUIQ8C+UOE1XXT+HB7mZLSRONQnWMyXnq
-bAAW+EUUX2xpb54CevAg4eOilt0es8GZMmU6c0wdUsnMWWqOKHBFFlDIvyI27aZ9
-quf0yvby63kFCanQKc0QnqGXQKzuXbFqBYW2UQrYgjXji8rd8bQnV2VybmVyIEtv
-Y2ggKGdudXBnIHNpZykgPGRkOWpuQGdudS5vcmc+iGIEExECACICGwMECwcDAgMV
-AgMDFgIBAh4BAheABQI/6YJpBQkMMyPLAAoJEGi3q4lXVI3Nou8AnAuw9XXJ9zYP
-7JP7ZbXUf9+00wO/AJsHB45GEJv878Q6SDZRNckFHh6SgIhGBBARAgAGBQI1oic8
-AAoJEGx+4bhiHMATftYAn1fOaKDUOt+dS38rB+CJ2Q+iElWJAKDRPpp8q5GylbM8
-DPlMpClWN3TYqYhGBBARAgAGBQI27U5sAAoJEF3iSZZbA1iiarYAn35qU3ZOlVEC
-ELE/3V6q98Q30eAaAKCtO+lacH0Q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mzDJsowW0/t9TPTk9EqMKG/GtbOF79ifoE
-CY8X7pjFCjZb3yvOrRMdLnAomNeYfIhGBBARAgAGBQJDuBFDAAoJEF3iSZZbA1ii
-keYAn3YojYxnY/f5jGq4lOHJ7kpmj0CJAJ4/s1vX/WdjNCtq/oJXRAthMNsk5Q==
-=82ni
------END PGP PUBLIC KEY BLOCK-----
-EOGPG
-
-RTOOL="wget"
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
- fi
- if [ ! -f "$SRC_DIR/$SRC.sig" ]; then
- wget "$URL.sig" -O "$SRC_DIR/$SRC.sig" || exit $ERROR_WGET
- fi
-fi
-
-gpg --verify $SRC_DIR/$SRC.sig || exit $ERROR_GPG
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG="$TMP/package-gnupg"
-rm -rf $TMP
-mkdir -p $PKG
-
-cd $TMP
-rm -rf gnupg-$VERSION
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd gnupg-$VERSION
-chown -R root.root .
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr --libdir=$LIBDIR || exit $ERROR_CONF
-make -j3 || exit $ERROR_MAKE
-make install DESTDIR=$PKG || exit $ERROR_INSTALL
-strip --strip-unneeded $PKG/usr/bin/*
-chown -R root.bin $PKG/usr/bin
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*
-gzip -9 $PKG/usr/man/*/*
-mkdir -p $PKG/usr/doc/gnupg-$VERSION
-cp -a \
- ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS PROJECTS README THANKS TODO VERSION \
- $PKG/usr/doc/gnupg-$VERSION
-( cd $PKG/usr/doc/gnupg-$VERSION
- ln -sf /usr/share/gnupg/FAQ .
- ln -sf /usr/share/gnupg/faq.html . )
-# Add slack-desc files:
-mkdir -p $PKG/install
-cat $CWD/slack-desc.gnupg > $PKG/install/slack-desc
-
-# Build the package:
-cd $PKG
-makepkg -l y -c n $REPOS/gnupg-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-# Clean up the extra stuff:
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/gnupg/slack-desc.gnupg b/patches/gnupg/slack-desc.gnupg
deleted file mode 100644
index 496005e9..00000000
--- a/patches/gnupg/slack-desc.gnupg
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-gnupg: gnupg (The GNU Privacy Guard)
-gnupg:
-gnupg: GnuPG is GNU's tool for secure communication and data storage. It can
-gnupg: be used to encrypt data and to create digital signatures. It includes
-gnupg: an advanced key management facility and is compliant with the proposed
-gnupg: OpenPGP Internet standard as described in RFC2440.
-gnupg:
-gnupg:
-gnupg:
-gnupg:
-gnupg:
diff --git a/patches/gzip/gzip-1.3.5-google-owl-bound.diff.gz b/patches/gzip/gzip-1.3.5-google-owl-bound.diff.gz
deleted file mode 100644
index bdac9704..00000000
--- a/patches/gzip/gzip-1.3.5-google-owl-bound.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/gzip/gzip-1.3.5-gunzip-dir.patch.gz b/patches/gzip/gzip-1.3.5-gunzip-dir.patch.gz
deleted file mode 100644
index ba978a76..00000000
--- a/patches/gzip/gzip-1.3.5-gunzip-dir.patch.gz
+++ /dev/null
Binary files differ
diff --git a/patches/gzip/gzip-1.3.5-gzip-perm.patch.gz b/patches/gzip/gzip-1.3.5-gzip-perm.patch.gz
deleted file mode 100644
index 91a3283e..00000000
--- a/patches/gzip/gzip-1.3.5-gzip-perm.patch.gz
+++ /dev/null
Binary files differ
diff --git a/patches/gzip/gzip-1.3.5-huft-build-return-fix.patch.gz b/patches/gzip/gzip-1.3.5-huft-build-return-fix.patch.gz
deleted file mode 100644
index 1789889b..00000000
--- a/patches/gzip/gzip-1.3.5-huft-build-return-fix.patch.gz
+++ /dev/null
Binary files differ
diff --git a/patches/gzip/gzip.SlackBuild b/patches/gzip/gzip.SlackBuild
deleted file mode 100755
index 245c9dc8..00000000
--- a/patches/gzip/gzip.SlackBuild
+++ /dev/null
@@ -1,179 +0,0 @@
-#!/bin/bash
-#
-# Copyright 2006 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Original script:
-# ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/gzip/gzip.SlackBuild
-#
-# Changes: 20060921 - ported it to http://slack.sarava.org/slackbuilds standards
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="gzip"
-PKGNAM="$PACKAGE"
-VERSION=${VERSION:=1.3.5}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-RTOOL="wget"
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/gzip/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-${PKGNAM}
-rm -rf $TMP
-mkdir -p $PKG
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
-fi
-
-cd $TMP
-rm -rf ${PKGNAM}-${VERSION}
-tar xvf$tarflag $SRC_DIR/${PKGNAM}-$VERSION.tar.bz2
-cd ${PKGNAM}-$VERSION
-
-zcat $CWD/gzip-1.3.5-huft-build-return-fix.patch.gz | patch -p0 --verbose || exit 1
-zcat $CWD/gzip-1.3.5-gunzip-dir.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/gzip-1.3.5-gzip-perm.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/gzip-1.3.5-google-owl-bound.diff.gz | patch -p1 --verbose || exit 1
-
-# Make sure ownerships and permissions are sane:
-chown -R root:root .
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-
-# Configure:
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- $ARCH-slackware-linux
-
-# Build and install:
-make -j4 || exit 1
-make install DESTDIR=$PKG || exit 1
-
-# Strip binaries:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Fix locations:
-( cd $PKG
- mkdir bin
- mv usr/bin/gzip bin
- ( cd bin ; rm -rf gunzip )
- ( cd bin ; ln -sf gzip gunzip )
- ( cd bin ; rm -rf zcat )
- ( cd bin ; ln -sf gzip zcat )
- ( cd usr/bin ; rm -rf gzip )
- ( cd usr/bin ; ln -sf ../../bin/gzip gzip )
- ( cd usr/bin ; rm -rf gunzip )
- ( cd usr/bin ; ln -sf ../../bin/gunzip gunzip )
- ( cd usr/bin ; rm -rf zcat )
- ( cd usr/bin ; ln -sf ../../bin/zcat zcat )
- ( cd usr/bin ; rm -rf zcmp )
- ( cd usr/bin ; ln -sf zdiff zcmp )
- ( cd usr/bin ; rm -rf zegrep )
- ( cd usr/bin ; ln -sf zgrep zegrep )
- ( cd usr/bin ; rm -rf zfgrep )
- ( cd usr/bin ; ln -sf zgrep zfgrep )
-)
-
-# Compress and link manpages, if any:
-if [ -d $PKG/usr/man ]; then
- ( cd $PKG/usr/man
- for manpagedir in $(find . -type d -name "man*") ; do
- ( cd $manpagedir
- for eachpage in $( find . -type l -maxdepth 1) ; do
- ln -s $( readlink $eachpage ).gz $eachpage.gz
- rm $eachpage
- done
- gzip -9 *.?
- )
- done
- )
-fi
-
-# Compress info files, if any:
-if [ -d $PKG/usr/info ]; then
- ( cd $PKG/usr/info
- rm -f dir
- gzip -9 *
- )
-fi
-
-# Add a documentation directory:
-mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
-cp -a \
- AUTHORS COPYING INSTALL NEWS README README-alpha THANKS TODO \
- $PKG/usr/doc/${PKGNAM}-$VERSION
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $TMP/package-${PKGNAM}
-makepkg -l y -c n $REPOS/${PKGNAM}-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/gzip/slack-desc b/patches/gzip/slack-desc
deleted file mode 100644
index ef26d586..00000000
--- a/patches/gzip/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-gzip: gzip (file compression utility)
-gzip:
-gzip: Gzip reduces the size of the named files using Lempel-Ziv coding
-gzip: (LZ77). Whenever possible, each file is replaced by one with the
-gzip: extension .gz, while keeping the same ownership modes, access and
-gzip: modification times.
-gzip:
-gzip:
-gzip:
-gzip:
-gzip:
diff --git a/patches/libpng/libpng.SlackBuild b/patches/libpng/libpng.SlackBuild
deleted file mode 100755
index a218cb32..00000000
--- a/patches/libpng/libpng.SlackBuild
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/bin/bash
-#
-# slackbuild script for libpng
-# by rhatto at riseup.net
-#
-# some code grabbed from slackware 11.0 and slamd64-11.0 scripts, found at
-# ftp://ftp.slackware.com/pub/slackware/slackware-11.0/source/l/libpng/ and
-# http://slamd64.he.net/slamd64-11.0/source/l/libpng/libpng.SlackBuild
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building libpng are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="libpng"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=1.2.29}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- export LDFLAGS="-L/lib64 -L/usr/lib64"
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://ufpr.dl.sourceforge.net/sourceforge/libpng/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd $PACKAGE-$VERSION
-
-if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
- patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH
-fi
-
-chown -R root:root .
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-
-if [ "$ARCH" == "x86_64" ]; then
-
- # Do *NOT* move this... put here in Slamd64 so that libdir
- # can be overriden and so that we don't have inline assembly problems
- # - if you change this, rebuilding libpng will break, and
- # you'll have to rebuild everything that links to it (e.g. KDE).
- zcat $CWD/libpng.libs.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
- ln -sf scripts/makefile.linux ./Makefile
-
- ./configure --prefix=/usr --libdir=$LIBDIR || exit $ERROR_CONF
-
-else
-
- ./configure --prefix=/usr --libdir=$LIBDIR || exit $ERROR_CONF
- zcat $CWD/libpng.libs.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
- ln -sf scripts/makefile.linux ./Makefile
-
-fi
-
-make || exit $ERROR_MAKE
-make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL
-
-CWD="`pwd`"
-
-cd $TMP/package-$PACKAGE
-
-# This symlink is needed to keep old applications running:
-( cd usr/lib
- if [ ! -e libpng.so.0 -a -e libpng.so.3 ]; then
- ln -sf libpng.so.3 libpng.so.0
- fi
-)
-
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-gzip -9 usr/man/man?/*
-
-mkdir install
-cat << EOF > install/slack-desc
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libpng: libpng (Portable Network Graphics library)
-libpng:
-libpng: PNG (Portable Network Graphics) is an extensible file format for the
-libpng: lossless, portable, well-compressed storage of raster images. PNG
-libpng: provides a patent-free replacement for GIF and can also replace many
-libpng: common uses of TIFF. Indexed-color, grayscale, and truecolor images
-libpng: are supported, plus an optional alpha channel. Sample depths range
-libpng: from 1 to 16 bits.
-libpng:
-libpng:
-libpng:
-EOF
-
-# docs
-mkdir -p usr/doc/$PACKAGE-$VERSION
-
-DOCS="ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO libpng.txt example.c"
-
-for file in $DOCS; do
- cp $CWD/$file* usr/doc/$PACKAGE-$VERSION/
-done
-
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/libpng/libpng.libs.diff.gz b/patches/libpng/libpng.libs.diff.gz
deleted file mode 100644
index 75b50f48..00000000
--- a/patches/libpng/libpng.libs.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/libpng/libpng.mmx-x86-only.diff.gz b/patches/libpng/libpng.mmx-x86-only.diff.gz
deleted file mode 100644
index 6ab81258..00000000
--- a/patches/libpng/libpng.mmx-x86-only.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/libtiff/libtiff.SlackBuild b/patches/libtiff/libtiff.SlackBuild
deleted file mode 100755
index b930d27a..00000000
--- a/patches/libtiff/libtiff.SlackBuild
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/libtiff/libtiff.SlackBuild
-# small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="libtiff"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=3.8.2}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-LIBDIR=/usr/lib
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- export LDFLAGS="-L/lib64 -L/usr/lib64"
- SLKCFLAGS="-O2"
- LIBDIR=/usr/lib64
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="tiff-$VERSION.tar.$PACKAGE_EXT"
-URL="ftp://ftp.remotesensing.org/pub/libtiff/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG="$TMP/package-$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-rm -rf tiff-$VERSION
-tar xvf$tarflag $SRC_DIR/tiff-$VERSION.tar.$PACKAGE_EXT
-cd tiff-$VERSION
-
-chown -R root:root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-
-if [ "$VERSION" == "3.8.2" ]; then
- zcat $CWD/tiff-3.8.2.goo-sec.diff.gz | patch -p1 --verbose || exit 1
- zcat $CWD/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz | patch -p1 --verbose || exit 1
-fi
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --program-prefix="" \
- --program-suffix="" \
- --libdir=$LIBDIR \
- $ARCH-slackware-linux
-
-make -j3 || exit 1
-make install DESTDIR=$PKG || exit 1
-rm -r $PKG/usr/share
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-strip -g $PKG/$LIBDIR/lib*.a
-chmod 755 $PKG/$LIBDIR/libtiff*.so.*
-chown -R root:bin $PKG/usr/bin
-mkdir -p $PKG/usr/doc/libtiff-$VERSION
-cp -a \
- COPYRIGHT README RELEASE-DATE TODO VERSION \
- $PKG/usr/doc/libtiff-$VERSION
-
-mv $PKG/usr/local/man $PKG/usr
-rmdir $PKG/usr/local
-
-# I'd use that shiny new manpage script here but all the
-# .3 manpages end with '.3tiff'.
-gzip -9 $PKG/usr/man/man?/*
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-makepkg -l y -c n $REPOS/libtiff-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/libtiff/slack-desc b/patches/libtiff/slack-desc
deleted file mode 100644
index 42c79f47..00000000
--- a/patches/libtiff/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libtiff: libtiff (a library for reading and writing TIFF files)
-libtiff:
-libtiff: This package provides support for the Tag Image File Format (TIFF),
-libtiff: a widely used format for storing image data. Included is the libtiff
-libtiff: library (for reading and writing TIFF files), and a collection of
-libtiff: tools for working with TIFF images.
-libtiff:
-libtiff:
-libtiff:
-libtiff:
-libtiff:
diff --git a/patches/libtiff/tiff-3.8.2.goo-sec.diff.gz b/patches/libtiff/tiff-3.8.2.goo-sec.diff.gz
deleted file mode 100644
index 87fc289a..00000000
--- a/patches/libtiff/tiff-3.8.2.goo-sec.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz b/patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz
deleted file mode 100644
index 8e5a2e0c..00000000
--- a/patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/libwpd/libwpd.SlackBuild b/patches/libwpd/libwpd.SlackBuild
deleted file mode 100755
index 7dd789ab..00000000
--- a/patches/libwpd/libwpd.SlackBuild
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-11.0/patches/source/libwpd/libwpd.SlackBuild
-# small changes by rhatto at riseup.net
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building cairo are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="libwpd"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=0.8.9}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-libwpd
-rm -rf $TMP
-mkdir -p $PKG
-
-LIBDIR=/usr/lib
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
- export LDFLAGS="-L/lib64 -L/usr/lib64"
- LIBDIR=/usr/lib64
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://easynews.dl.sourceforge.net/sourceforge/libwpd/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-cd $TMP
-rm -rf libwpd-$VERSION
-tar xvf $SRC_DIR/libwpd-$VERSION.tar.$PACKAGE_EXT || exit $ERROR_TAR
-cd libwpd-$VERSION
-chown -R root:root .
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=$LIBDIR \
- $ARCH-slackware-linux
-make || exit $ERROR_MAKE
-make install DESTDIR=$PKG || exit $ERROR_INSTALL
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-mkdir -p $PKG/usr/doc/libwpd-$VERSION
-cp -a \
- CHANGES COPYING CREDITS HACKING INSTALL README TODO \
- $PKG/usr/doc/libwpd-$VERSION
-
-# Developers may find these docs in the source interesting, but most users won't:
-rm -rf $PKG/usr/share/doc
-rmdir $PKG/usr/share
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/libwpd/slack-desc b/patches/libwpd/slack-desc
deleted file mode 100644
index 4619b32a..00000000
--- a/patches/libwpd/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-libwpd: libwpd (WordPerfect document format library)
-libwpd:
-libwpd: This package contains a library (libwpd) and tools to transform
-libwpd: WordPerfect documents into other formats such as HTML, text, and raw.
-libwpd:
-libwpd:
-libwpd: libwpd is used by word processors such as KWord.
-libwpd:
-libwpd:
-libwpd:
-libwpd:
diff --git a/patches/lm_sensors/lm_sensors.SlackBuild b/patches/lm_sensors/lm_sensors.SlackBuild
deleted file mode 100755
index 394f2cbc..00000000
--- a/patches/lm_sensors/lm_sensors.SlackBuild
+++ /dev/null
@@ -1,196 +0,0 @@
-#!/bin/bash
-#
-# lm_sensors.SlackBuild is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or any later version.
-#
-# lm_sensors.SlackBuild is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place - Suite 330, Boston, MA 02111-1307, USA
-#
-# slackbuild for lm_sensors
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building lm_sensors are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD=`pwd`
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PRGNAM="lm_sensors"
-PACKAGE="$PRGNAM"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=2.10.5}
-BUILD=${BUILD:=3rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://dl.lm-sensors.org/lm-sensors/releases/$SRC"
-
-RTOOL="wget"
-
-gpg --import << EOPGP
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: PGPfreeware 5.0i for non-commercial use
-
-mQCNAzaeL3sAAAEEAL7roqireHxJ43Xo1oOWAUbba5DVfQX8Cnv99I1VQ1suFxVn
-HWpWjlI0BUaMZzP9JF9F/xZhpd9dyjj3giuFReyj8Qk5e6Q0eSWSL+0CADi9Pesm
-zQQt4GmPpDfLKbzFUWCUNbB5vAC8p9Fj2frHBqcF7z3AR3u+3h8uYrXvyThJAAUR
-tCVQaGlsaXAgRWRlbGJyb2NrIDxwaGlsQG5ldHJvZWRnZS5jb20+iQCVAwUQNp4v
-ex8uYrXvyThJAQEJFwP+IED7wi0Spa1KpVp9ywK9r7Fu7WLUhv0stD2GlFL+USa7
-UTB0XuFXuOFVVNtBauj5a1morjVGIcwYkJ4prTLYe+ok+AjfeCjodPxzrSqPgf3n
-xbQqRg0vMCxIHHBP8dv2guEBii06GhvculveSvvyOZGEKLAV6btKXvIxJI7yRHU=
-=Mzd5
------END PGP PUBLIC KEY BLOCK-----
-
------BEGIN PGP PUBLIC KEY BLOCK-----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DUUdD3yIsxx8Wy2O9vPJI8BD8KVbGI2Ou1WMuF040zT9fBdXQ6MdGGzeMyEs
-tSr/POGxKUAYEY18hKcKctaGxAMZyAcpesqVDNmWn6vQClCbAkbTCD1mpF1Bn5x8
-vYlLIhkmuquiXsNV6TILOwACAgf/YDv43LHUBX4wGkVbLJ2DU8tOAp5Od0pxXaUF
-FMGzTuR3W5IdS9YjTo9NdE6DlsX34yU1iLTyjnqApDfu2Uz2oeM1RULYmK9srA2M
-LZoDAiVtwsqRX5x0QlkdrDn6ngZMnfe9n8d3fxxqC6wtI+EpXUEk+G4hafowyM2j
-ogibnD8TGwjCFD5OQSG50yRCEykZez3thX2jRrlZLRhhtU1eb2GbJ7NMoFoAH079
-me+8kspMvYaPAQg/vpml89BNWmdu3OdtR7qFO9vNbDRFJMZLIucC6sWWMPSXltcI
-rOHdFtnux8OxY+57juMgkOR5JsyY1WizxmWgIAptLv7KlLYkiokAPwMFGDfK4ajg
-olc3ZSNq1REC58kAoLyb4jp4/9/QUEQrFFmyy4M/65xuAKCnpPd37PhwQn0kLIlo
-BP7wPk2BgQ==
-=l+kY
------END PGP PUBLIC KEY BLOCK-----
-EOPGP
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
- wget "$URL.asc" -O "$SRC_DIR/$SRC.asc" || exit $ERROR_WGET
-fi
-
-gpg --verify $SRC_DIR/$SRC.asc $SRC_DIR/$SRC || exit $ERROR_GPG
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-rm -rf $PACKAGE-$VERSION $PACKAGE-$VERSION-$ARCH-$BUILD.tgz
-
-tar xvf $SRC_DIR/$PACKAGE-$VERSION.tar.$PACKAGE_EXT || exit $ERROR_TAR
-cd $PACKAGE-$VERSION
-
-sed -e 's/^I2C_HEADERS := \/usr\/local\/include/I2C_HEADERS := \/usr\/include/' \
- -e 's/^PREFIX := \/usr\/local/PREFIX := \/usr/' Makefile > Makefile.new
-
-if [ "$ARCH" == "x86_64" ]; then
- sed -e 's/LIBDIR := $(PREFIX)\/lib/LIBDIR := $(PREFIX)\/lib64/' Makefile.new > Makefile
-else
- mv Makefile.new Makefile
-fi
-
-make user || exit $ERROR_MAKE
-make DESTDIR=$TMP/package-$PACKAGE user_install || exit $ERROR_INSTALL
-
-CWD="`pwd`"
-
-mkdir -p $TMP/package-$PACKAGE/install
-cd $TMP/package-$PACKAGE
-
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-cat << EOF > install/slack-desc
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler-----------------------------------------------------|
-lm_sensors: lm_sensors (Linux sensors drivers and hardware monitoring tools)
-lm_sensors:
-lm_sensors: lm_sensors provides essential drivers for monitoring the
-lm_sensors: temperatures, voltages, and fans of Linux systems with hardware
-lm_sensors: monitoring devices. It contains Linux 2.4 drivers for sensor chips
-lm_sensors: and I2C and SMBus masters, text-based tools for sensor reporting,
-lm_sensors: and a library for sensors access called "libsensors". It also
-lm_sensors: contains tools for sensor hardware identification and I2C bus probing.
-lm_sensors:
-lm_sensors:
-lm_sensors:
-EOF
-
-# config
-if [ -f "etc/sensors.conf" ]; then
- mv etc/sensors.conf etc/sensors.conf.new
-fi
-
-if [ -f "etc/sensors3.conf" ]; then
- mv etc/sensors3.conf etc/sensors.conf.new
-fi
-
-# docs
-mkdir -p usr/doc/$PACKAGE-$VERSION
-cp $CWD/{BACKGROUND,BUGS,CHANGES,CONTRIBUTORS,COPYING,INSTALL,QUICKSTART,README,README.thinkpad,TODO} usr/doc/$PACKAGE-$VERSION/
-
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
diff --git a/patches/mod_ssl/_mod_ssl.tar.gz b/patches/mod_ssl/_mod_ssl.tar.gz
deleted file mode 100644
index da20236a..00000000
--- a/patches/mod_ssl/_mod_ssl.tar.gz
+++ /dev/null
Binary files differ
diff --git a/patches/mod_ssl/libssl.module.diff.gz b/patches/mod_ssl/libssl.module.diff.gz
deleted file mode 100644
index a04fb079..00000000
--- a/patches/mod_ssl/libssl.module.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/mod_ssl/mod_ssl.SlackBuild b/patches/mod_ssl/mod_ssl.SlackBuild
deleted file mode 100755
index dcc67799..00000000
--- a/patches/mod_ssl/mod_ssl.SlackBuild
+++ /dev/null
@@ -1,191 +0,0 @@
-#!/bin/bash
-#
-# Build and package mod_ssl on Slackware.
-# by: David Cantrell <david@slackware.com>
-# Currently maintained by: PJV <volkerdi@slackware.com>
-#
-# Small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="mod_ssl"
-MODSSL_VER=${MODSSL_VER:=2.8.28}
-APACHE_VER=${APACHE_VER:=1.3.37}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-REPOS=${REPOS:=$TMP}
-
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-
-cat << EOCAT
-
-Pleasy check if the apache version installed system-wide is $APACHE_VER,
-otherwise upgrade your apache.
-
-Press ENTER to continue.
-EOCAT
-
-read garbage
-
-RTOOL="wget"
-MODSSL="mod_ssl-$MODSSL_VER-$APACHE_VER.tar.gz"
-MODSSL_URL="http://www.modssl.org/source/$MODSSL"
-APACHE="apache_$APACHE_VER.tar.gz"
-APACHE_URL="http://ftp.unicamp.br/pub/apache/httpd/$APACHE"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
-
- if [ ! -f "$SRC_DIR/$MODSSL" ]; then
- wget "$MODSSL_URL" -O "$SRC_DIR/$MODSSL"
- fi
-
- if [ ! -f "$SRC_DIR/$APACHE" ]; then
- wget "$APACHE_URL" -O "$SRC_DIR/$APACHE"
- fi
-
-fi
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-PKG=$TMP/package-$PACKAGE
-mkdir -p $PKG
-( cd $PKG ; explodepkg $CWD/_mod_ssl.tar.gz )
-# Install sample config file:
-cat $CWD/mod_ssl.conf.example > $PKG/etc/apache/mod_ssl.conf.new
-
-cd $TMP
-rm -rf mod_ssl-$MODSSL_VER-$APACHE_VER
-rm -rf apache_$APACHE_VER
-tar xvzf $SRC_DIR/apache_$APACHE_VER.tar.gz
-tar xvzf $SRC_DIR/mod_ssl-$MODSSL_VER-$APACHE_VER.tar.gz
-
-# build mod_ssl
-cd $TMP/mod_ssl-$MODSSL_VER-$APACHE_VER
-chown -R root.root .
-
-if [ "$ARCH" == "x86_64" ]; then
- ( cd pkg.sslmod ; zcat $CWD/libssl.module.diff.gz | patch -p0 --verbose )
-fi
-
-./configure --with-apxs=/usr/sbin/apxs \
- --with-crt=/etc/apache/mod_ssl/server.crt \
- --with-key=/etc/apache/mod_ssl/server.key \
- --with-patch=/usr/bin/patch
-
-# Enjoy this kludge! :-)
-if [ "$ARCH" == "x86_64" ]; then
- echo "SSL_CFLAGS= -DSSL_ENGINE -DSSL_USE_SDBM -L/usr/lib64" >> pkg.sslmod/Makefile
-else
- echo "SSL_CFLAGS= -DSSL_ENGINE -DSSL_USE_SDBM" >> pkg.sslmod/Makefile
-fi
-
-make -j3
-
-# go back to the Apache tree and generate the additional package components
-cd $TMP/apache_$APACHE_VER
-cat $TMP/mod_ssl-$MODSSL_VER-$APACHE_VER/pkg.sslcfg/sslcfg.patch | patch -p0
-cat $TMP/mod_ssl-$MODSSL_VER-$APACHE_VER/pkg.ssldoc/ssldoc.patch | patch -p0
-cat $TMP/mod_ssl-$MODSSL_VER-$APACHE_VER/pkg.sslsup/sslsup.patch | patch -p0
-zcat $CWD/../apache/apache.dbm.diff.gz | patch -p1
-( cd $TMP/apache_$APACHE_VER/src/support
- cat apachectl | sed -e "s|PIDFILE=/usr/local/apache/logs/httpd.pid|PIDFILE=/var/run/httpd.pid|g" | sed -e "s|HTTPD='/usr/local/apache/src/httpd'|HTTPD=/usr/sbin/httpd|g" > apachectl.new
- mv apachectl.new apachectl )
-
-# install mod_ssl
-cd $TMP/mod_ssl-$MODSSL_VER-$APACHE_VER
-make -j3
-make install
-mkdir -p $PKG/usr/doc/mod_ssl-$MODSSL_VER-$APACHE_VER
-cp -a ANNOUNCE CREDITS INSTALL LICENSE NEWS README* \
- $PKG/usr/doc/mod_ssl-$MODSSL_VER-$APACHE_VER
-
-# install the other components for this package
-cd $TMP/mod_ssl-$MODSSL_VER-$APACHE_VER
-( cd pkg.sslcfg
- cp -a README.CRT Makefile.crt ca-bundle.crt snakeoil-ca-rsa.crt \
- snakeoil-ca-dsa.crt snakeoil-rsa.crt snakeoil-dsa.crt \
- server.crt $PKG/etc/apache/ssl.crt )
-( cd pkg.sslcfg
- cp -a README.CSR server.csr $PKG/etc/apache/ssl.csr )
-( cd pkg.sslcfg
- cp -a README.PRM snakeoil-ca-dsa.prm snakeoil-dsa.prm \
- $PKG/etc/apache/ssl.prm )
-( cd pkg.sslcfg
- cp -a Makefile.crl README.CRL $PKG/etc/apache/ssl.crl )
-( cd pkg.sslcfg
- cp -a README.KEY snakeoil-ca-rsa.key snakeoil-ca-dsa.key snakeoil-rsa.key \
- snakeoil-dsa.key server.key $PKG/etc/apache/ssl.key )
-
-( cd pkg.ssldoc
- cp -a index.html ssl_* $PKG/var/www/htdocs/manual/mod/mod_ssl )
-( cd pkg.ssldoc
- cp -a apache_pb.gif feather.jpg mod_ssl_sb.gif openssl_ics.gif \
- $PKG/var/www/htdocs/manual/images )
-
-cd $TMP/apache_$APACHE_VER
-( cd htdocs
- cp -a index.html.en $PKG/var/www/htdocs )
-( cd htdocs/manual/mod
- cp -a index.html.en index-bytype.html.en directives.html.en \
- $PKG/var/www/htdocs/manual/mod )
-( cd src/support
- cp -a apachectl $PKG/usr/sbin )
-# This is a point of overlap with the apache package, so we'll make it
-# a symlink so that it's less of a trap for the unsuspecting admin:
-( cd $PKG/usr/sbin
- mv apachectl apachectl-mod_ssl
- ln -sf apachectl-mod_ssl apachectl
-)
-
-# Make key files that we wouldn't want overwritten use .new:
-for file in \
-$PKG/etc/apache/ssl.crt/server.crt \
-$PKG/etc/apache/ssl.csr/server.csr \
-$PKG/etc/apache/ssl.key/server.key ; do
- mv $file ${file}.new
-done
-
-# get the module in the package
-mkdir -p $PKG/usr/libexec/apache
-cp -a /usr/libexec/apache/libssl.so $PKG/usr/libexec/apache
-
-# attributes
-chmod 700 $PKG/etc/apache/ssl.key
-
-# strip:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-# some housekeeping
-chown -R root.bin $PKG/usr/sbin
-chmod 755 $PKG/usr/sbin/*
-
-# Install slack-desc:
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# make the package
-cd $PKG
-makepkg -l y -c n $REPOS/mod_ssl-${MODSSL_VER}_${APACHE_VER}-$ARCH-$BUILD.tgz
-
-# clean up
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/mod_ssl/mod_ssl.conf.example b/patches/mod_ssl/mod_ssl.conf.example
deleted file mode 100644
index 79cce3b9..00000000
--- a/patches/mod_ssl/mod_ssl.conf.example
+++ /dev/null
@@ -1,266 +0,0 @@
-## _ _
-## _ __ ___ ___ __| | ___ ___| | mod_ssl
-## | '_ ` _ \ / _ \ / _` | / __/ __| | Apache Interface to OpenSSL
-## | | | | | | (_) | (_| | \__ \__ \ | www.modssl.org
-## |_| |_| |_|\___/ \__,_|___|___/___/_| ftp.modssl.org
-## |_____|
-## ____________________________________________________________________________
-##
-## Copyright (c) 1998-2001 Ralf S. Engelschall, All Rights Reserved.
-
-##
-## Load the mod_ssl module:
-##
-LoadModule ssl_module libexec/apache/libssl.so
-
-##
-## SSL Support
-##
-## When we also provide SSL we have to listen to the
-## standard HTTP port (see above) and to the HTTPS port
-##
-<IfDefine SSL>
-Listen 80
-Listen 443
-</IfDefine>
-
-#<VirtualHost _default_:*>
-#</VirtualHost>
-
-##
-## SSL Global Context
-##
-## All SSL configuration in this context applies both to
-## the main server and all SSL-enabled virtual hosts.
-##
-
-#
-# Some MIME-types for downloading Certificates and CRLs
-#
-<IfDefine SSL>
-AddType application/x-x509-ca-cert .crt
-AddType application/x-pkcs7-crl .crl
-</IfDefine>
-
-<IfModule mod_ssl.c>
-
-# Pass Phrase Dialog:
-# Configure the pass phrase gathering process.
-# The filtering dialog program (`builtin' is a internal
-# terminal dialog) has to provide the pass phrase on stdout.
-SSLPassPhraseDialog builtin
-
-# Inter-Process Session Cache:
-# Configure the SSL Session Cache: First either `none'
-# or `dbm:/path/to/file' for the mechanism to use and
-# second the expiring timeout (in seconds).
-#SSLSessionCache none
-#SSLSessionCache shm:/var/log/apache/ssl_scache(512000)
-SSLSessionCache dbm:/var/log/apache/ssl_scache
-SSLSessionCacheTimeout 300
-
-# Semaphore:
-# Configure the path to the mutual explusion semaphore the
-# SSL engine uses internally for inter-process synchronization.
-SSLMutex file:/var/log/apache/ssl_mutex
-
-# Pseudo Random Number Generator (PRNG):
-# Configure one or more sources to seed the PRNG of the
-# SSL library. The seed data should be of good random quality.
-# WARNING! On some platforms /dev/random blocks if not enough entropy
-# is available. This means you then cannot use the /dev/random device
-# because it would lead to very long connection times (as long as
-# it requires to make more entropy available). But usually those
-# platforms additionally provide a /dev/urandom device which doesn't
-# block. So, if available, use this one instead. Read the mod_ssl User
-# Manual for more details.
-SSLRandomSeed startup builtin
-SSLRandomSeed connect builtin
-#SSLRandomSeed startup file:/dev/random 512
-#SSLRandomSeed startup file:/dev/urandom 512
-#SSLRandomSeed connect file:/dev/random 512
-#SSLRandomSeed connect file:/dev/urandom 512
-
-# Logging:
-# The home of the dedicated SSL protocol logfile. Errors are
-# additionally duplicated in the general error log file. Put
-# this somewhere where it cannot be used for symlink attacks on
-# a real server (i.e. somewhere where only root can write).
-# Log levels are (ascending order: higher ones include lower ones):
-# none, error, warn, info, trace, debug.
-SSLLog /var/log/apache/ssl_engine_log
-SSLLogLevel info
-
-</IfModule>
-
-<IfDefine SSL>
-
-##
-## SSL Virtual Host Context
-##
-
-<VirtualHost _default_:443>
-
-# General setup for the virtual host
-DocumentRoot "/var/www/htdocs"
-ServerName new.host.name
-ServerAdmin you@your.address
-ErrorLog /var/log/apache/error_log
-TransferLog /var/log/apache/access_log
-
-# SSL Engine Switch:
-# Enable/Disable SSL for this virtual host.
-SSLEngine on
-
-# SSL Cipher Suite:
-# List the ciphers that the client is permitted to negotiate.
-# See the mod_ssl documentation for a complete list.
-SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
-
-# Server Certificate:
-# Point SSLCertificateFile at a PEM encoded certificate. If
-# the certificate is encrypted, then you will be prompted for a
-# pass phrase. Note that a kill -HUP will prompt again. A test
-# certificate can be generated with `make certificate' under
-# built time. Keep in mind that if you've both a RSA and a DSA
-# certificate you can configure both in parallel (to also allow
-# the use of DSA ciphers, etc.)
-SSLCertificateFile /etc/apache/ssl.crt/server.crt
-#SSLCertificateFile /etc/apache/ssl.crt/server-dsa.crt
-
-# Server Private Key:
-# If the key is not combined with the certificate, use this
-# directive to point at the key file. Keep in mind that if
-# you've both a RSA and a DSA private key you can configure
-# both in parallel (to also allow the use of DSA ciphers, etc.)
-SSLCertificateKeyFile /etc/apache/ssl.key/server.key
-#SSLCertificateKeyFile /etc/apache/ssl.key/server-dsa.key
-
-# Server Certificate Chain:
-# Point SSLCertificateChainFile at a file containing the
-# concatenation of PEM encoded CA certificates which form the
-# certificate chain for the server certificate. Alternatively
-# the referenced file can be the same as SSLCertificateFile
-# when the CA certificates are directly appended to the server
-# certificate for convinience.
-#SSLCertificateChainFile /etc/apache/ssl.crt/ca.crt
-
-# Certificate Authority (CA):
-# Set the CA certificate verification path where to find CA
-# certificates for client authentication or alternatively one
-# huge file containing all of them (file must be PEM encoded)
-# Note: Inside SSLCACertificatePath you need hash symlinks
-# to point to the certificate files. Use the provided
-# Makefile to update the hash symlinks after changes.
-#SSLCACertificatePath /etc/apache/ssl.crt
-#SSLCACertificateFile /etc/apache/ssl.crt/ca-bundle.crt
-
-# Certificate Revocation Lists (CRL):
-# Set the CA revocation path where to find CA CRLs for client
-# authentication or alternatively one huge file containing all
-# of them (file must be PEM encoded)
-# Note: Inside SSLCARevocationPath you need hash symlinks
-# to point to the certificate files. Use the provided
-# Makefile to update the hash symlinks after changes.
-#SSLCARevocationPath /etc/apache/ssl.crl
-#SSLCARevocationFile /etc/apache/ssl.crl/ca-bundle.crl
-
-# Client Authentication (Type):
-# Client certificate verification type and depth. Types are
-# none, optional, require and optional_no_ca. Depth is a
-# number which specifies how deeply to verify the certificate
-# issuer chain before deciding the certificate is not valid.
-#SSLVerifyClient require
-#SSLVerifyDepth 10
-
-# Access Control:
-# With SSLRequire you can do per-directory access control based
-# on arbitrary complex boolean expressions containing server
-# variable checks and other lookup directives. The syntax is a
-# mixture between C and Perl. See the mod_ssl documentation
-# for more details.
-#<Location />
-#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
-# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
-# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
-# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
-# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
-# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
-#</Location>
-
-# SSL Engine Options:
-# Set various options for the SSL engine.
-# o FakeBasicAuth:
-# Translate the client X.509 into a Basic Authorisation. This means that
-# the standard Auth/DBMAuth methods can be used for access control. The
-# user name is the `one line' version of the client's X.509 certificate.
-# Note that no password is obtained from the user. Every entry in the user
-# file needs this password: `xxj31ZMTZzkVA'.
-# o ExportCertData:
-# This exports two additional environment variables: SSL_CLIENT_CERT and
-# SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
-# server (always existing) and the client (only existing when client
-# authentication is used). This can be used to import the certificates
-# into CGI scripts.
-# o StdEnvVars:
-# This exports the standard SSL/TLS related `SSL_*' environment variables.
-# Per default this exportation is switched off for performance reasons,
-# because the extraction step is an expensive operation and is usually
-# useless for serving static content. So one usually enables the
-# exportation for CGI and SSI requests only.
-# o CompatEnvVars:
-# This exports obsolete environment variables for backward compatibility
-# to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this
-# to provide compatibility to existing CGI scripts.
-# o StrictRequire:
-# This denies access when "SSLRequireSSL" or "SSLRequire" applied even
-# under a "Satisfy any" situation, i.e. when it applies access is denied
-# and no other module can change it.
-# o OptRenegotiate:
-# This enables optimized SSL connection renegotiation handling when SSL
-# directives are used in per-directory context.
-#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
-<Files ~ "\.(cgi|shtml|phtml|php3?)$">
- SSLOptions +StdEnvVars
-</Files>
-<Directory "/var/www/cgi-bin">
- SSLOptions +StdEnvVars
-</Directory>
-
-# SSL Protocol Adjustments:
-# The safe and default but still SSL/TLS standard compliant shutdown
-# approach is that mod_ssl sends the close notify alert but doesn't wait for
-# the close notify alert from client. When you need a different shutdown
-# approach you can use one of the following variables:
-# o ssl-unclean-shutdown:
-# This forces an unclean shutdown when the connection is closed, i.e. no
-# SSL close notify alert is send or allowed to received. This violates
-# the SSL/TLS standard but is needed for some brain-dead browsers. Use
-# this when you receive I/O errors because of the standard approach where
-# mod_ssl sends the close notify alert.
-# o ssl-accurate-shutdown:
-# This forces an accurate shutdown when the connection is closed, i.e. a
-# SSL close notify alert is send and mod_ssl waits for the close notify
-# alert of the client. This is 100% SSL/TLS standard compliant, but in
-# practice often causes hanging connections with brain-dead browsers. Use
-# this only for browsers where you know that their SSL implementation
-# works correctly.
-# Notice: Most problems of broken clients are also related to the HTTP
-# keep-alive facility, so you usually additionally want to disable
-# keep-alive for those clients, too. Use variable "nokeepalive" for this.
-# Similarly, one has to force some clients to use HTTP/1.0 to workaround
-# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
-# "force-response-1.0" for this.
-SetEnvIf User-Agent ".*MSIE.*" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
-
-# Per-Server Logging:
-# The home of a custom SSL log file. Use this when you want a
-# compact non-error SSL logfile on a virtual host basis.
-CustomLog /var/log/apache/ssl_request_log \
- "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
-
-</VirtualHost>
-
-</IfDefine>
diff --git a/patches/mod_ssl/slack-desc b/patches/mod_ssl/slack-desc
deleted file mode 100644
index e137e2ef..00000000
--- a/patches/mod_ssl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-mod_ssl: mod_ssl (Apache module for SSL)
-mod_ssl:
-mod_ssl: mod_ssl provides provides strong cryptography for the Apache web
-mod_ssl: server via the Secure Sockets Layer (SSL v2/v3) and Transport Layer
-mod_ssl: Security (TLS v1). It is based on OpenSSL and provides support for
-mod_ssl: all major security needs through HTTP.
-mod_ssl:
-mod_ssl: mod_ssl is written by Ralf S. Engelschall.
-mod_ssl:
-mod_ssl:
-mod_ssl:
diff --git a/patches/mozilla-firefox/default.xpm b/patches/mozilla-firefox/default.xpm
deleted file mode 100644
index ce4a3cdf..00000000
--- a/patches/mozilla-firefox/default.xpm
+++ /dev/null
@@ -1,299 +0,0 @@
-/* XPM */
-static char * default_xpm[] = {
-"48 48 248 2",
-" c None",
-". c #7980B8",
-"+ c #5269AA",
-"@ c #133988",
-"# c #155AA7",
-"$ c #1181BC",
-"% c #13508E",
-"& c #2773AF",
-"* c #6976B1",
-"= c #146CAB",
-"- c #1785C4",
-"; c #35A7E4",
-"> c #5988A8",
-", c #1A639C",
-"' c #618380",
-") c #7F896D",
-"! c #576768",
-"~ c #414E6D",
-"{ c #2882BB",
-"] c #36A2DD",
-"^ c #41AEE7",
-"/ c #2D8FCF",
-"( c #2A4D6F",
-"_ c #DDC563",
-": c #FDFA57",
-"< c #F7CC2C",
-"[ c #D0A634",
-"} c #EEB88A",
-"| c #E86918",
-"1 c #40A3DD",
-"2 c #296599",
-"3 c #23568D",
-"4 c #164778",
-"5 c #16395A",
-"6 c #072558",
-"7 c #2C3B4D",
-"8 c #9D8D2F",
-"9 c #F8D801",
-"0 c #FAE800",
-"a c #F6B704",
-"b c #FBD46D",
-"c c #A5A5C9",
-"d c #062C70",
-"e c #061646",
-"f c #0A2E62",
-"g c #123D74",
-"h c #6D6D6C",
-"i c #A99269",
-"j c #EDB16B",
-"k c #BABCA3",
-"l c #907241",
-"m c #B27A1C",
-"n c #F69B08",
-"o c #F6A706",
-"p c #F7A613",
-"q c #E15707",
-"r c #E58836",
-"s c #AE99A3",
-"t c #111A54",
-"u c #05122B",
-"v c #061538",
-"w c #142646",
-"x c #17334F",
-"y c #4F4B50",
-"z c #D28D3D",
-"A c #F0AC4C",
-"B c #756D57",
-"C c #CEA753",
-"D c #FDE55B",
-"E c #FEFA7A",
-"F c #F9E641",
-"G c #F9C617",
-"H c #FCD9A3",
-"I c #E98B66",
-"J c #D64804",
-"K c #E17B25",
-"L c #D86A27",
-"M c #685049",
-"N c #795B48",
-"O c #635B5B",
-"P c #E48529",
-"Q c #E99737",
-"R c #B8832E",
-"S c #214357",
-"T c #45402F",
-"U c #CB8F1C",
-"V c #FCF604",
-"W c #F7C603",
-"X c #FBE5B6",
-"Y c #E36743",
-"Z c #D63003",
-"` c #E99C4C",
-" . c #E17919",
-".. c #172B5B",
-"+. c #202A74",
-"@. c #0D223C",
-"#. c #7F5A1C",
-"$. c #FDE56F",
-"%. c #D15D41",
-"&. c #B83404",
-"*. c #D9782A",
-"=. c #E27A06",
-"-. c #277BC4",
-";. c #624B23",
-">. c #FBD659",
-",. c #F1E084",
-"'. c #DE7317",
-"). c #E99725",
-"!. c #F6B12B",
-"~. c #EEA716",
-"{. c #EB9515",
-"]. c #E68714",
-"^. c #CC590A",
-"/. c #192963",
-"(. c #66572F",
-"_. c #E9A603",
-":. c #AC320A",
-"<. c #8D564E",
-"[. c #4F6E8B",
-"}. c #4A9DC9",
-"|. c #FEFE92",
-"1. c #D95708",
-"2. c #4D2B18",
-"3. c #E79209",
-"4. c #FEFA86",
-"5. c #FDE6A6",
-"6. c #E6880C",
-"7. c #DA6917",
-"8. c #A4853C",
-"9. c #D47350",
-"0. c #CAAE8C",
-"a. c #D1B76B",
-"b. c #FCE424",
-"c. c #F08F0D",
-"d. c #FBEA3A",
-"e. c #0B345A",
-"f. c #836735",
-"g. c #AB8B53",
-"h. c #FEFD25",
-"i. c #B9571B",
-"j. c #C15822",
-"k. c #B66F38",
-"l. c #971703",
-"m. c #532725",
-"n. c #C09123",
-"o. c #FEFD39",
-"p. c #F9B517",
-"q. c #FAC94B",
-"r. c #A52504",
-"s. c #38313D",
-"t. c #9A8854",
-"u. c #FEFC17",
-"v. c #F9CA59",
-"w. c #D35B23",
-"x. c #B92707",
-"y. c #113A6F",
-"z. c #CC4621",
-"A. c #BE4910",
-"B. c #CD9750",
-"C. c #C12A11",
-"D. c #C8470A",
-"E. c #C63605",
-"F. c #A46F48",
-"G. c #C97A36",
-"H. c #89978D",
-"I. c #0F3C75",
-"J. c #A70209",
-"K. c #D35615",
-"L. c #E0650A",
-"M. c #BC7036",
-"N. c #0E3468",
-"O. c #9A1124",
-"P. c #25317F",
-"Q. c #FCDB47",
-"R. c #9B4967",
-"S. c #D77707",
-"T. c #CE5D15",
-"U. c #A84515",
-"V. c #342222",
-"W. c #0A2543",
-"X. c #A57736",
-"Y. c #F9D515",
-"Z. c #662817",
-"`. c #040B26",
-" + c #A06E32",
-".+ c #C19471",
-"++ c #970314",
-"@+ c #D04911",
-"#+ c #7E240E",
-"$+ c #2D212E",
-"%+ c #020935",
-"&+ c #6C4538",
-"*+ c #875F39",
-"=+ c #FFFE6A",
-"-+ c #883F67",
-";+ c #291B1D",
-">+ c #00071F",
-",+ c #5C393C",
-"'+ c #FEF2AE",
-")+ c #FEFD4E",
-"!+ c #CC9438",
-"~+ c #B50501",
-"{+ c #8B4B22",
-"]+ c #7D4224",
-"^+ c #FFFFC6",
-"/+ c #BF9E8E",
-"(+ c #762C5A",
-"_+ c #C93B10",
-":+ c #8B4E30",
-"<+ c #543C54",
-"[+ c #C66823",
-"}+ c #D29A1D",
-"|+ c #8E041A",
-"1+ c #BC652C",
-"2+ c #AE5B2C",
-"3+ c #AF9393",
-"4+ c #6E447E",
-"5+ c #C11E00",
-"6+ c #C32907",
-"7+ c #FAE217",
-"8+ c #650E41",
-"9+ c #DF7931",
-"0+ c #D86407",
-"a+ c #7B0727",
-"b+ c #DE9005",
-"c+ c #DC8505",
-"d+ c #EAB402",
-"e+ c #EDC602",
-"f+ c #A0776B",
-"g+ c #B9140C",
-"h+ c #C94617",
-"i+ c #D04F22",
-"j+ c #9C706E",
-"k+ c #91697A",
-"l+ c #850520",
-"m+ c #79495B",
-"n+ c #551D5F",
-"o+ c #655191",
-"p+ c #560D43",
-"q+ c #81142A",
-"r+ c #A81615",
-"s+ c #A8371E",
-"t+ c #8D362F",
-"u+ c #632C4A",
-"v+ c #563D7B",
-"w+ c #453786",
-"x+ c #471552",
-"y+ c #3C185B",
-" ",
-" ",
-" . + @ # # $ # % @ & * ",
-" + @ = $ $ $ - ; ; $ = = = = = @ > ",
-" + = $ $ $ $ $ $ ; ; ; - = # # , ' ) ! ~ ~ ",
-" + % = = = = & & & { ] ^ ^ ; / = , % ( ! ) _ : < [ } ",
-" | @ % % % % , , , , & & 1 ^ ^ ^ / & 2 3 4 5 6 6 7 8 9 0 a b ",
-" | | } c d 6 e f g 4 4 h i j k & / ^ ^ ^ ^ { & 2 3 ( l m m n n o a a p ",
-" q | r s t e u v w x y z A A i ( 3 / ^ ^ ^ 1 { & & & 2 ~ B C D E F G o n n H ",
-" I J | K L M N y x 7 O P Q Q R x S & 1 ^ ^ { { & & & { 2 3 ( 5 T U < V V W n p X b ",
-" Y Z J K j j j j j b ` .K Q y ..+./ ^ / & & { & { / ^ 1 & ( 5 w @.#.o 9 9 9 o A $. ",
-" %.&.*.j A j A A Q Q K =. . .4 & -.] ^ -.-.& / ; ^ ^ ^ ^ / 3 3 ( ..w ;.n W W a n >.,. ",
-" %.'.` ` A ).!.~.{.].=.=.'.^.y -.-.1 ^ ^ ] / ; ; ; ; ^ ^ 1 & 2 3 ( /.w (.n a _.o !.$. ",
-" *.Q Q Q ~.~.{.{.].]. .'.'.^.:.<.[.> }.}.; ; ; ; ; ; ; ; ^ ^ { 3 { 2 3 S m n _.n !.|.X ",
-" } P Q ~.{.{.{.].{.].]. . .'.1.:.J 1.q q 2.{ ] ; ; ; / ; ; ; ; 1 ] 1 1 { 2 S 3.n 3.n 4.5. ",
-" Q ).).{.{.6.].].].K ]. .'.7.7.&.1.J q K i / ] ; ; ; ; ] / ] ] ] ] ] ] / & 8.m n !.o : $. ",
-" Q ).].3.].].].].]. . .K '.K K 9.X X } 0.[.$ ] ] / ] ] { = , { / / / / / $ a.[ n $.a V b. ",
-" j Q {.{.3.c.].].].]. . .'.| K K ` } j h 5 % - ; / $ { / / , , , { / / / / & i E c.$.d.0 9 ",
-" Q ).].3.].].].].K . .'. .K K Q r I 7 e.% = / / - # , = { , , , , / / / -.3 f.E < $.D 9 W b ",
-"j Q ).].{.].].].].]. . .'.K P Q Q A g.f @ = / / ; / = , & , , , , , & / -., @ f.h.G $.4.9 W !. ",
-"` r ].{.{.6.].].].K .'. .P r Q ` A C @ # = - / / / = , , , , , , % { / { # % l 0 9 4.|.G a !. ",
-"` ).].3.].6.].c. . . .K L i.j.j.k.C b % # $ -./ / / -., , , , , 3 % , { = , & R 9 W E |.< o !. ",
-"j P ].3.].6.].K . .7.:.l.l.l.m.@.@.( @ # = -./ / / / / & , , 3 % % % % 4 ! & n.W G o.: p.n q. ",
-"j K ].c.6.]. . . .'.r.l.l.l.r.s.f f f @ # = -.-./ -./ / 3 , , 3 % % % % 4 a.t.o o W V u.p.!.v. ",
-"9.w.=.].]. . . . .7.l.l.r.r.x.N 4 @ @ # & -.-.-.-.{ -./ % 3 % % % @ % 4 y.C q.n n 9 0 V a >._ ",
-"9.z.'. .K . .'.7.A.r.r.x.&.&. .O # # 2 & -.-.-.-.-.-.{ & % % 4 % 4 4 @ 4 B.E n n 9 9 0 p 4.j ",
-" C.'.'. .K '.'.K D.:.&.&.E.E.7. .F.2 # # 2 h G.r A a.H.{ % 4 4 I.4 I.I., B.|.!.o W 9 9 q.|.j ",
-" J.7. .'.'.'.'.'.K.E.E.D.J J L.'.K 7.M.M.'.K '.K r A ,.H.4 4 y.N.y.N.N.3 [ |.q.a a W G 4.$. ",
-" O.K.'.'.L. .'.K '.D.Z J J q q '.'.K 7.'.'. . . .7.7.j g.I.y.f f 6 6 P.3 !.E Q.o < a >.|.>. ",
-" R.z.w.'.S.'.'.'.| 7.q q q q q &.A.7.'.K '.L T.A.U.V.u W.e.N.6 t e w X.O Y.h.G n v.p.4.|.C ",
-" x.L L.'.'.'.'. .7. .q q L.q K.l.l.l.r.r.:.:.Z.`.`.u e t t e e e + + +9 V W n b D 4.4..+ ",
-" ++L @+'.'.S.'. .'.'.'.L.L.L.L.D.l.l.r.#+Z.$+@.u %+v e e e %+e &+6.*+n 9 9 a q.4.: =+Q. ",
-" -+z.E. .'.'.S.L.'. .L. .7.'.L. .i.;+>+>+u w /.%+%+e e %+%+%+,+ .].c.a W W o '+)+o.)+!+ ",
-" J.~+7.'.'.'.'.'.'.S.L. .L.'. .7. .{+v %+/.t %+%+%+%+%+%+]+| L .c._._._.v.^+V u.b./+ ",
-" (+~+_+K 1.'.'. .'.'.S.'.'.S.L. .'.'.'.:+<+P.+.t %+%+m.[+'.'.'.'.6.3.3.~.|.4.V V }+ ",
-" |+~+@+7.7.'.K '.'.'.'.'.'.S.=.L.'.'.'.'.'.1+2+[+ . .'.'. . .'.=.=.=.d.E d.0 9 3+ ",
-" 4+~+5+K.6+7.K P 7. .'.'.'.'.'.'.'.'.'.'. .'.'.7.K 7.K 7. .7.L.L.S.7+o.: 9 9 R ",
-" 8+~+5+J 5+K.9+K C.1.'. . .'.'.L.'. .K K P r r r r r K 7.q 0+S.9 V h.Y.9 _. ",
-" a+~+6+Z ~+6+r 9+~+E.7.K K 7.K. .'.K K K K K K '.'.'.0+0+b+9 0 V V W a 3+ ",
-" ++~+E.6+~+~+z.r C.~+_+w.P 9+K.@+K.7.'.'. . .'.7.0+c+_.d+e+0 0 e+_.f+ ",
-" ++~+6+5+~+~+g+z.g+g+g+C.h+%.r L i+@+@+T.T.0+S.c+b+_.d+e+e+e+3.j+ ",
-" a+~+~+~+~+~+~+g+g+g+g+g+g+g+_+h+w._+D.^.^.0+S.c+b+d+d+_.'.k+ ",
-" 8+J.~+~+~+~+g+g+g+g+g+g+g+g+C.6+&.D.D.^.0+S.S.b+3.].2+ ",
-" l+~+~+~+g+~+g+g+g+g+g+g+C.C.6+_+D.D.^.0+S.S.[+m+ ",
-" n+a+~+g+g+g+g+g+g+g+g+g+C.6+E._+D.^.0+2+m+ ",
-" o+p+q+r+g+g+g+g+g+g+x.C.E.s+t+u+v+ ",
-" w+x+x+x+x+x+x+y+w+ ",
-" "};
diff --git a/patches/mozilla-firefox/doinst.sh b/patches/mozilla-firefox/doinst.sh
deleted file mode 100644
index e716135b..00000000
--- a/patches/mozilla-firefox/doinst.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-
-FIREFOXDIR=usr/lib64/firefox-VERSION
-REGXPCOM=../../../$FIREFOXDIR/regxpcom
-FIREFOX=../../../$FIREFOXDIR/firefox-bin
-
-# Register the default extensions
-( cd $FIREFOXDIR && ./run-mozilla.sh $REGXPCOM && ./run-mozilla.sh $FIREFOX -register )
diff --git a/patches/mozilla-firefox/firefox.desktop b/patches/mozilla-firefox/firefox.desktop
deleted file mode 100644
index cf3303db..00000000
--- a/patches/mozilla-firefox/firefox.desktop
+++ /dev/null
@@ -1,81 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Exec=firefox %u
-Icon=/usr/share/pixmaps/firefox.png
-Type=Application
-Categories=Application;Network;
-Name=Firefox
-Name[bn]=ফায়ারফক্স
-Name[eo]=Mozilo Fajrovulpo
-Name[fi]=Mozilla Firefox
-Name[pa]=ਫਾਇਰਫੋਕਸ
-Name[tg]=Рӯбоҳи оташин
-GenericName=Web Browser
-GenericName[af]=Web Blaaier
-GenericName[ar]=متصفح ويب
-GenericName[az]=Veb Səyyahı
-GenericName[bg]=Браузър
-GenericName[bn]=ওয়েব ব্রাউজার
-GenericName[br]=Furcher ar Gwiad
-GenericName[bs]=WWW Preglednik
-GenericName[ca]=Fullejador web
-GenericName[cs]=WWW prohlížeč
-GenericName[cy]=Porydd Gwe
-GenericName[da]=Browser
-GenericName[de]=Web-Browser
-GenericName[el]=Περιηγητής Ιστού
-GenericName[eo]=TTT-legilo
-GenericName[es]=Navegador web
-GenericName[et]=Veebilehitseja
-GenericName[eu]=Web arakatzailea
-GenericName[fa]=مرورگر وب
-GenericName[fi]=WWW-selain
-GenericName[fo]=Alnótsfar
-GenericName[fr]=Navigateur web
-GenericName[gl]=Navegador Web
-GenericName[he]=דפדפן אינטרנט
-GenericName[hi]=वेब ब्राउज़र
-GenericName[hr]=Web preglednik
-GenericName[hu]=Webböngésző
-GenericName[is]=Vafri
-GenericName[it]=Browser Web
-GenericName[ja]=ウェブブラウザ
-GenericName[ko]=웹 브라우저
-GenericName[lo]=ເວັບບຣາວເຊີ
-GenericName[lt]=Žiniatinklio naršyklė
-GenericName[lv]=Web Pārlūks
-GenericName[mk]=Прелистувач на Интернет
-GenericName[mn]=Веб-Хөтөч
-GenericName[nb]=Nettleser
-GenericName[nds]=Nettkieker
-GenericName[nl]=Webbrowser
-GenericName[nn]=Nettlesar
-GenericName[nso]=Seinyakisi sa Web
-GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ
-GenericName[pl]=Przeglądarka WWW
-GenericName[pt]=Navegador Web
-GenericName[pt_BR]=Navegador Web
-GenericName[ro]=Navigator de web
-GenericName[ru]=Веб-браузер
-GenericName[se]=Fierpmádatlogan
-GenericName[sk]=Webový prehliadač
-GenericName[sl]=Spletni brskalnik
-GenericName[sr]=Веб претраживач
-GenericName[sr@Latn]=Veb pretraživač
-GenericName[ss]=Ibrawuza yeWeb
-GenericName[sv]=Webbläsare
-GenericName[ta]=வலை உலாவி
-GenericName[tg]=Тафсиргари вэб
-GenericName[th]=เว็บบราวเซอร์
-GenericName[tr]=Web Tarayıcı
-GenericName[uk]=Навігатор Тенет
-GenericName[uz]=Веб-браузер
-GenericName[ven]=Buronza ya Webu
-GenericName[vi]=Trình duyệt Web
-GenericName[wa]=Betchteu waibe
-GenericName[xh]=Umkhangeli zincwadi we Web
-GenericName[zh_CN]=网页浏览器
-GenericName[zh_TW]=網頁瀏覽器
-GenericName[zu]=Umcingi we-Web
-MimeType=text/html
-X-KDE-StartupNotify=true
diff --git a/patches/mozilla-firefox/firefox.png b/patches/mozilla-firefox/firefox.png
deleted file mode 100644
index 399040b0..00000000
--- a/patches/mozilla-firefox/firefox.png
+++ /dev/null
Binary files differ
diff --git a/patches/mozilla-firefox/mozilla-firefox.SlackBuild b/patches/mozilla-firefox/mozilla-firefox.SlackBuild
deleted file mode 100755
index 1b946fc7..00000000
--- a/patches/mozilla-firefox/mozilla-firefox.SlackBuild
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/bash
-#
-# based on slamd64 slackbuild script
-# rhatto usage: TMP=/phreak/apps/build/net/mozilla-firefox SRC=/phreak/apps/src/net/mozilla-firefox ./mozilla-firefox.SlackBuild
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="firefox"
-VERSION=${VERSION:=1.5.0.8}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-# adjust to your package build dir
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-firefox
-
-if [ ! -d $TMP ]; then
- mkdir -p $TMP
-fi
-rm -rf $PKG
-mkdir -p $PKG
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION-source.tar.$PACKAGE_EXT"
-URL="ftp://ftp.mozilla.org/pub/mozilla.org/$PACKAGE/releases/$VERSION/source/$SRC"
-RTOOL="wget"
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
-fi
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-cd $TMP
-tar xf$tarflag $SRC_DIR/$SRC || exit 1
-echo foo
-if [ -d $PACKAGE-$VERSION ]; then
- rm -rf $PACKAGE-$VERSION
-fi
-mv mozilla $PACKAGE-$VERSION
-cd $PACKAGE-$VERSION
-cp $CWD/default.xpm ./widget/src/gtk2/default.xpm
-
-CFLAGS="-O2 -fPIC" MOZ_PHOENIX=1 \
- ./configure --prefix=/usr --libdir=$LIBDIR --enable-optimize="-pipe -w -O2" \
- --disable-debug \
- --with-default-mozilla-five-home=$LIBDIR/firefox-${VERSION} \
- --enable-strip-libs --enable-strip --disable-tests --enable-crypto --disable-ldap \
- --enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs \
- --disable-mailnews --disable-composer --enable-single-profile --disable-profilesharing \
- --enable-xft --enable-xinerama --disable-freetype2 --enable-default-toolkit=gtk2 \
- --disable-installer --with-pthreads --disable-jsd \
- --enable-application=browser || exit 1
-
-MOZ_PHOENIX=1 make -s export || exit 1
-MOZ_PHOENIX=1 make -s libs || exit 1
-MOZ_PHOENIX=1 make DESTDIR=$PKG install || exit 1
-
-find $PKG/ -name '*.so' | xargs chmod -x
-chmod -x ${PKG}${LIBDIR}/firefox-${VERSION}/components/*.js
-# rm -rf ${PKG}${LIBDIR}/firefox-${VERSION}/defaults/profile/extensions/installed-extensions.txt 2>/dev/null
-# mv ${PKG}${LIBDIR}/firefox-${VERSION}/defaults/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf ${PKG}${LIBDIR}/firefox-${VERSION}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
-# rm -rf ${PKG}${LIBDIR}/firefox-${VERSION}/defaults/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
-
-mkdir -p $PKG/usr/share/applications
-cat $CWD/firefox.desktop > $PKG/usr/share/applications/firefox.desktop
-mkdir -p $PKG/usr/share/pixmaps
-cat $CWD/firefox.png > $PKG/usr/share/pixmaps/firefox.png
-mkdir $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/slack-required > $PKG/install/slack-required
-sed -e "s/VERSION/$VERSION/g" $CWD/doinst.sh > $PKG/install/doinst.sh
-(cd ${PKG}${LIBDIR}/firefox-$VERSION; mv lib* ../; ln -s ../lib* ./ )
-(cd ${PKG}${LIBDIR}/firefox-$VERSION; ln -s mozilla-xremote-client mozilla-firefox-xremote-client)
-(cd ${PKG}${LIBDIR}/firefox-$VERSION; ln -sf mozilla-xremote-client firefox-xremote-client)
-
-cd $PKG
-makepkg -l y -c n $REPOS/mozilla-firefox-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
diff --git a/patches/mozilla-firefox/slack-desc b/patches/mozilla-firefox/slack-desc
deleted file mode 100644
index 1f064265..00000000
--- a/patches/mozilla-firefox/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-mozilla-firefox: mozilla-firefox (Mozilla Firefox Web browser)
-mozilla-firefox:
-mozilla-firefox: This project is a redesign of the Mozilla browser component written
-mozilla-firefox: using the XUL user interface language. Firefox empowers you to
-mozilla-firefox: browse faster, more safely and more efficiently than with any other
-mozilla-firefox: browser.
-mozilla-firefox:
-mozilla-firefox:
-mozilla-firefox:
-mozilla-firefox:
-mozilla-firefox:
diff --git a/patches/mysql/doinst.sh.gz b/patches/mysql/doinst.sh.gz
deleted file mode 100644
index 6f83b274..00000000
--- a/patches/mysql/doinst.sh.gz
+++ /dev/null
Binary files differ
diff --git a/patches/mysql/mysql.SlackBuild b/patches/mysql/mysql.SlackBuild
deleted file mode 100755
index 7e5a4c10..00000000
--- a/patches/mysql/mysql.SlackBuild
+++ /dev/null
@@ -1,177 +0,0 @@
-#!/bin/bash
-#
-# Build and install MySQL on Slackware
-#
-# by: David Cantrell <david@slackware.com>
-# Currently maintained by: Patrick Volkerding <volkerdi@slackware.com>
-#
-# Small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="mysql"
-VERSION=${VERSION:=4.1.21}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:-1rha}
-TMP=${TMP:-/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-RTOOL="wget"
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://mirror.pacific.net.au/linux/slackware/slackware-10.2/patches/source/mysql/$SRC"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
-fi
-
-if [ ! -d $TMP ]; then
- mkdir -p $TMP
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-$PACKAGE
-rm -rf $TMP
-mkdir -p $PKG
-cd $TMP
-
-LIBDIR="lib"
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIR="lib64"
-fi
-
-cd $TMP
-rm -rf mysql-$VERSION
-tar xjvf $SRC_DIR/$SRC
-cd mysql-$VERSION
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" CXX=gcc CXXFLAGS="$SLKCFLAGS -felide-constructors -fno-exceptions -fno-rtti" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/$LIBDIR
- --with-mysqld-user=mysql \
- --with-unix-socket-path=/var/run/mysql/mysql.sock \
- --localstatedir=/var/lib/mysql \
- --enable-assembler \
- --with-raid \
- --without-debug \
- --enable-thread-safe-client \
- --without-bench \
- --with-extra-charsets=complex \
- --with-vio \
- --with-openssl \
- --program-prefix="" \
- --program-suffix="" \
- $ARCH-slackware-linux
-#
-# --without-readline
-
-make -j3
-make install DESTDIR=$PKG
-
-# Strip ELF objects:
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-mkdir -p $PKG/etc
-( cd support-files
- cp my-huge.cnf my-large.cnf my-medium.cnf my-small.cnf $PKG/etc )
-
-# install docs
-mkdir -p $PKG/usr/doc/mysql-$VERSION/Docs
-# Don't need the (huge) INSTALL-SOURCE... the source is installed already.
-#cp -a COPYING* INSTALL-SOURCE MIRRORS README /usr/doc/mysql-$VERSION
-cp -a COPYING* MIRRORS README $PKG/usr/doc/mysql-$VERSION
-( cd Docs
- cp -a INSTALL-BINARY *.html *.txt Flags \
- $PKG/usr/doc/mysql-$VERSION/Docs )
-# Also too large to justify since the .html version is right there:
-rm $PKG/usr/doc/mysql-$VERSION/Docs/manual.txt
-find $PKG/usr/doc/mysql-$VERSION -type f -exec chmod 644 {} \;
-
-# this is the directory where databases are stored
-mkdir -p $PKG/var/lib/mysql
-chown mysql.mysql $PKG/var/lib/mysql
-chmod 750 $PKG/var/lib/mysql
-
-# this is where the socket is stored
-mkdir -p $PKG/var/run/mysql
-chown mysql.mysql $PKG/var/run/mysql
-chmod 755 $PKG/var/run/mysql
-
-# Do not include the test suite:
-rm -r $PKG/usr/mysql-test
-
-# Add init script:
-mkdir -p $PKG/etc/rc.d
-# This is intentionally chmod 644.
-zcat $CWD/rc.mysqld.gz > $PKG/etc/rc.d/rc.mysqld.new
-
-# Install script:
-mkdir -p $PKG/install
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# Add some handy library symlinks:
-if [ -r $PKG/usr/$LIBDIR/mysql/libmysqlclient.so.14 ]; then
- mkdir -p $PKG/usr/$LIBDIR
- ( cd $PKG/usr/$LIBDIR
- rm -f libmysqlclient.so libmysqlclient.so.14
- ln -sf mysql/libmysqlclient.so .
- ln -sf mysql/libmysqlclient.so.14 .
- )
-fi
-if [ -r $PKG/usr/$LIBDIR/mysql/libmysqlclient_r.so.14 ]; then
- mkdir -p $PKG/usr/$LIBDIR
- ( cd $PKG/usr/$LIBDIR
- rm -f libmysqlclient_r.so libmysqlclient_r.so.14
- ln -sf mysql/libmysqlclient_r.so .
- ln -sf mysql/libmysqlclient_r.so.14 .
- )
-fi
-
-# Packaging standards:
-chown -R root.bin $PKG/usr/bin
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*
-gzip -9 $PKG/usr/man/man?/*.?
-
-# Build package:
-cd $PKG
-makepkg -l y -c n $REPOS/mysql-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/mysql/rc.mysqld.gz b/patches/mysql/rc.mysqld.gz
deleted file mode 100644
index 38da4f2c..00000000
--- a/patches/mysql/rc.mysqld.gz
+++ /dev/null
Binary files differ
diff --git a/patches/mysql/slack-desc b/patches/mysql/slack-desc
deleted file mode 100644
index 29e1b8be..00000000
--- a/patches/mysql/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-mysql: mysql (SQL-based relational database server)
-mysql:
-mysql: MySQL is a fast, multi-threaded, multi-user, and robust SQL
-mysql: (Structured Query Language) database server. It comes with a nice API
-mysql: which makes it easy to integrate into other applications.
-mysql:
-mysql: The home page for MySQL is http://www.mysql.com/
-mysql:
-mysql:
-mysql:
-mysql:
diff --git a/patches/openldap-client/openldap-client.SlackBuild b/patches/openldap-client/openldap-client.SlackBuild
deleted file mode 100755
index 8475ae85..00000000
--- a/patches/openldap-client/openldap-client.SlackBuild
+++ /dev/null
@@ -1,147 +0,0 @@
-#!/bin/bash
-#
-# openldap-client.SlackBuild is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 2 of the License, or any later version.
-#
-# openldap-client.SlackBuild is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place - Suite 330, Boston, MA 02111-1307, USA
-#
-# slackbuild script for openldap-client
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building openldap-client are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="openldap-client"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=2.3.27}
-BUILD=${BUILD:=2rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="tgz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-KEY="http://www.courier-mta.org/KEYS.bin"
-SRC="openldap-$VERSION.$PACKAGE_EXT"
-#URL="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$SRC"
-URL="http://public.planetmirror.com/pub/openldap/openldap-release/$SRC"
-
-SRC_DIR="$SRC_DIR/openldap"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR="/usr/lib64"
-else
- LIBDIR="/usr/lib"
-fi
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-mv openldap-$VERSION $PACKAGE-$VERSION
-cd $PACKAGE-$VERSION
-
-./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR --without-kerberos \
- --without-cyrus-sasl --without-tls --without-threads --disable-slapd --disable-slurpd || exit $ERROR_CONF
-
-make depend
-make || exit $ERROR_MAKE
-make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL
-
-CWD="`pwd`"
-
-cd $TMP/package-$PACKAGE
-
-find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-
-mkdir install
-cat << EOF > install/slack-desc
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler-----------------------------------------------------|
-openldap-client: openldap-client (LDAP application client)
-openldap-client:
-openldap-client: The OpenLDAP Project is a collaborative effort to provide a robust,
-openldap-client: commercial-grade, fully featured, open source LDAP software suite.
-openldap-client: The project is managed by a worldwide community of volunteers that
-openldap-client: use the Internet to communicate, plan, and develop OpenLDAP Software
-openldap-client: and its related documentation. OpenLDAP Software provides a complete
-openldap-client: LDAP implementation including server, clients, C SDK, and associated
-openldap-client: tools.
-openldap-client:
-openldap-client:
-EOF
-
-# configs
-if [ -f "etc/openldap/ldap.conf" ]; then
- mv etc/openldap/ldap.conf etc/openldap/ldap.conf.new
-fi
-
-if [ -f "etc/openldap/slapd.conf" ]; then
- mv etc/openldap/slapd.conf etc/openldap/slapd.conf.new
-fi
-
-# docs
-mkdir -p usr/doc/$PACKAGE-$VERSION
-
-for file in ANNOUNCEMENT CHANGES COPYRIGHT INSTALL LICENSE README; do
- cp $CWD/$file* usr/doc/$PACKAGE-$VERSION/
-done
-
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/openssh/doinst.sh.gz b/patches/openssh/doinst.sh.gz
deleted file mode 100644
index 6deb310f..00000000
--- a/patches/openssh/doinst.sh.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssh/openssh.SlackBuild b/patches/openssh/openssh.SlackBuild
deleted file mode 100755
index 5f4bd843..00000000
--- a/patches/openssh/openssh.SlackBuild
+++ /dev/null
@@ -1,217 +0,0 @@
-#!/bin/bash
-#
-# Copyright 2000 BSDi, Inc. Concord, CA, USA
-# Copyright 2001, 2002, 2003, 2004 Slackware Linux, Inc. Concord, CA, USA
-# Copyright 2006 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Small changes by rhatto.
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="openssh"
-VERSION=${VERSION:=4.4p1}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="ftp://ftp.openbsd.org.br/pub/OpenBSD/OpenSSH/portable/$SRC"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- rm -f $SRC_DIR/$SRC.asc
- wget "$URL" -O "$SRC_DIR/$SRC"
- wget "$URL.asc" -O "$SRC_DIR/$SRC.asc"
-fi
-
-gpg --import << EOGPG
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.0.4 (GNU/Linux)
-Comment: For info see http://www.gnupg.org
-
-mQGiBDqa5pwRBADJSEyXXsgXiyytN93prDPTPmrueRP9lQQfgaQvCvqK0bN0AF1Z
-Vxxk9wlSXQp3+Qw5+qqsN5ovzsn39r9pqGslfCqQn9ACTmsn42+VCyW4hdwUGSBS
-5myh65ZJTK1ufWCZFssxQ0EiALagu4DlH6Z2O7tFDnJNagF55vlnK0uMQwCg/8RU
-QYDmisEHjkarAapPaupxjhkD/j9riCVasWPYJwAuhiQWAKxGRwp/ZyTaWCSERUBR
-4D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VATk0WyihpQGSaTukdPjKlG7sKwMu20ssK9DGVp
-PgulTZ7rHqXl4juY8LQ2j4dPNaPoKWG8JuBVCsyf2D6GNW97PfKQSkzFeZsbVB4S
-RQrVTchgBSYoxRVW3fLk/yc3TC5Abh6Gpj4izawUiEYEGBECAAYFAjqa5tQACgkQ
-zo7LA4b/nEgftgCdHIZUDVAWDRa5siSi8Aos+IiyAgAAn02wGOl1Wo/YJ+RY+c6K
-N58TmAPE
-=rCFY
------END PGP PUBLIC KEY BLOCK-----
-EOGPG
-
-gpg --verify $SRC.asc $SRC || echo WARNING: Could not check signature or WRONG signature found.
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-# Clean target location:
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-$PACKAGE
-rm -rf $TMP
-mkdir -p $PKG
-
-# Prepare the framework and extract the package:
-cd $TMP
-rm -rf $PKG openssh-$VERSION
-tar xvf$tarflag $SRC_DIR/$SRC
-cd openssh-$VERSION
-chown -R root.root .
-
-# Compile package:
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc/ssh \
- --libdir=$LIBDIR \
- --without-pam \
- --with-md5-passwords \
- --with-tcp-wrappers \
- --with-default-path=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin \
- --with-ipv4-default \
- --with-privsep-path=/var/empty \
- --with-privsep-user=sshd \
- $ARCH-slackware-linux
-
-make || exit 32
-
-# Install the package:
-make install DESTDIR=$PKG
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Compress the installed manpages:
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
-# Relink the slogin(1) man page
-( cd $PKG/usr/man/man1
- rm -f slogin.1
- ln -sf ssh.1.gz slogin.1.gz
-)
-
-# Install directory used with PrivilegeSeparation option:
-mkdir -p $PKG/var/empty
-chmod 755 $PKG/var/empty
-
-# Install docs:
-mkdir -p $PKG/usr/doc/openssh-$VERSION
-cp -a \
- CREDITS ChangeLog INSTALL LICENCE OVERVIEW README README.privsep README.smartcard RFC.nroff TODO WARNING.RNG \
- $PKG/usr/doc/openssh-$VERSION
-chmod 644 $PKG/usr/doc/openssh-$VERSION/*
-
-# Install also 'ssh-copy-id' and its manpage from contrib:
-( cd contrib
- cp -a ssh-copy-id $PKG/usr/bin/ssh-copy-id
- chown root.bin $PKG/usr/bin/ssh-copy-id
- chmod 755 $PKG/usr/bin/ssh-copy-id
- cat ssh-copy-id.1 | gzip -9c > $PKG/usr/man/man1/ssh-copy-id.1.gz
-)
-
-# Fix some ownerships per FSSTND:
-chown -R root.bin $PKG/usr/bin $PKG/usr/sbin
-
-( cd $PKG
-
- # Ditch the new host keys, since these have to be uniquely prepared on each machine:
- rm -f etc/ssh/ssh_host_dsa_key
- rm -f etc/ssh/ssh_host_dsa_key.pub
- rm -f etc/ssh/ssh_host_rsa_key
- rm -f etc/ssh/ssh_host_rsa_key.pub
- rm -f etc/ssh/ssh_host_key
- rm -f etc/ssh/ssh_host_key.pub
-
- # Set up the config script installation:
- mv etc/ssh/ssh_config etc/ssh/ssh_config.new
- mv etc/ssh/sshd_config etc/ssh/sshd_config.new
-
- # Add the init script:
- mkdir -p etc/rc.d
- cat $CWD/rc.sshd > etc/rc.d/rc.sshd
- chmod 755 etc/rc.d/rc.sshd
-
- # Copy runtime installation files:
- mkdir -p install
- zcat $CWD/doinst.sh.gz > install/doinst.sh
- cat $CWD/slack-desc > install/slack-desc
-)
-
-# Create the package itself:
-cd $PKG
-makepkg -l y -c n $REPOS/openssh-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/openssh/rc.sshd b/patches/openssh/rc.sshd
deleted file mode 100644
index a3707e36..00000000
--- a/patches/openssh/rc.sshd
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-# Start/stop/restart the secure shell server:
-
-sshd_start() {
- # Create host keys if needed.
- if [ ! -r /etc/ssh/ssh_host_key ]; then
- /usr/bin/ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ''
- fi
- if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
- /usr/bin/ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''
- fi
- if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
- /usr/bin/ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''
- fi
- /usr/sbin/sshd
-}
-
-sshd_stop() {
- killall sshd
-}
-
-sshd_restart() {
- if [ -r /var/run/sshd.pid ]; then
- echo "WARNING: killing listener process only. To kill every sshd process, you must"
- echo " use 'rc.sshd stop'. 'rc.sshd restart' kills only the parent sshd to"
- echo " allow an admin logged in through sshd to use 'rc.sshd restart' without"
- echo " being cut off. If sshd has been upgraded, new connections will now"
- echo " use the new version, which should be a safe enough approach."
- kill `cat /var/run/sshd.pid`
- else
- killall sshd
- fi
- sleep 1
- sshd_start
-}
-
-case "$1" in
-'start')
- sshd_start
- ;;
-'stop')
- sshd_stop
- ;;
-'restart')
- sshd_restart
- ;;
-*)
- echo "usage $0 start|stop|restart"
-esac
-
diff --git a/patches/openssh/slack-desc b/patches/openssh/slack-desc
deleted file mode 100644
index 04277a72..00000000
--- a/patches/openssh/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-openssh: openssh (Secure Shell daemon and clients)
-openssh:
-openssh: ssh (Secure Shell) is a program for logging into a remote machine and
-openssh: for executing commands on a remote machine. It is intended to replace
-openssh: rlogin and rsh, and provide secure encrypted communications between
-openssh: two untrusted hosts over an insecure network. sshd (SSH Daemon) is
-openssh: the daemon program for ssh. OpenSSH is based on the last free version
-openssh: of Tatu Ylonen's SSH, further enhanced and cleaned up by Aaron
-openssh: Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt, and
-openssh: Dug Song. It has a homepage at http://www.openssh.com/
-openssh:
diff --git a/patches/openssl/certwatch.gz b/patches/openssl/certwatch.gz
deleted file mode 100644
index 06cd1d8c..00000000
--- a/patches/openssl/certwatch.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/doinst.sh-openssl-solibs.gz b/patches/openssl/doinst.sh-openssl-solibs.gz
deleted file mode 100644
index a8a303fc..00000000
--- a/patches/openssl/doinst.sh-openssl-solibs.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/doinst.sh-openssl.gz b/patches/openssl/doinst.sh-openssl.gz
deleted file mode 100644
index aa74c81a..00000000
--- a/patches/openssl/doinst.sh-openssl.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/doinst.sh.gz b/patches/openssl/doinst.sh.gz
deleted file mode 100644
index 60a38797..00000000
--- a/patches/openssl/doinst.sh.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/openssl.SlackBuild b/patches/openssl/openssl.SlackBuild
deleted file mode 100755
index a94ecc4a..00000000
--- a/patches/openssl/openssl.SlackBuild
+++ /dev/null
@@ -1,688 +0,0 @@
-#!/bin/bash
-# Copyright 2000 BSDi, Inc. Concord, CA, USA
-# Copyright 2001, 2002 Slackware Linux, Inc. Concord, CA, USA
-# Copyright 2005 Patrick J. Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="openssl"
-VERSION=${VERSION:=0.9.8h}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="openssl-$VERSION.tar.$PACKAGE_EXT"
-URL="http://www.openssl.org/source/$SRC"
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- rm -f $SRC_DIR/$SRC.asc
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
- wget "$URL.asc" -O "$SRC_DIR/$SRC.asc" || exit $ERROR_WGET
-fi
-
-gpg --import << EOGPG
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: PGP Key Server 0.9.6
-
-mI0DMxFj8gAAAQQA6WhM5TR/jDsUNEwzqQD/pdrNfEn8cfx2yZvoTtG5h9WVex2Q
-LDFQE6TJb4BiGQdthTCcHmoGgVTIutssa7AodbUqcDCBt5ktMfmepAukDREsZVm/
-e3MiYpR3LLEGmFlYLgh4SBRuX1xz6mI6wQnxDMXuCerBaj8q7q1M/UmlY9kABRG0
-Fk1hcmsgQ294IDxtYXJrQGMyLm5ldD6JAJUDBRA1/Rjj7q1M/UmlY9kBAfwzBADc
-i7X+/fq9+cOGULYBE9Tr4VxjG4T9JxE5BeoR/2JdOWefnfGtpHgusO/Ii0yOqC9V
-9SunEZfhut5E4Q3Fhz011aQaXjGLc2zVcO0fCAZOdue/lUd5xXdupZfVScHv2arQ
-Sd3nameuFAdNVkt6npYp6GRiLHX1aD17VBKfMbL2WYkCFQMFED6kWILNY9HdhPkm
-TwECvtwP/iGf6TbQTIjkujYW5xVvnGVM7NqMAiICDsDOkkPcrm8PhqTViJrQHGWr
-U6Xre51jdJj/lGByCr/YhicUxUO44MttQ52x5JFhQd+oP/OMCvO4FJZIPx9paUX4
-RzimHr+MW9B4K1rbKcRKTjBXTqaLl5zrA4i5N77NDW4Or2PBqD57vCple+THgv7o
-WdU1ebnWniayK8L4edZ5OAXIUziOqZjyYyGd6wXu5wo7pFsycP27FjTmerMq2nky
-Cl5PHcFZ9+65BuuF+P/DBRgLOa/EM30yU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== "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-
-PKG1=$TMP/package-openssl
-PKG2=$TMP/package-ossllibs
-NAME1=openssl-$VERSION-$ARCH-$BUILD
-NAME2=openssl-solibs-$VERSION-$ARCH-$BUILD
-
-# So that ls has the right field counts for parsing...
-export LC_ALL=C
-
-# This is used to fix manpage links:
-relink() {
- ORIGLINE=`/bin/ls -l $1`
- LINK=`echo $ORIGLINE | cut -f 9 -d ' '`.gz
- FILE=`echo $ORIGLINE | cut -f 11 -d ' '`.gz
- rm $1
- if [ -r $FILE ]; then
- ln -sf $FILE $LINK
- fi
-}
-
-cd $TMP
-rm -rf $PKG1 $PKG2 openssl-$VERSION || exit 1
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd openssl-$VERSION
-# Use .so.0, not .so.0.9.8:
-zcat $CWD/openssl.soname.diff.gz | patch -p1 --backup --verbose --suffix=.orig || exit $ERROR_PATCH
-
-# Fix CAN-2005-2969 (SSL 2.0 rollback bug):
-for vulnerable in 0.9.7g 0.9.7f 0.9.7e 0.9.7d 0.9.7c 0.9.7b 0.9.7a 0.9.7 0.9.8; do
- if [ "$VERSION" == "$vulnerable" ]; then
- zcat $CWD/patch-CAN-2005-2969.diff.gz | patch -p0 --backup --verbose --suffix=.orig || exit $ERROR_PATCH
- fi
-done
-
-if [ "$ARCH" = "i486" ]; then
- # Build with -march=i486 -mcpu=i686:
- zcat $CWD/openssl.optsx86.diff.gz | patch -p1 --backup --verbose --suffix=.orig || exit $ERROR_PATCH
-fi
-chown -R root.root .
-mkdir -p $PKG1/usr/doc/openssl-$VERSION
-cp -a CHANGES CHANGES.SSLeay FAQ INSTALL INSTALL.MacOS INSTALL.VMS INSTALL.W32 \
- LICENSE NEWS README README.ENGINE doc $PKG1/usr/doc/openssl-$VERSION
-find $PKG1/usr/doc/openssl-$VERSION -type d -exec chmod 755 {} \;
-find $PKG1/usr/doc/openssl-$VERSION -type f -exec chmod 644 {} \;
-# These are the known patent issues with OpenSSL:
-# name # expires
-# MDC-2: 4,908,861 13/03/2007, not included.
-# IDEA: 5,214,703 25/05/2010, not included.
-# RC5: 5,724,428 03/03/2015, not included.
-./config --prefix=/usr --openssldir=/etc/ssl no-mdc2 no-idea no-rc5 shared || exit $ERROR_CONF
-
-make depend || exit $ERROR_MAKE
-
-# Use -j1 here if you know what's good for you.
-make || exit $ERROR_MAKE
-
-make install INSTALL_PREFIX=$PKG1 || exit $ERROR_INSTALL
-
-# Add a cron script to warn root if a certificate is going to expire soon:
-mkdir -p $PKG1/etc/cron.daily
-zcat $CWD/certwatch.gz > $PKG1/etc/cron.daily/certwatch.new
-chmod 755 $PKG1/etc/cron.daily/certwatch.new
-
-mv $PKG1/etc/ssl/openssl.cnf $PKG1/etc/ssl/openssl.cnf.new
-
-if [ "$ARCH" == "x86_64" ]; then
- ( cd $PKG1/usr; mv lib lib64; mkdir lib; mv lib64/pkgconfig lib/pkgconfig )
- strip --strip-unneeded $PKG1/usr/lib64/lib*.so.*.*.* $PKG1/usr/bin/*
- ( cd $PKG1/usr/lib64 ; ln -sf libcrypto.so.0 libcrypto.so )
- ( cd $PKG1/usr/lib64 ; ln -sf libssl.so.0 libssl.so )
-else
- strip --strip-unneeded $PKG1/usr/lib/lib*.so.*.*.* $PKG1/usr/bin/*
- ( cd $PKG1/usr/lib ; ln -sf libcrypto.so.0 libcrypto.so )
- ( cd $PKG1/usr/lib ; ln -sf libssl.so.0 libssl.so )
-fi
-
-chown -R root.bin $PKG1/usr/bin
-mv $PKG1/etc/ssl/man $PKG1/usr
-( cd $PKG1/usr/man/man1 ; mv passwd.1 ssl_passwd.1 )
-( cd $PKG1/usr/man/man3 ; mv rand.3 ssl_rand.3 )
-gzip -9 $PKG1/usr/man/man?/*
-for mandir in man1 man3 man7 ; do
- ( cd $PKG1/usr/man/$mandir
- for page in *.? ; do
- relink $page
- done
- )
-done
-cd $PKG1
-chmod 755 usr/lib/pkgconfig
-mkdir -p install
-zcat $CWD/doinst.sh-openssl.gz > install/doinst.sh
-cat $CWD/slack-desc.openssl > install/slack-desc
-makepkg -l y -c n $REPOS/${NAME1}.tgz || exit $ERROR_MKPKG
-
-# Make runtime package:
-
-if [ "$ARCH" == "x86_64" ]; then
- mkdir -p $PKG2/usr/lib64
- ( cd usr/lib64 ; cp -a lib*.so.*.*.* $PKG2/usr/lib64 )
- ( cd $PKG2/usr/lib64 ; ldconfig -l * )
-else
- mkdir -p $PKG2/usr/lib
- ( cd usr/lib ; cp -a lib*.so.*.*.* $PKG2/usr/lib )
- ( cd $PKG2/usr/lib ; ldconfig -l * )
-fi
-
-mkdir -p $PKG2/etc
-( cd $PKG2/etc ; cp -a $PKG1/etc/ssl . )
-mkdir -p $PKG2/usr/doc/openssl-$VERSION
-( cd $TMP/openssl-$VERSION
- cp -a CHANGES CHANGES.SSLeay FAQ INSTALL INSTALL.MacOS INSTALL.VMS INSTALL.W32 \
- LICENSE NEWS README README.ENGINE $PKG2/usr/doc/openssl-$VERSION
-)
-find $PKG2/usr/doc/openssl-$VERSION -type d -exec chmod 755 {} \;
-find $PKG2/usr/doc/openssl-$VERSION -type f -exec chmod 644 {} \;
-cd $PKG2
-mkdir -p install
-zcat $CWD/doinst.sh-openssl-solibs.gz > install/doinst.sh
-cat $CWD/slack-desc.openssl-solibs > install/slack-desc
-makepkg -l y -c n $REPOS/${NAME2}.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/openssl/openssl.optsx86.diff.gz b/patches/openssl/openssl.optsx86.diff.gz
deleted file mode 100644
index 2140f2f8..00000000
--- a/patches/openssl/openssl.optsx86.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/openssl.soname.diff.gz b/patches/openssl/openssl.soname.diff.gz
deleted file mode 100644
index c02ce5e1..00000000
--- a/patches/openssl/openssl.soname.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/patch-CAN-2005-2969.diff.gz b/patches/openssl/patch-CAN-2005-2969.diff.gz
deleted file mode 100644
index 80af11ee..00000000
--- a/patches/openssl/patch-CAN-2005-2969.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/openssl/slack-desc.openssl b/patches/openssl/slack-desc.openssl
deleted file mode 100644
index 57227c04..00000000
--- a/patches/openssl/slack-desc.openssl
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-openssl: openssl (Secure Sockets Layer toolkit)
-openssl:
-openssl: The OpenSSL certificate management tool and the shared libraries that
-openssl: provide various encryption and decryption algorithms and protocols.
-openssl:
-openssl: This product includes software developed by the OpenSSL Project for
-openssl: use in the OpenSSL Toolkit (http://www.openssl.org). This product
-openssl: includes cryptographic software written by Eric Young
-openssl: (eay@cryptsoft.com). This product includes software written by Tim
-openssl: Hudson (tjh@cryptsoft.com).
-openssl:
diff --git a/patches/openssl/slack-desc.openssl-solibs b/patches/openssl/slack-desc.openssl-solibs
deleted file mode 100644
index f65bf12c..00000000
--- a/patches/openssl/slack-desc.openssl-solibs
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-openssl-solibs: openssl-solibs (OpenSSL shared libraries)
-openssl-solibs:
-openssl-solibs: These shared libraries provide encryption routines required by
-openssl-solibs: programs such as openssh. They are also used by KDE's Konqueror web
-openssl-solibs: browser to provide secure web connections.
-openssl-solibs:
-openssl-solibs: This product includes software developed by the OpenSSL Project for
-openssl-solibs: use in the OpenSSL Toolkit (http://www.openssl.org). This product
-openssl-solibs: includes cryptographic software written by Eric Young
-openssl-solibs: (eay@cryptsoft.com). This product includes software written by Tim
-openssl-solibs: Hudson (tjh@cryptsoft.com).
diff --git a/patches/pcre/pcre.SlackBuild b/patches/pcre/pcre.SlackBuild
deleted file mode 100755
index e1415131..00000000
--- a/patches/pcre/pcre.SlackBuild
+++ /dev/null
@@ -1,197 +0,0 @@
-#!/bin/bash
-#
-# pcre.SlackBuild is free software; you can redistribute
-# it and/or modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of the License,
-# or any later version.
-#
-# pcre.SlackBuild is distributed in the hope that it will
-# be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
-# Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-#
-# slackbuild for pcre, by Silvio Rhatto
-# requires:
-# tested: pcre-7.7
-#
-
-# Look for slackbuildrc
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# Set variables
-CWD="$(pwd)"
-SRC_NAME="pcre"
-PKG_NAME="pcre"
-ARCH=${ARCH:=i486}
-SRC_VERSION=${VERSION:=7.7}
-PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')"
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
-TMP=${TMP:=/tmp}
-PKG=${PKG:=$TMP/package-$PKG_NAME}
-REPOS=${REPOS:=$TMP}
-PREFIX=${PREFIX:=/usr}
-PKG_WORK="$TMP/$SRC_NAME"
-CONF_OPTIONS=${CONF_OPTIONS:="--enable-utf8 --mandir=/usr/man"}
-NUMJOBS=${NUMJOBS:=""}
-
-# Set system libraries' path and optmization flags based on $ARCH
-LIBDIR="$PREFIX/lib"
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIR="$PREFIX/lib64"
- LDFLAGS="-L/lib64 -L/usr/lib64"
-fi
-
-# Set error codes (used by createpkg)
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
-
-# Clean up any leftovers of previous builds
-rm -rf "$PKG_WORK" 2> /dev/null
-rm -rf "$PKG" 2> /dev/null
-
-# Create directories if necessary
-mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR
-mkdir -p "$PKG" || exit $ERROR_MKDIR
-mkdir -p "$REPOS" || exit $ERROR_MKDIR
-mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
-
-# Dowload source if necessary
-SRC="$SRC_NAME-$VERSION.tar.bz2"
-URL="http://downloads.sourceforge.net/pcre/$SRC"
-
-if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-# Import minimized signing key from
-if echo [[SIGNING KEY URL]] | grep -q -v "SIGNING KEY URL"; then
- lynx -dump [[SIGNING KEY URL]] | gpg --import || exit $ERROR_GPG
-elif echo FB0F43D8 | grep -q -v "SIGNING KEY ID"; then
- gpg --recv-keys FB0F43D8 || exit $ERROR_GPG
-else
- gpg --import << EOKEY || exit $ERROR_GPG
-[[SIGNING KEY]]
-EOKEY
-fi
-
-# Download source's signature if necessary and check it
-if echo [[SIGNING URL]] | grep -q -v "SIGNING URL"; then
- SIGNATURE="`basename [[SIGNING URL]]`"
- if [ ! -s "$SRC_DIR/$SIGNATURE" ]; then
- wget "[[SIGNING URL]]" -O "$SRC_DIR/$SIGNATURE" || exit $ERROR_WGET
- fi
-else
- if [ -s "$SRC_DIR/$SRC.sig" ]; then
- SIGNATURE="$SRC.sig"
- elif [ -s "$SRC_DIR/$SRC.asc" ]; then
- SIGNATURE="$SRC.asc"
- else
- echo Trying to get signature file from $URL.sig...
- if wget "$URL.sig" -O "$SRC_DIR/$SRC.sig"; then
- SIGNATURE="$SRC.sig"
- else
- rm $SRC_DIR/$SRC.sig
- echo Trying to get signature file from $URL.asc...
- if wget "$URL.asc" -O "$SRC_DIR/$SRC.asc"; then
- SIGNATURE="$SRC.asc"
- else
- rm $SRC_DIR/$SRC.asc
- echo "Error getting source's signature file"
- exit $ERROR_GPG
- fi
- fi
- fi
-fi
-
-echo Checking $SRC_DIR/$SRC with gpg using $SRC_DIR/$SIGNATURE...
-gpg --verify "$SRC_DIR/$SIGNATURE" "$SRC_DIR/$SRC" || exit $ERROR_GPG
-echo Success.
-
-# Untar
-cd "$PKG_WORK"
-tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $NF }'`"
-cd "$PKG_SRC"
-
-# Configure
-CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
-
-# Compile
-make $NUMJOBS || exit $ERROR_MAKE
-
-# Install
-make install DESTDIR="$PKG" || exit $ERROR_INSTALL
-
-# Strip binaries
-( cd "$PKG"
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-# Install documentation
-DOCS="AUTHORS COPYING INSTALL LICENCE NEWS NON-UNIX-USE README"
-mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR
-for doc in $DOCS; do
- if [ -f "$doc" ]; then
- cp -a $doc "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION"
- fi
-done
-
-# Add package description (slack-desc)
-mkdir -p "$PKG/install" || exit $ERROR_MKDIR
-cat << EODESC > "$PKG/install/slack-desc"
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler---------------------------------------------------------|
-pcre: pcre (Perl-compatible regular expression library)
-pcre:
-pcre: The PCRE library is a set of functions that implement regular
-pcre: expression pattern matching using the same syntax and semantics as
-pcre: Perl 5, with just a few differences (documented in the man page).
-pcre:
-pcre: The PCRE library is used by KDE's Konqueror browser.
-pcre:
-pcre:
-pcre:
-pcre:
-EODESC
-
-# Build the package
-cd "$PKG"
-makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
-
-# Delete source and build directories if requested
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf "$PKG_WORK" "$PKG"
-fi
diff --git a/patches/php/conf/mod_php4-apache1.3.conf.example b/patches/php/conf/mod_php4-apache1.3.conf.example
deleted file mode 100644
index 7adf6e0b..00000000
--- a/patches/php/conf/mod_php4-apache1.3.conf.example
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# mod_php - PHP Hypertext Preprocessor module
-#
-
-# Load the PHP module:
-LoadModule php4_module libexec/apache/libphp4.so
-
-# Tell Apache to feed all *.php files through the PHP module:
-AddType application/x-httpd-php .php
-
-# This will display PHP files in colored syntax form. Use with caution.
-#AddType application/x-httpd-php-source .phps
diff --git a/patches/php/conf/mod_php5-apache1.3.conf.example b/patches/php/conf/mod_php5-apache1.3.conf.example
deleted file mode 100644
index e46a5b10..00000000
--- a/patches/php/conf/mod_php5-apache1.3.conf.example
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# mod_php - PHP Hypertext Preprocessor module
-#
-
-# Load the PHP module:
-LoadModule php5_module libexec/apache/libphp5.so
-
-# Tell Apache to feed all *.php files through the PHP module:
-AddType application/x-httpd-php .php
-
-# This will display PHP files in colored syntax form. Use with caution.
-#AddType application/x-httpd-php-source .phps
diff --git a/patches/php/conf/mod_php5-apache2.conf.example b/patches/php/conf/mod_php5-apache2.conf.example
deleted file mode 100644
index 2707a2be..00000000
--- a/patches/php/conf/mod_php5-apache2.conf.example
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# mod_php - PHP Hypertext Preprocessor module
-#
-
-# Load the PHP module:
-LoadModule php5_module lib/httpd/modules/libphp5.so
-
-# Tell Apache to feed all *.php files through the PHP module:
-AddType application/x-httpd-php .php
-
-# This will display PHP files in colored syntax form. Use with caution.
-#AddType application/x-httpd-php-source .phps
diff --git a/patches/php/doinst.sh.gz b/patches/php/doinst.sh.gz
deleted file mode 100644
index 599f49bb..00000000
--- a/patches/php/doinst.sh.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php-with-_lib-4.4.1.diff.gz b/patches/php/patches/php-with-_lib-4.4.1.diff.gz
deleted file mode 100644
index e71bfb19..00000000
--- a/patches/php/patches/php-with-_lib-4.4.1.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php-with-_lib-4.4.2.diff.gz b/patches/php/patches/php-with-_lib-4.4.2.diff.gz
deleted file mode 100644
index b4b68bb7..00000000
--- a/patches/php/patches/php-with-_lib-4.4.2.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php-with-_lib-4.4.3.diff.gz b/patches/php/patches/php-with-_lib-4.4.3.diff.gz
deleted file mode 100644
index b4b68bb7..00000000
--- a/patches/php/patches/php-with-_lib-4.4.3.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php-with-_lib-4.4.4.diff.gz b/patches/php/patches/php-with-_lib-4.4.4.diff.gz
deleted file mode 100644
index b4b68bb7..00000000
--- a/patches/php/patches/php-with-_lib-4.4.4.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php-with-_lib-4.4.5.diff.gz b/patches/php/patches/php-with-_lib-4.4.5.diff.gz
deleted file mode 100644
index ffa0125a..00000000
--- a/patches/php/patches/php-with-_lib-4.4.5.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php-with-_lib-4.4.7.diff.gz b/patches/php/patches/php-with-_lib-4.4.7.diff.gz
deleted file mode 100644
index f3de07d8..00000000
--- a/patches/php/patches/php-with-_lib-4.4.7.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php.ini-x86_64.diff.gz b/patches/php/patches/php.ini-x86_64.diff.gz
deleted file mode 100644
index a17c8fc8..00000000
--- a/patches/php/patches/php.ini-x86_64.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php.ini.diff.gz b/patches/php/patches/php.ini.diff.gz
deleted file mode 100644
index 6b671576..00000000
--- a/patches/php/patches/php.ini.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php.recommended.ini.x86_64.diff.gz b/patches/php/patches/php.recommended.ini.x86_64.diff.gz
deleted file mode 100644
index 62e111aa..00000000
--- a/patches/php/patches/php.recommended.ini.x86_64.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php.squirrel.diff.gz b/patches/php/patches/php.squirrel.diff.gz
deleted file mode 100644
index 1b633ab3..00000000
--- a/patches/php/patches/php.squirrel.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/patches/php4.utf8.diff.gz b/patches/php/patches/php4.utf8.diff.gz
deleted file mode 100644
index f23382eb..00000000
--- a/patches/php/patches/php4.utf8.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/php/php-pgsql.SlackBuild b/patches/php/php-pgsql.SlackBuild
deleted file mode 100755
index 46ee2f91..00000000
--- a/patches/php/php-pgsql.SlackBuild
+++ /dev/null
@@ -1,343 +0,0 @@
-#!/bin/bash
-#
-# Build and package mod_php on Slackware.
-# by: David Cantrell <david@slackware.com>
-# Modified for PHP 4+ by volkerdi@slackware.com
-#
-# Small changes by rhatto
-# This script is used to build a php with postgresql support
-#
-
-if [ -s "php-pgsql.slack-required" ]; then
- echo Recomended and required packages for building php-pgsql are:
- cat php-pgsql.slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="php"
-PACKAGE_NAME="php-pgsql" # this is beacuse we're build with pgsql support
-VERSION=${VERSION:=4.4.5}
-PINE=${PINE:=4.64}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-
-SRC="$PACKAGE-$VERSION.tar.bz2"
-URL="http://mirror.pacific.net.au/linux/slackware/slackware-10.2/patches/source/php/$SRC"
-#URL="http://br.php.net/get/$SRC/from/this/mirror"
-
-# pear modules
-DB="DB-1.7.6.tgz"
-HTTP="HTTP-1.4.0.tgz"
-MAIL="Mail-1.1.9.tgz"
-SMTP="Net_SMTP-1.2.8.tgz"
-SOCKET="Net_Socket-1.0.6.tgz"
-PARSER="XML_Parser-1.2.7.tgz"
-RPC="XML_RPC-1.4.5.tgz"
-TAR="Archive_Tar-1.3.1.tgz"
-GETOPT="Console_Getopt-1.2.tgz"
-TEMPLATE="HTML_Template_IT-1.1.3.tgz"
-
-PEAR="http://pear.php.net/get"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
-
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
- fi
-
- # rm -rf $SRC_DIR/pear*
- mkdir -p $SRC_DIR/pear
-
- if [ $VERSION = 4.4.2 ]; then
- pearlist="$DB $HTTP $MAIL $SMTP $SOCKET $PARSER $RPC"
- mkdir -p $SRC_DIR/pear-4.4.2-bad-md5sums
- for pear in $TAR $GETOPT $TEMPLATE; do
- if [ ! -f "$SRC_DIR/pear-4.4.2-bad-md5sums/$pear" ]; then
- wget "$PEAR/$pear" -O "$SRC_DIR/pear-4.4.2-bad-md5sums/$pear" || exit $ERROR_WGET
- fi
- done
- else
- pearlist="$DB $HTTP $MAIL $SMTP $SOCKET $PARSER $RPC $TAR $GETOPT $TEMPLATE"
- fi
-
- for pear in $pearlist; do
- if [ ! -f "$SRC_DIR/pear/$pear" ]; then
- wget "$PEAR/$pear" -O "$SRC_DIR/pear/$pear" || exit $ERROR_WGET
- fi
- done
-
-fi
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-# we need to compile Pine to get c-client.a for IMAP support:
-
-if [ "$ARCH" == "x86_64" ]; then
- IMAPLIBDIR=/usr/local/lib64/c-client
- LIBDIR="/usr/lib64"
- LIB="lib64"
-else
- IMAPLIBDIR=/usr/local/lib/c-client
- LIBDIR="/usr/lib"
- LIB="lib"
- ADD_FLAGS="--with-db3 --enable-yp"
-fi
-
-if [ -r $IMAPLIBDIR/$LIB/c-client.a ]; then
- echo "Using IMAP library:"
- ls -l $IMAPLIBDIR/$LIB/c-client.a
- sleep 5
-else
- ( cd $CWD/../pine ; CLEANUP=no ./pine.SlackBuild )
- ( cd $TMP/pine/pine${PINE}/imap/c-client
- strip -g c-client.a
- mkdir -p $IMAPLIBDIR/$LIB
- cp c-client.a $IMAPLIBDIR/$LIB
- mkdir -p $IMAPLIBDIR/include
- cp *.h $IMAPLIBDIR/include
- )
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG="$TMP/package-php"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-php_configure() {
-EXTENSION_DIR=/usr/$LIB/php/extensions \
-CFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr \
- $* \
- --with-_lib=$LIB \
- --libdir=$LIBDIR \
- --sysconfdir=/etc \
- --enable-discard-path \
- --with-config-file-path=/etc/apache \
- --enable-safe-mode \
- --with-openssl \
- --with-mhash \
- --enable-bcmath \
- --with-bz2 \
- --with-pic \
- --enable-calendar \
- --enable-ctype \
- --with-gdbm \
- --with-imap-ssl=$IMAPLIBDIR \
- --with-imap=$IMAPLIBDIR \
- --enable-dbase \
- --enable-ftp \
- --with-iconv \
- --with-dom \
- --with-exif \
- --enable-exif \
- --with-gd \
- --enable-gd-native-ttf \
- --with-jpeg-dir=/usr \
- --with-png \
- --with-gmp \
- --enable-mbstring \
- --with-curl=/usr \
- --with-pcre-regex=/usr \
- --with-mysql=shared,/usr \
- --with-gettext=shared,/usr \
- --with-expat-dir=/usr \
- --with-xml \
- --enable-wddx \
- --with-mm=/usr \
- --enable-trans-sid \
- --enable-shmop \
- --enable-sockets \
- --with-regex=php \
- --enable-sysvsem \
- --enable-sysvshm \
- --enable-memory-limit \
- --with-tsrm-pthreads \
- --enable-shared \
- --disable-debug \
- --with-pgsql \
- --with-zlib=/usr $ADD_FLAGS || exit $ERROR_CONF
- # --with-mod_charset # only for Russian patched Apache
- # --with-readline=/usr # this is only for the CGI version
- # --with-ttf # this links with the shlib, need X for that
- # --with-java # no thanks
-
- # strange bug, http://bugs.php.net/bug.php?id=31193
- sed -e 's/^EXTRA_LIBS\(.*\)/EXTRA_LIBS\1 -liconv/' Makefile > Makefile.new
- mv Makefile.new Makefile
-
-}
-
-# compile php
-rm -rf $PKG
-mkdir -p $PKG/etc/apache
-# A trick from DaMouse to enable building php into $PKG.
-# We'll remove this later on.
-cat /etc/apache/httpd.conf.default > $PKG/etc/apache/httpd.conf
-cd $TMP
-rm -rf php-$VERSION
-tar xjvf $SRC_DIR/$SRC || exit $ERROR_TAR
-
-# Add missing(?) PEAR modules back:
-( cd php-$VERSION/pear/packages
- cp -a $SRC_DIR/pear/* .
- bzip2 -d *.bz2 &> /dev/null
- gunzip -d -f *.tgz &> /dev/null
-)
-
-# Replace PEAR packages for which the 4.4.2 release contained incorrect md5sums:
-if [ $VERSION = 4.4.2 ]; then
- ( cd php-$VERSION/pear/packages
- rm -f HTML_Template_IT-1.1.tar
- cp -a $SRC_DIR/pear-4.4.2-bad-md5sums/* .
- bzip2 -d --force *.bz2 &> /dev/null
- gunzip -d -f *.tgz &> /dev/null
- )
-fi
-
-cd php-$VERSION
-
-if [ "$ARCH" == "x86_64" ]; then
- # Fix lib64 - thanks SuSE
- echo patching with $CWD/patches/php-with-_lib-$VERSION.diff.gz...
- zcat $CWD/patches/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
- autoconf
-fi
-
-# Fixup perms/owners:
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -name "*.h" -exec chmod 644 {} \;
-# Sometimes they ship a few of these:
-find . -name "*.orig" -exec rm {} \;
-
-# Fix a UTF-8 parsing overflow:
-if [[ `echo $VERSION | tr -dc '[[:digit:]]'` -lt 445 ]]; then
- zcat $CWD/patches/php4.utf8.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-fi
-
-# Patch ini files:
-
-if [ "$ARCH" == "x86_64" ]; then
- zcat $CWD/patches/php.ini-x86_64.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
- # Fix an issue introduced in PHP 4.4.1 that breaks SquirrelMail and
- # probably some other PHP applications:
- #zcat $CWD/patches/php.squirrel.diff.gz | patch -p1 --verbose || exit
-else
- zcat $CWD/patches/php.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-fi
-
-# Make the Apache module version of PHP:
-echo "***START APACHE MODULE***"
-php_configure --disable-static --with-apxs=/usr/sbin/apxs || exit $ERROR_CONF
-make -j3 || exit $ERROR_MAKE
-make install INSTALL_ROOT=$PKG || exit $ERROR_INSTALL
-make distclean
-echo "***END APACHE MODULE***"
-
-# PHP likes to install Pear with some strange permissions.
-chmod 755 $PKG/usr/bin/pear
-
-# Make the standalone interpreter:
-php_configure --enable-force-cgi-redirect --enable-fastcgi --enable-pcntl --enable-sigchild || exit $ERROR_CONF
-make -j3 || exit $ERROR_MAKE
-make install-cli INSTALL_ROOT=$PKG || exit $ERROR_INSTALL
-chmod 755 $PKG/usr/bin/php
-chown root.bin $PKG/usr/bin/php
-
-# PHP 4.4.2 seems to be throwing some junk in the root directory:
-( cd $PKG
- rm -rf .channels .depdb .depdblock .filemap .lock .registry
-)
-
-if [ "$ARCH" == "x86_64" ]; then
- # Fix $PKG/usr/lib64/php perms:
- ( cd $PKG/usr/lib64/php
- find . -perm 666 -exec chmod 644 {} \;
- )
-else
- # Fix $PKG/usr/lib/php perms:
- ( cd $PKG/usr/lib/php
- find . -perm 666 -exec chmod 644 {} \;
- )
-fi
-
-mkdir -p $PKG/usr/doc/php-$VERSION
-cp -a \
- CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README* TODO* \
- sapi/cgi/README.FastCGI \
- $PKG/usr/doc/php-$VERSION
-chown -R root.root $PKG/usr/doc/php-$VERSION
-
-mkdir -p $PKG/etc/apache
-cp -a php.ini-dist php.ini-recommended $PKG/etc/apache
-cp -a $CWD/conf/mod_php4.conf.example $PKG/etc/apache/mod_php.conf.example
-chmod 644 $PKG/etc/apache/*
-chown root.root $PKG/etc/apache/*
-
-rm -f $PKG/etc/apache/httpd*
-
-chown -R root:bin $PKG/usr/bin
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-gzip -9 $PKG/usr/man/man?/*.?
-
-mkdir -p $PKG/install
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
-cat $CWD/$PACKAGE_NAME-slack-desc > $PKG/install/slack-desc
-
-if [ -d "$IMAPLIBDIR" ]; then
- ( cd $IMAPLIBDIR && rm -rf * )
- rmdir $IMAPLIBDIR
-fi
-
-cd $PKG
-makepkg -l y -c n $REPOS/$PACKAGE_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/php/php-pgsql.slack-desc b/patches/php/php-pgsql.slack-desc
deleted file mode 100644
index fdfd6144..00000000
--- a/patches/php/php-pgsql.slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-php-pgsql: php-pgsql (HTML-embedded scripting language)
-php-pgsql:
-php-pgsql: PHP is an HTML-embedded scripting language. It shares syntax
-php-pgsql: characteristics with C, Java, and Perl. The primary objective behind
-php-pgsql: this language is to make a fast and easy-to-use scripting language
-php-pgsql: for dynamic web sites.
-php-pgsql:
-php-pgsql: This PHP package was built with PostgreSQL support.
-php-pgsql: More information can be found online at http://www.php.net/
-php-pgsql:
-php-pgsql:
diff --git a/patches/php/php-pgsql.slack-required b/patches/php/php-pgsql.slack-required
deleted file mode 100644
index fdb70fdb..00000000
--- a/patches/php/php-pgsql.slack-required
+++ /dev/null
@@ -1,2 +0,0 @@
-libiconv
-postgresql
diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild
deleted file mode 100755
index 4cf904f0..00000000
--- a/patches/php/php.SlackBuild
+++ /dev/null
@@ -1,601 +0,0 @@
-#!/bin/bash
-#
-# Build and package mod_php on Slackware.
-# by: David Cantrell <david@slackware.com>
-# Modified for PHP 4-5 by volkerdi@slackware.com
-# Copyright 2007 Patrick Volkerding, Sebeka, MN, USA
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# Changed by rhatto at riseup.net to fit slack.sarava.org needs
-#
-
-# needs a function from simplepkg
-function default_version {
-
- # get version from /etc/slackware-version
- if [ -f "$1/etc/slackware-version" ]; then
- cat $1/etc/slackware-version | awk '{ print $2 }' | sed -e 's/.0$//'
- elif [ -f "$1/etc/slamd64-version" ]; then
- cat $1/etc/slamd64-version | awk '{ print $2 }' | sed -e 's/.0$//'
- elif [ -f "$1/etc/bluewhite64-version" ]; then
- cat $1/etc/bluewhite64-version | awk '{ print $2 }' | sed -e 's/.0$//'
- elif [ -f "$1/etc/sflack-version" ]; then
- cat $1/etc/sflack-version | awk '{ print $2 }' | sed -e 's/.0$//'
- else
- aaa_base="`basename $(ls $1/var/log/packages/aaa_base-[0-9]* 2> /dev/null)`"
- echo `package_version $aaa_base`
- fi
-
-}
-
-function distro_version {
-
- default_version | tr -d .
-
-}
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building php are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="php"
-PHP_SERIES=${PHP_SERIES:=5}
-VERSION=${VERSION:=5.2.6}
-PINE=${PINE:=4.64}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-
-SRC="$PACKAGE-$VERSION.tar.bz2"
-#URL="http://mirror.pacific.net.au/linux/slackware/slackware-10.2/patches/source/php/$SRC"
-URL="http://br.php.net/distributions/$SRC"
-
-# pear modules
-DB="DB-1.7.13.tgz"
-HTTP="HTTP-1.4.0.tgz"
-MAIL="Mail-1.1.14.tgz"
-SMTP="Net_SMTP-1.3.1.tgz"
-SOCKET="Net_Socket-1.0.9.tgz"
-PARSER="XML_Parser-1.2.8.tgz"
-RPC="XML_RPC-1.5.1.tgz"
-TAR="Archive_Tar-1.3.2.tgz"
-GETOPT="Console_Getopt-1.2.3.tgz"
-TEMPLATE="HTML_Template_IT-1.2.1.tgz"
-
-PEAR="http://pear.php.net/get"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
-
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
- fi
-
- # rm -rf $SRC_DIR/pear*
- mkdir -p $SRC_DIR/pear
-
- if [ "$PHP_SERIES" == "5" ]; then
- pearlist="$PARSER"
- elif [ "$VERSION" == "4.4.2" ]; then
- pearlist="$DB $HTTP $MAIL $SMTP $SOCKET $PARSER $RPC"
- mkdir -p $SRC_DIR/pear-4.4.2-bad-md5sums
- for pear in $TAR $GETOPT $TEMPLATE; do
- if [ ! -f "$SRC_DIR/pear-4.4.2-bad-md5sums/$pear" ]; then
- wget "$PEAR/$pear" -O "$SRC_DIR/pear-4.4.2-bad-md5sums/$pear" || exit $ERROR_WGET
- fi
- done
- else
- pearlist="$DB $HTTP $MAIL $SMTP $SOCKET $PARSER $RPC $TAR $GETOPT $TEMPLATE"
- fi
-
- for pear in $pearlist; do
- if [ ! -f "$SRC_DIR/pear/$pear" ]; then
- wget "$PEAR/$pear" -O "$SRC_DIR/pear/$pear" || exit $ERROR_WGET
- fi
- done
-
-fi
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-# we need to compile Pine to get c-client.a for IMAP support:
-
-if [ "$ARCH" == "x86_64" ]; then
- IMAPLIBDIR=/usr/local/lib64/c-client
- LIBDIR="/usr/lib64"
- LIB="lib64"
-else
- IMAPLIBDIR=/usr/local/lib/c-client
- LIBDIR="/usr/lib"
- LIB="lib"
- ADD_FLAGS="--with-db3 --enable-yp"
-fi
-
-if [ -r $IMAPLIBDIR/$LIB/c-client.a ]; then
- echo "Using IMAP library:"
- ls -l $IMAPLIBDIR/$LIB/c-client.a
- sleep 5
-else
- if which createpkg &> /dev/null; then
- ( CLEANUP=no createpkg pine )
- else
- ( cd $CWD/../pine ; CLEANUP=no SRC=$SRC_DIR/../ ./pine.SlackBuild )
- fi
- ( cd $TMP/pine/pine${PINE}/imap/c-client
- strip -g c-client.a
- mkdir -p $IMAPLIBDIR/$LIB
- cp c-client.a $IMAPLIBDIR/$LIB
- mkdir -p $IMAPLIBDIR/include
- cp *.h $IMAPLIBDIR/include
- )
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG="$TMP/package-php"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-# changed since slackware 12.0
-if (( `distro_version` >= 120 )); then
- mkdir -p $PKG/etc/httpd
- mkdir -p $PKG/etc/php
- # A trick from DaMouse to enable building php into $PKG.
- # We'll remove this later on.
- cat /etc/httpd/original/httpd.conf > $PKG/etc/httpd/httpd.conf
- if [ ! -e /etc/httpd/original/httpd.conf ]; then
- echo "FATAL: no /etc/httpd/original/httpd.conf found."
- exit 1
- fi
- else
- mkdir -p $PKG/etc/apache
- # A trick from DaMouse to enable building php into $PKG.
- # We'll remove this later on.
- cat /etc/apache/httpd.conf.default > $PKG/etc/apache/httpd.conf
-fi
-
-# Add missing(?) PEAR modules back:
-( cd php-$VERSION/pear/packages
- cp -a $SRC_DIR/pear/* .
- bzip2 -d *.bz2 &> /dev/null
- gunzip -d -f *.tgz &> /dev/null
-)
-
-if [ "$ARCH" = "s390" ]; then
- if [ -f "$CWD/patches/php.configure.s390.diff.gz" ]; then
- zcat $CWD/patches/php.configure.s390.diff.gz | patch -p1 || exit
- fi
-fi
-
-cd $TMP
-rm -rf php-$VERSION
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-
-# Replace PEAR packages for which the 4.4.2 release contained incorrect md5sums:
-if [ $VERSION = 4.4.2 ]; then
- ( cd php-$VERSION/pear/packages
- rm -f HTML_Template_IT-1.1.tar
- cp -a $SRC_DIR/pear-4.4.2-bad-md5sums/* .
- bzip2 -d --force *.bz2 &> /dev/null
- gunzip -d -f *.tgz &> /dev/null
- )
-fi
-
-cd php-$VERSION
-
-if [ "$ARCH" == "x86_64" ]; then
- if [ "$PHP_SERIES" == "4" ]; then
- # Fix lib64 - thanks SuSE
- echo patching with $CWD/patches/php-with-_lib-$VERSION.diff.gz...
- zcat $CWD/patches/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
- autoconf
- fi
-fi
-
-# Fixup perms/owners:
-chown -R root:root .
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-
-find . -name "*.h" -exec chmod 644 {} \;
-
-# Sometimes they ship a few of these:
-find . -name "*.orig" -exec rm {} \;
-
-# Fix a UTF-8 parsing overflow:
-FULL_VERSION="`echo $VERSION | tr -dc '[[:digit:]]'`"
-if [[ $FULL_VERSION -lt 445 ]]; then
- zcat $CWD/patches/php4.utf8.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-elif [ "$FULL_VERSION" == "441" ]; then
- # Fix an issue introduced in PHP 4.4.1 that breaks SquirrelMail and
- # probably some other PHP applications:
- zcat $CWD/patches/php.squirrel.diff.gz | patch -p1 --verbose || exit
-fi
-
-# Patch ini files:
-
-if [ "$ARCH" == "x86_64" ]; then
- zcat $CWD/patches/php.ini-x86_64.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
- zcat $CWD/patches/php.recommended-x86_64.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-else
- zcat $CWD/patches/php.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
- zcat $CWD/patches/php.recommended.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-fi
-
-# Generic "kitchen sink" configure function, with as many things as possible (and
-# maybe then some ;-) compiled as shared extensions:
-php_configure() {
-
- if [ "$PHP_SERIES" == "5" ]; then
-
- if (( `distro_version` >= 120 )); then
- $CONFIG_FILES="--with-config-file-scan-dir=/etc/php --with-config-file-path=/etc/httpd"
- $SNMP="--with-snmp=shared,/usr"
- $MBSTRING="--enable-mbstring=shared"
- else
- $CONFIG_FILES="--with-config-file-path=/etc/apache"
- $MBSTRING="--enable-mbstring"
- fi
-
- EXTENSION_DIR=/usr/$LIB/php/extensions \
- CFLAGS="$SLKCFLAGS" \
- ./configure \
- $* \
- --prefix=/usr \
- -libdir=$LIBDIR \
- --with-libdir=$LIB \
- --prefix=/usr \
- --sysconfdir=/etc \
- --disable-safe-mode \
- --enable-apc \
- --enable-apc-mmap \
- --enable-memory-limit \
- --enable-suhosin \
- --disable-magic-quotes \
- --enable-zend-multibyte \
- --enable-mbregex \
- --enable-tokenizer=shared \
- $CONFIG_FILES \
- --with-mod_charset \
- --with-layout=PHP \
- --enable-sigchild \
- --enable-xml \
- --with-libxml-dir=/usr \
- --enable-simplexml \
- --enable-spl \
- --enable-filter \
- --disable-debug \
- --with-openssl=shared \
- --with-pcre-regex=/usr \
- --with-zlib=shared,/usr \
- --enable-bcmath=shared \
- --with-bz2=shared,/usr \
- --enable-calendar=shared \
- --enable-ctype=shared \
- --with-curl=shared \
- --with-curlwrappers \
- --enable-dba=shared \
- --with-gdbm=/usr \
- --with-db4=/usr \
- --enable-dbase=shared \
- --enable-exif=shared \
- --enable-ftp=shared \
- --with-gd=shared \
- --with-jpeg-dir=/usr \
- --with-png-dir=/usr \
- --with-zlib-dir=/usr \
- --with-xpm-dir=/usr \
- --with-freetype-dir=/usr \
- --with-t1lib=/usr \
- --enable-gd-native-ttf \
- --enable-gd-jis-conv \
- --with-gettext=shared,/usr \
- --with-gmp=shared,/usr \
- --with-iconv=shared \
- --with-imap-ssl=/usr \
- --with-imap=$IMAPLIBDIR \
- --with-ldap=shared \
- $MBSTRING \
- --with-hash \
- --with-mhash=shared,/usr \
- --with-mysql=shared,/usr \
- --with-mysqli=shared,/usr/bin/mysql_config \
- --enable-pdo=shared \
- --with-pdo-mysql=shared,/usr \
- --with-pdo-sqlite=shared \
- --with-pspell=shared,/usr \
- --with-mm=/usr \
- --enable-shmop=shared \
- $SNMP \
- --enable-soap=shared \
- --enable-sockets \
- --with-sqlite=shared \
- --enable-sqlite-utf8 \
- --with-regex=php \
- --enable-sysvmsg \
- --enable-sysvsem \
- --enable-sysvshm \
- --enable-wddx=shared \
- --with-xsl=shared,/usr \
- --enable-zip=shared \
- --with-tsrm-pthreads \
- --enable-shared=yes \
- --enable-static=no \
- --with-gnu-ld \
- --with-pic \
- --build=$ARCH-slackware-linux # TODO
- else
-
- EXTENSION_DIR=/usr/$LIB/php/extensions \
- CFLAGS="$SLKCFLAGS" \
- ./configure --prefix=/usr \
- $* \
- --with-_lib=$LIB \
- --libdir=$LIBDIR \
- --sysconfdir=/etc \
- --with-config-file-path=/etc/apache \
- --enable-safe-mode \
- --with-openssl \
- --with-mhash \
- --enable-bcmath \
- --with-bz2 \
- --with-pic \
- --enable-calendar \
- --enable-ctype \
- --with-gdbm \
- --with-db4 \
- --with-imap-ssl=$IMAPLIBDIR \
- --with-imap=$IMAPLIBDIR \
- --enable-dbase \
- --enable-ftp \
- --with-iconv \
- --with-dom \
- --with-exif \
- --enable-exif \
- --with-gd \
- --enable-gd-native-ttf \
- --with-jpeg-dir=/usr \
- --with-png \
- --with-ttf \
- --with-freetype-dir=/usr \
- --with-gmp \
- --enable-mbstring \
- --with-curl=/usr \
- --with-pcre-regex=/usr \
- --with-mysql=shared,/usr \
- --with-gettext=shared,/usr \
- --with-expat-dir=/usr \
- --with-xml \
- --enable-wddx \
- --with-mm=/usr \
- --enable-trans-sid \
- --enable-shmop \
- --enable-sockets \
- --with-regex=php \
- --enable-sysvsem \
- --enable-sysvshm \
- --enable-yp \
- --enable-memory-limit \
- --with-tsrm-pthreads \
- --enable-shared \
- --disable-debug \
- --with-zlib=/usr $ADD_FLAGS || exit $ERROR_CONF
- # --with-mod_charset # only for Russian patched Apache
- # --with-readline=/usr # this is only for the CGI version
- # --with-ttf # this links with the shlib, need X for that
- # --with-java # no thanks
-
- # TODO: check if it still happens
- # strange bug, http://bugs.php.net/bug.php?id=31193
- sed -e 's/^EXTRA_LIBS\(.*\)/EXTRA_LIBS\1 -liconv/' Makefile > Makefile.new
- mv Makefile.new Makefile
-
- fi
-
-}
-
-# I am told this option is worse than nothing. :-)
-# --enable-safe-mode
-#
-# I would recommend *against* and will take no responbility for turning on "safe" mode.
-
-# Make the Apache module version of PHP:
-echo "***START APACHE MODULE***"
-
-if (( `distro_version` >= 120 )); then
- php_configure --with-apxs2=/usr/sbin/apxs || exit $ERROR_CONF
-else
- php_configure --disable-static --with-apxs=/usr/sbin/apxs --enable-discard-path || exit $ERROR_CONF
-fi
-
-make -j3 || exit $ERROR_MAKE
-make install INSTALL_ROOT=$PKG || exit $ERROR_INSTALL
-make distclean
-echo "***END APACHE MODULE***"
-
-if [ "$PHP_SERIES" == "5" ]; then
- # Make the CLI version of PHP:
- php_configure \
- --enable-force-cgi-redirect \
- --enable-fastcgi \
- --enable-pcntl \
- --enable-readline \
- --enable-sigchild
- make -j3 || exit $ERROR_MAKE
- mkdir -p $PKG/usr/bin
- cat ./sapi/cli/php > $PKG/usr/bin/php
- chmod 755 $PKG/usr/bin/php
-else
- # Make the standalone interpreter:
- php_configure --enable-force-cgi-redirect --enable-fastcgi --enable-pcntl --enable-sigchild || exit $ERROR_CONF
- make -j3 || exit $ERROR_MAKE
- make install-cli INSTALL_ROOT=$PKG || exit $ERROR_INSTALL
- chmod 755 $PKG/usr/bin/php
- chown root.bin $PKG/usr/bin/php
-fi
-
-if [ "$PHP_SERIES" == "5" ]; then
- # Make the FastCGI interpreter:
- make distclean
- php_configure \
- --enable-force-cgi-redirect \
- --enable-fastcgi \
- --enable-pcntl \
- --enable-readline \
- --enable-sigchild
- make -j3 || exit 1
- mkdir -p $PKG/usr/bin
- cat sapi/cgi/php-cgi > $PKG/usr/bin/php-cgi
- chmod 755 $PKG/usr/bin/php-cgi
-else
- # Install the CGI/FastCGI interpreter:
- cat sapi/cgi/php > $PKG/usr/bin/php-cgi
- chmod 755 $PKG/usr/bin/php-cgi
-fi
-
-# PHP likes to install Pear with some strange permissions.
-chmod 755 $PKG/usr/bin/pear
-
-# PHP 4.4.2 seems to be throwing some junk in the root directory:
-( cd $PKG
- rm -rf .channels .depdb .depdblock .filemap .lock .registry
-)
-
-# Fix $PKG/$LIBDIR/php perms:
-( cd $PKG/$LIBDIR/php
- find . -perm 666 -exec chmod 644 {} \;
- find . -perm 664 -exec chmod 644 {} \;
- find . -perm 600 -exec chmod 644 {} \;
- find . -perm 444 -exec chmod 644 {} \;
- find . -perm 400 -exec chmod 644 {} \;
- find . -perm 440 -exec chmod 644 {} \;
- find . -perm 777 -exec chmod 755 {} \;
- find . -perm 775 -exec chmod 755 {} \;
- find . -perm 511 -exec chmod 755 {} \;
- find . -perm 711 -exec chmod 755 {} \;
- find . -perm 555 -exec chmod 755 {} \;
-)
-
-mkdir -p $PKG/usr/doc/php-$VERSION
-cp -a \
- CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README* TODO* \
- sapi/cgi/README.FastCGI \
- $PKG/usr/doc/php-$VERSION
-chown -R root:root $PKG/usr/doc/php-$VERSION
-
-if [ -f "$PKG/etc/pear.conf" ]; then
- mv $PKG/etc/pear.conf $PKG/etc/pear.conf.example
-fi
-
-mkdir -p $PKG/etc/apache
-cp -a php.ini-dist php.ini-recommended $PKG/etc/apache
-
-if [ "$PHP_SERIES" == "5" ]; then
- if (( `distro_version` >= 120 )); then
- cp -a $CWD/mod_php$PHP_SERIES-apache2.conf.example $PKG/etc/apache/mod_php.conf.example
- else
- cp -a $CWD/mod_php$PHP_SERIES-apache1.3.conf.example $PKG/etc/apache/mod_php.conf.example
- fi
-else
- cp -a $CWD/mod_php$PHP_SERIES-apache1.3.conf.example $PKG/etc/apache/mod_php.conf.example
-fi
-
-chmod 644 $PKG/etc/apache/*
-chown root:root $PKG/etc/apache/*
-
-# This can go now.
-rm -f $PKG/etc/apache/httpd*
-
-if (( `distro_version` >= 120 )); then
- # Session directory for PHP:
- mkdir -p $PKG/var/lib/php
- chmod 770 $PKG/var/lib/php
- chown root:apache $PKG/var/lib/php
-fi
-
-# Strip ELF objects.
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-gzip -9 $PKG/usr/man/man?/*.?
-
-mkdir -p $PKG/install
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-if [ -d "$IMAPLIBDIR" ]; then
- ( cd $IMAPLIBDIR && rm -rf * )
- rmdir $IMAPLIBDIR
-fi
-
-cd $PKG
-makepkg -l y -c n $REPOS/php-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/php/php4-snapshot.SlackBuild b/patches/php/php4-snapshot.SlackBuild
deleted file mode 100755
index 0a807cbf..00000000
--- a/patches/php/php4-snapshot.SlackBuild
+++ /dev/null
@@ -1,336 +0,0 @@
-#!/bin/bash
-#
-# Build and package mod_php on Slackware.
-# by: David Cantrell <david@slackware.com>
-# Modified for PHP 4+ by volkerdi@slackware.com
-#
-# Small changes by rhatto
-# Use this script if you want a cvs snapshot.
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building php4-snapshot are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="php"
-VERSION=${VERSION:=4.4.4}
-SNAP_VERSION=${SNAP_VERSION:=200611041530}
-PINE=${PINE:=4.64}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-
-SRC="php4-STABLE-$SNAP_VERSION.tar.bz2"
-URL="http://snaps.php.net/$SRC"
-
-# pear modules
-DB="DB-1.7.6.tgz"
-HTTP="HTTP-1.4.0.tgz"
-MAIL="Mail-1.1.9.tgz"
-SMTP="Net_SMTP-1.2.8.tgz"
-SOCKET="Net_Socket-1.0.6.tgz"
-PARSER="XML_Parser-1.2.7.tgz"
-RPC="XML_RPC-1.4.5.tgz"
-TAR="Archive_Tar-1.3.1.tgz"
-GETOPT="Console_Getopt-1.2.tgz"
-TEMPLATE="HTML_Template_IT-1.1.3.tgz"
-
-PEAR="http://pear.php.net/get"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
-
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
- fi
-
- # rm -rf $SRC_DIR/pear*
- mkdir -p $SRC_DIR/pear
-
- if [ $VERSION = 4.4.2 ]; then
- pearlist="$DB $HTTP $MAIL $SMTP $SOCKET $PARSER $RPC"
- mkdir -p $SRC_DIR/pear-4.4.2-bad-md5sums
- for pear in $TAR $GETOPT $TEMPLATE; do
- if [ ! -f "$SRC_DIR/pear-4.4.2-bad-md5sums/$pear" ]; then
- wget "$PEAR/$pear" -O "$SRC_DIR/pear-4.4.2-bad-md5sums/$pear" || exit $ERROR_WGET
- fi
- done
- else
- pearlist="$DB $HTTP $MAIL $SMTP $SOCKET $PARSER $RPC $TAR $GETOPT $TEMPLATE"
- fi
-
- for pear in $pearlist; do
- if [ ! -f "$SRC_DIR/pear/$pear" ]; then
- wget "$PEAR/$pear" -O "$SRC_DIR/pear/$pear" || exit $ERROR_WGET
- fi
- done
-
-fi
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-# we need to compile Pine to get c-client.a for IMAP support:
-
-if [ "$ARCH" == "x86_64" ]; then
- IMAPLIBDIR=/usr/local/lib64/c-client
- LIBDIR="/usr/lib64"
- LIB="lib64"
-else
- IMAPLIBDIR=/usr/local/lib/c-client
- LIBDIR="/usr/lib"
- LIB="lib"
- ADD_FLAGS="--with-db3 --enable-yp"
-fi
-
-if [ -r $IMAPLIBDIR/$LIB/c-client.a ]; then
- echo "Using IMAP library:"
- ls -l $IMAPLIBDIR/$LIB/c-client.a
- sleep 5
-else
- ( cd $CWD/../pine ; CLEANUP=no ./pine.SlackBuild )
- ( cd $TMP/pine${PINE}/imap/c-client
- strip -g c-client.a
- mkdir -p $IMAPLIBDIR/$LIB
- cp c-client.a $IMAPLIBDIR/$LIB
- mkdir -p $IMAPLIBDIR/include
- cp *.h $IMAPLIBDIR/include
- )
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG="$TMP/package-php"
-rm -rf $TMP
-mkdir -p $TMP
-cd $TMP
-
-php_configure() {
-EXTENSION_DIR=/usr/$LIB/php/extensions \
-CFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr \
- $* \
- --with-_lib=$LIB \
- --libdir=$LIBDIR \
- --sysconfdir=/etc \
- --enable-discard-path \
- --with-config-file-path=/etc/apache \
- --enable-safe-mode \
- --with-openssl \
- --with-mhash \
- --enable-bcmath \
- --with-bz2 \
- --with-pic \
- --enable-calendar \
- --enable-ctype \
- --with-gdbm \
- --with-imap-ssl=$IMAPLIBDIR \
- --with-imap=$IMAPLIBDIR \
- --enable-dbase \
- --enable-ftp \
- --with-iconv \
- --with-dom \
- --with-exif \
- --enable-exif \
- --with-gd \
- --enable-gd-native-ttf \
- --with-jpeg-dir=/usr \
- --with-png \
- --with-gmp \
- --enable-mbstring \
- --with-curl=/usr \
- --with-pcre-regex=/usr \
- --with-mysql=shared,/usr \
- --with-gettext=shared,/usr \
- --with-expat-dir=/usr \
- --with-xml \
- --enable-wddx \
- --with-mm=/usr \
- --enable-trans-sid \
- --enable-shmop \
- --enable-sockets \
- --with-regex=php \
- --enable-sysvsem \
- --enable-sysvshm \
- --enable-memory-limit \
- --with-tsrm-pthreads \
- --enable-shared \
- --disable-debug \
- --with-zlib=/usr $ADD_FLAGS || exit $ERROR_CONF
- # --with-mod_charset # only for Russian patched Apache
- # --with-readline=/usr # this is only for the CGI version
- # --with-ttf # this links with the shlib, need X for that
- # --with-java # no thanks
-
- # strange bug, http://bugs.php.net/bug.php?id=31193
- sed -e 's/^EXTRA_LIBS\(.*\)/EXTRA_LIBS\1 -liconv/' Makefile > Makefile.new
- mv Makefile.new Makefile
-
-}
-
-# compile php
-rm -rf $PKG
-mkdir -p $PKG/etc/apache
-# A trick from DaMouse to enable building php into $PKG.
-# We'll remove this later on.
-cat /etc/apache/httpd.conf.default > $PKG/etc/apache/httpd.conf
-cd $TMP
-rm -rf php-$SNAP_VERSION
-tar xjvf $SRC_DIR/$SRC || exit $ERROR_TAR
-
-# Add missing(?) PEAR modules back:
-( cd php4-STABLE-$SNAP_VERSION/pear/packages
- cp -a $SRC_DIR/pear/* .
- bzip2 -d *.bz2 &> /dev/null
- gunzip -d -f *.tgz &> /dev/null
-)
-
-# Replace PEAR packages for which the 4.4.2 release contained incorrect md5sums:
-if [ $VERSION = 4.4.2 ]; then
- ( cd php4-STABLE-$SNAP_VERSION/pear/packages
- rm -f HTML_Template_IT-1.1.tar
- cp -a $SRC_DIR/pear-4.4.2-bad-md5sums/* .
- bzip2 -d --force *.bz2 &> /dev/null
- gunzip -d -f *.tgz &> /dev/null
- )
-fi
-
-cd php4-STABLE-$SNAP_VERSION
-
-if [ "$ARCH" == "x86_64" ]; then
- # Fix lib64 - thanks SuSE
- echo patching with $CWD/patches/php-with-_lib-$VERSION.diff.gz...
- zcat $CWD/patches/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose || exit $ERROR_PATCH
- autoconf
-fi
-
-# Fixup perms/owners:
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -name "*.h" -exec chmod 644 {} \;
-# Sometimes they ship a few of these:
-find . -name "*.orig" -exec rm {} \;
-
-# Fix a UTF-8 parsing overflow:
-zcat $CWD/patches/php4.utf8.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-
-# Patch ini files:
-
-if [ "$ARCH" == "x86_64" ]; then
- zcat $CWD/patches/php.ini-x86_64.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
- # Fix an issue introduced in PHP 4.4.1 that breaks SquirrelMail and
- # probably some other PHP applications:
- #zcat $CWD/patches/php.squirrel.diff.gz | patch -p1 --verbose || exit
-else
- zcat $CWD/patches/php.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig || exit $ERROR_PATCH
-fi
-
-# Make the Apache module version of PHP:
-echo "***START APACHE MODULE***"
-php_configure --disable-static --with-apxs=/usr/sbin/apxs || exit $ERROR_CONF
-make -j3 || exit $ERROR_MAKE
-make install INSTALL_ROOT=$PKG || exit $ERROR_INSTALL
-make distclean
-echo "***END APACHE MODULE***"
-
-# PHP likes to install Pear with some strange permissions.
-chmod 755 $PKG/usr/bin/pear
-
-# Make the standalone interpreter:
-php_configure --enable-force-cgi-redirect --enable-fastcgi --enable-pcntl --enable-sigchild || exit $ERROR_CONF
-make -j3 || exit $ERROR_MAKE
-make install-cli INSTALL_ROOT=$PKG || exit $ERROR_INSTALL
-chmod 755 $PKG/usr/bin/php
-chown root.bin $PKG/usr/bin/php
-
-# PHP 4.4.2 seems to be throwing some junk in the root directory:
-( cd $PKG
- rm -rf .channels .depdb .depdblock .filemap .lock .registry
-)
-
-if [ "$ARCH" == "x86_64" ]; then
- # Fix $PKG/usr/lib64/php perms:
- ( cd $PKG/usr/lib64/php
- find . -perm 666 -exec chmod 644 {} \;
- )
-else
- # Fix $PKG/usr/lib/php perms:
- ( cd $PKG/usr/lib/php
- find . -perm 666 -exec chmod 644 {} \;
- )
-fi
-
-mkdir -p $PKG/usr/doc/php-$SNAP_VERSION
-cp -a \
- CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README* TODO* \
- sapi/cgi/README.FastCGI \
- $PKG/usr/doc/php-$SNAP_VERSION
-chown -R root.root $PKG/usr/doc/php-$SNAP_VERSION
-
-mkdir -p $PKG/etc/apache
-cp -a php.ini-dist php.ini-recommended $PKG/etc/apache
-cp -a $CWD/mod_php4.conf.example $PKG/etc/apache/mod_php.conf.example
-chmod 644 $PKG/etc/apache/*
-chown root.root $PKG/etc/apache/*
-
-rm -f $PKG/etc/apache/httpd*
-
-chown -R root:bin $PKG/usr/bin
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-
-gzip -9 $PKG/usr/man/man?/*.?
-
-mkdir -p $PKG/install
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-#if [ -d "$IMAPLIBDIR" ]; then
-# ( cd $IMAPLIBDIR && rm -rf * )
-# rmdir $IMAPLIBDIR
-#fi
-
-cd $PKG
-makepkg -l y -c n $TMP/php-$SNAP_VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/php/slack-desc b/patches/php/slack-desc
deleted file mode 100644
index fe14da6d..00000000
--- a/patches/php/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-php: php (HTML-embedded scripting language)
-php:
-php: PHP is an HTML-embedded scripting language. It shares syntax
-php: characteristics with C, Java, and Perl. The primary objective behind
-php: this language is to make a fast and easy-to-use scripting language
-php: for dynamic web sites.
-php:
-php: More information can be found online at http://www.php.net/
-php:
-php:
-php:
diff --git a/patches/php/slack-required b/patches/php/slack-required
deleted file mode 100644
index 788f2359..00000000
--- a/patches/php/slack-required
+++ /dev/null
@@ -1 +0,0 @@
-libiconv
diff --git a/patches/pine/_imapd.tar.gz b/patches/pine/_imapd.tar.gz
deleted file mode 100644
index a4c32c2f..00000000
--- a/patches/pine/_imapd.tar.gz
+++ /dev/null
Binary files differ
diff --git a/patches/pine/_pine.tar.gz b/patches/pine/_pine.tar.gz
deleted file mode 100644
index 3f41c58e..00000000
--- a/patches/pine/_pine.tar.gz
+++ /dev/null
Binary files differ
diff --git a/patches/pine/fpic.diff.gz b/patches/pine/fpic.diff.gz
deleted file mode 100644
index ff74327b..00000000
--- a/patches/pine/fpic.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/pine/pine-slackware.config.diff.gz b/patches/pine/pine-slackware.config.diff.gz
deleted file mode 100644
index 09a589a9..00000000
--- a/patches/pine/pine-slackware.config.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/pine/pine.SlackBuild b/patches/pine/pine.SlackBuild
deleted file mode 100755
index afbf889d..00000000
--- a/patches/pine/pine.SlackBuild
+++ /dev/null
@@ -1,187 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/pine/pine.SlackBuild
-# small changes by rhatto
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building pine are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="pine"
-VERSION=${VERSION:=4.64}
-PINEPGP=${PINEPGP:=0.18.0}
-ARCH=${ARCH:=i486}
-PINEBUILD=${BUILD:=1rha}
-IMAPDBUILD=${BUILD:=1rha}
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-TMP="$TMP/$PACKAGE"
-rm -rf $TMP
-mkdir -p $TMP
-
-PKG1=$TMP/package-pine
-PKG2=$TMP/package-imapd
-
-RTOOL="wget"
-SRC="pine$VERSION.tar.bz2"
-URL="ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/pine/$SRC"
-PGP="pinepgp-$PINEPGP.tar.gz"
-PGP_URL="ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/pine/$PGP"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ]; then
-
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
- fi
-
- if [ ! -f "$SRC_DIR/$PGP" ]; then
- wget "$PGP_URL" -O "$SRC_DIR/$PGP" || exit $ERROR_WGET
- fi
-
-fi
-
-if [ ! -d $TMP ]; then
- mkdir -p $TMP # location to build the source
-fi
-rm -rf $PKG1 $PKG2
-mkdir -p $PKG1 $PKG2
-
-# Explode the package framework:
-cd $PKG1
-explodepkg $CWD/_pine.tar.gz || exit $ERROR_TAR
-cd $PKG2
-explodepkg $CWD/_imapd.tar.gz || exit $ERROR_TAR
-
-echo "+==========+"
-echo "| pine$VERSION |"
-echo "+==========+"
-cd $TMP
-rm -rf pine$VERSION
-tar xjvf $SRC_DIR/$SRC
-cd pine$VERSION
-
-if [ "$ARCH" == "x86_64" ]; then
- ( cd imap/src/osdep/unix; zcat $CWD/fpic.diff.gz | patch -p0 --verbose -E || exit $ERROR_PATCH )
-fi
-
-zcat $CWD/pine-slackware.config.diff.gz | patch -p1 --backup --verbose -E || exit $ERROR_PATCH
-
-# Set default debug level to 0:
-zcat $CWD/pine.debug.diff.gz | patch -p1 --backup --verbose -E || exit $ERROR_PATCH
-echo "#define PASSFILE \".pine.pwd\"" >> pine/osdep/os-lnx.h
-# Remove ~ files:
-find . -name "*~" | xargs rm --verbose
-mkdir $PKG1/usr/doc/pine$VERSION
-cp -a README CPYRIGHT $PKG1/usr/doc/pine$VERSION
-( cd doc ; cp -a * $PKG1/usr/doc/pine$VERSION )
-( cd $PKG1/usr/doc/pine$VERSION ; rm *.1 tech-notes.txt )
-( cd $PKG1/usr/doc/pine$VERSION ; chown -R root.root * )
-mkdir -p $PKG2/usr/doc/pine$VERSION
-cp -a README CPYRIGHT $PKG2/usr/doc/pine$VERSION
-chown root.root $PKG2/usr/doc/pine$VERSION/*
-
-if [ "$ARCH" == "x86_64" ]; then
- ./build slx SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLINCLUDE=/usr/include/openssl SSLTYPE=unix OPTIMIZE="-O2" DEBUG=-O2 CC="gcc -fPIC"
-else
- ./build slx SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLINCLUDE=/usr/include/openssl SSLTYPE=unix OPTIMIZE=-O2 DEBUG=-O2
-fi
-
-#( cd imap ; make clean )
-#( cd imap ; make slx )
-for file in doc/pico.1 doc/pilot.1 doc/pine.1 ; do
- cat $file | gzip -9c > $PKG1/usr/man/man1/`basename $file`.gz
-done
-for file in imap/src/imapd/imapd.8 imap/src/ipopd/ipopd.8 ; do
- cat $file | gzip -9c > $PKG2/usr/man/man8/`basename $file`.gz
-done
-cd imap/imapd
-strip imapd
-cat imapd > $PKG2/usr/sbin/imapd
-cd ../ipopd
-strip ipop3d
-cat ipop3d > $PKG2/usr/sbin/ipop3d
-cd ../../bin
-strip *
-cat pico > $PKG1/usr/bin/pico
-cat pilot > $PKG1/usr/bin/pilot
-cat pine > $PKG1/usr/bin/pine
-# Add a default system-wide config file:
-$PKG1/usr/bin/pine -conf > $PKG1/etc/pine.conf
-
-# Add slack-desc files:
-mkdir -p $PKG1/install
-cat $CWD/slack-desc.pine > $PKG1/install/slack-desc
-mkdir -p $PKG2/install
-cat $CWD/slack-desc.imapd > $PKG2/install/slack-desc
-
-# Add pinepgp support:
-cd $TMP
-tar xzvf $SRC_DIR/pinepgp-$PINEPGP.tar.gz
-cd pinepgp-$PINEPGP
-
-# Make sure ownerships and permissions are sane:
-chown -R root:root .
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-
-# Patch from Gentoo
-if [ -f "$CWD/pinepgp-0.18.0-makefile-sed-fix.patch.gz" ]; then
- zcat $CWD/pinepgp-0.18.0-makefile-sed-fix.patch.gz | patch -p1 --verbose || exit $ERROR_PATCH
-fi
-
-./configure --prefix=/usr || exit $ERROR_CONF
-make || exit $ERROR_MAKE
-make install DESTDIR=$PKG1 || exit $ERROR_INSTALL
-chown root.bin $PKG1/usr/bin/*
-mkdir -p $PKG1/usr/doc/pinepgp-$PINEPGP
-cp -a COPYING README $PKG1/usr/doc/pinepgp-$PINEPGP
-chmod 644 $PKG1/usr/doc/pinepgp-$PINEPGP/*
-
-# Build the package:
-cd $PKG1
-makepkg -l y -c n $REPOS/pine-$VERSION-$ARCH-$PINEBUILD.tgz || exit $ERROR_MKPKG
-cd $PKG2
-makepkg -l y -c n $REPOS/imapd-$VERSION-$ARCH-$IMAPDBUILD.tgz || exit $ERROR_MKPKG
-
-# Clean up the extra stuff:
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/pine/pine.debug.diff.gz b/patches/pine/pine.debug.diff.gz
deleted file mode 100644
index 1d556182..00000000
--- a/patches/pine/pine.debug.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/pine/pinepgp-0.18.0-makefile-sed-fix.patch.gz b/patches/pine/pinepgp-0.18.0-makefile-sed-fix.patch.gz
deleted file mode 100644
index b23641cb..00000000
--- a/patches/pine/pinepgp-0.18.0-makefile-sed-fix.patch.gz
+++ /dev/null
Binary files differ
diff --git a/patches/pine/slack-desc.imapd b/patches/pine/slack-desc.imapd
deleted file mode 100644
index 0388e9dd..00000000
--- a/patches/pine/slack-desc.imapd
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-imapd: imapd (IMAP4rev1 from pine4.63)
-imapd:
-imapd: /usr/sbin/ipop3d and /usr/sbin/imapd are servers supporting the POP3
-imapd: and IMAP remote mail access protocols. They allow users to download
-imapd: mail from your Linux system for remote viewing.
-imapd:
-imapd:
-imapd:
-imapd:
-imapd:
-imapd:
diff --git a/patches/pine/slack-desc.pine b/patches/pine/slack-desc.pine
deleted file mode 100644
index 3b966532..00000000
--- a/patches/pine/slack-desc.pine
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-pine: pine (a menu driven mail client)
-pine:
-pine: A menu driven user mail program. Originally based on Elm (Pine Is
-pine: No-longer Elm), but with many additional features that make it
-pine: easier to use. Also contains pilot (a simple file manager) and
-pine: pico (an easy to use text editor).
-pine:
-pine:
-pine:
-pine:
-pine:
diff --git a/patches/rsync/rsync-2.6.9.diff b/patches/rsync/rsync-2.6.9.diff
deleted file mode 100644
index 26805ef4..00000000
--- a/patches/rsync/rsync-2.6.9.diff
+++ /dev/null
@@ -1,61 +0,0 @@
---- rsync-2.6.9.orig/sender.c
-+++ rsync-2.6.9/sender.c
-@@ -123,6 +123,7 @@
- char fname[MAXPATHLEN];
- struct file_struct *file;
- unsigned int offset;
-+ size_t l = 0;
-
- if (ndx < 0 || ndx >= the_file_list->count)
- return;
-@@ -133,6 +134,20 @@
- file->dir.root, "/", NULL);
- } else
- offset = 0;
-+
-+ l = offset + 1;
-+ if (file) {
-+ if (file->dirname)
-+ l += strlen(file->dirname);
-+ if (file->basename)
-+ l += strlen(file->basename);
-+ }
-+
-+ if (l >= sizeof(fname)) {
-+ rprintf(FERROR, "Overlong pathname\n");
-+ exit_cleanup(RERR_FILESELECT);
-+ }
-+
- f_name(file, fname + offset);
- if (remove_source_files) {
- if (do_unlink(fname) == 0) {
-@@ -224,6 +239,7 @@
- enum logcode log_code = log_before_transfer ? FLOG : FINFO;
- int f_xfer = write_batch < 0 ? batch_fd : f_out;
- int i, j;
-+ size_t l = 0;
-
- if (verbose > 2)
- rprintf(FINFO, "send_files starting\n");
-@@ -259,6 +275,20 @@
- fname[offset++] = '/';
- } else
- offset = 0;
-+
-+ l = offset + 1;
-+ if (file) {
-+ if (file->dirname)
-+ l += strlen(file->dirname);
-+ if (file->basename)
-+ l += strlen(file->basename);
-+ }
-+
-+ if (l >= sizeof(fname)) {
-+ rprintf(FERROR, "Overlong pathname\n");
-+ exit_cleanup(RERR_FILESELECT);
-+ }
-+
- fname2 = f_name(file, fname + offset);
-
- if (verbose > 2)
-
diff --git a/patches/rsync/rsync.SlackBuild b/patches/rsync/rsync.SlackBuild
deleted file mode 100755
index 9f9fc8f9..00000000
--- a/patches/rsync/rsync.SlackBuild
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-12.0/source/n/rsync/rsync.SlackBuild
-# changes by rhatto at riseup.net
-#
-# patch for 2.6.9 thanks to debian :)
-#
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building cairo are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="rsync"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=2.6.9}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://rsync.samba.org/ftp/rsync/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/pagage-$PACKAGE
-rm -rf $TMP
-mkdir -p $PKG
-
-# Explode the package framework:
-#cd $PKG
-#explodepkg $CWD/_rsync.tar.gz
-
-cd $TMP
-tar xzvf $SRC_DIR/rsync-$VERSION.tar.gz || exit $ERROR_TAR
-cd rsync-$VERSION
-
-if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
- patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH
-fi
-
-chown -R root:root .
-find . -perm 666 -exec chmod 644 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-find . -perm 600 -exec chmod 644 {} \;
-find . -perm 444 -exec chmod 644 {} \;
-find . -perm 400 -exec chmod 644 {} \;
-find . -perm 440 -exec chmod 644 {} \;
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 775 -exec chmod 755 {} \;
-find . -perm 511 -exec chmod 755 {} \;
-find . -perm 711 -exec chmod 755 {} \;
-find . -perm 555 -exec chmod 755 {} \;
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr || exit $ERROR_CONF
-make -j4 || exit $ERROR_MAKE
-mkdir -p $PKG/usr/bin
-cat rsync > $PKG/usr/bin/rsync
-chmod 755 $PKG/usr/bin/rsync
-mkdir -p $PKG/usr/man/man1
-cat rsync.1 | gzip -9c > $PKG/usr/man/man1/rsync.1.gz
-mkdir -p $PKG/usr/man/man5
-cat rsyncd.conf.5 | gzip -9c > $PKG/usr/man/man5/rsyncd.conf.5.gz
-mkdir -p $PKG/usr/doc/rsync-$VERSION
-cp -a README NEWS COPYING tech_report.tex $PKG/usr/doc/rsync-$VERSION
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/rsync/slack-desc b/patches/rsync/slack-desc
deleted file mode 100644
index 839716c8..00000000
--- a/patches/rsync/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-rsync: rsync
-rsync:
-rsync: rsync is a replacement for rcp that has many more features. It
-rsync: uses the "rsync algorithm" which provides a very fast method for
-rsync: bringing remote files into sync. It does this by sending just the
-rsync: differences in the files across the link, without requiring that both
-rsync: sets of files are present at one of the ends of the link beforehand.
-rsync:
-rsync: rsync was written by Andrew Tridgell and Paul Mackerras.
-rsync:
-rsync:
diff --git a/patches/sdl/libdir-fix.diff.gz b/patches/sdl/libdir-fix.diff.gz
deleted file mode 100644
index b34d6945..00000000
--- a/patches/sdl/libdir-fix.diff.gz
+++ /dev/null
Binary files differ
diff --git a/patches/sdl/sdl.SlackBuild b/patches/sdl/sdl.SlackBuild
deleted file mode 100755
index cc280385..00000000
--- a/patches/sdl/sdl.SlackBuild
+++ /dev/null
@@ -1,205 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/source/l/sdl/sdl.SlackBuild
-# small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="sdl"
-VERSION=${VERSION:=1.2.11}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-IMAGE=${IMAGE:=1.2.5}
-MIXER=${MIXER:=1.2.7}
-NET=${NET:=1.2.6}
-TTF=${TTF:=2.0.8}
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="SDL-$VERSION.tar.$PACKAGE_EXT"
-SRC_image="SDL_image-$IMAGE.tar.gz"
-SRC_mixer="SDL_mixer-$MIXER.tar.gz"
-SRC_net="SDL_net-$NET.tar.gz"
-SRC_ttf="SDL_ttf-$TTF.tar.gz"
-URL="http://www.libsdl.org/release/$SRC"
-URL_LIB="http://www.libsdl.org/projects"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-TMP="$TMP/$PACKAGE"
-mkdir -p $SRC_DIR $TMP
-
-if [ "$RTOOL" == "wget" ]; then
- if [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL/$SRC" -O "$SRC_DIR/$SRC"
- fi
- if [ ! -f "$SRC_DIR/$SRC_image" ]; then
- wget "$URL_LIB/SDL_image/release/$SRC_image" -O "$SRC_DIR/$SRC_image"
- fi
- if [ ! -f "$SRC_DIR/$SRC_mixer" ]; then
- wget "$URL_LIB/SDL_mixer/release/$SRC_mixer" -O "$SRC_DIR/$SRC_mixer"
- fi
- if [ ! -f "$SRC_DIR/SDL_net-$NET.tar.gz" ]; then
- wget "$URL_LIB/SDL_net/release/$SRC_net" -O "$SRC_DIR/$SRC_net"
- fi
- if [ ! -f "$SRC_DIR/SDL_ttf-$TTF.tar.gz" ]; then
- wget "$URL_LIB/SDL_ttf/release/$SRC_ttf" -O "$SRC_DIR/$SRC_ttf"
- fi
-fi
-
-PKG="$TMP/package-$PACKAGE"
-
-LIBDIR=/usr/lib
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIR=/usr/lib64
-fi
-rm -rf $PKG
-mkdir -p $PKG
-cd $TMP
-rm -rf sdl-$VERSION
-tar xf$tarflag $SRC_DIR/$SRC
-cd SDL-$VERSION
-if [ "$ARCH" == "x86_64" ]; then
- gzip -dc $CWD/libdir-fix.diff.gz | patch -p1
-fi
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --enable-shared=yes \
- --libdir=$LIBDIR \
- --enable-static=no
-make -j3
-# Spam /, for mixer/image later on:
-make install
-# install to package:
-make install DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/SDL-$VERSION/html
-cp -a docs/index.html $PKG/usr/doc/SDL-$VERSION
-cp -a docs/html/*.html $PKG/usr/doc/SDL-$VERSION/html
-cp -a BUGS COPYING CREDITS INSTALL README* TODO WhatsNew $PKG/usr/doc/SDL-$VERSION
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# Add SDL_image:
-cd $TMP
-rm -rf SDL_image-$IMAGE
-tar xf$tarflag $SRC_DIR/$SRC_image
-cd SDL_image-$IMAGE
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --enable-shared=yes \
- --libdir=$LIBDIR \
- --enable-static=no
-make -j3
-make install DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/SDL_image-$IMAGE
-cp -a \
- CHANGES COPYING README \
- $PKG/usr/doc/SDL_image-$IMAGE
-
-# Add SDL_mixer:
-cd $TMP
-rm -rf SDL_mixer-$MIXER
-tar xf$tarflag $SRC_DIR/$SRC_mixer
-cd SDL_mixer-$MIXER
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --enable-shared=yes \
- --libdir=$LIBDIR \
- --enable-static=no
-make -j3
-make install DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/SDL_mixer-$MIXER
-cp -a \
- CHANGES COPYING README \
- $PKG/usr/doc/SDL_mixer-$MIXER
-
-# Add SDL_net:
-cd $TMP
-rm -rf SDL_net-$NET
-tar xf$tarflag $SRC_DIR/$SRC_net
-cd SDL_net-$NET
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --enable-shared=yes \
- --libdir=$LIBDIR \
- --enable-static=no
-make -j3
-make install DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/SDL_net-$NET
-cp -a \
- CHANGES COPYING README \
- $PKG/usr/doc/SDL_net-$NET
-
-# Add SDL_ttf:
-cd $TMP
-rm -rf SDL_ttf-$TTF
-tar xf$tarflag $SRC_DIR/$SRC_ttf
-cd SDL_ttf-$TTF
-chown -R root.root .
-find . -perm 777 -exec chmod 755 {} \;
-find . -perm 664 -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --enable-shared=yes \
- --libdir=$LIBDIR \
- --enable-static=no
-make -j3
-make install DESTDIR=$PKG
-mkdir -p $PKG/usr/doc/SDL_ttf-$TTF
-cp -a \
- CHANGES COPYING README \
- $PKG/usr/doc/SDL_ttf-$TTF
-
-chown -R root.bin $PKG/usr/bin
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-gzip -9 $PKG/usr/man/man?/*.?
-
-cd $PKG
-makepkg -l y -c n $REPOS/sdl-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
-
diff --git a/patches/sdl/slack-desc b/patches/sdl/slack-desc
deleted file mode 100644
index 1d5d5c01..00000000
--- a/patches/sdl/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-sdl: sdl (Simple DirectMedia Layer library)
-sdl:
-sdl: This is the Simple DirectMedia Layer, a generic API that provides low
-sdl: level access to audio, keyboard, mouse, joystick, 3D hardware via
-sdl: OpenGL, and 2D framebuffer across multiple platforms.
-sdl:
-sdl: SDL links against alsa-lib, arts, audiofile, esound, and the X11
-sdl: libraries. Make sure all of these are installed if you're planning to
-sdl: use SDL (a full installation will cover all of the prerequisites).
-sdl:
-sdl:
diff --git a/patches/smartmontools/doinst.sh.gz b/patches/smartmontools/doinst.sh.gz
deleted file mode 100644
index 7cf71d5a..00000000
--- a/patches/smartmontools/doinst.sh.gz
+++ /dev/null
Binary files differ
diff --git a/patches/smartmontools/slack-desc b/patches/smartmontools/slack-desc
deleted file mode 100644
index ce462947..00000000
--- a/patches/smartmontools/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-smartmontools: smartmontools (hard drive monitoring utilities)
-smartmontools:
-smartmontools: SMARTMONTOOLS contains utilities that control and monitor storage
-smartmontools: devices using the Self-Monitoring, Analysis and Reporting Technology
-smartmontools: (S.M.A.R.T.) system build into ATA and SCSI Hard Drives. This is used
-smartmontools: to check the reliability of the hard drive and to predict drive
-smartmontools: failures. SMARTMONTOOLS Version 5.x is designed to comply to the
-smartmontools: ATA/ATAPI-5 specification (Revision 1). Future releases of
-smartmontools: SMARTMONTOOLS (Versions 6.x and 7.x) will comply with the ATA/ATAPI-6
-smartmontools: and ATA/ATAPI-7 specifications.
-smartmontools:
diff --git a/patches/smartmontools/smartmontools.SlackBuild b/patches/smartmontools/smartmontools.SlackBuild
deleted file mode 100755
index f4221d4a..00000000
--- a/patches/smartmontools/smartmontools.SlackBuild
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-current/source/a/smartmontools/smartmontools.SlackBuild
-# small changes by rhatto
-#
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="smartmontools"
-VERSION=${VERSION:=5.37}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-TMP=${TMP:=/tmp}
-SRC_DIR=${SRC:=$CWD}
-REPOS=${REPOS:=$TMP}
-
-if [ "$ARCH" == "x86_64" ]; then
- LIBDIR=/usr/lib64
-else
- LIBDIR=/usr/lib
-fi
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://easynews.dl.sourceforge.net/sourceforge/smartmontools/$SRC"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-$PACKAGE
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $TMP $SRC_DIR
-
-# TODO: signature checking
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC"
- #rm -f $SRC_DIR/$SRC.asc
- #wget "$URL.asc" -O "$SRC_DIR/$SRC.asc"
-fi
-
-if [ ! -d $TMP ]; then
- mkdir -p $TMP # location to build the source
-fi
-
-rm -rf $PKG
-mkdir -p $PKG
-
-cd $TMP
-rm -rf smartmontools-$VERSION
-tar xvf$tarflag $SRC_DIR/$SRC
-cd smartmontools-$VERSION
-chown -R root:root .
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- $ARCH-slackware-linux
-make || exit 32
-make install DESTDIR=$PKG
-# Not used on Slackware:
-rm -rf $PKG/etc/rc.d
-mv $PKG/etc/smartd.conf $PKG/etc/smartd.conf.new
-gzip -9 $PKG/usr/man/man?/*.?
-mv $PKG/usr/share/doc $PKG/usr
-rmdir $PKG/usr/share
-rm -f $PKG/usr/doc/smartmontools-$VERSION/CHANGELOG \
- $PKG/usr/doc/smartmontools-$VERSION/smartd.conf
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-mkdir -p $PKG/install
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-# Build the package:
-cd $PKG
-makepkg -l y -c n $REPOS/smartmontools-$VERSION-$ARCH-$BUILD.tgz
-
-# Clean up the extra stuff:
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/subversion/slack-desc b/patches/subversion/slack-desc
deleted file mode 100644
index 935a5221..00000000
--- a/patches/subversion/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-subversion: subversion (a version control system)
-subversion:
-subversion: Subversion is a version control system which allows you to keep old
-subversion: versions of files and directories (usually source code), and keep a
-subversion: log of who, when, and why changes occurred, similar to other such
-subversion: systems like CVS, RCS or SCCS. Subversion keeps all the information
-subversion: to permit extracting previous versions of those files at any time.
-subversion:
-subversion: For more information about the Subversion project, visit:
-subversion: http://subversion.tigris.org
-subversion:
diff --git a/patches/subversion/slack-required b/patches/subversion/slack-required
deleted file mode 100644
index 069af912..00000000
--- a/patches/subversion/slack-required
+++ /dev/null
@@ -1 +0,0 @@
-swig
diff --git a/patches/subversion/subversion.SlackBuild b/patches/subversion/subversion.SlackBuild
deleted file mode 100644
index 1e6a24cb..00000000
--- a/patches/subversion/subversion.SlackBuild
+++ /dev/null
@@ -1,161 +0,0 @@
-#!/bin/bash
-#
-# got it from ftp://ftp.slackware.com/pub/slackware/slackware-12.0/source/d/subversion/subversion.SlackBuild
-# small changes by rhatto at riseup.net
-#
-
-# needs a function from simplepkg
-function default_version {
-
- # get version from /etc/slackware-version
- if [ -f "$1/etc/slackware-version" ]; then
- cat $1/etc/slackware-version | awk '{ print $2 }' | sed -e 's/.0$//'
- else
- echo "none"
- fi
-
-}
-
-if [ -s "slack-required" ]; then
- echo Recomended and required packages for building subversion are:
- cat slack-required | sed -e 's/^/\t/'
- if [ "$INTERACT" != "no" ]; then
- echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
- read crap
-# else
-# echo Sleeping 3 seconds...
-# sleep 3
- fi
-fi
-
-CWD="`pwd`"
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-# default settings
-PACKAGE="subversion"
-ARCH=${ARCH:=i486}
-VERSION=${VERSION:=1.4.4}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-DISTRO_VERSION="`default_version`"
-
-LIBDIR=/usr/lib
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- LIBDIR="/usr/lib64"
- SLKCFLAGS="-O2 -fPIC"
-fi
-
-# ------- error codes for createpkg --------------
-ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33
-ERROR_MD5=34; ERROR_CONF=35; ERROR_HELP=36
-ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
-ERROR_PATCH=40
-
-RTOOL="wget"
-PACKAGE_EXT="bz2"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://subversion.tigris.org/downloads/$SRC"
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
-fi
-
-wget http://svnbook.red-bean.com/nightly/en/svn-book-html.tar.bz2 -O $SRC_DIR/svn-book-html.tar.bz2 || exit $ERROR_WGET
-chmod 644 $SRC_DIR/svn-book-html.tar.bz2
-
-TMP=$TMP/$PACKAGE
-PKG=$TMP/package-subversion
-rm -rf $TMP
-mkdir -p $PKG
-
-cd $TMP/$PACKAGE
-tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd subversion-$VERSION
-
-chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-if [ "$DISTRO_VERSION" == "12.0" ]; then
- APXS="--with-apxs=/usr/sbin/apxs"
-fi
-
-CFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=$LIBDIR \
- --enable-shared \
- --disable-static \
- --with-apr=/usr \
- --with-apr-util=/usr \
- --with-neon=/usr \
- --with-pic \
- --with-ssl \
- --with-zlib \
- --build=$ARCH-slackware-linux $APXS || exit $ERROR_CONF
-
-make -j4 || exit $ERROR_MAKE
-make swig-py || exit $ERROR_MAKE
-make install DESTDIR=$PKG || exit $ERROR_INSTALL
-make install-docs DESTDIR=$PKG || exit $ERROR_INSTALL
-make install-swig-py DESTDIR=$PKG || exit $ERROR_INSTALL
-
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-rm -rf $PKG/usr/info
-gzip -9 $PKG/usr/man/man?/*
-
-# What is this junk for? Since I don't know, I'll erase it. :-)
-rm -rf $PKG/usr/build
-
-cp -a \
- BUGS CHANGES COMMITTERS COPYING HACKING INSTALL README TRANSLATING doc \
- $PKG/usr/doc/subversion-$VERSION
-# too big && useless for most || if you think not, can be found in the source tarball
-rm -rf $PKG/usr/doc/subversion-$VERSION/doc/tools
-# Add the HTML svn book:
-( cd $PKG/usr/doc/subversion-$VERSION
- tar xjf $SRC_DIR/svn-book-html.tar.bz2
- mv svn-book-html book
- cd book
- find . -type d -exec chmod 755 {} \;
- find . -type f -exec chmod 644 {} \;
- chown -R root:root .
- find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o perm 2755 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-)
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-
diff --git a/patches/sudo/doinst.sh.gz b/patches/sudo/doinst.sh.gz
deleted file mode 100644
index 91d62013..00000000
--- a/patches/sudo/doinst.sh.gz
+++ /dev/null
Binary files differ
diff --git a/patches/sudo/slack-desc b/patches/sudo/slack-desc
deleted file mode 100644
index 66f1aa8c..00000000
--- a/patches/sudo/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
-# leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-sudo: sudo (give limited root privileges to certain users)
-sudo:
-sudo: 'sudo' is a command that allows users to execute some commands as
-sudo: root. The /etc/sudoers file (edited with 'visudo') specifies which
-sudo: users have access to sudo and which commands they can run. 'sudo'
-sudo: logs all its activities to /var/log/ so the system administrator
-sudo: can keep an eye on things.
-sudo:
-sudo:
-sudo:
-sudo:
diff --git a/patches/sudo/sudo.SlackBuild b/patches/sudo/sudo.SlackBuild
deleted file mode 100755
index e3f58913..00000000
--- a/patches/sudo/sudo.SlackBuild
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/bin/bash
-#
-# Got it from http://slamd64.he.net/slamd64-10.2b/source/ap/sudo/sudo.SlackBuild
-# Small changes by rhatto
-#
-
-# Set initial variables:
-CWD=`pwd`
-
-if [ -f ~/.slackbuildrc ]; then
- source ~/.slackbuildrc
-elif [ -f /etc/slackbuildrc ]; then
- source /etc/slackbuildrc
-fi
-
-PACKAGE="sudo"
-VERSION=${VERSION:=1.6.8p12}
-ARCH=${ARCH:=i486}
-BUILD=${BUILD:=1rha}
-SRC_DIR=${SRC:=$CWD}
-TMP=${TMP:=/tmp}
-REPOS=${REPOS:=$TMP}
-
-RTOOL="wget"
-PACKAGE_EXT="gz"
-SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
-URL="http://www.sudo.ws/sudo/dist/$SRC"
-
-if [ "$PACKAGE_EXT" == "bz2" ]; then
- tarflag="j"
-else
- tarflag="z"
-fi
-
-SRC_DIR="$SRC_DIR/$PACKAGE"
-mkdir -p $SRC_DIR
-
-if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then
- rm -f $SRC_DIR/$SRC.sig
- wget "$URL" -O "$SRC_DIR/$SRC"
- wget "$URL.sig" -O "$SRC_DIR/$SRC.sig"
-fi
-
-gpg --import << EOGPG
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: GnuPG v1.0.7 (OpenBSD)
-
-mQGiBD2bdiURBACyoSsYq9t8jiLnhABRZcgDP2vaoJoGJD3eb9HNsv2+0IrcHaut
-s1QR1AY88AGTMnQTFWjH1vIXz/YCKnvgqklfbVCMehvkOUKvGv2eP7IkmWvVPIQb
-kayHCtChOKW86hqxZXyT8sbBJqHGHq7xBbg71uZ/CSaTY3ATencRX+UndwCg6ujz
-FFQhKoVwnPdYPkYA10kp2UsD/2Act3O9UJabaln5MLqLQrxo1Cqa3+ht4liAAOr3
-psMPcieyIULQ4yE19Jvb90s2sao88BUPVeDxBHV/nhcNQxlH4Boc+kWtU36XSxU3
-yrUhZDQIvrM4o1yCSgNSwUM88+qYm6ETAT0sZAiFT9biMjsT4Bw13KihyYtE2L36
-LdXOA/9MEH8zWRqUjQMt4X1yKTjwmIotAd9xetVNj+4lfTgmsnlZoex7T94Id0+B
-FDDSj4gpQ7GpFa0qOQgTyaUo5HgoPFw4F9TjebWiyey2SznIw4960KoAwfSTdSOG
-GoD96xuBsmQGCfdIFW43SJngXKiOpF/3VHoUxGYhTefOSGHAvLQqVG9kZCBDLiBN
-aWxsZXIgPFRvZGQuTWlsbGVyQGNvdXJ0ZXNhbi5jb20+iFkEExECABkFAj2bdiUE
-CwcDAgMVAgMDFgIBAh4BAheAAAoJEFqJ36J+5HDEQigAoLdD+y5EQzvogb6oybhC
-pBBmefqYAKDGlnXX7JNBJYBv/r5TBg4+zLOOL7kBDQQ9m3YnEAQAzhN0fOfOz3+z
-m0rHJ+hCW06ME9W1UWTgPdkh6izMO29j5tsq7MDOEoiBA8fGNV9+1nqXS3PWsYpP
-qnm+Yx/8zHPsepiOWe3UaJruBfFT8BlGSzN6p9aO1liQOnv57XouRab5tUFZPDM7
-ADHGAlruyvZjzywj/v6FWNoY6DLiqosAAwUEAKSap7csw/skFED0lF/lsllvmRa7
-4kd/lEYGPB62Cyau/4nucrnZrBNP7wSIdpCLzQxq6l/j/vP5aUV8qN2W6+DY1CZA
-rodtZKPUNGHCdop9ZcskEx6eOG2ivYpgn0z6scoXUJ4g5kCSshzPedG4DOLHFMtE
-hVDWxnHdtn0UFCntiEYEGBECAAYFAj2bdicACgkQWonfon7kcMTOeACgmCPD1Is5
-KhRmc+7kY4ILfdUX5OUAn2mdSBk/pObAfpdPzasJT7QxIQFL
-=3GDW
------END PGP PUBLIC KEY BLOCK-----
-EOGPG
-
-gpg --verify $SRC.sig $SRC || echo WARNING: Could not check signature or WRONG signature found.
-
-TMP="$TMP/$PACKAGE"
-PKG=$TMP/package-sudo
-rm -rf $TMP
-mkdir -p $PKG
-
-if [ "$ARCH" = "i386" ]; then
- SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "s390" ]; then
- SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
-fi
-
-cd $TMP
-rm -rf sudo-$VERSION
-tar xvf$tarflag $SRC_DIR/$SRC
-cd sudo-$VERSION
-chown -R root.root .
-CFLAGS="$SLKCFLAGS" \
-./configure --prefix=/usr --sbindir=/usr/sbin --with-getpass --with-C2
-make || exit 32
-make install DESTDIR=$PKG
-chown -R root:bin $PKG/usr/bin $PKG/usr/sbin
-( cd $PKG/usr/bin
- chmod 4711 sudo
- ln -sf sudo sudoedit
-)
-chmod 755 $PKG/usr/sbin/visudo
-rm -f $PKG/usr/man/man8/sudoedit.8
-gzip -9 $PKG/usr/man/man?/*.?
-( cd $PKG/usr/man/man8 ; ln -sf sudo.8.gz sudoedit.8.gz )
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
-mv $PKG/etc/sudoers $PKG/etc/sudoers.new
-mkdir -p $PKG/usr/doc/sudo-$VERSION
-cp -a \
- BUGS HISTORY INSTALL LICENSE PORTING README README.LDAP RUNSON TODO TROUBLESHOOTING UPGRADE \
- $PKG/usr/doc/sudo-$VERSION
-chmod 644 $PKG/usr/doc/sudo-$VERSION/*
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
-
-# Build the package:
-cd $PKG
-makepkg -l y -c n $REPOS/sudo-$VERSION-$ARCH-$BUILD.tgz
-
-if [ "$CLEANUP" == "yes" ]; then
- rm -rf $TMP
-fi
-