diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-25 17:02:20 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-25 17:07:23 -0300 |
commit | f7faa1073b56b30bfe66793570e9728426f90f68 (patch) | |
tree | 2fe750beb264a4f4e4c0edd3612bb7eaf5307805 /testing | |
parent | 731745727405cb377154e50888d0bcd63ba0eabe (diff) | |
download | aports-f7faa1073b56b30bfe66793570e9728426f90f68.tar.bz2 aports-f7faa1073b56b30bfe66793570e9728426f90f68.tar.xz |
testing/pure-ftpd: upgrade to 1.0.49
Diffstat (limited to 'testing')
-rw-r--r-- | testing/pure-ftpd/APKBUILD | 23 | ||||
-rw-r--r-- | testing/pure-ftpd/minimal.patch | 23 |
2 files changed, 34 insertions, 12 deletions
diff --git a/testing/pure-ftpd/APKBUILD b/testing/pure-ftpd/APKBUILD index c735f1da7c..da034e9ac6 100644 --- a/testing/pure-ftpd/APKBUILD +++ b/testing/pure-ftpd/APKBUILD @@ -1,22 +1,21 @@ # Contributor: Douglas Haber <me@douglashaber.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pure-ftpd -pkgver=1.0.47 -pkgrel=3 +pkgver=1.0.49 +pkgrel=0 pkgdesc="Pure FTPD FTP daemon" url="https://pureftpd.org/" arch="all" -license="BSD" -depends_dev=openssl-dev -makedepends="$depends_dev" -subpackages="$pkgname-doc" -source="https://download.pureftpd.org/pub/pure-ftpd/releases/$pkgname-$pkgver.tar.gz +license="ISC" +makedepends="openssl-dev" +subpackages="$pkgname-doc $pkgname-openrc" +source="https://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-$pkgver.tar.gz pure-ftpd.initd pure-ftpd.confd + minimal.patch " -builddir="$srcdir/$pkgname-$pkgver" + build() { - cd "$builddir" ./configure \ --prefix=/usr \ --without-unicode \ @@ -28,7 +27,6 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install install -Dm755 ../$pkgname.initd \ "$pkgdir/etc/init.d/$pkgname" @@ -37,6 +35,7 @@ package() { "$pkgdir/etc/conf.d/$pkgname" } -sha512sums="ed2b08334e72c171706287fba28686a8c41dde91a38d135d4e80afb307e9891ab7d74c571d2035c07d214dba0ee73926a8d23a6fbabd4c9dc208c8a6bf5160a5 pure-ftpd-1.0.47.tar.gz +sha512sums="7e7d4c81c5237624051bde53db6d9abcbae565a4e8a88627d81d369064b475f4b56305c105ed275264cce068844caad25b2014f41e2540058553222151fe3af8 pure-ftpd-1.0.49.tar.gz fde2e979410779cc0044e1190b88fe2f0956166b68e2d7fb94520bc0803a3ec85814f66e09a7fdae4ebead872c9a48d973cf7ef3d2818f2298b22ac629cfcf25 pure-ftpd.initd -a5cc8e59178a5d0f7b5909d09009ef6ace1f8e6874bd733e21bc30f4899447e70b020a0369077132751ceb28afa971588efedcce3dea83e9b043b1545caf3393 pure-ftpd.confd" +a5cc8e59178a5d0f7b5909d09009ef6ace1f8e6874bd733e21bc30f4899447e70b020a0369077132751ceb28afa971588efedcce3dea83e9b043b1545caf3393 pure-ftpd.confd +8d05f6e61f5849d59843b6117d2f0dac25a543298f78e982296177ef464f1c7db12b9450a0b31553906600e03b38218f75c0e690cb370e91a562b38fb4f1adbe minimal.patch" diff --git a/testing/pure-ftpd/minimal.patch b/testing/pure-ftpd/minimal.patch new file mode 100644 index 0000000000..89152034a7 --- /dev/null +++ b/testing/pure-ftpd/minimal.patch @@ -0,0 +1,23 @@ +diff --git a/src/ftpd.c b/src/ftpd.c +index 60b95b6..6aee9bc 100644 +--- a/src/ftpd.c ++++ b/src/ftpd.c +@@ -1080,8 +1080,6 @@ void dobanner(const int type) + + #endif + +-#ifndef MINIMAL +- + int modernformat(const char *file, char *target, size_t target_size, + const char * const prefix) + { +@@ -1228,8 +1226,6 @@ void doallo(const off_t size) + } + } + +-#endif +- + void dositetime(void) + { + char tmp[64]; + |