mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/cryptofs: Added to 12.0 repository
This commit is contained in:
parent
898b3ce8c9
commit
c0c52031fb
4 changed files with 102 additions and 0 deletions
14
system/cryptofs/README
Normal file
14
system/cryptofs/README
Normal file
|
@ -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.
|
61
system/cryptofs/cryptofs.SlackBuild
Normal file
61
system/cryptofs/cryptofs.SlackBuild
Normal file
|
@ -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
|
8
system/cryptofs/cryptofs.info
Normal file
8
system/cryptofs/cryptofs.info
Normal file
|
@ -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"
|
19
system/cryptofs/slack-desc
Normal file
19
system/cryptofs/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue