blob: 67687656203906a6c8fefb8ffd3662a0e15811be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"
|