4 _dirpkgver=${_pkgver/ext./ext}
6 pkgdesc="An extended version of the Very Secure FTP daemon"
8 url="http://vsftpd.devnet.ru/"
10 depends=('glibc' 'pam' 'openssl' 'libcap>=2.16')
13 install=vsftpd-ext.install
14 backup=(etc/vsftpd.conf etc/xinetd.d/vsftpd)
15 source=(http://vsftpd.devnet.ru/files/2.3.5/ext.1/vsFTPd-${_dirpkgver}.tgz
18 md5sums=('77e2bf4991259075e501ab46a6996da8'
19 'e46ed8e4c4a6e6a3de59f60b98e4f569'
20 'b07fd4609c70063c1d6b20142910c1a6')
23 cd "${srcdir}/vsFTPd-${_pkgver}"
27 -e 's|^#undef VSF_BUILD_SSL$|#define VSF_BUILD_SSL|' \
34 make CFLAGS="${CFLAGS}"
38 cd "${srcdir}/vsFTPd-${_pkgver}"
39 install -D -m755 vsftpd "${pkgdir}/usr/sbin/vsftpd"
40 install -D -m644 vsftpd.conf "${pkgdir}/etc/vsftpd.conf"
41 install -D -m644 vsftpd.8 "${pkgdir}/usr/share/man/man8/vsftpd.8"
42 install -D -m644 vsftpd.conf.5 "${pkgdir}/usr/share/man/man5/vsftpd.conf.5"
43 install -D -m644 "${srcdir}/vsftpd.xinetd" "${pkgdir}/etc/xinetd.d/vsftpd"
44 install -D -m755 "${srcdir}/vsftpd.d" "${pkgdir}/etc/rc.d/vsftpd"
46 install -d -m755 "${pkgdir}/usr/share/empty"