diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-04 02:04:47 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-05 00:30:28 +0200 |
commit | e7679d170f5af1d7e1b345018b73d14215198284 (patch) | |
tree | 56bc2e4b11d21bc7bb4e4dd5912c3360f7889f4d | |
parent | d1f074de96a2aedbc85746d307574d566cf4b58c (diff) | |
download | aports-e7679d170f5af1d7e1b345018b73d14215198284.tar.bz2 aports-e7679d170f5af1d7e1b345018b73d14215198284.tar.xz |
main/libpcap: upgrade to 1.8.1
-rw-r--r-- | main/libpcap/APKBUILD | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/main/libpcap/APKBUILD b/main/libpcap/APKBUILD index 5ec8f1a74c..b51809f82e 100644 --- a/main/libpcap/APKBUILD +++ b/main/libpcap/APKBUILD @@ -1,48 +1,40 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libpcap -pkgver=1.7.4 -_sover=1.0.0 -pkgrel=1 +pkgver=1.8.1 +pkgrel=0 pkgdesc="A system-independent interface for user-level packet capture" url="http://www.tcpdump.org/" arch="all" license="BSD" depends= +options="!check" makedepends="bison flex autoconf linux-headers" source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz " subpackages="$pkgname-doc $pkgname-dev" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in "$srcdir"/*.patch; do - [ -r "$i" ] || continue - msg "Applying $i..." - patch -p1 -i $i || return 1 - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --enable-ipv6 \ - || return 1 + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-ipv6 + # seems to be problem with timestamps sleep 1 ./config.status - make all shared || return 1 + + make all shared } package() { - cd "$_builddir" - mkdir -p "$pkgdir/usr/bin" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install install-shared } -md5sums="b2e13142bbaba857ab1c6894aedaf547 libpcap-1.7.4.tar.gz" -sha256sums="7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0 libpcap-1.7.4.tar.gz" -sha512sums="83c55aa4173a90e8080a63dc6f0faeb4339d5def998abb9a578f08210c1784a1787ac6975f8bd27b02f8854dd18f03a23c1cd5fa611f46247090b2cc13943cf9 libpcap-1.7.4.tar.gz" + +sha512sums="bff5ff53fe53324f423e38eb4062c3fbb9125f86ca90d5e88aca9f0b3da72bc0acc6221c022b0f88cb3f000267580719119824c388da545c6f35117660cbb53b libpcap-1.8.1.tar.gz" |