From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- network_daemons/apache/apache.build | 178 ++++++++++++++++++ network_daemons/apache/httpd-2.4.4-layout.patch.xz | Bin 0 -> 572 bytes .../apache/httpd-2.4.4-logrotate.patch.xz | Bin 0 -> 300 bytes network_daemons/apache/httpd-2.4.4-php.patch.xz | Bin 0 -> 308 bytes .../apache/httpd-2.4.4-service.patch.xz | Bin 0 -> 416 bytes .../apache/httpd-2.4.4-sysvinit.patch.xz | Bin 0 -> 400 bytes .../apache/httpd-2.4.4-tmpfilesd.patch.xz | Bin 0 -> 248 bytes .../chrony/chrony-1.26-slackware.patch.xz | Bin 0 -> 1048 bytes network_daemons/chrony/chrony.build | 62 +++++++ .../dnsmasq/dnsmasq-2.49-heimdal.patch.bz2 | Bin 0 -> 692 bytes .../dnsmasq/dnsmasq-2.49-mandir.patch.bz2 | Bin 0 -> 251 bytes .../dnsmasq/dnsmasq-2.49-paths.patch.bz2 | Bin 0 -> 686 bytes .../dnsmasq/dnsmasq-2.50-manpage.patch.xz | Bin 0 -> 472 bytes network_daemons/dnsmasq/dnsmasq.SlackBuild | 88 +++++++++ .../dovecot/dovecot-1.0.3-slackware.patch.bz2 | Bin 0 -> 2505 bytes network_daemons/dovecot/dovecot.SlackBuild | 123 +++++++++++++ network_daemons/exim/exim-4.43-heimdal.patch.bz2 | Bin 0 -> 13840 bytes network_daemons/exim/exim.SlackBuild | 128 +++++++++++++ .../hostapd/hostapd-0.6.9-config.patch.bz2 | Bin 0 -> 1894 bytes .../hostapd/hostapd-0.6.9-install.patch.bz2 | Bin 0 -> 664 bytes .../hostapd/hostapd-0.6.9-nodumpstate.patch.bz2 | Bin 0 -> 336 bytes .../hostapd/hostapd-0.6.9-optflags.patch.bz2 | Bin 0 -> 300 bytes .../hostapd/hostapd-0.6.9-rt73usbhack.patch.bz2 | Bin 0 -> 451 bytes .../hostapd/hostapd-0.6.9-slackware.patch.bz2 | Bin 0 -> 747 bytes network_daemons/hostapd/hostapd.SlackBuild | 100 ++++++++++ .../miniupnpd/miniupnpd-1.3-config.patch.bz2 | Bin 0 -> 562 bytes .../miniupnpd/miniupnpd-1.3-etc.patch.bz2 | Bin 0 -> 307 bytes .../miniupnpd/miniupnpd-1.3-fixes.patch.bz2 | Bin 0 -> 2595 bytes .../miniupnpd/miniupnpd-1.3-iptablespath.patch.bz2 | Bin 0 -> 523 bytes .../miniupnpd/miniupnpd-1.3-makefile.patch.bz2 | Bin 0 -> 694 bytes .../miniupnpd/miniupnpd-1.3-manpage.patch.bz2 | Bin 0 -> 1379 bytes .../miniupnpd/miniupnpd-1.3-optflags.patch.bz2 | Bin 0 -> 321 bytes .../miniupnpd/miniupnpd-1.3-slackware.patch.bz2 | Bin 0 -> 762 bytes network_daemons/miniupnpd/miniupnpd.SlackBuild | 88 +++++++++ .../ngircd/ngircd-15rc1-heimdal.patch.xz | Bin 0 -> 900 bytes network_daemons/ngircd/ngircd.SlackBuild | 95 ++++++++++ .../samba/samba-3.0.26a-heimdal.patch.bz2 | Bin 0 -> 5378 bytes network_daemons/samba/samba.build | 204 +++++++++++++++++++++ network_daemons/uhub/uhub-0.2.8-config.patch.bz2 | Bin 0 -> 1126 bytes network_daemons/uhub/uhub-0.2.8-optflags.patch.bz2 | Bin 0 -> 296 bytes network_daemons/uhub/uhub-0.2.8-slackware.patch.xz | Bin 0 -> 892 bytes network_daemons/uhub/uhub.SlackBuild | 97 ++++++++++ network_daemons/vsftpd/vsftpd-2.3.5-aslim.patch.xz | Bin 0 -> 336 bytes .../vsftpd/vsftpd-2.3.5-builddefs.patch.xz | Bin 0 -> 280 bytes network_daemons/vsftpd/vsftpd-2.3.5-clone.patch.xz | Bin 0 -> 392 bytes .../vsftpd/vsftpd-2.3.5-closestdfds.patch.xz | Bin 0 -> 324 bytes .../vsftpd/vsftpd-2.3.5-config.patch.xz | Bin 0 -> 1624 bytes .../vsftpd/vsftpd-2.3.5-configfilepath.patch.xz | Bin 0 -> 5948 bytes .../vsftpd/vsftpd-2.3.5-daemonizeplus.patch.xz | Bin 0 -> 1584 bytes .../vsftpd/vsftpd-2.3.5-filter.patch.xz | Bin 0 -> 892 bytes .../vsftpd/vsftpd-2.3.5-logrotate.patch.xz | Bin 0 -> 256 bytes .../vsftpd/vsftpd-2.3.5-openssl.patch.xz | Bin 0 -> 404 bytes network_daemons/vsftpd/vsftpd-2.3.5-pam.patch.xz | Bin 0 -> 348 bytes .../vsftpd/vsftpd-2.3.5-pamhostname.patch.xz | Bin 0 -> 908 bytes .../vsftpd/vsftpd-2.3.5-slackware.patch.xz | Bin 0 -> 464 bytes network_daemons/vsftpd/vsftpd-2.3.5-sqb.patch.xz | Bin 0 -> 1672 bytes .../vsftpd/vsftpd-2.3.5-systemd.patch.xz | Bin 0 -> 324 bytes .../vsftpd/vsftpd-2.3.5-systemdman.patch.xz | Bin 0 -> 868 bytes network_daemons/vsftpd/vsftpd-2.3.5-trim.patch.xz | Bin 0 -> 924 bytes .../vsftpd/vsftpd-2.3.5-userlistlog.patch.xz | Bin 0 -> 1520 bytes .../vsftpd/vsftpd-2.3.5-wildchar.patch.xz | Bin 0 -> 464 bytes network_daemons/vsftpd/vsftpd.build | 65 +++++++ 62 files changed, 1228 insertions(+) create mode 100755 network_daemons/apache/apache.build create mode 100644 network_daemons/apache/httpd-2.4.4-layout.patch.xz create mode 100644 network_daemons/apache/httpd-2.4.4-logrotate.patch.xz create mode 100644 network_daemons/apache/httpd-2.4.4-php.patch.xz create mode 100644 network_daemons/apache/httpd-2.4.4-service.patch.xz create mode 100644 network_daemons/apache/httpd-2.4.4-sysvinit.patch.xz create mode 100644 network_daemons/apache/httpd-2.4.4-tmpfilesd.patch.xz create mode 100644 network_daemons/chrony/chrony-1.26-slackware.patch.xz create mode 100755 network_daemons/chrony/chrony.build create mode 100644 network_daemons/dnsmasq/dnsmasq-2.49-heimdal.patch.bz2 create mode 100644 network_daemons/dnsmasq/dnsmasq-2.49-mandir.patch.bz2 create mode 100644 network_daemons/dnsmasq/dnsmasq-2.49-paths.patch.bz2 create mode 100644 network_daemons/dnsmasq/dnsmasq-2.50-manpage.patch.xz create mode 100755 network_daemons/dnsmasq/dnsmasq.SlackBuild create mode 100644 network_daemons/dovecot/dovecot-1.0.3-slackware.patch.bz2 create mode 100755 network_daemons/dovecot/dovecot.SlackBuild create mode 100644 network_daemons/exim/exim-4.43-heimdal.patch.bz2 create mode 100755 network_daemons/exim/exim.SlackBuild create mode 100644 network_daemons/hostapd/hostapd-0.6.9-config.patch.bz2 create mode 100644 network_daemons/hostapd/hostapd-0.6.9-install.patch.bz2 create mode 100644 network_daemons/hostapd/hostapd-0.6.9-nodumpstate.patch.bz2 create mode 100644 network_daemons/hostapd/hostapd-0.6.9-optflags.patch.bz2 create mode 100644 network_daemons/hostapd/hostapd-0.6.9-rt73usbhack.patch.bz2 create mode 100644 network_daemons/hostapd/hostapd-0.6.9-slackware.patch.bz2 create mode 100755 network_daemons/hostapd/hostapd.SlackBuild create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-config.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-etc.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-fixes.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-iptablespath.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-makefile.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-manpage.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-optflags.patch.bz2 create mode 100644 network_daemons/miniupnpd/miniupnpd-1.3-slackware.patch.bz2 create mode 100755 network_daemons/miniupnpd/miniupnpd.SlackBuild create mode 100644 network_daemons/ngircd/ngircd-15rc1-heimdal.patch.xz create mode 100755 network_daemons/ngircd/ngircd.SlackBuild create mode 100644 network_daemons/samba/samba-3.0.26a-heimdal.patch.bz2 create mode 100755 network_daemons/samba/samba.build create mode 100644 network_daemons/uhub/uhub-0.2.8-config.patch.bz2 create mode 100644 network_daemons/uhub/uhub-0.2.8-optflags.patch.bz2 create mode 100644 network_daemons/uhub/uhub-0.2.8-slackware.patch.xz create mode 100755 network_daemons/uhub/uhub.SlackBuild create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-aslim.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-builddefs.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-clone.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-closestdfds.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-config.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-configfilepath.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-daemonizeplus.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-filter.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-logrotate.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-openssl.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-pam.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-pamhostname.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-slackware.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-sqb.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-systemd.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-systemdman.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-trim.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-userlistlog.patch.xz create mode 100644 network_daemons/vsftpd/vsftpd-2.3.5-wildchar.patch.xz create mode 100755 network_daemons/vsftpd/vsftpd.build (limited to 'network_daemons') diff --git a/network_daemons/apache/apache.build b/network_daemons/apache/apache.build new file mode 100755 index 0000000..5038f99 --- /dev/null +++ b/network_daemons/apache/apache.build @@ -0,0 +1,178 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=apache +VERSION=2.4.4 +BUILD=2 +DEPENDS=('apr >= 1.4.6-1' 'expat >= 2.1.0-1' 'pcre >= 8.32-1') +OPTDEPENDS=('file >= 5.14-1' 'openssl >= 1.0.1e-1' 'lua >= 5.2.2-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null 2> /dev/null ; then + true +else + echo "apache:x:80:80:Apache:/srv/www:/bin/false" >> etc/passwd +fi +if grep "^apache:x:" etc/group 1> /dev/null 2> /dev/null ; then + true +else + echo "apache:x:80:" >> etc/group +fi +if grep "^apache:" etc/shadow 1> /dev/null 2> /dev/null ; then + true +else + echo "apache:*:9797:0:::::" >> etc/shadow +fi + +# Create apache's run directory if it isn't there + +if [ ! -d run/apache ]; then + install -m 0755 -d run/apache +fi + +config etc/rc.d/rc.httpd.new +config etc/logrotate.d/apache.new + +# Now copy the Apache config files into place if there are not existing copies: + +for cfgfile in httpd.conf magic mime.types; do + if [ ! -f etc/apache/\${cfgfile} ]; then + cp -a etc/apache/\${cfgfile}.default etc/apache/\${cfgfile} + fi +done +EOF + +# Sources + +SRCNAME[0]=httpd +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.apache.org/dist/httpd/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 + +configure() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-so \ + --with-mpm=worker \ + --enable-layout=Slackware \ + --enable-mpms-shared=all \ + --enable-mods-shared=all \ + --enable-modules=all \ + --enable-pie \ + --enable-ssl \ + --enable-dbd \ + --enable-cgi \ + --enable-cgid \ + --enable-deflate \ + --enable-rewrite \ + --enable-vhost-alias \ + --enable-proxy \ + --enable-proxy-http \ + --enable-proxy-ftp \ + --enable-proxy-connect \ + --enable-cache \ + --enable-mem-cache \ + --enable-file-cache \ + --enable-disk-cache \ + --enable-authn-anon \ + --enable-authn-dbd \ + --enable-authn-dbm \ + --enable-authz-dbd \ + --enable-authz-dbm \ + --enable-dav-fs \ + --disable-ldap \ + --with-libxml2 \ + --with-pcre="${SYS_DIR[usr]}" + ${*} + # --enable-ldap \ + # --enable-authnz-ldap \ + # --enable-lua \ + # --enable-luajit \ +} + +build0() +{ +sed -e 's|User daemon|User apache|g' \ + -e 's|Group daemon|Group apache|g' \ + -i docs/conf/httpd.conf.in +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc ABOUT_APACHE README +changelog CHANGES +license LICENSE +install.dir ${PKG}${SYS_DIR[etc]}/{rc.d,tmpfiles.d,logrotate.d} +install.bin rc.httpd.new ${PKG}${SYS_DIR[etc]}/rc.d +install.cfg apache.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/apache.conf +install.cfg apache.logrotate ${PKG}${SYS_DIR[etc]}/logrotate.d/apache.new +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.cfg apache.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +mv \ + ${PKG}${SYS_DIR[etc]}/apache/httpd.conf \ + ${PKG}${SYS_DIR[etc]}/apache/httpd.conf.default +mv \ + ${PKG}${SYS_DIR[etc]}/apache/mime.types \ + ${PKG}${SYS_DIR[etc]}/apache/mime.types.default +mv \ + ${PKG}${SYS_DIR[etc]}/apache/magic \ + ${PKG}${SYS_DIR[etc]}/apache/magic.default +rm -rf \ + ${PKG}${SYS_DIR[run]} +sed \ + -e 's|#\(LoadModule negotiation_module \)|\1|' \ + -e 's|#\(LoadModule include_module \)|\1|' \ + -e 's|#\(LoadModule userdir_module \)|\1|' \ + -e 's|#\(LoadModule slotmem_shm_module \)|\1|' \ + -e 's|#\(Include /etc/apache/extra/httpd-multilang-errordoc.conf\)|\1|' \ + -e 's|#\(Include /etc/apache/extra/httpd-autoindex.conf\)|\1|' \ + -e 's|#\(Include /etc/apache/extra/httpd-languages.conf\)|\1|' \ + -e 's|#\(Include /etc/apache/extra/httpd-userdir.conf\)|\1|' \ + -e 's|#\(Include /etc/apache/extra/httpd-default.conf\)|\1|' \ + -e 's|#\(Include /etc/apache/extra/httpd-mpm.conf\)|\1|' \ + -i ${PKG}${SYS_DIR[etc]}/apache/httpd.conf.default +} diff --git a/network_daemons/apache/httpd-2.4.4-layout.patch.xz b/network_daemons/apache/httpd-2.4.4-layout.patch.xz new file mode 100644 index 0000000..e068367 Binary files /dev/null and b/network_daemons/apache/httpd-2.4.4-layout.patch.xz differ diff --git a/network_daemons/apache/httpd-2.4.4-logrotate.patch.xz b/network_daemons/apache/httpd-2.4.4-logrotate.patch.xz new file mode 100644 index 0000000..aeaf786 Binary files /dev/null and b/network_daemons/apache/httpd-2.4.4-logrotate.patch.xz differ diff --git a/network_daemons/apache/httpd-2.4.4-php.patch.xz b/network_daemons/apache/httpd-2.4.4-php.patch.xz new file mode 100644 index 0000000..0e67062 Binary files /dev/null and b/network_daemons/apache/httpd-2.4.4-php.patch.xz differ diff --git a/network_daemons/apache/httpd-2.4.4-service.patch.xz b/network_daemons/apache/httpd-2.4.4-service.patch.xz new file mode 100644 index 0000000..b330a99 Binary files /dev/null and b/network_daemons/apache/httpd-2.4.4-service.patch.xz differ diff --git a/network_daemons/apache/httpd-2.4.4-sysvinit.patch.xz b/network_daemons/apache/httpd-2.4.4-sysvinit.patch.xz new file mode 100644 index 0000000..48a3ed0 Binary files /dev/null and b/network_daemons/apache/httpd-2.4.4-sysvinit.patch.xz differ diff --git a/network_daemons/apache/httpd-2.4.4-tmpfilesd.patch.xz b/network_daemons/apache/httpd-2.4.4-tmpfilesd.patch.xz new file mode 100644 index 0000000..c84d193 Binary files /dev/null and b/network_daemons/apache/httpd-2.4.4-tmpfilesd.patch.xz differ diff --git a/network_daemons/chrony/chrony-1.26-slackware.patch.xz b/network_daemons/chrony/chrony-1.26-slackware.patch.xz new file mode 100644 index 0000000..5bf58bd Binary files /dev/null and b/network_daemons/chrony/chrony-1.26-slackware.patch.xz differ diff --git a/network_daemons/chrony/chrony.build b/network_daemons/chrony/chrony.build new file mode 100755 index 0000000..734e172 --- /dev/null +++ b/network_daemons/chrony/chrony.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=chrony +VERSION=1.26 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < $PKG/install/slack-desc < /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/network_daemons/dovecot/dovecot-1.0.3-slackware.patch.bz2 b/network_daemons/dovecot/dovecot-1.0.3-slackware.patch.bz2 new file mode 100644 index 0000000..f40ec82 Binary files /dev/null and b/network_daemons/dovecot/dovecot-1.0.3-slackware.patch.bz2 differ diff --git a/network_daemons/dovecot/dovecot.SlackBuild b/network_daemons/dovecot/dovecot.SlackBuild new file mode 100755 index 0000000..f8f07b4 --- /dev/null +++ b/network_daemons/dovecot/dovecot.SlackBuild @@ -0,0 +1,123 @@ +#!/bin/sh + +CWD=`pwd` +NAME=dovecot +VERSION=1.0.3 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://www.dovecot.org/releases/1.0 +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-slackware.patch.bz2 | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --enable-static=no \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-ssldir=/etc/ssl \ + --with-ssl=openssl \ + --enable-ipv6 \ + --with-shadow \ + --without-pam \ + --with-sql-drivers \ + --with-sql \ + --with-mysql \ + --with-sqlite +make + +# Install +make install prefix=$PKG/usr +mkdir -p $PKG/install $PKG/usr/doc $PKG/etc/rc.d \ + $PKG/var/run/dovecot/login +cat > $PKG/install/slack-desc < $PKG/install/slack-required <= 0.9.8e-i486-1 +EOF + +mv $PKG/usr/share/doc/dovecot \ + $PKG/usr/doc/$NAME-$VERSION + +install -m0644 -g0 -o0 AUTHORS ChangeLog README NEWS TODO \ + dovecot-example.conf doc/*.cnf doc/*.conf doc/mkcert.sh \ + $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf $PKG/usr/doc/$NAME-$VERSION/ChangeLog \ + $PKG/usr/doc/$NAME-$VERSION/NEWS \ + $PKG/usr/doc/$NAME-$VERSION/TODO \ + $PKG/usr/doc/$NAME-$VERSION/dovecot-example.conf + +( + cd $PKG/usr/doc/$NAME-$VERSION + mv wiki dovecot_docs + tar -c dovecot_docs > dovecot_docs.tar + gzip -9nf dovecot_docs.tar + rm -rf dovecot_docs +) + +rm -rf $PKG/usr/share $PKG/usr/include +rm -f \ + $PKG/usr/doc/$NAME-$VERSION/securecoding.txt \ + $PKG/etc/dovecot-example.conf \ + $PKG/usr/lib/dovecot/*.la \ + $PKG/usr/lib/dovecot/*/*.la + +install -m0644 rc.dovecot $PKG/etc/rc.d/rc.dovecot.new +install -m0644 dovecot.conf.slack $PKG/etc/dovecot-sample.conf +install -m0644 doinst.sh $PKG/install + +strip --strip-unneeded \ + $PKG/usr/lib/dovecot/*.so* ||: + +strip \ + $PKG/usr/libexec/dovecot/* \ + $PKG/usr/sbin/* ||: + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/network_daemons/exim/exim-4.43-heimdal.patch.bz2 b/network_daemons/exim/exim-4.43-heimdal.patch.bz2 new file mode 100644 index 0000000..2b28319 Binary files /dev/null and b/network_daemons/exim/exim-4.43-heimdal.patch.bz2 differ diff --git a/network_daemons/exim/exim.SlackBuild b/network_daemons/exim/exim.SlackBuild new file mode 100755 index 0000000..93da08d --- /dev/null +++ b/network_daemons/exim/exim.SlackBuild @@ -0,0 +1,128 @@ +#!/bin/sh + +CWD=`pwd` +NAME=exim +VERSION=4.43 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +#FAQ=FAQ.txt.gz +#SAMPLES=config.samples.tar.gz +REPOSITORY=ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4 +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi +#if [ ! -e $FAQ ]; then +# if `wget "$REPOSITORY/$FAQ"`; then +# true +# else +# exit 1 +# fi +#fi +#if [ ! -e $SAMPLES ]; then +# if `wget "$REPOSITORY/$SAMPLES"`; then +# true +# else +# exit 1 +# fi +#fi + + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-heimdal.patch.bz2 | patch -p1 -s +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/etc/rc.d \ + $PKG/etc/logrotate.d $PKG/var/spool/exim $PKG/var/log/exim $PKG/usr/man/man8 +cat > $PKG/install/slack-desc < $PKG/install/slack-required <= 0.9.7d-i486-1 +EOF + +install -m644 -g0 -o0 doinst.sh $PKG/install + +# Documentation +install -m444 -g0 -o0 doc/exim.8 $PKG/usr/man/man8 +( + cd doc + mv README README.doc + rm -f exim.8 +) +install -m644 -g0 -o0 ACKNOWLEDGMENTS LICENCE NOTICE README* \ + doc/* $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf \ + $PKG/usr/doc/$NAME-$VERSION/ACKNOWLEDGMENTS \ + $PKG/usr/doc/$NAME-$VERSION/README* \ + $PKG/usr/doc/$NAME-$VERSION/LICENCE \ + $PKG/usr/doc/$NAME-$VERSION/ChangeLog \ + $PKG/usr/doc/$NAME-$VERSION/*.upgrade \ + $PKG/usr/doc/$NAME-$VERSION/*.txt \ + $PKG/usr/doc/$NAME-$VERSION/NewStuff + # don't forget faq / samples! + +#install -m644 -g0 -o0 $CWD/$FAQ $PKG/usr/doc/$NAME-$VERSION +#install -m644 -g0 -o0 $CWD/$SAMPLES $PKG/usr/doc/$NAME-$VERSION +# End Documentation + +# Configuration +install -m644 -g0 -o0 exim.logrotate $PKG/etc/logrotate.d/exim +install -m644 -g0 -o0 rc.exim $PKG/etc/rc.d/rc.exim.new +mv $PKG/etc/aliases $PKG/etc/aliases.sample +mv $PKG/etc/mail/exim.conf $PKG/etc/mail/exim.conf.sample +# End Configuration + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? + +strip $PKG/usr/sbin/* || : + +chown -R root.root $PKG +chown mail.mail $PKG/var/spool/exim $PKG/var/log/exim +chgrp bin $PKG/usr/sbin/* $PKG/usr/sbin + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/network_daemons/hostapd/hostapd-0.6.9-config.patch.bz2 b/network_daemons/hostapd/hostapd-0.6.9-config.patch.bz2 new file mode 100644 index 0000000..d34cb35 Binary files /dev/null and b/network_daemons/hostapd/hostapd-0.6.9-config.patch.bz2 differ diff --git a/network_daemons/hostapd/hostapd-0.6.9-install.patch.bz2 b/network_daemons/hostapd/hostapd-0.6.9-install.patch.bz2 new file mode 100644 index 0000000..786055c Binary files /dev/null and b/network_daemons/hostapd/hostapd-0.6.9-install.patch.bz2 differ diff --git a/network_daemons/hostapd/hostapd-0.6.9-nodumpstate.patch.bz2 b/network_daemons/hostapd/hostapd-0.6.9-nodumpstate.patch.bz2 new file mode 100644 index 0000000..014f2ee Binary files /dev/null and b/network_daemons/hostapd/hostapd-0.6.9-nodumpstate.patch.bz2 differ diff --git a/network_daemons/hostapd/hostapd-0.6.9-optflags.patch.bz2 b/network_daemons/hostapd/hostapd-0.6.9-optflags.patch.bz2 new file mode 100644 index 0000000..6931db6 Binary files /dev/null and b/network_daemons/hostapd/hostapd-0.6.9-optflags.patch.bz2 differ diff --git a/network_daemons/hostapd/hostapd-0.6.9-rt73usbhack.patch.bz2 b/network_daemons/hostapd/hostapd-0.6.9-rt73usbhack.patch.bz2 new file mode 100644 index 0000000..7a0e68e Binary files /dev/null and b/network_daemons/hostapd/hostapd-0.6.9-rt73usbhack.patch.bz2 differ diff --git a/network_daemons/hostapd/hostapd-0.6.9-slackware.patch.bz2 b/network_daemons/hostapd/hostapd-0.6.9-slackware.patch.bz2 new file mode 100644 index 0000000..7991d95 Binary files /dev/null and b/network_daemons/hostapd/hostapd-0.6.9-slackware.patch.bz2 differ diff --git a/network_daemons/hostapd/hostapd.SlackBuild b/network_daemons/hostapd/hostapd.SlackBuild new file mode 100755 index 0000000..d766a03 --- /dev/null +++ b/network_daemons/hostapd/hostapd.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +CWD=`pwd` +NAME=hostapd +VERSION=0.6.9 +ARCH=i586 +BUILD=1rt73usb +#BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://hostap.epitest.fi/releases +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-install.patch.bz2 | patch -p1 -s +#bzcat $CWD/$NAME-$VERSION-nodumpstate.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-rt73usbhack.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-config.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-slackware.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-optflags.patch.bz2 | patch -p1 -s +( +cd hostapd +make OPTS="${FLAGS}" +) + +# Install +( +cd hostapd +make install \ + DESTDIR=$PKG \ + SYSCONFDIR=/etc/conf.d \ + MANDIR=/usr/man \ + DOCDIR=/usr/doc/${NAME}-${VERSION} +) +mkdir -p $PKG/install $PKG/etc/rc.d +cat > $PKG/install/slack-desc < $PKG/install/slack-required <= 1.1-i486-1 +openssl-solibs >= 0.9.8i-i486-1 +EOF + +install -m 0755 doinst.sh ${PKG}/install + +install -m 0644 rc.hostapd ${PKG}/etc/rc.d/rc.hostapd.new + +mv ${PKG}/etc/conf.d/hostapd.conf ${PKG}/etc/conf.d/hostapd.conf.new + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? + +strip \ + ${PKG}/usr/bin/* \ + ${PKG}/usr/sbin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-config.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-config.patch.bz2 new file mode 100644 index 0000000..b0017e2 Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-config.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-etc.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-etc.patch.bz2 new file mode 100644 index 0000000..9b02862 Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-etc.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-fixes.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-fixes.patch.bz2 new file mode 100644 index 0000000..a7a6a62 Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-fixes.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-iptablespath.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-iptablespath.patch.bz2 new file mode 100644 index 0000000..537ec2c Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-iptablespath.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-makefile.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-makefile.patch.bz2 new file mode 100644 index 0000000..4285d56 Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-makefile.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-manpage.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-manpage.patch.bz2 new file mode 100644 index 0000000..8fc5454 Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-manpage.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-optflags.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-optflags.patch.bz2 new file mode 100644 index 0000000..8b82d14 Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-optflags.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd-1.3-slackware.patch.bz2 b/network_daemons/miniupnpd/miniupnpd-1.3-slackware.patch.bz2 new file mode 100644 index 0000000..eae4a8c Binary files /dev/null and b/network_daemons/miniupnpd/miniupnpd-1.3-slackware.patch.bz2 differ diff --git a/network_daemons/miniupnpd/miniupnpd.SlackBuild b/network_daemons/miniupnpd/miniupnpd.SlackBuild new file mode 100755 index 0000000..5bca27e --- /dev/null +++ b/network_daemons/miniupnpd/miniupnpd.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +CWD=`pwd` +NAME=miniupnpd +VERSION=1.3 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://miniupnp.free.fr/files +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-fixes.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-optflags.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-makefile.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-config.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-etc.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-manpage.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-iptablespath.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-slackware.patch.bz2 | patch -p1 -s +make -f Makefile.linux OPTFLAGS="${FLAGS} -DIPTABLES_143 -I/usr/src/linux/include" + +# Install +make -f Makefile.linux install PREFIX=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +cat > $PKG/install/slack-desc < /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/network_daemons/ngircd/ngircd-15rc1-heimdal.patch.xz b/network_daemons/ngircd/ngircd-15rc1-heimdal.patch.xz new file mode 100644 index 0000000..15991c0 Binary files /dev/null and b/network_daemons/ngircd/ngircd-15rc1-heimdal.patch.xz differ diff --git a/network_daemons/ngircd/ngircd.SlackBuild b/network_daemons/ngircd/ngircd.SlackBuild new file mode 100755 index 0000000..f08738f --- /dev/null +++ b/network_daemons/ngircd/ngircd.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +CWD=`pwd` +NAME=ngircd +VERSION=15rc1 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=15~rc1 +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=ftp://ftp.berlios.de/pub/ngircd +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +lzcat $CWD/$NAME-$VERSION-heimdal.patch.xz | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --build=${ARCH}-slackware-linux \ + --prefix=/usr \ + --sysconfdir=/etc/conf.d \ + --mandir=/usr/man \ + --localstatedir=/var \ + --with-openssl \ + --enable-ipv6 +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/etc/rc.d +cat > $PKG/install/slack-desc < /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/network_daemons/samba/samba-3.0.26a-heimdal.patch.bz2 b/network_daemons/samba/samba-3.0.26a-heimdal.patch.bz2 new file mode 100644 index 0000000..6ee4e84 Binary files /dev/null and b/network_daemons/samba/samba-3.0.26a-heimdal.patch.bz2 differ diff --git a/network_daemons/samba/samba.build b/network_daemons/samba/samba.build new file mode 100755 index 0000000..5ac1677 --- /dev/null +++ b/network_daemons/samba/samba.build @@ -0,0 +1,204 @@ +#!/bin/bash + +source /usr/src/ports/Build/build.sh + +PACKAGER="Witukind " +ARCH=i586 +BUILD=1 + +# Sources +SRCNAME[0]=samba +SRCVER[0]=3.0.26a +SRCREP[0]=http://www.samba.org/samba/ftp +SRCPKG[0]=${SRCNAME[0]}-${SRCVER[0]}.tar.gz +SRCROOT[0]=${SRCNAME[0]}-${SRCVER[0]} + +# Packages +PKGNAME[0]=${SRCNAME[0]}_server +PKGVER[0]=${SRCVER[0]} +PKGARCH[0]=${ARCH} +PKGOPTS[0]="nodocdir" + +PKGNAME[1]=${SRCNAME[0]}_client +PKGVER[1]=${SRCVER[0]} +PKGARCH[1]=${ARCH} +PKGOPTS[1]="nodocdir" + +PKGNAME[2]=${SRCNAME[0]}_lib +PKGVER[2]=${SRCVER[0]} +PKGARCH[2]=${ARCH} +PKGOPTS[2]="nodocdir" + +PKGNAME[3]=${SRCNAME[0]}_dev +PKGVER[3]=${SRCVER[0]} +PKGARCH[3]=${ARCH} +PKGOPTS[3]="nodocdir" + +PKGNAME[4]=swat +PKGVER[4]=${SRCVER[0]} +PKGARCH[4]=${ARCH} +PKGOPTS[4]="nodocdir" + +begin + +( + cd ${SRC[0]}/source + CFLAGS=${DISTFLAGS} CXXFLAGS=${DISTFLAGS} \ + ./configure \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --libdir=/usr/lib \ + --libexecdir=/usr/libexec \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --with-lockdir=/var/cache/samba \ + --with-configdir=/etc/samba \ + --with-privatedir=/etc/samba/private \ + --with-swatdir=/srv/www/swat \ + --enable-cups \ + --with-fhs \ + --with-acl-support=yes \ + --with-automount \ + --with-smbmount \ + --with-quotas \ + --with-syslog \ + --with-utmp \ + --with-libsmbclient \ + --with-winbind \ + --with-ldap \ + $ARCH-pc-linux-gnu + make + make install DESTDIR=${PKG[0]} + + cd .. + + mv \ + ${PKG[0]}/usr/share/man \ + ${PKG[0]}/usr + + mkdir -p \ + ${PKG[4]}/usr/{sbin,man/man8} \ + ${PKG[3]}/usr/include \ + ${PKG[2]}/{lib,usr/lib,usr/man/man7} \ + ${PKG[1]}/usr/{bin,sbin,man/{man1,man5,man8}} \ + ${PKG[0]}/etc/{rc.d,samba/private} \ + ${PKG[0]}/{lib,var/{spool/samba,cache/samba,log/samba}} + + # samba_server + install -m0640 ${SRC[0]}/heimdal/smb.conf.default \ + ${PKG[0]}/etc/samba + install -m0644 ${SRC[0]}/heimdal/rc.samba \ + ${PKG[0]}/etc/rc.d + + rm -f \ + ${PKG[0]}/usr/man/man7/pam_winbind.7 + + rmdir \ + ${PKG[0]}/usr/share \ + ${PKG[0]}/lib \ + ${PKG[0]}/var/run \ + + # samba_client + mv \ + ${PKG[0]}/usr/sbin/umount.cifs \ + ${PKG[0]}/usr/sbin/mount.cifs \ + ${PKG[1]}/usr/sbin + + mv \ + ${PKG[0]}/usr/man/man8/umount.cifs.8 \ + ${PKG[0]}/usr/man/man8/mount.cifs.8 \ + ${PKG[1]}/usr/man/man8 + + mv \ + ${PKG[0]}/usr/bin/smbmount \ + ${PKG[0]}/usr/bin/smbumount \ + ${PKG[0]}/usr/bin/smbmnt \ + ${PKG[0]}/usr/bin/rpcclient \ + ${PKG[1]}/usr/sbin + + mv \ + ${PKG[0]}/usr/man/man8/smbmount.8 \ + ${PKG[0]}/usr/man/man8/smbumount.8 \ + ${PKG[0]}/usr/man/man8/smbmnt.8 \ + ${PKG[0]}/usr/man/man8/rpcclient.8 \ + ${PKG[1]}/usr/man/man8 + + mv \ + ${PKG[0]}/usr/bin/smbtree \ + ${PKG[0]}/usr/bin/smbtar \ + ${PKG[0]}/usr/bin/smbget \ + ${PKG[0]}/usr/bin/smbspool \ + ${PKG[0]}/usr/bin/smbcacls \ + ${PKG[0]}/usr/bin/smbcquotas \ + ${PKG[0]}/usr/bin/smbclient \ + ${PKG[0]}/usr/bin/findsmb \ + ${PKG[1]}/usr/bin + + mv \ + ${PKG[0]}/usr/man/man1/smbtree.1 \ + ${PKG[0]}/usr/man/man1/smbtar.1 \ + ${PKG[0]}/usr/man/man1/smbget.1 \ + ${PKG[0]}/usr/man/man1/smbcacls.1 \ + ${PKG[0]}/usr/man/man1/smbcquotas.1 \ + ${PKG[0]}/usr/man/man1/smbclient.1 \ + ${PKG[0]}/usr/man/man1/findsmb.1 \ + ${PKG[1]}/usr/man/man1 + + mv \ + ${PKG[0]}/usr/man/man8/smbspool.8 \ + ${PKG[1]}/usr/man/man1/smbspool.1 + + mv \ + ${PKG[0]}/usr/man/man5/smbgetrc.5 \ + ${PKG[1]}/usr/man/man5 + + # samba_lib + + mv \ + ${PKG[0]}/usr/libexec/samba/libsmbclient.so \ + ${PKG[2]}/usr/lib/libsmbclient.so.0.0 + + ( + cd ${PKG[2]}/usr/lib/samba + rm -f libsmbclient.a + ln -sf /usr/lib/libsmbclient.so.0.0 libsmbclient.so + cd ${PKG[2]}/usr/lib + rm -f libsmbclient.so.0 libsmbclient.so libsmbclient.a + ln -sf libsmbclient.so.0.0 libsmbclient.so.0 + ln -sf libsmbclient.so.0.0 libsmbclient.so + ) + + cp -a \ + ${SRC[0]}/source/nsswitch/libnss_winbind.so \ + ${PKG[2]}/lib/libnss_winbind.so.2 + cp -a \ + ${SRC[0]}/source/nsswitch/libnss_wins.so \ + ${PKG[2]}/lib/libnss_wins.so.2 + + ( + cd ${PKG[2]}/lib + ln -sf libnss_winbind.so.2 libnss_winbind.so + ln -sf libnss_wins.so.2 libnss_wins.so + ) + + mv \ + ${PKG[0]}/usr/man/man7/libsmbclient.7 \ + ${PKG[0]}/usr/man/man7/samba.7 \ + ${PKG[2]}/usr/man/man7 + + # samba_dev + install -m0644 ${PKG[0]}/usr/include/*.h ${PKG[3]}/usr/include + + # swat + mv ${PKG[0]}/srv ${PKG[4]} + mv ${PKG[0]}/usr/sbin/swat ${PKG[4]}/usr/sbin + mv ${PKG[0]}/usr/man/man8/swat.8 ${PKG[4]}/usr/man/man8 + + rm -rf ${PKG[0]}/usr/include +) + +end diff --git a/network_daemons/uhub/uhub-0.2.8-config.patch.bz2 b/network_daemons/uhub/uhub-0.2.8-config.patch.bz2 new file mode 100644 index 0000000..9e85e86 Binary files /dev/null and b/network_daemons/uhub/uhub-0.2.8-config.patch.bz2 differ diff --git a/network_daemons/uhub/uhub-0.2.8-optflags.patch.bz2 b/network_daemons/uhub/uhub-0.2.8-optflags.patch.bz2 new file mode 100644 index 0000000..d25a224 Binary files /dev/null and b/network_daemons/uhub/uhub-0.2.8-optflags.patch.bz2 differ diff --git a/network_daemons/uhub/uhub-0.2.8-slackware.patch.xz b/network_daemons/uhub/uhub-0.2.8-slackware.patch.xz new file mode 100644 index 0000000..203e4d7 Binary files /dev/null and b/network_daemons/uhub/uhub-0.2.8-slackware.patch.xz differ diff --git a/network_daemons/uhub/uhub.SlackBuild b/network_daemons/uhub/uhub.SlackBuild new file mode 100755 index 0000000..a25617b --- /dev/null +++ b/network_daemons/uhub/uhub.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +CWD=`pwd` +NAME=uhub +VERSION=0.2.8 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR-src.tar.bz2 +REPOSITORY=http://www.extatic.org/downloads/uhub +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-slackware.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-config.patch.bz2 | patch -p1 -s +bzcat $CWD/$NAME-$VERSION-optflags.patch.bz2 | patch -p1 -s + +function build +{ +make \ + SILENT=NO \ + USE_SSL=YES \ + STACK_PROTECT=YES \ + RELEASE=YES \ + OPTS="${FLAGS}" \ + ${*} +} + +# Install +build install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/etc/rc.d +cat > $PKG/install/slack-desc < $PKG/install/slack-required <= 1.4.9-i486-1 +openssl-solibs >= 0.9.8i-i486-1 +EOF + +install -m 0644 -g 0 -o 0 doinst.sh $PKG/install + +install -m 0644 -g 0 -o 0 AUTHORS BUGS ChangeLog README \ + $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf \ + $PKG/usr/doc/$NAME-$VERSION/ChangeLog + +install -m 0755 -g 0 -o 0 rc.uhub.new $PKG/etc/rc.d + +rm -f ${PKG}/etc/conf.d/uhub_motd.conf + +strip $PKG/usr/sbin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-aslim.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-aslim.patch.xz new file mode 100644 index 0000000..6302003 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-aslim.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-builddefs.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-builddefs.patch.xz new file mode 100644 index 0000000..5479566 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-builddefs.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-clone.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-clone.patch.xz new file mode 100644 index 0000000..0314c7a Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-clone.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-closestdfds.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-closestdfds.patch.xz new file mode 100644 index 0000000..21be790 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-closestdfds.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-config.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-config.patch.xz new file mode 100644 index 0000000..7f80dc7 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-config.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-configfilepath.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-configfilepath.patch.xz new file mode 100644 index 0000000..7511d00 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-configfilepath.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-daemonizeplus.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-daemonizeplus.patch.xz new file mode 100644 index 0000000..40a60e2 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-daemonizeplus.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-filter.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-filter.patch.xz new file mode 100644 index 0000000..b6dc377 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-filter.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-logrotate.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-logrotate.patch.xz new file mode 100644 index 0000000..c7f5aad Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-logrotate.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-openssl.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-openssl.patch.xz new file mode 100644 index 0000000..e1175cc Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-openssl.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-pam.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-pam.patch.xz new file mode 100644 index 0000000..514272c Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-pam.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-pamhostname.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-pamhostname.patch.xz new file mode 100644 index 0000000..58842e9 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-pamhostname.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-slackware.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-slackware.patch.xz new file mode 100644 index 0000000..14b98e4 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-slackware.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-sqb.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-sqb.patch.xz new file mode 100644 index 0000000..e51914c Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-sqb.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-systemd.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-systemd.patch.xz new file mode 100644 index 0000000..263c287 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-systemd.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-systemdman.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-systemdman.patch.xz new file mode 100644 index 0000000..616006d Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-systemdman.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-trim.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-trim.patch.xz new file mode 100644 index 0000000..8db3e67 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-trim.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-userlistlog.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-userlistlog.patch.xz new file mode 100644 index 0000000..6be6bb8 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-userlistlog.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd-2.3.5-wildchar.patch.xz b/network_daemons/vsftpd/vsftpd-2.3.5-wildchar.patch.xz new file mode 100644 index 0000000..a690a70 Binary files /dev/null and b/network_daemons/vsftpd/vsftpd-2.3.5-wildchar.patch.xz differ diff --git a/network_daemons/vsftpd/vsftpd.build b/network_daemons/vsftpd/vsftpd.build new file mode 100755 index 0000000..e12dfb8 --- /dev/null +++ b/network_daemons/vsftpd/vsftpd.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=vsftpd +VERSION=2.3.5 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <