diff options
-rw-r--r-- | system/cryptofs/README | 14 | ||||
-rw-r--r-- | system/cryptofs/cryptofs.SlackBuild | 61 | ||||
-rw-r--r-- | system/cryptofs/cryptofs.info | 8 | ||||
-rw-r--r-- | system/cryptofs/slack-desc | 19 |
4 files changed, 102 insertions, 0 deletions
diff --git a/system/cryptofs/README b/system/cryptofs/README new file mode 100644 index 0000000000..ff31de135d --- /dev/null +++ b/system/cryptofs/README @@ -0,0 +1,14 @@ +CryptoFS is a encrypted filesystem for Filesystem in Userspace (FUSE) +and the Linux Userland FileSystem (LUFS). + +CryptoFS will use a normal directory to store files encrypted. The +mountpoint will contain the decrypted files. Every file stored in +this mountpoint will be written encrypted (data and filename) to the +directory that was mounted. If you unmount the directory the encrypted +data can only be access by mounting the directory with the correct key +again. Like other FUSE/LUFS filesystems it does not need root access +or any complicated setup like creating a filesystem on a encrypted disk +using the loop device. + +This requires fuse (also available at SlackBuilds.org), although it can +alternatively use LUFS if you have that installed from elsewhere. diff --git a/system/cryptofs/cryptofs.SlackBuild b/system/cryptofs/cryptofs.SlackBuild new file mode 100644 index 0000000000..5aac5f2ad0 --- /dev/null +++ b/system/cryptofs/cryptofs.SlackBuild @@ -0,0 +1,61 @@ +#!/bin/sh + +# Pierre Cazenave revision date 10/11/2007 +# Modified by Robby Workman <rworkman@slackbuilds.org> for better +# consistency with our other scripts + +PRGNAM=cryptofs +VERSION=0.6.0 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e # Exit on most errors + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +rm -rf $TMP/$PRGNAM-$VERSION +cd $TMP +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static + +make +make install DESTDIR=$PKG + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/system/cryptofs/cryptofs.info b/system/cryptofs/cryptofs.info new file mode 100644 index 0000000000..18625fd6ff --- /dev/null +++ b/system/cryptofs/cryptofs.info @@ -0,0 +1,8 @@ +PRGNAM="cryptofs" +VERSION="0.6.0" +HOMEPAGE="http://reboot.animeirc.de/cryptofs/" +DOWNLOAD="http://reboot.animeirc.de/cryptofs/cryptofs-0.6.0.tar.bz2" +MD5SUM="50737307cb91c5936be5fb41133957de" +MAINTAINER="Pierre Cazenave" +EMAIL="pwcazenave@gmail.com" +APPROVED="rworkman" diff --git a/system/cryptofs/slack-desc b/system/cryptofs/slack-desc new file mode 100644 index 0000000000..46ce38d226 --- /dev/null +++ b/system/cryptofs/slack-desc @@ -0,0 +1,19 @@ +# 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---------------------------------------------------| +cryptofs: CryptoFS (User-space encrypted filesystem) +cryptofs: +cryptofs: CryptoFS is a encrypted filesystem for Filesystem in Userspace +cryptofs: (FUSE) and the Linux Userland FileSystem (LUFS). +cryptofs: +cryptofs: http://reboot.animeirc.de/cryptofs/ +cryptofs: +cryptofs: +cryptofs: +cryptofs: +cryptofs: |