aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netsink/APKBUILD
blob: a45e1eed9d1b0263354cf2b6069bdc46ea66d8a6 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=netsink
pkgver=0.1
pkgrel=1
pkgdesc="A Network Sinkhole for Isolated Malware Analysis"
url="https://github.com/shendo/netsink"
arch="noarch"
license="GPL3+"
depends="python2 py-dnslib py-setuptools"
makedepends="python2-dev"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1322b4fec969e76185aec96b2c9a1a6bc0107301455fbdc0902cf8b258ed9528ab06747019bade0b2a6b1621cd4b4216186b642c098c70b6b1dd6c1552521455  netsink-0.1.tar.gz"