ssmtp: update to 2.61-pl6

This commit is contained in:
Juergen Daubert 2006-03-24 10:35:57 +00:00
parent 2cc8b4d385
commit 9884470b4e
2 changed files with 5 additions and 4 deletions

View File

@ -1,2 +1,2 @@
87389d8bd11374184b76f0861fefdf77 ssmtp_2.61-5.diff.gz
e4fbbd7cf8b46421bfab7b2f43d9c70f ssmtp_2.61-6.diff.gz
957e6fff08625fe34f4fc33d0925bbc9 ssmtp_2.61.orig.tar.gz

View File

@ -5,13 +5,13 @@
name=ssmtp
version=2.61
release=2
release=3
source=(http://ftp.debian.org/debian/pool/main/s/$name/${name}_${version}.orig.tar.gz \
http://ftp.debian.org/debian/pool/main/s/$name/${name}_${version}-5.diff.gz)
http://ftp.debian.org/debian/pool/main/s/$name/${name}_${version}-6.diff.gz)
build () {
cd $name-$version
gunzip -c $SRC/${name}_${version}-5.diff.gz | patch -p1
gunzip -c $SRC/${name}_${version}-6.diff.gz | patch -p1
autoconf
./configure --prefix=/usr \
--sysconfdir=/etc \
@ -22,6 +22,7 @@ build () {
sed -i "s|_HOSTNAME_|`hostname -f`|" ssmtp.conf
sed -i "s|/etc/ssmtp.conf|/etc/ssmtp/ssmtp.conf|" ssmtp.conf
sed -i '39i\\n#AuthUser=\n#AuthPass=' ssmtp.conf
sed -i "s|/usr/lib/|/usr/sbin/|" ssmtp.8
install -D -m 644 ssmtp.conf $PKG/etc/ssmtp/ssmtp.conf