restructuring for debian package

This commit is contained in:
lars 2005-11-29 22:28:28 +00:00
parent ee17a3fc1f
commit f9fe6f002e
47 changed files with 29 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -0,0 +1,24 @@
Package: cryptobox
Version: 0.3.0-1
Section: base
Priority: optional
Architecture: all
Depends: bash, sed, coreutils, grep, perl, httpd, httpd-cgi, perl, iptables, sysutils, samba, stunnel, hashalot, libconfig-perl, cryptsetup-luks, dmsetup, cron
Maintainer: Lars Kruse <devel@sumpfralle.de>
Conffiles:
/etc/cron.d/cryptobox
/etc/cryptobox/cryptobox.conf
/etc/cryptobox/openssl.conf
/etc/cryptobox/revision
Description: Web interface for encrypting fileserver
This bundle of scripts and cgis allow you to manage an encrypted harddisk
via a web interface. The data is platform independently available
via samba file shares.
Even non-technical users are able to encrypt their private data with the
CryptoBox.
This package depends on the following packages, that are not part of the main
debian distribution:
* cryptsetup_luks - http://luks.endorphin.org/masses
* clearsilver (perl bindings) - http://www.clearsilver.net/downloads/

View file

@ -12,6 +12,7 @@ BUILD_DIR="$ROOT_DIR/_builddir"
# the cryptobox development files
TEMPLATE_DIR="$ROOT_DIR/cbox-tree.d"
TEMPLATE_EXTRAS_DIR="$ROOT_DIR/add-ons-tree.d"
# the iso image
IMAGE_FILE="$BUILD_DIR/cryptobox.iso"

View file

@ -97,10 +97,12 @@ function configure_cb()
exit 1
fi
echo "Copying files to the box ..."
[ -e "$TMP_DIR" ] && rm -rf "$TMP_DIR"
echo "Copying base files to the box ..."
svn export --force "$TEMPLATE_DIR/." "$IMAGE_DIR"
echo "Copying add-on files to the box ..."
svn export --force "$TEMPLATE_EXTRAS_DIR/." "$IMAGE_DIR"
echo "Configuring the cryptobox ..."
chroot "$IMAGE_DIR" "$CHROOT_START" /usr/lib/cryptobox/configure-cryptobox.sh normal