debianisation finished
This commit is contained in:
parent
f9fe6f002e
commit
84f056169b
17 changed files with 84 additions and 38 deletions
1
COPYRIGHT
Symbolic link
1
COPYRIGHT
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cbox-tree.d/usr/share/doc/cryptobox/copyright
|
8
DEBIAN/conffiles
Normal file
8
DEBIAN/conffiles
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/etc/cron.d/cryptobox
|
||||||
|
/etc/cryptobox/cryptobox.conf
|
||||||
|
/etc/cryptobox/openssl.cnf
|
||||||
|
/etc/cryptobox/revision
|
||||||
|
/etc/init.d/cb-network.sh
|
||||||
|
/etc/init.d/cb-services.sh
|
||||||
|
/etc/init.d/cb-mount-config.sh
|
||||||
|
/etc/init.d/cb-finish-boot.sh
|
|
@ -3,14 +3,8 @@ Version: 0.3.0-1
|
||||||
Section: base
|
Section: base
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: bash, sed, coreutils, grep, perl, httpd, httpd-cgi, perl, iptables, sysutils, samba, stunnel, hashalot, libconfig-perl, cryptsetup-luks, dmsetup, cron
|
Depends: bash (>=2.0), sed (>=4.0), coreutils, grep (>=2.0), perl, httpd-cgi, iptables, sysutils, samba, stunnel, hashalot, libconfig-perl, cryptsetup-luks, dmsetup, cron
|
||||||
Maintainer: Lars Kruse <devel@sumpfralle.de>
|
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
|
Description: Web interface for encrypting fileserver
|
||||||
This bundle of scripts and cgis allow you to manage an encrypted harddisk
|
This bundle of scripts and cgis allow you to manage an encrypted harddisk
|
||||||
via a web interface. The data is platform independently available
|
via a web interface. The data is platform independently available
|
|
@ -1 +1 @@
|
||||||
../init.d/cb-finish-boot
|
../init.d/cb-finish-boot.sh
|
1
cbox-tree.d/mnt/cb-etc/.placeholder
Normal file
1
cbox-tree.d/mnt/cb-etc/.placeholder
Normal file
|
@ -0,0 +1 @@
|
||||||
|
do not remove this file
|
1
cbox-tree.d/mnt/crypto/.placeholder
Normal file
1
cbox-tree.d/mnt/crypto/.placeholder
Normal file
|
@ -0,0 +1 @@
|
||||||
|
do not remove this file
|
|
@ -1 +0,0 @@
|
||||||
Hallo
|
|
15
cbox-tree.d/usr/share/doc/cryptobox/README.Debian
Normal file
15
cbox-tree.d/usr/share/doc/cryptobox/README.Debian
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
CryptoBox for Debian
|
||||||
|
|
||||||
|
1) additional dependencies
|
||||||
|
you need the following packages, which are not (yet) part of the main debian distribution:
|
||||||
|
* cryptsetup_luks - http://luks.endorphin.org/masses
|
||||||
|
* clearsilver (perl bindings) - http://www.clearsilver.net/downloads/
|
||||||
|
|
||||||
|
2) cgi-bin
|
||||||
|
If you do not use thttpd as your webserver, you should add the cgi-bin path to
|
||||||
|
your script directory. For apache this would be something like the following:
|
||||||
|
(file /etc/apache???/conf.d/cryptobox)
|
||||||
|
ScriptAlias /cryptobox /var/www/cgi-bin/cryptobox.pl
|
||||||
|
|
||||||
|
-- Lars Kruse <devel@sumpfralle.de> Wed, 30 Nov 2005 01:05:45 +0100
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
Version 0.3 - 11/??/02005
|
|
||||||
* uses cryptsetup-luks instead of cryptsetup
|
|
||||||
* bugfix: add /dev/hdd to device scan
|
|
||||||
* support for usb, scsi and firewire cdrom drive
|
|
||||||
|
|
||||||
Version 0.2.1 - 10/22/02005
|
|
||||||
* fixed a critical bug in the initialisation process
|
|
||||||
* default cipher changed to "aes-cbc-essiv:sha256" (more secure)
|
|
||||||
* the boot menue (grub) is now protected
|
|
||||||
* support for usb and firewire harddisks
|
|
||||||
* new kernel: Linux 2.6.12.6
|
|
||||||
* minor language improvements
|
|
||||||
|
|
||||||
Version 0.2 - 10/04/02005
|
|
||||||
* first public release
|
|
||||||
* fully configurable via web interface
|
|
||||||
* AES encryption via device-mapper
|
|
||||||
* Samba v3.0.14a-3
|
|
||||||
* Linux 2.6.11
|
|
||||||
* based on Debian GNU/Linux 3.1
|
|
||||||
* documentation languages:
|
|
||||||
* English
|
|
||||||
* German
|
|
||||||
* interface languages:
|
|
||||||
* English
|
|
||||||
* German
|
|
||||||
* Slovenian
|
|
BIN
cbox-tree.d/usr/share/doc/cryptobox/changelog.Debian.gz
Normal file
BIN
cbox-tree.d/usr/share/doc/cryptobox/changelog.Debian.gz
Normal file
Binary file not shown.
BIN
cbox-tree.d/usr/share/doc/cryptobox/changelog.gz
Normal file
BIN
cbox-tree.d/usr/share/doc/cryptobox/changelog.gz
Normal file
Binary file not shown.
|
@ -12,7 +12,7 @@ General Public License for more details.
|
||||||
You should have received a copy of the GNU General Public License with
|
You should have received a copy of the GNU General Public License with
|
||||||
your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the
|
your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the
|
||||||
Debian GNU/Linux hello source package as the file COPYING. If not,
|
Debian GNU/Linux hello source package as the file COPYING. If not,
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||||
Boston, MA 02111-1307, USA.
|
Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
$Id$
|
$Id$
|
||||||
|
|
|
@ -26,6 +26,7 @@ function error_die()
|
||||||
|
|
||||||
# the base directory of your local development files
|
# the base directory of your local development files
|
||||||
ROOT_DIR=$(dirname "$0")/..
|
ROOT_DIR=$(dirname "$0")/..
|
||||||
|
ROOT_DIR=$(cd "$ROOT_DIR"; pwd)
|
||||||
|
|
||||||
# the template (default) configuration directory
|
# the template (default) configuration directory
|
||||||
DEFAULTCONF_DIR="$ROOT_DIR/etc-defaults.d"
|
DEFAULTCONF_DIR="$ROOT_DIR/etc-defaults.d"
|
||||||
|
|
53
scripts/debian
Normal file
53
scripts/debian
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (c) 02005 sense.lab <senselab@systemausfall.org>
|
||||||
|
#
|
||||||
|
# License: This script is distributed under the terms of version 2
|
||||||
|
# of the GNU GPL. See the LICENSE file included with the package.
|
||||||
|
#
|
||||||
|
# $Id: cbox-build.sh 336 2005-11-29 22:28:28Z lars $
|
||||||
|
#
|
||||||
|
# build a debian package
|
||||||
|
#
|
||||||
|
|
||||||
|
set -ue
|
||||||
|
|
||||||
|
# include common functions and settings
|
||||||
|
source $(dirname $0)/common.sh.inc
|
||||||
|
|
||||||
|
######### some settings ###########
|
||||||
|
DEB_BUILD_DIR=/tmp/cryptobox-debian-$$
|
||||||
|
[ -e "$DEB_BUILD_DIR" ] && rm -rf "$DEB_BUILD_DIR"
|
||||||
|
|
||||||
|
DEB_ROOT_DIR=$TEMPLATE_DIR
|
||||||
|
DEB_CONTROL_DIR=$ROOT_DIR/DEBIAN
|
||||||
|
DEB_PACKAGE_DIR=$ROOT_DIR/packages
|
||||||
|
|
||||||
|
############# do it ###############
|
||||||
|
|
||||||
|
ACTION=build
|
||||||
|
[ $# -gt 0 ] && ACTION=$1 && shift
|
||||||
|
|
||||||
|
case "$ACTION" in
|
||||||
|
build )
|
||||||
|
# check for uid=0 (necessary for building)
|
||||||
|
[ "$(id -u)" -ne 0 ] && echo "this script ($0) has to be called as root" >&2 && exit 1
|
||||||
|
svn export "$DEB_ROOT_DIR" "$DEB_BUILD_DIR"
|
||||||
|
svn export "$DEB_CONTROL_DIR" "$DEB_BUILD_DIR/DEBIAN"
|
||||||
|
chown -R root. "$DEB_BUILD_DIR/usr/share/doc/"
|
||||||
|
dpkg-deb --build "$DEB_BUILD_DIR" "$DEB_PACKAGE_DIR"
|
||||||
|
rm -rf "$DEB_BUILD_DIR"
|
||||||
|
;;
|
||||||
|
check )
|
||||||
|
PACKAGE_FILE=$(find "$DEB_PACKAGE_DIR" -type f -name "cryptobox*" | grep "\.deb$" | sort -n | tail -1)
|
||||||
|
if [ -z "$PACKAGE_FILE" ]
|
||||||
|
then echo "no debian package found in $DEB_PACKAGE_DIR"
|
||||||
|
else lintian "$PACKAGE_FILE"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
echo "Syntax: $(basename $0) [ build | check help ]"
|
||||||
|
echo
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in a new issue