From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- .../curl/curl-7.36.0-pkgconfigdir.patch.xz | Bin 0 -> 384 bytes libs_network/curl/curl.build | 73 +++++++++++++ libs_network/geoip/geoip.build | 84 +++++++++++++++ libs_network/libesmtp/libesmtp.SlackBuild | 80 ++++++++++++++ .../libevent-2.0.21-stable-pkgconfigdir.patch.xz | Bin 0 -> 520 bytes libs_network/libevent/libevent.build | 61 +++++++++++ libs_network/libgmime/libgmime.build | 67 ++++++++++++ .../libgsasl/libgsasl-1.8.0-pkgconfigdir.patch.xz | Bin 0 -> 400 bytes libs_network/libgsasl/libgsasl.build | 64 +++++++++++ libs_network/libgupnp/libgupnp.build | 117 +++++++++++++++++++++ libs_network/libnasl/libnasl.SlackBuild | 79 ++++++++++++++ libs_network/libnet/libnet.SlackBuild | 89 ++++++++++++++++ libs_network/libnet/libnet10.SlackBuild | 89 ++++++++++++++++ .../libnids/libnids-1.22-install.patch.bz2 | Bin 0 -> 285 bytes libs_network/libnids/libnids.SlackBuild | 78 ++++++++++++++ libs_network/libnotmuch/libnotmuch.build | 64 +++++++++++ .../libntlm/libntlm-1.3-pkgconfigdir.patch.xz | Bin 0 -> 396 bytes libs_network/libntlm/libntlm.build | 60 +++++++++++ .../libproxy/libproxy-0.4.11-pkgconfigdir.patch.xz | Bin 0 -> 396 bytes libs_network/libproxy/libproxy.build | 66 ++++++++++++ libs_network/libsoup/libsoup.build | 69 ++++++++++++ .../libssh2/libssh2-1.4.3-pkgconfigdir.patch.xz | Bin 0 -> 424 bytes libs_network/libssh2/libssh2.build | 65 ++++++++++++ .../LibVNCServer-0.9.9-pkgconfigdir.patch.xz | Bin 0 -> 496 bytes libs_network/libvnc/libvnc.build | 68 ++++++++++++ .../miniupnpc-1.8.20130211-cmake.patch.xz | Bin 0 -> 544 bytes libs_network/miniupnpc/miniupnpc.build | 59 +++++++++++ .../neon/neon-0.29.6-gnutls3backport.patch.xz | Bin 0 -> 1284 bytes .../neon/neon-0.29.6-gnutls3functions.patch.xz | Bin 0 -> 1928 bytes .../neon/neon-0.29.6-gnutls3types.patch.xz | Bin 0 -> 908 bytes libs_network/neon/neon-0.29.6-htmldir.patch.xz | Bin 0 -> 436 bytes libs_network/neon/neon.build | 67 ++++++++++++ libs_network/nessus_libs/nessus_libs.SlackBuild | 79 ++++++++++++++ libs_network/openobex/openobex.SlackBuild | 79 ++++++++++++++ libs_network/silc/silc-1.0-nodebug.patch.bz2 | Bin 0 -> 477 bytes libs_network/silc/silc.SlackBuild | 93 ++++++++++++++++ 36 files changed, 1650 insertions(+) create mode 100644 libs_network/curl/curl-7.36.0-pkgconfigdir.patch.xz create mode 100755 libs_network/curl/curl.build create mode 100755 libs_network/geoip/geoip.build create mode 100755 libs_network/libesmtp/libesmtp.SlackBuild create mode 100644 libs_network/libevent/libevent-2.0.21-stable-pkgconfigdir.patch.xz create mode 100755 libs_network/libevent/libevent.build create mode 100755 libs_network/libgmime/libgmime.build create mode 100644 libs_network/libgsasl/libgsasl-1.8.0-pkgconfigdir.patch.xz create mode 100755 libs_network/libgsasl/libgsasl.build create mode 100755 libs_network/libgupnp/libgupnp.build create mode 100755 libs_network/libnasl/libnasl.SlackBuild create mode 100755 libs_network/libnet/libnet.SlackBuild create mode 100755 libs_network/libnet/libnet10.SlackBuild create mode 100644 libs_network/libnids/libnids-1.22-install.patch.bz2 create mode 100755 libs_network/libnids/libnids.SlackBuild create mode 100755 libs_network/libnotmuch/libnotmuch.build create mode 100644 libs_network/libntlm/libntlm-1.3-pkgconfigdir.patch.xz create mode 100755 libs_network/libntlm/libntlm.build create mode 100644 libs_network/libproxy/libproxy-0.4.11-pkgconfigdir.patch.xz create mode 100755 libs_network/libproxy/libproxy.build create mode 100755 libs_network/libsoup/libsoup.build create mode 100644 libs_network/libssh2/libssh2-1.4.3-pkgconfigdir.patch.xz create mode 100755 libs_network/libssh2/libssh2.build create mode 100644 libs_network/libvnc/LibVNCServer-0.9.9-pkgconfigdir.patch.xz create mode 100755 libs_network/libvnc/libvnc.build create mode 100644 libs_network/miniupnpc/miniupnpc-1.8.20130211-cmake.patch.xz create mode 100755 libs_network/miniupnpc/miniupnpc.build create mode 100644 libs_network/neon/neon-0.29.6-gnutls3backport.patch.xz create mode 100644 libs_network/neon/neon-0.29.6-gnutls3functions.patch.xz create mode 100644 libs_network/neon/neon-0.29.6-gnutls3types.patch.xz create mode 100644 libs_network/neon/neon-0.29.6-htmldir.patch.xz create mode 100755 libs_network/neon/neon.build create mode 100755 libs_network/nessus_libs/nessus_libs.SlackBuild create mode 100755 libs_network/openobex/openobex.SlackBuild create mode 100644 libs_network/silc/silc-1.0-nodebug.patch.bz2 create mode 100755 libs_network/silc/silc.SlackBuild (limited to 'libs_network') diff --git a/libs_network/curl/curl-7.36.0-pkgconfigdir.patch.xz b/libs_network/curl/curl-7.36.0-pkgconfigdir.patch.xz new file mode 100644 index 0000000..5141796 Binary files /dev/null and b/libs_network/curl/curl-7.36.0-pkgconfigdir.patch.xz differ diff --git a/libs_network/curl/curl.build b/libs_network/curl/curl.build new file mode 100755 index 0000000..d97c882 --- /dev/null +++ b/libs_network/curl/curl.build @@ -0,0 +1,73 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=curl +VERSION=7.36.0 +BUILD=1 +DEPENDS=('gnutls >= 3.2.12-1' 'ca_certificates >= 20130119-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=geoip +VERSION=1.4.8 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < $PKG/install/slack-desc < $PKG/install/slack-required <= 0.9.7d-i486-1 +EOF + +install -m644 -g0 -o0 AUTHORS ChangeLog NEWS Notes README TODO \ + $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf $PKG/usr/doc/$NAME-$VERSION/ChangeLog + +rm -f $PKG/usr/lib/esmtp-plugins/*.a +rm -f $PKG/usr/lib/esmtp-plugins/*.la +strip --strip-unneeded $PKG/usr/lib/esmtp-plugins/*.so + +chown -R root.root $PKG +chown root.bin $PKG/usr/bin $PKG/usr/bin/* + +# 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/libs_network/libevent/libevent-2.0.21-stable-pkgconfigdir.patch.xz b/libs_network/libevent/libevent-2.0.21-stable-pkgconfigdir.patch.xz new file mode 100644 index 0000000..f08640a Binary files /dev/null and b/libs_network/libevent/libevent-2.0.21-stable-pkgconfigdir.patch.xz differ diff --git a/libs_network/libevent/libevent.build b/libs_network/libevent/libevent.build new file mode 100755 index 0000000..2e29eee --- /dev/null +++ b/libs_network/libevent/libevent.build @@ -0,0 +1,61 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=libevent +VERSION=2.0.21 +BUILD=1 +OPTDEPENDS=('openssl >= 1.0.1c-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libgmime +MAJOR=2.6 +VERSION=${MAJOR}.15 +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'gpgme >= 1.3.2-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libgsasl +VERSION=1.8.0 +BUILD=2 +DEPENDS=('libgcrypt >= 1.5.0-1' 'libntlm >= 1.3-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libgupnp +VERSION=0.20.10 +BUILD=1 +DEPENDS=('glib >= 2.38.2-1' 'libsoup >= 2.46.0-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/libs_network/libnet/libnet.SlackBuild b/libs_network/libnet/libnet.SlackBuild new file mode 100755 index 0000000..ec618ef --- /dev/null +++ b/libs_network/libnet/libnet.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +CWD=`pwd` +NAME=libnet +VERSION=1.1.1 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://www.packetfactory.net/libnet/dist +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 +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --prefix=/usr +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/man/man3 \ + $PKG/usr/bin +cat > $PKG/install/slack-desc < libnet_docs_html.tar + gzip -9nf libnet_docs_html.tar + rm -rf libnet_docs_html +) + +install -m0755 libnet-config $PKG/usr/bin + +install -m0444 doc/man/man3/*.3 $PKG/usr/man/man3 +gzip -9nf $PKG/usr/man/man?/*.? + +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/libs_network/libnet/libnet10.SlackBuild b/libs_network/libnet/libnet10.SlackBuild new file mode 100755 index 0000000..e255f1c --- /dev/null +++ b/libs_network/libnet/libnet10.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +CWD=`pwd` +NAME=libnet +VERSION=1.0.2a +ARCH=i586 +BUILD=1 +PKGNAME=Libnet +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$NAME-$VERSION.tar.gz +REPOSITORY=http://www.packetfactory.net/libnet/dist/deprecated +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 +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --prefix=/usr +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/man/man3 \ + $PKG/usr/bin +cat > $PKG/install/slack-desc < libnet_docs_html.tar + gzip -9nf libnet_docs_html.tar + rm -rf libnet_docs_html +) + +install -m0755 libnet-config $PKG/usr/bin + +install -m0444 doc/man/man3/*.3 $PKG/usr/man/man3 +gzip -9nf $PKG/usr/man/man?/*.? + +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/libs_network/libnids/libnids-1.22-install.patch.bz2 b/libs_network/libnids/libnids-1.22-install.patch.bz2 new file mode 100644 index 0000000..ed9ab1f Binary files /dev/null and b/libs_network/libnids/libnids-1.22-install.patch.bz2 differ diff --git a/libs_network/libnids/libnids.SlackBuild b/libs_network/libnids/libnids.SlackBuild new file mode 100755 index 0000000..689807c --- /dev/null +++ b/libs_network/libnids/libnids.SlackBuild @@ -0,0 +1,78 @@ +#!/bin/sh + +CWD=`pwd` +NAME=libnids +VERSION=1.22 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://belnet.dl.sourceforge.net/sourceforge/libnids +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 +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --prefix=/usr +make + +# Install +make install DESTDIR=$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/libs_network/libnotmuch/libnotmuch.build b/libs_network/libnotmuch/libnotmuch.build new file mode 100755 index 0000000..b64b073 --- /dev/null +++ b/libs_network/libnotmuch/libnotmuch.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=libnotmuch +VERSION=0.15 +BUILD=1 +DEPENDS=('libgmime >= 2.6.15-1' 'libxapian >= 1.2.15-1') + +# Description + +cat > ${PKG}/install/slack-desc < ${PKG}${SYS_DIR[man]}/man1/notmuch-setup.1 +gunzip ${PKG}${SYS_DIR[man]}/man?/*.?.gz +} diff --git a/libs_network/libntlm/libntlm-1.3-pkgconfigdir.patch.xz b/libs_network/libntlm/libntlm-1.3-pkgconfigdir.patch.xz new file mode 100644 index 0000000..21da0f2 Binary files /dev/null and b/libs_network/libntlm/libntlm-1.3-pkgconfigdir.patch.xz differ diff --git a/libs_network/libntlm/libntlm.build b/libs_network/libntlm/libntlm.build new file mode 100755 index 0000000..7ea488d --- /dev/null +++ b/libs_network/libntlm/libntlm.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=libntlm +VERSION=1.3 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libproxy +VERSION=0.4.11 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libsoup +MAJOR=2.46 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('glib >= 2.38.2-1' 'libxml >= 2.9.1-1' 'sqlite >= 3.7.16.1-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libssh2 +VERSION=1.4.3 +BUILD=2 +DEPENDS=('libgcrypt >= 1.5.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libvnc +VERSION=0.9.9 +BUILD=1 +DEPENDS=('gnutls >= 3.1.6-1' 'libjpeg >= 1.2.1-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=miniupnpc +VERSION=1.8.20130211 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=neon +VERSION=0.29.6 +BUILD=2 +DEPENDS=('gnutls >= 3.1.6-1' 'libxml >= 2.9.0-1' 'libproxy >= 0.4.11-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/libs_network/openobex/openobex.SlackBuild b/libs_network/openobex/openobex.SlackBuild new file mode 100755 index 0000000..3778551 --- /dev/null +++ b/libs_network/openobex/openobex.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh + +CWD=`pwd` +NAME=openobex +VERSION=1.3 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=http://belnet.dl.sourceforge.net/sourceforge/openobex +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 +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --enable-static=no \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/man \ + --enable-apps +make + +# Install +make install DESTDIR=$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/libs_network/silc/silc-1.0-nodebug.patch.bz2 b/libs_network/silc/silc-1.0-nodebug.patch.bz2 new file mode 100644 index 0000000..2e8f95b Binary files /dev/null and b/libs_network/silc/silc-1.0-nodebug.patch.bz2 differ diff --git a/libs_network/silc/silc.SlackBuild b/libs_network/silc/silc.SlackBuild new file mode 100755 index 0000000..9a83c91 --- /dev/null +++ b/libs_network/silc/silc.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/sh + +CWD=`pwd` +NAME=silc +VERSION=1.0 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-toolkit-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=ftp://ftp.silcnet.org/silc/toolkit/sources +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 + +# Compile +cd /tmp +tar jxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-nodebug.patch.bz2 | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure --prefix=/usr --enable-ipv6 \ + --with-perl=no --disable-debug --with-simdir=/usr/libexec/silc \ + --with-docdir=/usr/doc/silc-$VERSION --includedir=/usr/include/silc +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +cat > $PKG/install/slack-desc < silc_docs_html.tar + gzip -9nf silc_docs_html.tar + rm -rf silc_docs_html + rm -rf tutorial +) + +strip --strip-unneeded $PKG/usr/libexec/silc/*.so ||: + +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 -- cgit v1.2.3-70-g09d2