diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-12-29 13:11:22 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-01-06 14:22:44 +0000 |
commit | a5e8f4fc2e5a5bb409ba3b742eecc0bbdb2dfcda (patch) | |
tree | eac89a71a1e83ac55742a4bcf75782aed5da1952 | |
parent | e0848d9e47c365442009706fdf6b8f266e53f680 (diff) | |
download | aports-a5e8f4fc2e5a5bb409ba3b742eecc0bbdb2dfcda.tar.bz2 aports-a5e8f4fc2e5a5bb409ba3b742eecc0bbdb2dfcda.tar.xz |
main/lftp: upgrade to 4.6.5.
Rebuild without ncurses, without gnutls and with openssl.
Because openssl is present in the basic installation.
-rw-r--r-- | main/lftp/APKBUILD | 38 |
1 files changed, 13 insertions, 25 deletions
diff --git a/main/lftp/APKBUILD b/main/lftp/APKBUILD index 2d093c409d..854eb74b86 100644 --- a/main/lftp/APKBUILD +++ b/main/lftp/APKBUILD @@ -1,29 +1,19 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=lftp -pkgver=4.6.4 -pkgrel=3 +pkgver=4.6.5 +pkgrel=0 pkgdesc="LFTP is sophisticated ftp/http client" url="http://lftp.yar.ru/" arch="all" license="GPL" depends= -makedepends="gnutls-dev readline-dev ncurses-dev gettext-dev" +makedepends="openssl-dev readline-dev" subpackages="$pkgname-doc" -source="http://lftp.yar.ru/ftp/lftp-$pkgver.tar.xz - " +source="http://lftp.yar.ru/ftp/$pkgname-$pkgver.tar.xz" -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +_builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" @@ -32,15 +22,11 @@ build() { --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc/lftp \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-gnutls \ + --sysconfdir=/etc \ + --with-openssl \ --with-modules \ --disable-nls \ --disable-static \ - --with-gnutls \ - --without-openssl \ || return 1 make || return 1 } @@ -49,8 +35,10 @@ package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/charset.alias + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/ } -md5sums="84987c1095df84bfb5ac9c95c6aba6be lftp-4.6.4.tar.xz" -sha256sums="1e7cb674c83ace48172263f86847ed04bb6ab2f24116b11a8505f70a15e8805c lftp-4.6.4.tar.xz" -sha512sums="998050c0e69fc590233df8b400664c1165dfa80d7b3844aa307be33e004c3dd3e049df8f288ad7079257a31dc4adcdb07a57b8f28cd0adf7e3cf94c41d38b9dc lftp-4.6.4.tar.xz" +md5sums="39507c331a987e0534acf75a4c3824a0 lftp-4.6.5.tar.xz" +sha256sums="1fd0920a1791ce0e9e39ffce77ae6619e5dc665f16e9380bafbfc69411eeb71e lftp-4.6.5.tar.xz" +sha512sums="a22faa3a6901160460f1103c19c5276f603c154908ec2e34804a6eb48452b59ba495993e6824f57d114285ddc80a64dccd0069465cc0593f34f435ac181250c0 lftp-4.6.5.tar.xz" |