diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2014-03-07 18:42:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-11 07:33:01 +0000 |
commit | a063328873f721c3e82b2398dc114ae9fc75451a (patch) | |
tree | a4108ffab46ef5518ea84479093bb364860edc73 | |
parent | fc69f0d3b4cb6a79988435e536565d3b3d5206ee (diff) | |
download | aports-a063328873f721c3e82b2398dc114ae9fc75451a.tar.bz2 aports-a063328873f721c3e82b2398dc114ae9fc75451a.tar.xz |
testing/nfspy: new aport
An ID-spoofing NFS client
https://github.com/bonsaiviking/NfSpy
-rw-r--r-- | testing/nfspy/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/nfspy/APKBUILD b/testing/nfspy/APKBUILD new file mode 100644 index 0000000000..db0e6a7116 --- /dev/null +++ b/testing/nfspy/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=nfspy +_pkgname=NfSpy +pkgver=1.0 +pkgrel=0 +pkgdesc="An ID-spoofing NFS client" +url="https://github.com/bonsaiviking/NfSpy" +arch="noarch" +license="MIT" +depends="python py-fuse" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/bonsaiviking/NfSpy/archive/v$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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="c8437ae053001efabb871a69e81d92d8 nfspy-1.0.tar.gz" +sha256sums="1b4a61eeb3b44b37326590847e8d45346dd2bcf3e1d64b8935ba4c8ce85f0119 nfspy-1.0.tar.gz" +sha512sums="dce93054e242acdfa6db78d92cdc4538b1187a981573d5aa530717db73b777acbda3570531d80d8401fc78eee848f5eebb74eafff82e4b176505c40d8d841b29 nfspy-1.0.tar.gz" |