Commit c69ee1bd authored by Natanael Copa's avatar Natanael Copa

testing/netsniff-ng: upgrade to 0.5.8

parent 6d02e41c
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=netsniff-ng
pkgver=0.5.6
pkgver=0.5.8
pkgrel=0
pkgdesc="A network analyzer and networking toolkit"
url="http://netsniff-ng.org/"
......@@ -9,7 +9,8 @@ arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="cmake perl"
makedepends="bash perl gzip libpcap-dev libnl3-dev zlib-dev ncurses-dev
libnetfilter_conntrack-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.netsniff-ng.org/pub/netsniff-ng/$pkgname-$pkgver.tar.gz"
......@@ -26,19 +27,18 @@ prepare() {
}
build() {
cd "$_builddir"/src
mkdir -p build && cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr ..
make \
BINDIR="/usr/sbin" \
ETCDIR="/etc" \
MANDIR="/usr/share/man" \
cd "$_builddir"
./configure \
--prefix=/usr \
|| return 1
make PREFIX=/usr ETCDIR=/etc || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install -C src/build || return 1
make PREFIX=/usr ETCDIR=/etc DESTDIR="$pkgdir" install || return 1
}
md5sums="9db3d2027c1f59437890f637178c1a02 netsniff-ng-0.5.6.tar.gz"
md5sums="5711c99c44a3b573c9f75599f164ecc2 netsniff-ng-0.5.8.tar.gz"
sha256sums="80436a306947e6c541d573c897cf64e1f223b867f571fabe74cea2ab512aa13c netsniff-ng-0.5.8.tar.gz"
sha512sums="fbbd9a48f2f4dc559c10dc3028cbefa881ef72177c993c57fdf09db84c5d7945ded75cec94fe216c6f7db3f2044aa46e7a15bd09b2ab41521416eee1bb464904 netsniff-ng-0.5.8.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment