2006-11-13 21:12:21 +01:00
|
|
|
# Maintainer: Han Boetes <han@mijncomputer.nl>
|
|
|
|
# Description: qmail is the proof security-bugfree software can be written.
|
|
|
|
# URL: http://www.qmail.org/
|
2006-11-19 20:28:06 +01:00
|
|
|
# Depends on: nologin
|
2006-11-13 21:12:21 +01:00
|
|
|
|
|
|
|
name=qmail
|
|
|
|
version=1.05
|
|
|
|
release=1
|
|
|
|
source="
|
|
|
|
http://qmail.org/netqmail-$version.tar.gz
|
|
|
|
patch-Makefile
|
|
|
|
"
|
|
|
|
|
|
|
|
build ()
|
|
|
|
{
|
2006-11-19 20:16:09 +01:00
|
|
|
if ! grep -q qmaild /etc/passwd; then
|
|
|
|
echo "Read the README!" >&2
|
|
|
|
false
|
|
|
|
fi
|
2006-11-13 21:12:21 +01:00
|
|
|
cd net$name-$version
|
|
|
|
./collate.sh
|
|
|
|
cd net$name-$version
|
2006-11-19 20:16:09 +01:00
|
|
|
patch -i $SRC/patch-Makefile
|
2006-11-13 21:12:21 +01:00
|
|
|
echo "${CC:=gcc} $CFLAGS" > conf-cc
|
|
|
|
echo "${CC:=gcc -s}" > conf-ld
|
|
|
|
make it man
|
|
|
|
install -d $PKG/{var,usr/sbin}
|
|
|
|
echo "$PKG/var/qmail" > conf-qmail
|
|
|
|
make setup check
|
|
|
|
ln -s /var/qmail/bin/sendmail $PKG/usr/sbin/sendmail
|
|
|
|
strip $PKG/var/qmail/bin/* || :
|
|
|
|
}
|