aboutsummaryrefslogtreecommitdiff
path: root/libs_security
diff options
context:
space:
mode:
Diffstat (limited to 'libs_security')
-rw-r--r--libs_security/cracklib/cracklib-2.8.22-extradicts.patch.xzbin0 -> 4217988 bytes
-rw-r--r--libs_security/cracklib/cracklib-2.8.22-manpages.patch.xzbin0 -> 2756 bytes
-rw-r--r--libs_security/cracklib/cracklib-2.8.22-update.patch.xzbin0 -> 2052 bytes
-rw-r--r--libs_security/cracklib/cracklib-2.8.22-zh_CN.patch.xzbin0 -> 788 bytes
-rwxr-xr-xlibs_security/cracklib/cracklib.build96
-rw-r--r--libs_security/cyrus_sasl/cyrus-sasl-2.1.26-autostuff.patch.xzbin0 -> 273836 bytes
-rw-r--r--libs_security/cyrus_sasl/cyrus-sasl-2.1.26-fixes.patch.xzbin0 -> 4772 bytes
-rw-r--r--libs_security/cyrus_sasl/cyrus-sasl-2.1.26-systemd.patch.xzbin0 -> 432 bytes
-rw-r--r--libs_security/cyrus_sasl/cyrus-sasl-2.1.26-sysvinit.patch.xzbin0 -> 796 bytes
-rw-r--r--libs_security/cyrus_sasl/cyrus-sasl-2.1.26-tmpfilesd.patch.xzbin0 -> 224 bytes
-rwxr-xr-xlibs_security/cyrus_sasl/cyrus_sasl.build118
-rwxr-xr-xlibs_security/gcr/gcr.build93
-rwxr-xr-xlibs_security/gnome_keyring/gnome_keyring.build123
-rwxr-xr-xlibs_security/gpgme/gpgme.build73
-rwxr-xr-xlibs_security/libgcrypt/libgcrypt.build136
-rwxr-xr-xlibs_security/libotr/libotr.build61
-rw-r--r--libs_security/libpwquality/libpwquality-1.2.1-pkgconfig.patch.xzbin0 -> 364 bytes
-rwxr-xr-xlibs_security/libpwquality/libpwquality.build86
-rwxr-xr-xlibs_security/libsecret/libsecret.build67
-rwxr-xr-xlibs_security/libsodium/libsodium.build61
-rwxr-xr-xlibs_security/mhash/mhash.build59
-rw-r--r--libs_security/nss/nss-3.14.3-buildsupportfiles.patch.xzbin0 -> 1128 bytes
-rw-r--r--libs_security/nss/nss-3.14.3-extracerts.patch.xzbin0 -> 7300 bytes
-rw-r--r--libs_security/nss/nss-3.14.3-sslrenegotiatetransitional.patch.xzbin0 -> 500 bytes
-rwxr-xr-xlibs_security/nss/nss.build117
-rw-r--r--libs_security/openssl/openssl-1.0.1g-ca.patch.xzbin0 -> 388 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-cadir.patch.xzbin0 -> 580 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-certwatch.patch.xzbin0 -> 1908 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xzbin0 -> 628 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xzbin0 -> 1352 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xzbin0 -> 248 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xzbin0 -> 328 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-enginespath.patch.xzbin0 -> 980 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xzbin0 -> 12300 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-norpath.patch.xzbin0 -> 448 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-notests.patch.xzbin0 -> 252 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-optflags.patch.xzbin0 -> 772 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-perl518.patch.xzbin0 -> 1844 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-soname.patch.xzbin0 -> 324 bytes
-rw-r--r--libs_security/openssl/openssl-1.0.1g-x509.patch.xzbin0 -> 420 bytes
-rwxr-xr-xlibs_security/openssl/openssl.build107
41 files changed, 1197 insertions, 0 deletions
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
--- /dev/null
+++ b/libs_security/cracklib/cracklib-2.8.22-extradicts.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/cracklib/cracklib-2.8.22-manpages.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/cracklib/cracklib-2.8.22-update.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/cracklib/cracklib-2.8.22-zh_CN.patch.xz
Binary files 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 <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=cracklib
+VERSION=2.8.22
+BUILD=3
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: cracklib
+${NAME}:
+${NAME}: A library for testing passwords to find out whether they match
+${NAME}: certain security-oriented characteristics. You can use CrackLib to
+${NAME}: stop users from choosing passwords which would be easy to guess.
+${NAME}:
+${NAME}: Homepage: http://sourceforge.net/projects/cracklib
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+config() {
+ NEW="\$1"
+ OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r \$OLD ]; then
+ mv \$NEW \$OLD
+ elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm \$NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/security/cracklib.conf.new
+
+if [ -x /usr/sbin/update-cracklib ]; then
+ /usr/sbin/update-cracklib
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --datadir="${SYS_DIR[share]}/dict" \
+ --with-default-dict="${SYS_DIR[var]}/cache/cracklib/pw_dict" \
+ --without-python
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+install.dir ${PKG}${SYS_DIR[man]}/man{3,8}
+install.man man/*.3 ${PKG}${SYS_DIR[man]}/man3
+install.man man/*.8 ${PKG}${SYS_DIR[man]}/man8
+install.dir ${PKG}${SYS_DIR[etc]}/{cron.daily,security}
+install.bin util/cracklib-runtime.cron.daily ${PKG}${SYS_DIR[etc]}/cron.daily/cracklib
+install.dat util/cracklib.conf ${PKG}${SYS_DIR[etc]}/security/cracklib.conf.new
+install.bin util/update-cracklib ${PKG}${SYS_DIR[sbin]}
+install.man util/update-cracklib.8 ${PKG}${SYS_DIR[man]}/man8
+install.dat extra-dicts/* ${PKG}${SYS_DIR[share]}/dict/cracklib
+rm -f ${PKG}${SYS_DIR[share]}/dict/cracklib/*.magic
+install.dir ${PKG}${SYS_DIR[var]}/cache/cracklib
+}
diff --git a/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-autostuff.patch.xz b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-autostuff.patch.xz
new file mode 100644
index 0000000..76a4f48
--- /dev/null
+++ b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-autostuff.patch.xz
Binary files differ
diff --git a/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-fixes.patch.xz b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-fixes.patch.xz
new file mode 100644
index 0000000..32c230e
--- /dev/null
+++ b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-fixes.patch.xz
Binary files differ
diff --git a/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-systemd.patch.xz b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-systemd.patch.xz
new file mode 100644
index 0000000..dea2cdb
--- /dev/null
+++ b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-systemd.patch.xz
Binary files differ
diff --git a/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-sysvinit.patch.xz b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-sysvinit.patch.xz
new file mode 100644
index 0000000..325f9cf
--- /dev/null
+++ b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-sysvinit.patch.xz
Binary files differ
diff --git a/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-tmpfilesd.patch.xz b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-tmpfilesd.patch.xz
new file mode 100644
index 0000000..02c2b10
--- /dev/null
+++ b/libs_security/cyrus_sasl/cyrus-sasl-2.1.26-tmpfilesd.patch.xz
Binary files differ
diff --git a/libs_security/cyrus_sasl/cyrus_sasl.build b/libs_security/cyrus_sasl/cyrus_sasl.build
new file mode 100755
index 0000000..c7fdd28
--- /dev/null
+++ b/libs_security/cyrus_sasl/cyrus_sasl.build
@@ -0,0 +1,118 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: cyrus_sasl
+${NAME}:
+${NAME}: A framework for authentication and data security in Internet
+${NAME}: Protocols. It decouples authentication mechanisms from application
+${NAME}: protocols, in theory allowing any authentication mechanism supported
+${NAME}: by SASL to be used in any application protocol that uses SASL.
+${NAME}:
+${NAME}: Homepage: http://cyrusimap.org
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+config() {
+ NEW="\$1"
+ OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r \$OLD ]; then
+ mv \$NEW \$OLD
+ elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm \$NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/rc.d/rc.saslauthd.new
+config etc/conf.d/saslauthd.conf.new
+EOF
+
+# Sources
+
+SRCNAME[0]=cyrus-sasl
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.cyrusimap.org/cyrus-sasl/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{in,am}
+sed -i 's|/usr/lib/sasl2|/usr/lib/plugins/sasl2|g' configure configure.in
+sed -i 's|$(prefix)/lib/sasl2|$(prefix)/lib/plugins/sasl2|g' plugins/Makefile.{in,am}
+CFLAGS="${FLAGS} -fPIC" CXXFLAGS="${FLAGS} -fPIC" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --sbindir="${SYS_DIR[bin]}" \
+ --disable-macos-framework \
+ --disable-otp \
+ --disable-srp \
+ --disable-srp-setpass \
+ --disable-krb4 \
+ --disable-passdss \
+ --disable-ldapdb \
+ --enable-alwaystrue \
+ --enable-checkapop \
+ --enable-auth-sasldb \
+ --enable-cram \
+ --enable-digest \
+ --enable-gssapi \
+ --enable-plain \
+ --enable-anon \
+ --enable-login \
+ --enable-ntlm \
+ --enable-sql \
+ --with-plugindir="${SYS_DIR[lib]}/plugins/sasl2" \
+ --with-configdir="${SYS_DIR[etc]}/sasl2" \
+ --with-saslauthd="${SYS_DIR[run]}/saslauthd" \
+ --with-dbpath="${SYS_DIR[var]}/lib/sasldb" \
+ --with-devrandom="/dev/urandom" \
+ --with-dblib="gdbm" \
+#FIXME: PAM --with-pam
+# --with-ldap
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+license COPYING
+install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]}
+install.dat saslauthd.service ${PKG}${SYS_DIR[systemdsystemunitdir]}
+install.dir ${PKG}${SYS_DIR[conf]}
+install.cfg saslauthd.conf.d ${PKG}${SYS_DIR[conf]}/saslauthd.conf.new
+install.dir ${PKG}${SYS_DIR[etc]}/{tmpfiles,rc}.d
+install.cfg saslauthd.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/saslauthd.conf
+install.dat rc.saslauthd.new ${PKG}${SYS_DIR[etc]}/rc.d
+}
diff --git a/libs_security/gcr/gcr.build b/libs_security/gcr/gcr.build
new file mode 100755
index 0000000..e604370
--- /dev/null
+++ b/libs_security/gcr/gcr.build
@@ -0,0 +1,93 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gcr
+${NAME}:
+${NAME}: Libraries used for displaying certificates and accessing key stores.
+${NAME}: A viewer for crypto files is also provided.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Compile settings data schemas
+
+if [ -x ${SYS_DIR[bin]}/glib-compile-schemas ]; then
+ ${SYS_DIR[bin]}/glib-compile-schemas ${SYS_DIR[share]}/glib-2.0/schemas
+fi
+
+if [ -x ${SYS_DIR[bin]}/gtk-update-icon-cache ]; then
+ ${SYS_DIR[bin]}/gtk-update-icon-cache -q -t -f ${SYS_DIR[share]}/icons/hicolor
+fi
+
+if [ -x ${SYS_DIR[bin]}/update-mime-database ]; then
+ ${SYS_DIR[bin]}/update-mime-database ${SYS_DIR[share]}/mime &> /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 <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gnome_keyring
+${NAME}:
+${NAME}: A collection of components that store secrets, passwords, keys,
+${NAME}: certificates and make them available to applications. It is
+${NAME}: integrated with the user's login, so that their secret storage can
+${NAME}: be unlocked when the user logs into their session. It is based around
+${NAME}: a standard called PKCS#11, which is a standard way for applications
+${NAME}: to manage certificates and keys on smart cards or secure storage.
+${NAME}:
+${NAME}: Homepage: http://live.gnome.org/GnomeKeyring
+${NAME}:
+EOF
+
+cat > ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Compile settings data schemas
+
+if [ -x ${SYS_DIR[bin]}/glib-compile-schemas ]; then
+ ${SYS_DIR[bin]}/glib-compile-schemas ${SYS_DIR[share]}/glib-2.0/schemas
+fi
+
+# Allow gnome-keyring-daemon to use secure memory
+
+if [ -x ${SYS_DIR[bin]}/setcap ]; then
+ ${SYS_DIR[bin]}/setcap cap_ipc_lock=ep ${SYS_DIR[bin]}/gnome-keyring-daemon
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=gnome-keyring
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="GPL2 LGPL2"
+
+build0()
+{
+sed -i 's|pkcs11standalonedir="${libdir}/gnome-keyring/devel"|pkcs11standalonedir="${libdir}/plugins/gnome-keyring/devel"|g' configure
+CPPFLAGS="-I${SYS_DIR[include]}/gcrypt -I${SYS_DIR[include]}/gpg-error -I${SYS_DIR[include]}/tasn1" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-debug=no \
+ --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-html-dir="${SYS_DIR[html]}" \
+ --with-pkcs11-modules="${SYS_DIR[lib]}/plugins/pkcs11" \
+ --disable-schemas-compile \
+ --disable-pam
+#FIXME: PAM
+# --with-pam-dir=${SYS_DIR[lib]}/plugins/security
+#FIXME: Change run dir to /run ?
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+# No development docs
+rm -rf ${PKG}${SYS_DIR[html]}
+}
+
+SRCNAME[1]=libgnome-keyring
+SRCVERS[1]=${MAJOR}.0
+SRCPACK[1]=${URL[gnome]}/${SRCNAME[1]}/${MAJOR}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz
+SRCCOPY[1]="GPL2 LGPL2"
+
+build1()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' library/Makefile.in
+CPPFLAGS="-I${SYS_DIR[include]}/gcrypt -I${SYS_DIR[include]}/gpg-error" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --enable-debug=no \
+ --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-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/gpgme/gpgme.build b/libs_security/gpgme/gpgme.build
new file mode 100755
index 0000000..3d201a1
--- /dev/null
+++ b/libs_security/gpgme/gpgme.build
@@ -0,0 +1,73 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: gpgme (GnuPG Made Easy)
+${NAME}:
+${NAME}: Gpgme is a library interface to GnuPG (GNU Privacy Guard). It enables
+${NAME}: applications to have GnuPG support in a standard and easy way. You
+${NAME}: will need this library if you want to use the Sylpheed mail user
+${NAME}: agent or the GNU Privacy Assistant for example.
+${NAME}:
+${NAME}: Homepage: http://www.gnupg.org
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.gnupg.org/gcrypt/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2 LGPL21"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --infodir="${SYS_DIR[info]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --includedir="${SYS_DIR[include]}/gpgme" \
+ --with-g13=${SYS_DIR[bin]}/g13 \
+ --disable-gpg-test \
+ --disable-gpgsm-test \
+ --disable-gpgconf-test
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+# FIXME: We'll consider using the lisp stuff when we can build several
+# packages at once
+rm -rf \
+ ${PKG}${SYS_DIR[usr]}/libexec \
+ ${PKG}${SYS_DIR[share]}/common-lisp \
+ ${PKG}${SYS_DIR[info]}
+}
+
diff --git a/libs_security/libgcrypt/libgcrypt.build b/libs_security/libgcrypt/libgcrypt.build
new file mode 100755
index 0000000..9d1e038
--- /dev/null
+++ b/libs_security/libgcrypt/libgcrypt.build
@@ -0,0 +1,136 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libgcrypt
+VERSION=1.5.0
+BUILD=3
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libgcrypt
+${NAME}:
+${NAME}: Libgcrypt is a general purpose crypto library based on the code used
+${NAME}: in GnuPG. We can't start with a new version number because libgcrypt
+${NAME}: was part of GnuPG 1.1 and some applications already used it and
+${NAME}: tested for the version number. We believe that the API can stay as
+${NAME}: it is, except that new functions may be added in the future.
+${NAME}:
+${NAME}: Homepage: http://www.gnupg.org
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+REPO="ftp://ftp.gnupg.org/gcrypt"
+
+# libksba can't find gpg-error-config without this
+export PATH="${PATH}:${PKG}${SYS_DIR[bin]}"
+
+configure()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ ${*}
+}
+
+SRCNAME[0]=libgpg-error
+SRCVERS[0]=1.10
+SRCPACK[0]=${REPO}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="LGPL21 GPL2"
+
+build0()
+{
+configure \
+ --includedir="${SYS_DIR[include]}/gpg-error" \
+ --disable-languages
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+}
+
+SRCNAME[1]=${NAME}
+SRCVERS[1]=${VERSION}
+SRCPACK[1]=${REPO}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.bz2
+SRCCOPY[1]="LGPL21 GPL2"
+
+build1()
+{
+CPPFLAGS="-I${PKG}${SYS_DIR[include]}/gpg-error" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+configure \
+ --includedir="${SYS_DIR[include]}/gcrypt" \
+ --with-gpg-error-prefix="${PKG}${SYS_DIR[usr]}" \
+ --with-capabilities \
+ --enable-m-guard
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+# No development docs
+rm -rf \
+ ${PKG}${SYS_DIR[info]} \
+ ${PKG}${SYS_DIR[sbin]}
+}
+
+SRCNAME[2]=libksba
+SRCVERS[2]=1.3.0
+SRCPACK[2]=${REPO}/${SRCNAME[2]}-${SRCVERS[2]}.tar.bz2
+SRCCOPY[2]="LGPL3 GPL2"
+
+build2()
+{
+CPPFLAGS="-I${PKG}${SYS_DIR[include]}/gpg-error" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+configure \
+ --includedir="${SYS_DIR[include]}/ksba" \
+ --with-libgpg-error-prefix="${PKG}${SYS_DIR[usr]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+# No development docs
+rm -rf ${PKG}${SYS_DIR[info]}
+}
+
+SRCNAME[3]=libassuan
+SRCVERS[3]=2.0.3
+SRCPACK[3]=${REPO}/${SRCNAME[3]}/${SRCNAME[3]}-${SRCVERS[3]}.tar.bz2
+SRCCOPY[3]="GPL3 LGPL21"
+
+build3()
+{
+CPPFLAGS="-I${PKG}${SYS_DIR[include]}/gpg-error" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+configure \
+ --includedir="${SYS_DIR[include]}/assuan" \
+ --with-libgpg-error-prefix="${PKG}${SYS_DIR[usr]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+# No development docs
+rm -rf ${PKG}${SYS_DIR[info]}
+}
diff --git a/libs_security/libotr/libotr.build b/libs_security/libotr/libotr.build
new file mode 100755
index 0000000..92c878f
--- /dev/null
+++ b/libs_security/libotr/libotr.build
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libotr
+${NAME}:
+${NAME}: The Off-The-Record Messaging library and the toolkit to help you
+${NAME}: forge messages.
+${NAME}:
+${NAME}: Homepage: http://www.cypherpunks.ca/otr
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://www.cypherpunks.ca/otr/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2 LGPL21"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{am,in}
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}
diff --git a/libs_security/libpwquality/libpwquality-1.2.1-pkgconfig.patch.xz b/libs_security/libpwquality/libpwquality-1.2.1-pkgconfig.patch.xz
new file mode 100644
index 0000000..da14900
--- /dev/null
+++ b/libs_security/libpwquality/libpwquality-1.2.1-pkgconfig.patch.xz
Binary files differ
diff --git a/libs_security/libpwquality/libpwquality.build b/libs_security/libpwquality/libpwquality.build
new file mode 100755
index 0000000..67b691b
--- /dev/null
+++ b/libs_security/libpwquality/libpwquality.build
@@ -0,0 +1,86 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libpwquality
+${NAME}:
+${NAME}: A library for password quality checking and generating random
+${NAME}: passwords.
+${NAME}:
+${NAME}: Homepage: http://fedorahosted.org/libpwquality
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+config() {
+ NEW="\$1"
+ OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r \$OLD ]; then
+ mv \$NEW \$OLD
+ elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm \$NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/security/pwquality.conf.new
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=https://fedorahosted.org/releases/l/i/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="BSD3 GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' src/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix=/usr \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --includedir="${SYS_DIR[include]}/pwquality" \
+ --with-securedir="${SYS_DIR[lib]}/plugins/security" \
+ --enable-python-bindings=no \
+ --enable-pam=yes
+#FIXME: python subpackage
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+config ${PKG}${SYS_DIR[etc]}/security/pwquality.conf
+}
diff --git a/libs_security/libsecret/libsecret.build b/libs_security/libsecret/libsecret.build
new file mode 100755
index 0000000..152946a
--- /dev/null
+++ b/libs_security/libsecret/libsecret.build
@@ -0,0 +1,67 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libsecret
+${NAME}:
+${NAME}:
+${NAME}: A GObject-based library for storing and retrieving passwords and
+${NAME}: other secrets. It communicates with the "Secret Service" using DBus.
+${NAME}: Gnome-keyring and ksecretservice are both implementations of a
+${NAME}: "Secret Service".
+${NAME}:
+${NAME}: Homepage: http://live.gnome.org/Libsecret
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' libsecret/Makefile.in
+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]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-html-dir="${SYS_DIR[html]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+# No needs for development docs
+rm -rf ${PKG}${SYS_DIR[html]}
+}
diff --git a/libs_security/libsodium/libsodium.build b/libs_security/libsodium/libsodium.build
new file mode 100755
index 0000000..2a5a2e4
--- /dev/null
+++ b/libs_security/libsodium/libsodium.build
@@ -0,0 +1,61 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=libsodium
+VERSION=0.4.5
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: libsodium
+${NAME}:
+${NAME}: An easy-to-use high-speed library for network communication,
+${NAME}: encryption, decryption, signatures, etc.
+${NAME}:
+${NAME}: Homepage: https://github.com/jedisct1/libsodium
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=https://github.com/jedisct1/libsodium/releases/download/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="ISC"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{in,am}
+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]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}
diff --git a/libs_security/mhash/mhash.build b/libs_security/mhash/mhash.build
new file mode 100755
index 0000000..229e96d
--- /dev/null
+++ b/libs_security/mhash/mhash.build
@@ -0,0 +1,59 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=mhash
+VERSION=0.9.9.9
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: mhash
+${NAME}:
+${NAME}: The mhash library provides an easy way to access strong hashes such
+${NAME}: as MD5, SHA1 and other algorithms.
+${NAME}:
+${NAME}: Homepage: http://mhash.sf.net
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+}
diff --git a/libs_security/nss/nss-3.14.3-buildsupportfiles.patch.xz b/libs_security/nss/nss-3.14.3-buildsupportfiles.patch.xz
new file mode 100644
index 0000000..5c0a4fb
--- /dev/null
+++ b/libs_security/nss/nss-3.14.3-buildsupportfiles.patch.xz
Binary files differ
diff --git a/libs_security/nss/nss-3.14.3-extracerts.patch.xz b/libs_security/nss/nss-3.14.3-extracerts.patch.xz
new file mode 100644
index 0000000..ae0afd2
--- /dev/null
+++ b/libs_security/nss/nss-3.14.3-extracerts.patch.xz
Binary files differ
diff --git a/libs_security/nss/nss-3.14.3-sslrenegotiatetransitional.patch.xz b/libs_security/nss/nss-3.14.3-sslrenegotiatetransitional.patch.xz
new file mode 100644
index 0000000..bdbbe26
--- /dev/null
+++ b/libs_security/nss/nss-3.14.3-sslrenegotiatetransitional.patch.xz
Binary files differ
diff --git a/libs_security/nss/nss.build b/libs_security/nss/nss.build
new file mode 100755
index 0000000..3a2f21e
--- /dev/null
+++ b/libs_security/nss/nss.build
@@ -0,0 +1,117 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: nss (network security services)
+${NAME}:
+${NAME}: A set of libraries designed to support cross-platform development of
+${NAME}: security-enabled client and server applications. Applications built
+${NAME}: with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11,
+${NAME}: PKCS #12, S/MIME, X.509 v3 certificates, and other security
+${NAME}: standards.
+${NAME}:
+${NAME}: Homepage: http://www.mozilla.org/projects/security/pki/nss
+${NAME}:
+${NAME}:
+EOF
+
+# NOTE: http://wiki.cacert.org/NSSLib
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_${SRCVERS[0]//./_}_RTM/src/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="MPL2 GPL2"
+
+build0()
+{
+export BUILD_OPT="1"
+export PKG_CONFIG_ALLOW_SYSTEM_LIBS="1"
+export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1"
+export NSS_USE_SYSTEM_SQLITE="1"
+export NSS_ENABLE_ECC="1"
+export NSPR_INCLUDE_DIR=$(pkg-config --cflags-only-I nspr | sed 's/-I//')
+export NSPR_LIB_DIR=$(pkg-config --libs-only-L nspr | sed 's/-L.//')
+export XCFLAGS="${CFLAGS}"
+case "$(uname -m)" in
+ x86_64)
+ export USE_64="1"
+ ;;
+esac
+make -C mozilla/security/coreconf
+make -C mozilla/security/dbm
+make -C mozilla/security/nss
+# Install libraries
+install.dir ${PKG}${SYS_DIR[lib]}
+for lib in softokn3 freebl3 nss3 nssutil3 ssl3 smime3 nssckbi nssdbm3; do
+ install.bin mozilla/dist/*.OBJ/lib/lib${lib}.so ${PKG}${SYS_DIR[lib]}
+done
+install.dat mozilla/dist/*.OBJ/lib/*.chk ${PKG}${SYS_DIR[lib]}
+install.dat mozilla/dist/*.OBJ/lib/libcrmf.a ${PKG}${SYS_DIR[lib]}
+# Install programs
+install.dir ${PKG}${SYS_DIR[bin]}
+for bin in certutil cmsutil crlutil modutil pk12util shlibsign signtool signver ssltap; do
+ install.bin mozilla/dist/*.OBJ/bin/${bin} ${PKG}${SYS_DIR[bin]}
+done
+# Install headers
+install.dir ${PKG}${SYS_DIR[include]}/nss
+install.dat mozilla/dist/public/nss/*.h ${PKG}${SYS_DIR[include]}/nss
+# Install build support files
+install.dir ${PKG}${SYS_DIR[share]}/pkgconfig
+sed nss.pc.in \
+ -e "s|@libdir@|${SYS_DIR[lib]}|g" \
+ -e "s|@prefix@|${SYS_DIR[usr]}|g" \
+ -e "s|@exec_prefix@|${SYS_DIR[usr]}|g" \
+ -e "s|@includedir@|${SYS_DIR[include]}/nss|g" \
+ -e "s|@NSS_VERSION@|${SRCVERS[0]}|g" \
+ -e "s|@NSPR_VERSION@|${NSPRVER}|g" \
+ > ${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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-ca.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-cadir.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-certwatch.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-crehashcrt.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-crehashdoc.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-defaultbits.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-dontlinkmanpages.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-enginespath.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-fixmanpages.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-norpath.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-notests.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-optflags.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-perl518.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-soname.patch.xz
Binary files 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
--- /dev/null
+++ b/libs_security/openssl/openssl-1.0.1g-x509.patch.xz
Binary files 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 <ofni.sknuplatem@etaripd>
+
+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 <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: openssl (Secure Sockets Layer toolkit)
+${NAME}:
+${NAME}: The OpenSSL certificate management tool and the shared libraries that
+${NAME}: provide various encryption and decryption algorithms and protocols.
+${NAME}:
+${NAME}: This product includes software developed by the OpenSSL Project for
+${NAME}: use in the OpenSSL Toolkit (http://www.openssl.org). This product
+${NAME}: includes cryptographic software written by Eric Young
+${NAME}: (eay@cryptsoft.com). This product includes software written by Tim
+${NAME}: Hudson (tjh@cryptsoft.com).
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+config() {
+ NEW="\$1"
+ OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r \$OLD ]; then
+ mv \$NEW \$OLD
+ elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm \$NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+config etc/ssl/openssl.cnf.new
+config etc/cron.daily/certwatch.new
+
+# Rehash certificates if the package is upgraded on a running system:
+
+if [ -x ${SYS_DIR[bin]}/c_rehash ]; then
+ ${SYS_DIR[bin]}/c_rehash 1> /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
+}