[arch-commits] Commit in vsftpd/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Mar 9 07:40:53 UTC 2017
Date: Thursday, March 9, 2017 @ 07:40:53
Author: arojas
Revision: 215362
openssl 1.1 rebuild
Modified:
vsftpd/trunk/PKGBUILD
----------+
PKGBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-09 07:29:16 UTC (rev 215361)
+++ PKGBUILD 2017-03-09 07:40:53 UTC (rev 215362)
@@ -6,7 +6,7 @@
pkgname=vsftpd
pkgver=3.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="Very Secure FTP daemon"
arch=('i686' 'x86_64')
url="https://security.appspot.com/vsftpd.html"
@@ -31,6 +31,9 @@
-e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' \
-i builddefs.h
+ # fix linking to openssl 1.1
+ sed -e 's|SSL_library_init|SSL_CTX_new|' -i vsf_findlibs.sh
+
CFLAGS+=' -fPIE' LINK='' LDFLAGS="-fPIE -pie ${LDFLAGS} -Wl,-z,now" make
}
More information about the arch-commits
mailing list