From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- .../cracklib/cracklib-2.8.22-extradicts.patch.xz | Bin 0 -> 4217988 bytes .../cracklib/cracklib-2.8.22-manpages.patch.xz | Bin 0 -> 2756 bytes .../cracklib/cracklib-2.8.22-update.patch.xz | Bin 0 -> 2052 bytes .../cracklib/cracklib-2.8.22-zh_CN.patch.xz | Bin 0 -> 788 bytes libs_security/cracklib/cracklib.build | 96 +++++++++++++++ .../cyrus-sasl-2.1.26-autostuff.patch.xz | Bin 0 -> 273836 bytes .../cyrus_sasl/cyrus-sasl-2.1.26-fixes.patch.xz | Bin 0 -> 4772 bytes .../cyrus_sasl/cyrus-sasl-2.1.26-systemd.patch.xz | Bin 0 -> 432 bytes .../cyrus_sasl/cyrus-sasl-2.1.26-sysvinit.patch.xz | Bin 0 -> 796 bytes .../cyrus-sasl-2.1.26-tmpfilesd.patch.xz | Bin 0 -> 224 bytes libs_security/cyrus_sasl/cyrus_sasl.build | 118 ++++++++++++++++++ libs_security/gcr/gcr.build | 93 ++++++++++++++ libs_security/gnome_keyring/gnome_keyring.build | 123 +++++++++++++++++++ libs_security/gpgme/gpgme.build | 73 +++++++++++ libs_security/libgcrypt/libgcrypt.build | 136 +++++++++++++++++++++ libs_security/libotr/libotr.build | 61 +++++++++ .../libpwquality-1.2.1-pkgconfig.patch.xz | Bin 0 -> 364 bytes libs_security/libpwquality/libpwquality.build | 86 +++++++++++++ libs_security/libsecret/libsecret.build | 67 ++++++++++ libs_security/libsodium/libsodium.build | 61 +++++++++ libs_security/mhash/mhash.build | 59 +++++++++ .../nss/nss-3.14.3-buildsupportfiles.patch.xz | Bin 0 -> 1128 bytes libs_security/nss/nss-3.14.3-extracerts.patch.xz | Bin 0 -> 7300 bytes .../nss-3.14.3-sslrenegotiatetransitional.patch.xz | Bin 0 -> 500 bytes libs_security/nss/nss.build | 117 ++++++++++++++++++ libs_security/openssl/openssl-1.0.1g-ca.patch.xz | Bin 0 -> 388 bytes .../openssl/openssl-1.0.1g-cadir.patch.xz | Bin 0 -> 580 bytes .../openssl/openssl-1.0.1g-certwatch.patch.xz | Bin 0 -> 1908 bytes .../openssl/openssl-1.0.1g-crehashcrt.patch.xz | Bin 0 -> 628 bytes .../openssl/openssl-1.0.1g-crehashdoc.patch.xz | Bin 0 -> 1352 bytes .../openssl/openssl-1.0.1g-defaultbits.patch.xz | Bin 0 -> 248 bytes .../openssl-1.0.1g-dontlinkmanpages.patch.xz | Bin 0 -> 328 bytes .../openssl/openssl-1.0.1g-enginespath.patch.xz | Bin 0 -> 980 bytes .../openssl/openssl-1.0.1g-fixmanpages.patch.xz | Bin 0 -> 12300 bytes .../openssl/openssl-1.0.1g-norpath.patch.xz | Bin 0 -> 448 bytes .../openssl/openssl-1.0.1g-notests.patch.xz | Bin 0 -> 252 bytes .../openssl/openssl-1.0.1g-optflags.patch.xz | Bin 0 -> 772 bytes .../openssl/openssl-1.0.1g-perl518.patch.xz | Bin 0 -> 1844 bytes .../openssl/openssl-1.0.1g-soname.patch.xz | Bin 0 -> 324 bytes libs_security/openssl/openssl-1.0.1g-x509.patch.xz | Bin 0 -> 420 bytes libs_security/openssl/openssl.build | 107 ++++++++++++++++ 41 files changed, 1197 insertions(+) create mode 100644 libs_security/cracklib/cracklib-2.8.22-extradicts.patch.xz create mode 100644 libs_security/cracklib/cracklib-2.8.22-manpages.patch.xz create mode 100644 libs_security/cracklib/cracklib-2.8.22-update.patch.xz create mode 100644 libs_security/cracklib/cracklib-2.8.22-zh_CN.patch.xz create mode 100755 libs_security/cracklib/cracklib.build create mode 100644 libs_security/cyrus_sasl/cyrus-sasl-2.1.26-autostuff.patch.xz create mode 100644 libs_security/cyrus_sasl/cyrus-sasl-2.1.26-fixes.patch.xz create mode 100644 libs_security/cyrus_sasl/cyrus-sasl-2.1.26-systemd.patch.xz create mode 100644 libs_security/cyrus_sasl/cyrus-sasl-2.1.26-sysvinit.patch.xz create mode 100644 libs_security/cyrus_sasl/cyrus-sasl-2.1.26-tmpfilesd.patch.xz create mode 100755 libs_security/cyrus_sasl/cyrus_sasl.build create mode 100755 libs_security/gcr/gcr.build create mode 100755 libs_security/gnome_keyring/gnome_keyring.build create mode 100755 libs_security/gpgme/gpgme.build create mode 100755 libs_security/libgcrypt/libgcrypt.build create mode 100755 libs_security/libotr/libotr.build create mode 100644 libs_security/libpwquality/libpwquality-1.2.1-pkgconfig.patch.xz create mode 100755 libs_security/libpwquality/libpwquality.build create mode 100755 libs_security/libsecret/libsecret.build create mode 100755 libs_security/libsodium/libsodium.build create mode 100755 libs_security/mhash/mhash.build create mode 100644 libs_security/nss/nss-3.14.3-buildsupportfiles.patch.xz create mode 100644 libs_security/nss/nss-3.14.3-extracerts.patch.xz create mode 100644 libs_security/nss/nss-3.14.3-sslrenegotiatetransitional.patch.xz create mode 100755 libs_security/nss/nss.build create mode 100644 libs_security/openssl/openssl-1.0.1g-ca.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-cadir.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-norpath.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-notests.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-optflags.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-perl518.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-soname.patch.xz create mode 100644 libs_security/openssl/openssl-1.0.1g-x509.patch.xz create mode 100755 libs_security/openssl/openssl.build (limited to 'libs_security') diff --git a/libs_security/cracklib/cracklib-2.8.22-extradicts.patch.xz b/libs_security/cracklib/cracklib-2.8.22-extradicts.patch.xz new file mode 100644 index 0000000..897c50f Binary files /dev/null and b/libs_security/cracklib/cracklib-2.8.22-extradicts.patch.xz differ diff --git a/libs_security/cracklib/cracklib-2.8.22-manpages.patch.xz b/libs_security/cracklib/cracklib-2.8.22-manpages.patch.xz new file mode 100644 index 0000000..a21904f Binary files /dev/null and b/libs_security/cracklib/cracklib-2.8.22-manpages.patch.xz differ diff --git a/libs_security/cracklib/cracklib-2.8.22-update.patch.xz b/libs_security/cracklib/cracklib-2.8.22-update.patch.xz new file mode 100644 index 0000000..2dc2026 Binary files /dev/null and b/libs_security/cracklib/cracklib-2.8.22-update.patch.xz differ diff --git a/libs_security/cracklib/cracklib-2.8.22-zh_CN.patch.xz b/libs_security/cracklib/cracklib-2.8.22-zh_CN.patch.xz new file mode 100644 index 0000000..316cffc Binary files /dev/null and b/libs_security/cracklib/cracklib-2.8.22-zh_CN.patch.xz differ diff --git a/libs_security/cracklib/cracklib.build b/libs_security/cracklib/cracklib.build new file mode 100755 index 0000000..623e7e5 --- /dev/null +++ b/libs_security/cracklib/cracklib.build @@ -0,0 +1,96 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=cracklib +VERSION=2.8.22 +BUILD=3 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=cyrus_sasl +VERSION=2.1.26 +BUILD=1 +DEPENDS=('openssl >= 1.0.1e-1') +OPTDEPENDS=('gdbm >= 1.10-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=gcr +MAJOR=3.8 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('libgcrypt >= 1.5.0-1' 'gtk+ >= 3.8.0-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null +fi + +if [ -x ${SYS_DIR[bin]}/update-desktop-database ]; then + ${SYS_DIR[bin]}/update-desktop-database -q +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="LGPL2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' $(find . -name "Makefile.in") +sed -i 's|uidir = $(datadir)/gcr-@GCR_MAJOR@/ui|uidir = $(datadir)/application-data/gcr-@GCR_MAJOR@/ui|g' ui/Makefile.in +sed -i 's|pkcs11standalonedir="${libdir}/gnome-keyring/devel"|pkcs11standalonedir="${libdir}/plugins/gnome-keyring/devel"|g' configure +CPPFLAGS="-I${SYS_DIR[include]}/gpg-error -I${SYS_DIR[include]}/gcrypt" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-pkcs11-modules="${SYS_DIR[lib]}/plugins/pkcs11" \ + --with-html-dir="${SYS_DIR[html]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +# No development docs +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/libs_security/gnome_keyring/gnome_keyring.build b/libs_security/gnome_keyring/gnome_keyring.build new file mode 100755 index 0000000..581ae8d --- /dev/null +++ b/libs_security/gnome_keyring/gnome_keyring.build @@ -0,0 +1,123 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=gnome_keyring +MAJOR=3.8 +VERSION=${MAJOR}.0 +BUILD=2 +DEPENDS=('gcr >= 3.8.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=gpgme +VERSION=1.3.2 +BUILD=2 +DEPENDS=('gnupg >= 2.0.19-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libgcrypt +VERSION=1.5.0 +BUILD=3 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libotr +VERSION=4.0.0 +BUILD=1 +DEPENDS=('libgcrypt >= 1.5.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libpwquality +VERSION=1.2.1 +BUILD=4 +DEPENDS=('pam >= 1.1.6-1' 'cracklib >= 2.8.22-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=libsecret +MAJOR=0.14 +VERSION=${MAJOR} +BUILD=1 +DEPENDS=('glib >= 2.36.0-1' 'libgcrypt >= 1.5.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=libsodium +VERSION=0.4.5 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=mhash +VERSION=0.9.9.9 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=nss +VERSION=3.14.3 +NSPRVER=4.9.6 +BUILD=1 +DEPENDS=('libnspr >= 4.9.6-1' 'sqlite >= 3.7.16.1-1') +OPTIONS="nostrip" + +# Description + +cat > ${PKG}/install/slack-desc < ${PKG}${SYS_DIR[share]}/pkgconfig/nss.pc +( + cd ${PKG}${SYS_DIR[share]}/pkgconfig + ln -sf nss.pc mozilla-nss.pc +) +VERSFILE="mozilla/security/nss/lib/nss/nss.h" +LIBMAJOR="$(grep "#define.*NSS_VMAJOR" ${VERSFILE} | awk '{print $3}')" +LIBMINOR="$(grep "#define.*NSS_VMINOR" ${VERSFILE} | awk '{print $3}')" +LIBPATCH="$(grep "#define.*NSS_VPATCH" ${VERSFILE} | awk '{print $3}')" +sed nss-config.in \ + -e "s|@prefix@|${SYS_DIR[usr]}|g" \ + -e "s|@MOD_MAJOR_VERSION@|${LIBMAJOR}|g" \ + -e "s|@MOD_MINOR_VERSION@|${LIBMINOR}|g" \ + -e "s|@MOD_PATCH_VERSION@|${LIBPATCH}|g" \ + > ${PKG}${SYS_DIR[bin]}/nss-config +chmod 0755 ${PKG}${SYS_DIR[bin]}/nss-config +strip ${PKG}${SYS_DIR[bin]}/* +( + cd ${PKG}${SYS_DIR[lib]} + install.dir nostrip + for file in *.chk; do + library="${file%.chk}.so" + mv ${library} nostrip + done + strip --strip-unneeded ${PKG}${SYS_DIR[lib]}/*.so* + mv nostrip/*.so . + rm -rf nostrip +) +} diff --git a/libs_security/openssl/openssl-1.0.1g-ca.patch.xz b/libs_security/openssl/openssl-1.0.1g-ca.patch.xz new file mode 100644 index 0000000..efbe085 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-ca.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz b/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz new file mode 100644 index 0000000..dea3beb Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz b/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz new file mode 100644 index 0000000..6dfaff3 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz b/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz new file mode 100644 index 0000000..94b456f Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz b/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz new file mode 100644 index 0000000..8ad0411 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz b/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz new file mode 100644 index 0000000..96f8d4f Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz b/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz new file mode 100644 index 0000000..b9c9eed Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz b/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz new file mode 100644 index 0000000..28cdb3d Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz b/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz new file mode 100644 index 0000000..2cb5af9 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz b/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz new file mode 100644 index 0000000..24e9f03 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-notests.patch.xz b/libs_security/openssl/openssl-1.0.1g-notests.patch.xz new file mode 100644 index 0000000..a533026 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-notests.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz b/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz new file mode 100644 index 0000000..0a154a8 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz b/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz new file mode 100644 index 0000000..ece4ce5 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-soname.patch.xz b/libs_security/openssl/openssl-1.0.1g-soname.patch.xz new file mode 100644 index 0000000..9230847 Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-soname.patch.xz differ diff --git a/libs_security/openssl/openssl-1.0.1g-x509.patch.xz b/libs_security/openssl/openssl-1.0.1g-x509.patch.xz new file mode 100644 index 0000000..18db25d Binary files /dev/null and b/libs_security/openssl/openssl-1.0.1g-x509.patch.xz differ diff --git a/libs_security/openssl/openssl.build b/libs_security/openssl/openssl.build new file mode 100755 index 0000000..a25420d --- /dev/null +++ b/libs_security/openssl/openssl.build @@ -0,0 +1,107 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=openssl +VERSION=1.0.1g +BUILD=1 + +# These are the known patent issues with OpenSSL: +# name # expires +# RC5: 5,724,428 2015-03-03, not included. + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null 2> /dev/null +fi +EOF + +# $(uname -m) here is a kludge because we should take care of the arch stuff +# before we get to this point. I.e. ${ARCH} should work here. +case "$(uname -m)" in + x86) + OPENSSLTARGET="linux-elf" + OPTIONS="" + ;; + x86_64) + OPENSSLTARGET="linux-x86_64" + OPTIONS="enable-ec_nistp_64_gcc_128" + ;; +esac + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.openssl.org/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +sed -i 's|$(LIBDIR)/pkgconfig|$(PREFIX)/share/pkgconfig|g' Makefile.org +sed -i "s|@OPTFLAGS@|${FLAGS}|g" Configure +./Configure \ + --prefix="${SYS_DIR[usr]}" \ + --openssldir="${SYS_DIR[etc]}/ssl" \ + --libdir=lib \ + shared zlib-dynamic \ + no-rc5 no-mdc2 no-ec no-ec2m no-ecdh no-ecdsa no-srp no-sse2 \ + enable-md2 enable-tlsext enable-cms enable-rfc3779 ${OPTIONS} \ + "${OPENSSLTARGET}" +# ${JOBS} +make depend +make +make install INSTALL_PREFIX="${PKG}" MANDIR="${SYS_DIR[man]}" +doc ACKNOWLEDGMENTS FAQ +changelog NEWS +license LICENSE +install.dir ${PKG}${SYS_DIR[etc]}/cron.daily +install.bin certwatch ${PKG}${SYS_DIR[etc]}/cron.daily/certwatch.new +( cd ${PKG}${SYS_DIR[lib]} ; ldconfig -l lib*.so* ) +config ${PKG}${SYS_DIR[etc]}/ssl/openssl.cnf +} -- cgit v1.2.3-70-g09d2