diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/netsniff-ng | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/netsniff-ng')
-rw-r--r-- | unmaintained/netsniff-ng/APKBUILD | 44 | ||||
-rw-r--r-- | unmaintained/netsniff-ng/netsniff-ng-unkown.patch | 14 |
2 files changed, 58 insertions, 0 deletions
diff --git a/unmaintained/netsniff-ng/APKBUILD b/unmaintained/netsniff-ng/APKBUILD new file mode 100644 index 0000000000..81fbf5db07 --- /dev/null +++ b/unmaintained/netsniff-ng/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=netsniff-ng +pkgver=0.5.8 +pkgrel=0 +pkgdesc="A network analyzer and networking toolkit" +url="http://netsniff-ng.org/" +arch="all" +license="GPL2" +depends="" +depends_dev="" +makedepends="bash perl gzip libpcap-dev libnl3-dev zlib-dev ncurses-dev + libnetfilter_conntrack-dev coreutils" +install="" +subpackages="$pkgname-doc" +source="http://www.netsniff-ng.org/pub/netsniff-ng/$pkgname-$pkgver.tar.gz" +_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 +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + || return 1 + make PREFIX=/usr ETCDIR=/etc || return 1 +} + +package() { + cd "$_builddir" + make PREFIX=/usr ETCDIR=/etc DESTDIR="$pkgdir" install || return 1 +} + +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" diff --git a/unmaintained/netsniff-ng/netsniff-ng-unkown.patch b/unmaintained/netsniff-ng/netsniff-ng-unkown.patch new file mode 100644 index 0000000000..14c1ae998d --- /dev/null +++ b/unmaintained/netsniff-ng/netsniff-ng-unkown.patch @@ -0,0 +1,14 @@ +--- netsniff-ng/src/Makefile.orig ++++ netsniff-ng/src/Makefile +@@ -39,9 +39,9 @@ + @install -D $(target) $(DESTDIR)/$(BINDIR)/$(target) + @install -d $(DESTDIR)/$(ETCDIR)/$(target)/rules + @cp -r rules/*.bpf $(DESTDIR)/$(ETCDIR)/$(target)/rules/ +- @cat $(MANDIR_LOCAL)/$(target).8 | gzip --best > \ ++ @cat $(MANDIR_LOCAL)/$(target).8 | gzip > \ + $(MANDIR_LOCAL)/$(target).8.gz +- @install -D $(MANDIR_LOCAL)/$(target).8.gz \ ++ @install -Dm644 $(MANDIR_LOCAL)/$(target).8.gz \ + $(DESTDIR)/$(MANDIR)/$(target).8.gz + + uninstall: |