diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/vsftpd/APKBUILD | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/vsftpd/APKBUILD')
-rw-r--r-- | main/vsftpd/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD new file mode 100644 index 0000000000..fef929cad6 --- /dev/null +++ b/main/vsftpd/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +pkgname=vsftpd +pkgver=2.1.0 +pkgrel=1 +pkgdesc="Very secure ftpd" +url="http://vsftpd.beasts.org" +license="GPL" +depends="openssl" +makedepends="openssl-dev !libcap-dev" +subpackages="$pkgname-doc" +source="ftp://vsftpd.beasts.org/users/cevans/vsftpd-${pkgver}.tar.gz +vsftpd-enable-ssl.patch +vsftpd.initd +vsftpd.confd" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + #Enable SSL support + patch -p0 -i "$srcdir"/vsftpd-enable-ssl.patch || return 1 + + make || return 1 + + install -m755 -D vsftpd "$pkgdir"/usr/sbin/vsftpd + install -m644 -D vsftpd.8 "$pkgdir"/usr/share/man/man8/vsftpd.8 + install -m644 -D vsftpd.conf.5 "$pkgdir"/usr/share/man/man5/vsftpd.conf.5 + install -m644 -D vsftpd.conf "$pkgdir"/etc/vsftpd.conf + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname + mkdir -p "$pkgdir"/usr/share/empty +} + +md5sums="7890b54e7ffa6106ffbdfda53f47fa41 vsftpd-2.1.0.tar.gz +f3cbaf364cd3c46a2a03b00de9d7e184 vsftpd-enable-ssl.patch +7edf5990c9f5dda983e918c55c92078e vsftpd.initd +431dfe7403323e247a88b97beade5d78 vsftpd.confd" |