Update of /cvsroot/devil-linux/build/scripts
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3825/scripts
Added Files:
gnutls aiccu
Log Message:
- added aiccu (IPv6 broker) (Oliver Niesner/sl)
- added gnutls (Oliver Niesner/sl)
--- NEW FILE: gnutls ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/gnutls,v $
# $Revision: 1.1 $
# $Date: 2009/03/20 22:55:28 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: gnutls
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Description: TLS secure protocol
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
./configure --prefix=/usr || exit 1
make $PMAKE all || exit 1
strip_debug
# install it in local system, because other programs could need it
make install
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: aiccu ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/aiccu,v $
# $Revision: 1.1 $
# $Date: 2009/03/20 22:55:28 $
#
# http://www.devil-linux.org
#
# aiccu added by Oliver Niesner <dig...@gm...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: aiccu
# Required-Start: $basebuildtools $libs gnutls
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: Tool for Sixxs Tunnel broker ( tool for 6to4 Tunnels)
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME="AICCU"
case $1 in
build )
if [ "$CONFIG_AICCU" = "y" ]; then
cd unix-console
make $PMAKE all || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_AICCU" = "y" ]; then
rm -rf $TMPDIR || exit 1
cp -a unix-console/aiccu $CDDIR/usr/sbin || exit 1
install -m 644 ./doc/aiccu.1 $CDDIR/usr/share/man/man1 || exit 1
cp -a doc/aiccu.conf $ETCDIR/etc/ || exit 1
rm -rf $TMPDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|