restructuring for debian package
This commit is contained in:
parent
ee17a3fc1f
commit
f9fe6f002e
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
24
cbox-tree.d/DEBIAN/control
Normal file
24
cbox-tree.d/DEBIAN/control
Normal 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/
|
||||||
|
|
|
@ -12,6 +12,7 @@ BUILD_DIR="$ROOT_DIR/_builddir"
|
||||||
|
|
||||||
# the cryptobox development files
|
# the cryptobox development files
|
||||||
TEMPLATE_DIR="$ROOT_DIR/cbox-tree.d"
|
TEMPLATE_DIR="$ROOT_DIR/cbox-tree.d"
|
||||||
|
TEMPLATE_EXTRAS_DIR="$ROOT_DIR/add-ons-tree.d"
|
||||||
|
|
||||||
# the iso image
|
# the iso image
|
||||||
IMAGE_FILE="$BUILD_DIR/cryptobox.iso"
|
IMAGE_FILE="$BUILD_DIR/cryptobox.iso"
|
||||||
|
|
|
@ -97,10 +97,12 @@ function configure_cb()
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Copying files to the box ..."
|
echo "Copying base files to the box ..."
|
||||||
[ -e "$TMP_DIR" ] && rm -rf "$TMP_DIR"
|
|
||||||
svn export --force "$TEMPLATE_DIR/." "$IMAGE_DIR"
|
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 ..."
|
echo "Configuring the cryptobox ..."
|
||||||
chroot "$IMAGE_DIR" "$CHROOT_START" /usr/lib/cryptobox/configure-cryptobox.sh normal
|
chroot "$IMAGE_DIR" "$CHROOT_START" /usr/lib/cryptobox/configure-cryptobox.sh normal
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue