diff options
Diffstat (limited to 'community/vsftpd/PKGBUILD')
-rw-r--r-- | community/vsftpd/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/community/vsftpd/PKGBUILD b/community/vsftpd/PKGBUILD index 1215b4714..6be0249c3 100644 --- a/community/vsftpd/PKGBUILD +++ b/community/vsftpd/PKGBUILD @@ -1,9 +1,10 @@ -# $Id: PKGBUILD 67148 2012-03-05 00:08:24Z pschmitz $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# $Id: PKGBUILD 69224 2012-04-10 09:36:37Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: judd <jvinet@zeroflux.org> pkgname=vsftpd -pkgver=2.3.5 +pkgver=3.0.0 pkgrel=1 pkgdesc="Very Secure FTP daemon" arch=('i686' 'x86_64') @@ -14,22 +15,25 @@ backup=('etc/vsftpd.conf' 'etc/xinetd.d/vsftpd') install=vsftpd.install source=(https://security.appspot.com/downloads/${pkgname}-${pkgver}.tar.gz{,.asc} 'vsftpd.xinetd' 'vsftpd.d') -sha1sums=('f15b39ba6d68c953ab3c3e613e6ddc2a26493755' - '2ddf92782f19dafc72439a2917acb1d7e124d149' +sha1sums=('436da30cefa33e22a0266077ab95397e9432e297' + '2142ac8a84f18ecc1ebac21b9ac07858c35ae6af' 'c87b4ce56dac15223694a6e86c01ea813b877596' '24f268956c24e78be0c234c6d31f41487922eafe') build() { cd "${srcdir}/${pkgname}-${pkgver}" + # build-time config sed \ -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' \ -i builddefs.h - make CFLAGS="${CFLAGS}" + + make CFLAGS="${CFLAGS} -fPIC" } package() { cd "${srcdir}/${pkgname}-${pkgver}" + install -D -m755 vsftpd "${pkgdir}/usr/sbin/vsftpd" install -D -m644 vsftpd.conf "${pkgdir}/etc/vsftpd.conf" install -D -m644 vsftpd.8 "${pkgdir}/usr/share/man/man8/vsftpd.8" |