aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rwxr-xr-xsecurity/cryptmount/cryptmount.build82
-rwxr-xr-xsecurity/fcrackzip/fcrackzip.SlackBuild78
-rw-r--r--security/fpm2/fpm2-0.79-fixwarning.patch.xzbin0 -> 292 bytes
-rw-r--r--security/fpm2/fpm2-0.79-goption.patch.xzbin0 -> 1328 bytes
-rw-r--r--security/fpm2/fpm2-0.79-icons.patch.xzbin0 -> 10472 bytes
-rw-r--r--security/fpm2/fpm2-0.79-tooltips.patch.xzbin0 -> 672 bytes
-rw-r--r--security/fpm2/fpm2-0.79-xdguserdirs.patch.xzbin0 -> 1760 bytes
-rwxr-xr-xsecurity/fpm2/fpm2.build62
-rw-r--r--security/gnupg/gnupg-2.0.19-notermcap.patch.xzbin0 -> 336 bytes
-rwxr-xr-xsecurity/gnupg/gnupg.build95
-rw-r--r--security/lcrack/lcrack-1.1-compile.patch.xzbin0 -> 932 bytes
-rwxr-xr-xsecurity/lcrack/lcrack.build49
-rw-r--r--security/seahorse/seahorse-3.8.0-sshaskpass.patch.xzbin0 -> 272 bytes
-rwxr-xr-xsecurity/seahorse/seahorse.build88
14 files changed, 454 insertions, 0 deletions
diff --git a/security/cryptmount/cryptmount.build b/security/cryptmount/cryptmount.build
new file mode 100755
index 0000000..1b71a0e
--- /dev/null
+++ b/security/cryptmount/cryptmount.build
@@ -0,0 +1,82 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=cryptmount
+VERSION=4.4
+BUILD=1
+DEPENDS=('lvm >= 2.02.98-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}: cryptmount
+${NAME}:
+${NAME}: A utility to mount encrypted filing systems that uses the kernel's
+${NAME}: dm-crypt device mapper target. After initial configuration by the
+${NAME}: superuser, an ordinary user can mount/unmount filesystems managed by
+${NAME}: cryptmount solely by providing the decryption password, with any
+${NAME}: system devices needed to access the filing system being configured
+${NAME}: automatically. A wide variety of encryption schemes can be used to
+${NAME}: protect both the filing system and the access key. The filing
+${NAME}: systems can reside in either ordinary files or disk partitions.
+${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/cryptmount/cmtab.new
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/cryptmount/cryptmount/cryptmount-${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/@PACKAGE@|$(libdir)/plugins/@PACKAGE@|g' $(find . -name "Makefile.in")
+sed -i 's|/usr/lib/systemd/system|/usr/share/systemd/system|g' sysinit/Makefile.{in,am}
+CPPFLAGS="-I${SYS_DIR[include]}/gpg-error -I${SYS_DIR[include]}/gcrypt" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-rpath \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-systemd
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog RELNOTES
+config ${PKG}${SYS_DIR[etc]}/cryptmount/cmtab
+}
diff --git a/security/fcrackzip/fcrackzip.SlackBuild b/security/fcrackzip/fcrackzip.SlackBuild
new file mode 100755
index 0000000..e084703
--- /dev/null
+++ b/security/fcrackzip/fcrackzip.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/sh
+
+CWD=`pwd`
+NAME=fcrackzip
+VERSION=0.3
+ARCH=i586
+BUILD=1
+PKGNAME=$NAME
+PKGVER=$VERSION
+BASEDIR=$PKGNAME-$PKGVER
+ARCHIVE=$BASEDIR.tar.gz
+REPOSITORY=http://www.goof.com/pcg/marc/data
+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 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
+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 ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+fcrackzip: fcrackzip
+fcrackzip:
+fcrackzip: Fcrackzip is a fast and free ZIP archive file password cracker. This
+fcrackzip: mind be handy if you forget the password of a ZIP file or other
+fcrackzip: unavowable things...
+fcrackzip:
+fcrackzip:
+fcrackzip:
+fcrackzip:
+fcrackzip:
+fcrackzip:
+EOF
+
+install -m644 -g0 -o0 AUTHORS NEWS README noradi.zip \
+ $PKG/usr/doc/$NAME-$VERSION
+
+# Already in infozip package...
+rm -f $PKG/usr/bin/zipinfo
+
+chmod 444 $PKG/usr/man/man?/*.?
+gzip -9nf $PKG/usr/man/man?/*.?
+
+strip $PKG/usr/bin/* || :
+
+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/security/fpm2/fpm2-0.79-fixwarning.patch.xz b/security/fpm2/fpm2-0.79-fixwarning.patch.xz
new file mode 100644
index 0000000..2272dc7
--- /dev/null
+++ b/security/fpm2/fpm2-0.79-fixwarning.patch.xz
Binary files differ
diff --git a/security/fpm2/fpm2-0.79-goption.patch.xz b/security/fpm2/fpm2-0.79-goption.patch.xz
new file mode 100644
index 0000000..f5d75fa
--- /dev/null
+++ b/security/fpm2/fpm2-0.79-goption.patch.xz
Binary files differ
diff --git a/security/fpm2/fpm2-0.79-icons.patch.xz b/security/fpm2/fpm2-0.79-icons.patch.xz
new file mode 100644
index 0000000..9258ff8
--- /dev/null
+++ b/security/fpm2/fpm2-0.79-icons.patch.xz
Binary files differ
diff --git a/security/fpm2/fpm2-0.79-tooltips.patch.xz b/security/fpm2/fpm2-0.79-tooltips.patch.xz
new file mode 100644
index 0000000..34bed1a
--- /dev/null
+++ b/security/fpm2/fpm2-0.79-tooltips.patch.xz
Binary files differ
diff --git a/security/fpm2/fpm2-0.79-xdguserdirs.patch.xz b/security/fpm2/fpm2-0.79-xdguserdirs.patch.xz
new file mode 100644
index 0000000..f30d322
--- /dev/null
+++ b/security/fpm2/fpm2-0.79-xdguserdirs.patch.xz
Binary files differ
diff --git a/security/fpm2/fpm2.build b/security/fpm2/fpm2.build
new file mode 100755
index 0000000..2150330
--- /dev/null
+++ b/security/fpm2/fpm2.build
@@ -0,0 +1,62 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=fpm2
+VERSION=0.79
+BUILD=2
+DEPENDS=('gtk+ >= 2.24.14-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}: fpm2 (Figaro's Password Manager 2)
+${NAME}:
+${NAME}: FPM2 is a Gtk+2 port of Figaro's Password Manager originally
+${NAME}: developed by John Conneely with some new features.
+${NAME}:
+${NAME}: Homepage: http://als.regnet.cz/fpm2
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://als.regnet.cz/${SRCNAME[0]}/download/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --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 ChangeLog
+for size in 16x16 24x24 32x32 48x48 64x64; do
+install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/${size}/apps
+install.dat fpm2_${size}.png ${PKG}${SYS_DIR[share]}/icons/hicolor/${size}/apps/fpm2.png
+done
+}
diff --git a/security/gnupg/gnupg-2.0.19-notermcap.patch.xz b/security/gnupg/gnupg-2.0.19-notermcap.patch.xz
new file mode 100644
index 0000000..8522fb3
--- /dev/null
+++ b/security/gnupg/gnupg-2.0.19-notermcap.patch.xz
Binary files differ
diff --git a/security/gnupg/gnupg.build b/security/gnupg/gnupg.build
new file mode 100755
index 0000000..ab689f2
--- /dev/null
+++ b/security/gnupg/gnupg.build
@@ -0,0 +1,95 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=gnupg
+VERSION=2.0.19
+BUILD=2
+DEPENDS=('libgcrypt >= 1.5.0-1' 'libassuan >= 2.0.3-1' 'libksba >= 1.3.0-1' 'pth >= 2.0.7-1' 'capabilities >= 20130117-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}: gnupg (GNU Privacy Guard)
+${NAME}:
+${NAME}: GnuPG is GNU's tool for secure communication and data storage. It can
+${NAME}: be used to encrypt data and to create digital signatures. It includes
+${NAME}: an advanced key management facility and is compliant with the
+${NAME}: proposed OpenPGP Internet standard as described in RFC2440 and the
+${NAME}: S/MIME standard as described by several RFCs.
+${NAME}:
+${NAME}: Homepage: http://www.gnupg.org
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+install_info()
+{
+ for file in "\${*}"; do
+ if [ -x usr/bin/install-info ]; then
+ usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null
+ fi
+ done
+}
+
+# Install texinfo files
+
+install_info gnupg
+EOF
+
+REPOSITORY=ftp://ftp.gnupg.org/gcrypt/gnupg
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${REPOSITORY}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL3 LGPL3"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --infodir="${SYS_DIR[info]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --libexecdir="${SYS_DIR[lib]}/exec" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}-${SRCVERS[0]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+(
+ cd ${DOC}
+ mv examples/gpgconf.conf .
+ rm -rf DETAILS HACKING KEYSERVER OpenPGP README TRANSLATE examples
+)
+install.dir ${PKG}${SYS_DIR[etc]}/gnupg
+(
+ cd ${PKG}${SYS_DIR[bin]}
+ ln -sf gpg2 gpg
+ ln -sf gpgv2 gpgv
+)
+echo ".so man1/gpg2.1" > ${PKG}${SYS_DIR[man]}/man1/gpg.1
+echo ".so man1/gpgv2.1" > ${PKG}${SYS_DIR[man]}/man1/gpgv.1
+rm -f ${PKG}${SYS_DIR[share]}/gnupg/com-certs.pem
+}
diff --git a/security/lcrack/lcrack-1.1-compile.patch.xz b/security/lcrack/lcrack-1.1-compile.patch.xz
new file mode 100644
index 0000000..25434c1
--- /dev/null
+++ b/security/lcrack/lcrack-1.1-compile.patch.xz
Binary files differ
diff --git a/security/lcrack/lcrack.build b/security/lcrack/lcrack.build
new file mode 100755
index 0000000..5ae487a
--- /dev/null
+++ b/security/lcrack/lcrack.build
@@ -0,0 +1,49 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=lcrack
+VERSION=1.1
+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}: lcrack (Lepton's Crack)
+${NAME}:
+${NAME}: A generic password hash cracker, easily customizable with a simple
+${NAME}: plug-in system. It can perform a dictionary-based (word list) attack,
+${NAME}: as well as a brute force (incremental) password scan. By default it
+${NAME}: comes with the following modules: md4 (standard MD4 hash), md5
+${NAME}: (standard MD5 hash), nt4 (NT MD4/Unicode), dom (Lotus Domino HTTP
+${NAME}: password) and null (trivial 1-byte hash).
+${NAME}:
+${NAME}: Homepage: http://
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://usuarios.lycos.es/reinob/lcrack/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+make ${JOBS} COPTS="${FLAGS}"
+doc README
+changelog CHANGES
+install.dir ${PKG}/usr/bin
+install.bin lcrack ${PKG}/usr/bin
+}
diff --git a/security/seahorse/seahorse-3.8.0-sshaskpass.patch.xz b/security/seahorse/seahorse-3.8.0-sshaskpass.patch.xz
new file mode 100644
index 0000000..f4ed7b0
--- /dev/null
+++ b/security/seahorse/seahorse-3.8.0-sshaskpass.patch.xz
Binary files differ
diff --git a/security/seahorse/seahorse.build b/security/seahorse/seahorse.build
new file mode 100755
index 0000000..cbd4479
--- /dev/null
+++ b/security/seahorse/seahorse.build
@@ -0,0 +1,88 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=seahorse
+MAJOR=3.8
+VERSION=${MAJOR}.0
+BUILD=1
+DEPENDS=('gtk+ >= 3.8.0-1' 'gcr >= 3.8.0-1' 'gpgme >= 1.3.2-1' 'libsecret >= 0.14-1' 'libsoup >= 2.42.0-1')
+OPTDEPENDS=('openssh >= 6.1p1-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}: seahorse
+${NAME}:
+${NAME}: An application for managing encryption keys and passwords.
+${NAME}:
+${NAME}: Homepage: http://live.gnome.org/Seahorse
+${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]}/update-desktop-database ]; then
+ ${SYS_DIR[bin]}/update-desktop-database -q
+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
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="GPL2 FDL11"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-schemas-compile \
+ --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]}/exec" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --disable-sharing \
+ --disable-ldap
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS MAINTAINERS THANKS
+changelog NEWS
+sed -i "s|@LIBEXECDIR@|${SYS_DIR[lib]}/exec|g" seahorse-ssh-askpass.sh
+install.dir ${PKG}${SYS_DIR[bin]}
+install.bin seahorse-ssh-askpass.sh ${PKG}${SYS_DIR[bin]}/seahorse-ssh-askpass
+}