blob: afa2565181cd1ccc94043cd41474d282c1c91d10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lftp
pkgver=4.9.1
pkgrel=0
pkgdesc="Sophisticated ftp/http client"
url="https://lftp.tech"
arch="all"
license="GPL-3.0-or-later"
makedepends="zlib-dev openssl-dev readline-dev ncurses-dev"
subpackages="$pkgname-doc"
source="https://lftp.yar.ru/ftp/lftp-$pkgver.tar.xz"
# secfixes:
# 4.8.4-r0:
# - CVE-2018-10916
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--with-openssl \
--with-modules \
--disable-nls \
--disable-static \
--enable-threads=posix
make
}
package() {
make -j1 install DESTDIR="$pkgdir"
rm -f "$pkgdir"/usr/lib/charset.alias
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
mv "$pkgdir"/usr/share/$pkgname "$pkgdir"/usr/share/doc/
}
check() {
# skip ftp tests due to firewall issues
make -C tests check check_PROGRAMS=http-get
}
sha512sums="303e2354bd61a850403a02ac5b71e54719c12b026c7e36194a6382e9044f1fee93ea581ba0a55fea19981e07b896216e92c7d961c719350762eb0cfb51a2c506 lftp-4.9.1.tar.xz"
|