diff options
-rw-r--r-- | community/iptstate/APKBUILD | 31 | ||||
-rw-r--r-- | testing/iptstate/APKBUILD | 32 |
2 files changed, 31 insertions, 32 deletions
diff --git a/community/iptstate/APKBUILD b/community/iptstate/APKBUILD new file mode 100644 index 0000000000..d7fab2be2d --- /dev/null +++ b/community/iptstate/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=iptstate +pkgver=2.2.6 +pkgrel=0 +pkgdesc="top-like interface to netfilter connection-tracking table" +url="http://www.phildev.net/iptstate/" +arch="all" +license="MIT" +depends="" +makedepends="ncurses-dev libnetfilter_conntrack-dev libnfnetlink-dev linux-headers" +install="" +subpackages="$pkgname-doc" +source="https://github.com/jaymzh/iptstate/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$builddir" + make || return 1 +} + +package() { + cd "$builddir" + install -D -m755 $pkgname "$pkgdir"/usr/sbin/$pkgname + install -D -m444 $pkgname.8 "$pkgdir"/usr/share/man/man8/$pkgname.8 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="ec96c93b43976960d2e2ba3306cd09e6 iptstate-2.2.6.tar.bz2" +sha256sums="bef8eb67a4533e53079f397b71e91dd34da23f8cbd65cb2d5b67cb907b00c068 iptstate-2.2.6.tar.bz2" +sha512sums="411b357aced384c52caac17b23f3c6bd631ff34d41b6000b90ff6dfc3cf20e36e46416d3691ac699b06f16d6042a42681b42a5d3594ce287aa6cf3b3b637c999 iptstate-2.2.6.tar.bz2" diff --git a/testing/iptstate/APKBUILD b/testing/iptstate/APKBUILD deleted file mode 100644 index f2531c3e85..0000000000 --- a/testing/iptstate/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=iptstate -pkgver=2.2.5 -pkgrel=0 -pkgdesc="top-like interface to netfilter connection-tracking table" -url="http://www.phildev.net/iptstate/" -arch="all" -license="MIT" -depends="" -depends_dev="ncurses-dev libnetfilter_conntrack-dev libnfnetlink-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/$pkgname-$pkgver -build() { - cd "$_builddir" - make || return 1 -} - -package() { - cd "$_builddir" - install -D -m755 $pkgname "$pkgdir"/usr/sbin/$pkgname - install -D -m444 $pkgname.8 "$pkgdir"/usr/share/man/man8/$pkgname.8 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -md5sums="5abe47e473bee256adaf8a48b1141a90 iptstate-2.2.5.tar.bz2" -sha256sums="4e4d881b701fc4599a252021d6ef579eb17aea711fbc07f95df61465b38e1055 iptstate-2.2.5.tar.bz2" -sha512sums="044bbcf96225cc52b82428792d685d19f964520f7f20a9d3fa7e53430c1f552c0f09338a5d347b08e2500206cd7634a6b4a3acffbfd9e59e4657afb6df461795 iptstate-2.2.5.tar.bz2" |