diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-27 13:12:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-27 13:12:58 +0000 |
commit | 3630653b3a2e233c3b910ebe7788a76c6506c231 (patch) | |
tree | fb92d74daf12fe4bdd88d7b07e429896af1f2bab /extra/ssmtp/APKBUILD | |
parent | 11ccfb2a6b37f6f81666d67ef4c98fdd5c3e636f (diff) | |
download | aports-3630653b3a2e233c3b910ebe7788a76c6506c231.tar.bz2 aports-3630653b3a2e233c3b910ebe7788a76c6506c231.tar.xz |
extra/ssmtp: moved from testing
Diffstat (limited to 'extra/ssmtp/APKBUILD')
-rw-r--r-- | extra/ssmtp/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/ssmtp/APKBUILD b/extra/ssmtp/APKBUILD new file mode 100644 index 00000000..2f63b689 --- /dev/null +++ b/extra/ssmtp/APKBUILD @@ -0,0 +1,32 @@ +#Contributor: Leonardo Arena <rnalrd@gmail.com> +pkgname=ssmtp +pkgver=2.62 +pkgrel=0 +pkgdesc="Extremely simple MTA to get mail off the system to a mail hub" +subpackages="$pkgname-doc" +arch="" +url="http://packages.debian.org/source/lenny/ssmtp" +license="GPL-2" +depends="uclibc" +makedepends="openssl-dev" +install= +source="http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}.orig.tar.gz + CVE-2008-3962.patch + generate_config.patch" + +build() { + cd "$srcdir/$pkgname" + patch generate_config ../../generate_config.patch + sed -i -e 's:$(CC) -o:$(CC) @LDFLAGS@ -o:' Makefile.in + patch -p1 ssmtp.c ../../CVE-2008-3962.patch + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --enable-ssl + make || return 1 + make prefix="$pkgdir"/usr etcdir="$pkgdir"/etc mandir="$pkgdir"/usr/share/man install +} +md5sums="257ac04e62ab7e3616e220333a1140cb ssmtp_2.62.orig.tar.gz +18f0686f1b8888d187f06dcff3b6212a CVE-2008-3962.patch +c70c395fe71589ca8b10b666455d5071 generate_config.patch" |