aboutsummaryrefslogtreecommitdiffstats
path: root/main/ngrep
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-18 11:56:07 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-18 11:56:13 +0000
commit01beda66a7998beeca74a0caab891d8c2b8ad036 (patch)
tree4d7896ee647504387318ee11ab784116e46b074e /main/ngrep
parent7585aa11cc2bad880dc7b56c49c67a7bd04600bc (diff)
downloadaports-01beda66a7998beeca74a0caab891d8c2b8ad036.tar.bz2
aports-01beda66a7998beeca74a0caab891d8c2b8ad036.tar.xz
main/ngrep: changed maintainer email, updated APKBUILD
Diffstat (limited to 'main/ngrep')
-rw-r--r--main/ngrep/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/main/ngrep/APKBUILD b/main/ngrep/APKBUILD
index 5b2683fa67..eaaaa39609 100644
--- a/main/ngrep/APKBUILD
+++ b/main/ngrep/APKBUILD
@@ -1,16 +1,14 @@
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ngrep
pkgver=1.45
-pkgrel=3
+pkgrel=4
pkgdesc="A grep-like utility that allows you to search for network packets on an interface"
url="http://ngrep.sourceforge.net/"
arch="all"
license="BSD"
-depends=
-depends_dev=""
-makedepends="$depends_dev autoconf automake libpcap-dev"
-install=""
+makedepends="autoconf automake libpcap-dev"
+options="!check"
subpackages="$pkgname-dbg $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/ngrep/$pkgname-$pkgver.tar.bz2
no-strip.patch"
@@ -19,9 +17,9 @@ builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
- default_prepare || return 1
- update_config_sub || return 1
- update_config_guess || return 1
+ default_prepare
+ update_config_sub
+ update_config_guess
autoreconf -vif
}
@@ -33,21 +31,16 @@ build() {
--prefix=/usr \
--sysconfdir=/etc \
--with-pcap-includes=/usr/include/pcap \
- --disable-pcap-restart \
- || return 1
- make || return 1
+ --disable-pcap-restart
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
install -Dm644 LICENSE.txt \
- "$pkgdir"/usr/share/licenses/custom/$pkgname/LICENSE || return 1
+ "$pkgdir"/usr/share/licenses/custom/$pkgname/LICENSE
}
-md5sums="bc8150331601f3b869549c94866b4f1c ngrep-1.45.tar.bz2
-312ad860fc42df3248d6209431162eac no-strip.patch"
-sha256sums="aea6dd337da8781847c75b3b5b876e4de9c58520e0d77310679a979fc6402fa7 ngrep-1.45.tar.bz2
-d2971dcf822f745453b9736032dfdd9b7e3bd57368b26cbbebf830105a46a09d no-strip.patch"
sha512sums="0feb4080f834449d57ae99897c573d2b8148711cfb550fa4ff415169dedb1f0d23f4b03f625660162ca72f8ad06e19874c1af46da6afd8f8fe8dd553558c14f7 ngrep-1.45.tar.bz2
28488c548cd409ac99af7eead37e3d7596b8c0ac2b9064de5ae7cc815beb65fc8488e8400d6a5d81eab128dc0a97b4e252e2503baf35704138a2226f7d3375d7 no-strip.patch"