diff options
Diffstat (limited to 'patches')
-rwxr-xr-x | patches/apache/apache.SlackBuild | 213 | ||||
-rwxr-xr-x | patches/bin/bin.SlackBuild | 432 | ||||
-rwxr-xr-x | patches/curl/curl.SlackBuild | 121 | ||||
-rwxr-xr-x | patches/fetchmail/fetchmail.SlackBuild | 110 | ||||
-rwxr-xr-x | patches/gnupg/gnupg.SlackBuild | 365 | ||||
-rwxr-xr-x | patches/gzip/gzip.SlackBuild | 180 | ||||
-rwxr-xr-x | patches/imagemagick/imagemagick.SlackBuild | 162 | ||||
-rwxr-xr-x | patches/libtiff/libtiff.SlackBuild | 115 | ||||
-rwxr-xr-x | patches/mod_ssl/mod_ssl.SlackBuild | 193 | ||||
-rwxr-xr-x | patches/mozilla-firefox/mozilla-firefox.SlackBuild | 108 | ||||
-rwxr-xr-x | patches/mutt/mutt.SlackBuild | 131 | ||||
-rwxr-xr-x | patches/mysql/mysql.SlackBuild | 178 | ||||
-rwxr-xr-x | patches/openssh/openssh.SlackBuild | 218 | ||||
-rwxr-xr-x | patches/openssl/openssl.SlackBuild | 326 | ||||
-rwxr-xr-x | patches/php/php.SlackBuild | 333 | ||||
-rwxr-xr-x | patches/php/php4-snapshot.SlackBuild | 311 | ||||
-rwxr-xr-x | patches/pine/pine.SlackBuild | 155 | ||||
-rwxr-xr-x | patches/sdl/sdl.SlackBuild | 207 | ||||
-rwxr-xr-x | patches/smartmontools/smartmontools.SlackBuild | 96 | ||||
-rwxr-xr-x | patches/sudo/sudo.SlackBuild | 129 |
20 files changed, 0 insertions, 4083 deletions
diff --git a/patches/apache/apache.SlackBuild b/patches/apache/apache.SlackBuild deleted file mode 100755 index bbe19b65..00000000 --- a/patches/apache/apache.SlackBuild +++ /dev/null @@ -1,213 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/bin/bin.SlackBuild b/patches/bin/bin.SlackBuild deleted file mode 100755 index 3bd80d27..00000000 --- a/patches/bin/bin.SlackBuild +++ /dev/null @@ -1,432 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/curl/curl.SlackBuild b/patches/curl/curl.SlackBuild deleted file mode 100755 index 06e37a82..00000000 --- a/patches/curl/curl.SlackBuild +++ /dev/null @@ -1,121 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="curl" -VERSION=7.12.2 -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/fetchmail/fetchmail.SlackBuild b/patches/fetchmail/fetchmail.SlackBuild deleted file mode 100755 index e4953e7f..00000000 --- a/patches/fetchmail/fetchmail.SlackBuild +++ /dev/null @@ -1,110 +0,0 @@ -#!/bin/bash -# -# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/fetchmail/fetchmail.SlackBuild -# small changes by rhatto -# - -# Set initial variables: - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="fetchmail" -VERSION=${VERSION:=6.3.4} -ARCH=${ARCH:=i486} -BUILD=${BUILD:=1rha} -TMP=${TMP:=/tmp} -SRC_DIR=${SRC:=$CWD} - -RTOOL="wget" -PACKAGE_EXT="bz2" -SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT" -URL="http://download.berlios.de/fetchmail/$SRC" - -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 - -PKG=$TMP/package-fetchmail - -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 - SLKCFLAGS="-O2 -fPIC" - LIBDIR="/usr/lib64" -fi - -rm -rf $PKG -mkdir -p $PKG - -cd $TMP -rm -rf fetchmail-$VERSION -tar xvf$tarflag $SRC_DIR/$SRC -cd fetchmail-$VERSION - -# this is the sloppiest source tarball ever -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 \ - --enable-nls \ - --with-ssl \ - --program-prefix="" \ - --program-suffix="" \ - $ARCH-slackware-linux -make || exit 32 -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 -) -chown -R root.bin $PKG/usr/bin -( cd $PKG/usr/man/man1 - rm fetchmailconf.1 - gzip -9 * - ln -sf fetchmail.1.gz fetchmailconf.1.gz -) -mkdir -p $PKG/usr/doc/fetchmail-$VERSION -cp -a \ - ABOUT-NLS COPYING FAQ FEATURES INSTALL NEWS NOTES README README.NTLM README.SSL TODO \ - *.html contrib *.lsm \ - $PKG/usr/doc/fetchmail-$VERSION - -rm -rf $PKG/usr/doc/fetchmail-$VERSION/RCS \ - $PKG/usr/doc/fetchmail-$VERSION/contrib/RCS \ - $PKG/usr/doc/fetchmail-$VERSION/fetchmail-man.html - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -makepkg -l y -c n $TMP/fetchmail-$VERSION-$ARCH-$BUILD.tgz diff --git a/patches/gnupg/gnupg.SlackBuild b/patches/gnupg/gnupg.SlackBuild deleted file mode 100755 index 841f4b9d..00000000 --- a/patches/gnupg/gnupg.SlackBuild +++ /dev/null @@ -1,365 +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 - -# Set initial variables: -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="gnupg" -VERSION=${VERSION:=1.4.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 - -# 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 -urUIBACi7d1rUlHr4ok7iBRlWHYXU2hpUI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6dsmXVUkPNYMZTpkc2nA+IACBiOm -ygGBkLFuXvHRW1i6SNz28iRH/UZcYLi/2iEAIIFWUJm0Jldlcm5lciBLb2NoIChk -aXN0IHNpZykgPGRkOWpuQGdudS5vcmc+iLwEEwECACYFAkO3+sgCGwMFCQWjmoAG -CwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRBTtiDQHODGMHmjBACHQw7SS5DuEzoA -qPxgrhtEZqkcGZ4ieJp6v1jq/BeASt8NRyLsFRBPFegUVOAocfMHPf1vN5K3JCBO -bmmUZo4QlwlrIivTsNp4G1wL90yhVQmzDJsowW0/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" - -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 --verify $SRC_DIR/$SRC.sig || echo WARNING: error checking signature! -sleep 2 - -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$tarflag $SRC_DIR/$SRC -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 -make -j3 -make install DESTDIR=$PKG -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 - -# Clean up the extra stuff: -if [ "$1" = "--cleanup" ]; then - rm -rf $TMP/gnupg-$VERSION - rm -rf $PKG -fi diff --git a/patches/gzip/gzip.SlackBuild b/patches/gzip/gzip.SlackBuild deleted file mode 100755 index 1b65b887..00000000 --- a/patches/gzip/gzip.SlackBuild +++ /dev/null @@ -1,180 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/imagemagick/imagemagick.SlackBuild b/patches/imagemagick/imagemagick.SlackBuild deleted file mode 100755 index f8f2632d..00000000 --- a/patches/imagemagick/imagemagick.SlackBuild +++ /dev/null @@ -1,162 +0,0 @@ -#!/bin/bash -# -# Got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/imagemagick/imagemagick.SlackBuild -# Small changes by rhatto. -# - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="imagemagick" -TMP=${TMP:=/tmp} -ARCH=${ARCH:=i486} -BUILD=${BUILD:=1rha} -SRC_DIR=${SRC:=$CWD} -REPOS=${REPOS:=$TMP} - -if [ "$ARCH" == "x86_64" ]; then - LIBDIR=/usr/lib64 -else - LIBDIR=/usr/lib -fi - -PKG=$TMP/package-imagemagick -rm -rf $PKG -mkdir -p $PKG - -# NOTE: This is to cope with ImageMagick version numbers such as 5.4.7-4, -# which occur fairly often (but not always). If these numbers are all the same, -# then this is not one of those versions. - -# This is a bit messy, so we'll explain it well. :-) - -# This is the base version number, which is needed to cd into the source tree -BASEVER=6.2.3 - -# This is the version number used in the source tarball filename -FILEVER=6.2.3-3 - -# This is the version number used in the package, where a version number cannot -# contain a '-' -PKGVER=6.2.3_3 - -RTOOL="wget" -PACKAGE_EXT="bz2" -SRC="ImageMagick-$FILEVER.tar.$PACKAGE_EXT" -URL="http://slamd64.he.net/slamd64-10.2b/source/xap/imagemagick/ImageMagick-6.2.3-3.tar.bz2" - -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 [ "$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 - -# --with-x or not --with-x, that is the question. It seems many other -# distributions don't compile with X support, but it's been traditional -# here. I am moving the prefix to /usr (instead of /usr/X11R6) though, -# because many X-linked things are put into /usr now (like GNOME), and -# I've heard a few reports of compile failures when this isn't in /usr. -# Everyone else does it -- time to follow the path of least resistance. - -TMP="$TMP/$PACKAGE" -rm -rf $TMP -mkdir -p $TMP -cd $TMP - -tar xvf$tarflag $SRC_DIR/$SRC -cd ImageMagick-$BASEVER - -zcat $CWD/imagemagick.CVE-2005-4601.CVE-2006-0082.diff.gz | patch -p1 --verbose || exit - -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" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure --prefix=/usr \ - --program-prefix= \ - --libdir=$LIBDIR \ - --enable-16bit-pixel \ - --with-x \ - --with-frozenpaths=no \ - --enable-static=no \ - --enable-shared \ - --with-perl \ - $ARCH-slackware-linux -make || exit 32 -make install DESTDIR=$PKG - -# Lately ImageMagick has been smoking crack: -rm -f $PKG/usr/lib/libltdl.* - -( cd $PKG - # Nothing but a perl upgrade should replace this (and maybe not even that) - find . -name perllocal.pod | xargs rm -f -) - -# DESTDIR is still broken about this, but works well enough otherwise: -chmod 644 $PKG/usr/share/man/man3/* -mv $PKG/usr/share/man/man3 $PKG/usr/man -rmdir $PKG/usr/share/man - -( cd $PKG/usr/lib/perl5 - # Ditch empty dirs: - rmdir */* 2> /dev/null - rmdir * 2> /dev/null -) - -( 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/usr/bin -gzip -9 $PKG/usr/man/man?/*.? - -mkdir -p $PKG/usr -mv $PKG/usr/share/doc $PKG/usr -cp -a \ - AUTHORS LICENSE NEWS NOTICE Platforms.txt QuickStart.txt README.txt \ - $PKG/usr/doc/Imag* - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -makepkg -l y -c n $REPOS/imagemagick-$PKGVER-$ARCH-$BUILD.tgz - -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP -fi - diff --git a/patches/libtiff/libtiff.SlackBuild b/patches/libtiff/libtiff.SlackBuild deleted file mode 100755 index 0786d554..00000000 --- a/patches/libtiff/libtiff.SlackBuild +++ /dev/null @@ -1,115 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/mod_ssl/mod_ssl.SlackBuild b/patches/mod_ssl/mod_ssl.SlackBuild deleted file mode 100755 index ec74e091..00000000 --- a/patches/mod_ssl/mod_ssl.SlackBuild +++ /dev/null @@ -1,193 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/mozilla-firefox/mozilla-firefox.SlackBuild b/patches/mozilla-firefox/mozilla-firefox.SlackBuild deleted file mode 100755 index 6d697e4b..00000000 --- a/patches/mozilla-firefox/mozilla-firefox.SlackBuild +++ /dev/null @@ -1,108 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -# default settings -PACKAGE="firefox" -VERSION=${VERSION:=1.5.0.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 - -# 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/mutt/mutt.SlackBuild b/patches/mutt/mutt.SlackBuild deleted file mode 100755 index c880f35b..00000000 --- a/patches/mutt/mutt.SlackBuild +++ /dev/null @@ -1,131 +0,0 @@ -#!/bin/bash -# -# Build Mutt for Slackware (by volkerdi@slackware.com) -# Small changes by rhatto -# -# For version 1.5.6 or 1.5.6i, uses de following -# patches from http://www.woolridge.ca/mutt/ -# -# - confirm-crypt-hook -# - multiple-crypt-hook -# - crypt-autoselectkey -# - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="mutt" -#VERSION=${VERSION:=1.5.6i} -VERSION=${VERSION:=1.5.12} -ARCH=${ARCH:=i486} -BUILD=${BUILD:=1rha} -TMP=${TMP:=/tmp} -SRC_DIR=${SRC:=$CWD} -REPOS=${REPOS:=$TMP} - -RTOOL="wget" -PACKAGE_EXT="gz" -SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT" -URL="ftp://ftp.mutt.org/mutt/devel/$SRC" - -SRC_DIR="$SRC_DIR/$PACKAGE" -mkdir -p $SRC_DIR - -PATCH1="patch-1.5.6.dw.crypt-hook-both.1" -PATCH1_URL="http://www.woolridge.org/mutt/patches/$PATCH1" -PATCH2="patch-1.5.6.dw.crypt-autoselectkey.1" -PATCH2_URL="http://www.woolridge.org/mutt/patches/$PATCH2" - -if [ "$PACKAGE_EXT" == "bz2" ]; then - tarflag="j" -else - tarflag="z" -fi - -if [ "$RTOOL" == "wget" ]; then - if [ ! -f "$SRC_DIR/$SRC" ]; then - wget "$URL" -O "$SRC_DIR/$SRC" - fi - if [ ! -f "$SRC_DIR/$PATCH1" ]; then - wget "$PATCH1_URL" -O "$SRC_DIR/$PATCH1" - fi - if [ ! -f "$SRC_DIR/$PATCH2" ]; then - wget "$PATCH2_URL" -O "$SRC_DIR/$PATCH2" - fi -fi - -if [ "$ARCH" == "i486" ]; then - AOPTS="-march=i486 -mcpu=i686" -fi - -if [ "$ARCH" == "x86_64" ]; then - LIBDIR=/usr/lib64 -else - LIBDIR=/usr/lib -fi - -TMP="$TMP/$PACKAGE" -PKG="$TMP/package-$PACKAGE" -rm -rf $TMP -mkdir -p $TMP -cd $TMP - -rm -rf mutt-$VERSION -tar xvf$tarflag $SRC_DIR/$SRC - -cd `basename mutt-$VERSION i` - -if [ "$VERSION" == "1.5.6" ] || [ "$VERSION" == "1.5.6i" ]; then - patch -p1 < $SRC_DIR/$PATCH1 - patch -p1 < $SRC_DIR/$PATCH2 -fi - -chown -R root.root . - -CFLAGS="-O2 $AOPTS" ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/mutt \ - --with-mailpath=/var/spool/mail \ - --enable-pop \ - --enable-imap \ - --with-ssl \ - --enable-locales-fix \ - --without-wc-funcs \ - --libdir=$LIBDIR - $ARCH-slackware-linux - -make || exit 32 -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 -) - -chown -R root.bin $PKG/usr/bin -gzip -9 $PKG/usr/man/man?/* - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh - -# Don't mv the mutt docs directory, because mutt uses 'em. -# Make a link instead. -( cd $PKG/usr/doc ; rm -rf mutt-$VERSION ; ln -sf mutt mutt-$VERSION ) - -mv $PKG/etc/mutt/Muttrc $PKG/etc/mutt/Muttrc.new - -cd $PKG -makepkg -l y -c n $REPOS/mutt-$VERSION-$ARCH-$BUILD.tgz - -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP -fi - diff --git a/patches/mysql/mysql.SlackBuild b/patches/mysql/mysql.SlackBuild deleted file mode 100755 index 632a4926..00000000 --- a/patches/mysql/mysql.SlackBuild +++ /dev/null @@ -1,178 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/openssh/openssh.SlackBuild b/patches/openssh/openssh.SlackBuild deleted file mode 100755 index 95c62058..00000000 --- a/patches/openssh/openssh.SlackBuild +++ /dev/null @@ -1,218 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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 -4Dg9QxpuwHKIT8BeDA3hJa/9Yxu5jec2NVKbtVSZvRkgUfRNOkrcH2eiY8Iz6est -J64dGWuGMKQW0GEqW+OXpRTTPJZ0mgPmU16qDzLPdx6F3BAk2LG+TTwlKUPuGqOt -6u2EA/4+1CBYZ8mXq9GJnLRBPAoYwSJJzbQnMm9Jat/yg9N6nigSIiFyG8ixh167 -gGGKfzvpjY7DeJzDI0Cub+tRova8gFg+T15AcPMST5v7v6O/ug9aYWERZ0zjUhRH -ybtYLYhUUbdYM29PwGBNfZhGIOYwfFE9UpPS5LeXHs28oVLlH7QuRGFtaWVuIE1p -bGxlciAoUGVyc29uYWwgS2V5KSA8ZGptQG1pbmRyb3Qub3JnPohXBBMRAgAXBQI6 -muacBQsHCgMEAxUDAgMWAgECF4AACgkQzo7LA4b/nEiDMgCZAUzKq241h5GTJxC0 -guS6ht9i9ZsAoL/oXCmFsofARehZF6AakIdasvS9uQINBDqa5tQQCADz/XnCcyle -9hmxgyntr35ZQJKx9g6ftBw178JSwM3O7JNOGp398Eh4Q9rkEp5NH1qVecG953Fu -edT9IAXqr8pjp5tdqMYCcaKy+aJ0Sw1zVD2VOY3h7SyfU25pcYiHEa1grfKPVoWm -53IwWGVVtquF5dimAe75+D0aXyVCOv0Ez9wgJR6H69lp4/cD2GyNaGarwY9HLvHF -vXONY2qm/GV5OjyOUO41gmQ4pyXQh+gocFFHrM0AzveIswgNpJ0xNWXX8iXGsr3Y -Cvqm7JoIU9JKxDV+96bxDLfTdKpoLYKb68WdtmAylsio5+iZfWtdOb/Xpk2Yx5Ld -ady9/+n3m6cvAAURCACrvoVSbd0MR0FWX+bBZ0NjScNBo3kPSSCnQ6jRHokkz55r -+MHe7dqxCJ3pmu7aROl2fgug6wob+7+qXfKke/TdT6wuCb4CdFS6tPgPrfYV+iwq -2NB/BatePGg7Z6UALaULQ0m83DCEVLJNnjemEdIouShelikAAO7QDKMr7vAjH8n0 -zwMpwRMXnvCM6zYlS9i1kOm8LVATk0WyihpQGSaTukdPjKlG7sKwMu20ssK9DGVp -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/openssl/openssl.SlackBuild b/patches/openssl/openssl.SlackBuild deleted file mode 100755 index 47b59daa..00000000 --- a/patches/openssl/openssl.SlackBuild +++ /dev/null @@ -1,326 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="openssl" -VERSION=${VERSION:=0.9.7l} -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" - -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: PGP Key Server 0.9.6 - -mQGiBD+T8ZcRBAC5vVAcK1C/RIgL4tzwfU4k3vWEGHt4Ukt4nIctAMYJkfuzq9FS -AL4c4xEpVTHRxDXNoSC+ialnJfX5qfhjrixE7wRR01TG7kvpbr76v8x88+LiBpwN -QTZlsz2OmbHeeWRxnCOgw79+5umLOWRmjDY9om6+8JbG4DtCiZokq4UoRwCgyFrG -T8ov4iBf0lUkd+/lS5MmPT8D/0fRaM3LrT8/3kWBZd9bT6UwqK9c3AT1JthZH5GI -5Bl4xL2JcL0paLLDbGRErIf+BrAHEioYdFlR3f4GlFEs6n9LwBfew/46Tz5Z42is -R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odwADBQgAsZFE6c0n -qf+zxWysJERgnfv8BVV/ZXq3T4KC0pUqDu8VT6xdURn0Yfgb7KWN644jiJFpMgO5 -xVybz6Q4Ti2WjZRJiZ2vuxiqDcxkNodz7Sik3PW/wvt4FT2qCOZwYMwtCK0drWTh -rLLpCdT9vJr+leRdQB/hvC3UKBOrJrvl2X1FBGBlH/ucPTzJuIQz6zENgPt9ewD1 -a/RISa0Q0XsGpEM7EznRnTBellHWBUbRAZtAHnc/hW/ynjvNQ4UwDgZ/7SHRWvBe -kM5pvzfgmFhvY0D1SCmz76KhiTpeMwJUZUp4XKSil6gkCjumTvPyYYG/MdaSBvmw -xdydjOJPeopowohJBBgRAgAJAhsMBQJClhIjAAoJEKevnnj3CUU79/IAoJ5oKNsH -/idN19rlt61VJllm2R/WAJ9uyWcqpOAThvzO/FIVHiEDmJAT6Q== -=N1Yk ------END PGP PUBLIC KEY BLOCK----- -EOGPG - -gpg --verify $SRC_DIR/$SRC.asc $SRC_DIR/$SRC || echo WARNING: Could not check signature or WRONG signature found. -sleep 3 - -if [ "$ARCH" == "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 -tar xvf$tarflag $SRC_DIR/$SRC -cd openssl-$VERSION -# Use .so.0, not .so.0.9.7: -zcat $CWD/openssl.soname.diff.gz | patch -p1 --backup --verbose --suffix=.orig || exit - -# 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 - 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 -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 -make -j4 -make install INSTALL_PREFIX=$PKG1 -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.gz > install/doinst.sh -cat $CWD/slack-desc.openssl > install/slack-desc -makepkg -l y -c n $REPOS/${NAME1}.tgz - -# 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.gz > install/doinst.sh -cat $CWD/slack-desc.openssl-solibs > install/slack-desc -makepkg -l y -c n $REPOS/${NAME2}.tgz - -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP -fi - diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild deleted file mode 100755 index b899ba0e..00000000 --- a/patches/php/php.SlackBuild +++ /dev/null @@ -1,333 +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 -# - -cat << EOCAT -Recomended and required packages for building icecast are: - - libiconv - -EOCAT - -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 - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="php" -VERSION=${VERSION:=4.4.4} -PINE=${PINE:=4.64} -ARCH=${ARCH:=i486} -BUILD=${BUILD:=1rha} -TMP=${TMP:=/tmp} -SRC_DIR=${SRC:=$CWD} -REPOS=${REPOS:=$TMP} - -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" - 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" - 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 ; ./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-zlib=/usr $ADD_FLAGS - # --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 - -# 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 patchin with $CWD/php-with-_lib-$VERSION.diff.gz... - zcat $CWD/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose - 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 {} \; -# Patch ini files: - -if [ "$ARCH" == "x86_64" ]; then - zcat $CWD/php.ini-x86_64.diff.gz | patch -p1 --verbose --backup --suffix=.orig - # Fix an issue introduced in PHP 4.4.1 that breaks SquirrelMail and - # probably some other PHP applications: - #zcat $CWD/php.squirrel.diff.gz | patch -p1 --verbose || exit -else - zcat $CWD/php.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig -fi - -# Make the Apache module version of PHP: -echo "***START APACHE MODULE***" -php_configure --disable-static --with-apxs=/usr/sbin/apxs -make -j3 -make install INSTALL_ROOT=$PKG -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 -make -j3 -make install-cli INSTALL_ROOT=$PKG -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/mod_php.conf.example $PKG/etc/apache -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 $REPOS/php-$VERSION-$ARCH-$BUILD.tgz - -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 53de5221..00000000 --- a/patches/php/php4-snapshot.SlackBuild +++ /dev/null @@ -1,311 +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. -# - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="php" -VERSION=${VERSION:=4.4.2} -SNAP_VERSION=${SNAP_VERSION:=200606181830} -PINE=${PINE:=4.64} -ARCH=${ARCH:=i486} -BUILD=${BUILD:=1rha} - -TMP=${TMP:=/tmp} -PKG=$TMP/package-php -SRC_DIR=${SRC:=$CWD} - -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" - -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" - 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" - fi - done - -fi - -if [ ! -d $TMP ]; then - mkdir -p $TMP -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 ; ./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 - -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 - # --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 - -# 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 patchin with $CWD/php-with-_lib-$VERSION.diff.gz... - zcat $CWD/php-with-_lib-$VERSION.diff.gz | patch -p1 --verbose - 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 {} \; -# Patch ini files: - -if [ "$ARCH" == "x86_64" ]; then - zcat $CWD/php.ini-x86_64.diff.gz | patch -p1 --verbose --backup --suffix=.orig - # Fix an issue introduced in PHP 4.4.1 that breaks SquirrelMail and - # probably some other PHP applications: - #zcat $CWD/php.squirrel.diff.gz | patch -p1 --verbose || exit -else - zcat $CWD/php.ini.diff.gz | patch -p1 --verbose --backup --suffix=.orig -fi - -# Make the Apache module version of PHP: -echo "***START APACHE MODULE***" -php_configure --disable-static --with-apxs=/usr/sbin/apxs -make -j3 -make install INSTALL_ROOT=$PKG -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 -make -j3 -make install-cli INSTALL_ROOT=$PKG -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_php.conf.example $PKG/etc/apache -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 - diff --git a/patches/pine/pine.SlackBuild b/patches/pine/pine.SlackBuild deleted file mode 100755 index 56d0441d..00000000 --- a/patches/pine/pine.SlackBuild +++ /dev/null @@ -1,155 +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 -# - -# Set initial variables: - -CWD="`pwd`" - -if [ -f "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="pine" -VERSION=${VERSION:=4.64} -PINEPGP=${PINEPGP:=0.18.0} -ARCH=${ARCH:=i486} -PINEBUILD=${BUILD:=1rha} -IMAPDBUILD=${BUILD:=1rha} - -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" - fi - - if [ ! -f "$SRC_DIR/$PGP" ]; then - wget "$PGP_URL" -O "$SRC_DIR/$PGP" - 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 -cd $PKG2 -explodepkg $CWD/_imapd.tar.gz - -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 ) -fi - -zcat $CWD/pine-slackware.config.diff.gz | patch -p1 --backup --verbose -E || exit - -# Set default debug level to 0: -zcat $CWD/pine.debug.diff.gz | patch -p1 --backup --verbose -E || exit -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 -chown -R root.root . -./configure --prefix=/usr -make || exit 32 -make install DESTDIR=$PKG1 -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 -cd $PKG2 -makepkg -l y -c n $REPOS/imapd-$VERSION-$ARCH-$IMAPDBUILD.tgz - -# Clean up the extra stuff: -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP -fi - diff --git a/patches/sdl/sdl.SlackBuild b/patches/sdl/sdl.SlackBuild deleted file mode 100755 index 357414cb..00000000 --- a/patches/sdl/sdl.SlackBuild +++ /dev/null @@ -1,207 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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/smartmontools/smartmontools.SlackBuild b/patches/smartmontools/smartmontools.SlackBuild deleted file mode 100755 index f37c880c..00000000 --- a/patches/smartmontools/smartmontools.SlackBuild +++ /dev/null @@ -1,96 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.slackbuildrc -fi - -PACKAGE="smartmontools" -VERSION=${VERSION:=5.36} -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 - rm -f $SRC_DIR/$SRC.asc - wget "$URL" -O "$SRC_DIR/$SRC" - 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/sudo/sudo.SlackBuild b/patches/sudo/sudo.SlackBuild deleted file mode 100755 index 289ef526..00000000 --- a/patches/sudo/sudo.SlackBuild +++ /dev/null @@ -1,129 +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 "/etc/slackbuildrc" ]; then - source /etc/slackbuildrc -fi - -if [ -f "~/.slackbuildrc" ]; then - source ~/.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 - |