diff options
Diffstat (limited to 'main/vsftpd/APKBUILD')
-rw-r--r-- | main/vsftpd/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD index 87ad82dbbe..41e9a1c8a7 100644 --- a/main/vsftpd/APKBUILD +++ b/main/vsftpd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=vsftpd pkgver=2.3.1 -pkgrel=0 +pkgrel=1 pkgdesc="Very secure ftpd" url="http://vsftpd.beasts.org" license="GPL" @@ -14,15 +14,20 @@ source="ftp://vsftpd.beasts.org/users/cevans/vsftpd-${pkgver}.tar.gz vsftpd.initd vsftpd.confd" -build() { - cd "$srcdir/$pkgname-$pkgver" - +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd $_builddir #Enable SSL support patch -p0 -i "$srcdir"/vsftpd-enable-ssl.patch || return 1 - # we dont have libnsl sed -i -e '/-lnsl/d' vsf_findlibs.sh || return 1 + # Let abuild control stripping + sed -i '/^LINK[[:space:]]*=[[:space:]]*/ s/-Wl,-s//' Makefile +} +build() { + cd $_builddir make || return 1 } |