Update of /cvsroot/devil-linux/build/scripts
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26709/scripts
Added Files:
dkim-milter sendmail
Log Message:
- added sendmail v8.14.3 (only libmilter for the build system is used)
- added dkim-milter v2.8.2
--- NEW FILE: dkim-milter ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/dkim-milter,v $
# $Revision: 1.1 $
# $Date: 2009/05/12 15:57:42 $
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: dkim-milter
# Required-Start: $basebuildtools $libs sendmail
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=SG3_UTILS
case $1 in
build )
if [ "$CONFIG_DKIM_MILTER" = "y" ] && [ "$CONFIG_SENDMAIL_LIBMILTER" = "y" ]; then
./Build || exit 1
#make $PMAKE all || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_DKIM_MILTER" = "y" ] && [ "$CONFIG_SENDMAIL_LIBMILTER" = "y" ]; then
rm -rf $TMPDIR || exit 1
mkdir -p $TMPDIR/usr/{bin,sbin,include} || exit 1
mkdir -p $TMPDIR/usr/man/man{3,5,8} || exit 1
make install DESTDIR=$TMPDIR || exit 1
copy_docs $TMPDIR
rm -rf $TMPDIR/usr/include
copy_files $TMPDIR/usr $CDDIR/ || exit 1
mkdir -p $ETCDIR/etc/mail || exit 1
cp dkim-filter/dkim-filter.conf.sample $ETCDIR/etc/mail || exit 1
rm -rf $TMPDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: sendmail ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/sendmail,v $
# $Revision: 1.1 $
# $Date: 2009/05/12 15:57:42 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: sendmail
# Required-Start: $basebuildtools $libs
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
cd libmilter || exit 1
make || exit 1
# install it in local system, because other programs could need it
make install || exit 1
;;
install )
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|