summaryrefslogtreecommitdiffstats
path: root/main/vsftpd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-10-06 12:18:29 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-10-06 12:18:29 +0000
commit2500eba890b5c975b2a4b001313344ce68d08fbc (patch)
tree493e6ecf3ecee303c3ffbde119948b87f8b8d561 /main/vsftpd
parentfc01fb09509a774e82e4b1b22ef8ac2c1bbc001f (diff)
downloadaports-2500eba890b5c975b2a4b001313344ce68d08fbc.tar.bz2
aports-2500eba890b5c975b2a4b001313344ce68d08fbc.tar.xz
main/vsftpd: remove binaries stripping
Diffstat (limited to 'main/vsftpd')
-rw-r--r--main/vsftpd/APKBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD
index 87ad82dbb..41e9a1c8a 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
}