2010-06-01 11:47:28 +02:00
|
|
|
# Description: Mail Transfer Agent for workstations and local networks
|
|
|
|
# URL: http://marmaro.de/prog/masqmail/
|
2012-11-19 18:06:34 +01:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: glib
|
|
|
|
|
|
|
|
name=masqmail
|
2012-11-19 18:06:34 +01:00
|
|
|
version=0.3.4
|
2012-11-20 12:14:59 +01:00
|
|
|
release=2
|
2010-06-21 13:42:00 +02:00
|
|
|
source=(http://marmaro.de/prog/masqmail/files/$name-$version.tar.gz
|
2012-11-19 18:06:34 +01:00
|
|
|
masqmail)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2010-06-01 11:47:28 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
2010-06-01 11:47:28 +02:00
|
|
|
--mandir=/usr/man \
|
2006-02-23 15:26:10 +00:00
|
|
|
--with-user=mail \
|
2010-06-01 11:47:28 +02:00
|
|
|
--with-group=mail
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
ln -s masqmail $PKG/usr/sbin/sendmail
|
|
|
|
ln -s ../sbin/masqmail $PKG/usr/bin/mailq
|
|
|
|
|
2012-11-19 18:06:34 +01:00
|
|
|
install -m 644 examples/* $PKG/etc/masqmail
|
2006-02-23 15:26:10 +00:00
|
|
|
install -D -m 755 $SRC/masqmail $PKG/etc/rc.d/masqmail
|
2010-06-01 11:47:28 +02:00
|
|
|
|
2012-11-19 18:06:34 +01:00
|
|
|
install -d -o mail -g mail $PKG/var/{log,lock,spool}/masqmail
|
2010-06-01 11:47:28 +02:00
|
|
|
touch $PKG/var/log/masqmail/{masqmail,debug}.log
|
|
|
|
chown mail:mail $PKG/var/log/masqmail/*
|
2012-11-20 12:14:59 +01:00
|
|
|
chmod 1777 $PKG/var/lock
|
2012-11-19 18:06:34 +01:00
|
|
|
|
|
|
|
rm $PKG/usr/share/masqmail/tpl/*.tpl.*
|
|
|
|
rm -r $PKG/usr/share/doc
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|