aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ssmtp/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2009-01-27 10:26:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-27 13:11:05 +0000
commit11ccfb2a6b37f6f81666d67ef4c98fdd5c3e636f (patch)
treeb9f45a96669ecafb93409f66198e1238728f20f3 /testing/ssmtp/APKBUILD
parentb1c08e60e047806554a40a57669287a7217f3246 (diff)
downloadaports-11ccfb2a6b37f6f81666d67ef4c98fdd5c3e636f.tar.gz
aports-11ccfb2a6b37f6f81666d67ef4c98fdd5c3e636f.tar.bz2
aports-11ccfb2a6b37f6f81666d67ef4c98fdd5c3e636f.tar.xz
testing/ssmtp: hostname fix
Diffstat (limited to 'testing/ssmtp/APKBUILD')
-rw-r--r--testing/ssmtp/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/testing/ssmtp/APKBUILD b/testing/ssmtp/APKBUILD
index be2f4deda2..2f63b689f9 100644
--- a/testing/ssmtp/APKBUILD
+++ b/testing/ssmtp/APKBUILD
@@ -11,12 +11,11 @@ depends="uclibc"
makedepends="openssl-dev"
install=
source="http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}.orig.tar.gz
- generate_config.patch
- CVE-2008-3962.patch"
+ CVE-2008-3962.patch
+ generate_config.patch"
build() {
cd "$srcdir/$pkgname"
- sed -i -e 's/hostname --fqdn/hostname -f/g' generate_config
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
@@ -29,5 +28,5 @@ build() {
make prefix="$pkgdir"/usr etcdir="$pkgdir"/etc mandir="$pkgdir"/usr/share/man install
}
md5sums="257ac04e62ab7e3616e220333a1140cb ssmtp_2.62.orig.tar.gz
-d799575f8edefaa279b4cef4df55f874 generate_config.patch
-18f0686f1b8888d187f06dcff3b6212a CVE-2008-3962.patch"
+18f0686f1b8888d187f06dcff3b6212a CVE-2008-3962.patch
+c70c395fe71589ca8b10b666455d5071 generate_config.patch"