aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-28 08:17:46 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-09-29 14:07:39 +0000
commit0b11911ad826e31eea3eb5b6f08ae0126a18e476 (patch)
treeaa352e134b42042bffa36d6a8d445952170c4569 /testing
parenta75f778b51e1d21ffd55a378b7684f337a128679 (diff)
downloadaports-0b11911ad826e31eea3eb5b6f08ae0126a18e476.tar.bz2
aports-0b11911ad826e31eea3eb5b6f08ae0126a18e476.tar.xz
testing/onesixtyone: new aport
An efficient SNMP scanner http://www.phreedom.org/software/onesixtyone/
Diffstat (limited to 'testing')
-rw-r--r--testing/onesixtyone/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/onesixtyone/APKBUILD b/testing/onesixtyone/APKBUILD
new file mode 100644
index 0000000000..6768765620
--- /dev/null
+++ b/testing/onesixtyone/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=onesixtyone
+pkgver=0.3.2
+pkgrel=0
+pkgdesc="An efficient SNMP scanner"
+url="http://www.phreedom.org/software/onesixtyone/"
+arch="all"
+license="GPL2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://www.phreedom.org/software/onesixtyone/releases/$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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -m755 -D "$_builddir"/$pkgname \
+ "$pkgdir"/usr/bin/$pkgname || return 1
+ install -m644 -D "$_builddir"/dict.txt \
+ "$pkgdir"/usr/share/$pkgname/dict.txt || return 1
+}
+
+md5sums="b08ac88615c04fa50d4eeecd75882e3f onesixtyone-0.3.2.tar.gz"
+sha256sums="450806718f72a75ea108e3675ca7856f15c518fcf517df68483c486c39910d02 onesixtyone-0.3.2.tar.gz"
+sha512sums="8756bfd24cc4b164c2288733970d486ab2f81e0eef95e008dd5749d24cfe690ff6fbf9d1d3bf3f1a916da4d7c0e408e9783fda912fc4ac70d190f55d01cac01a onesixtyone-0.3.2.tar.gz"