diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-02 15:58:25 +0000 |
---|---|---|
committer | Fabian Affolter <fabian@affolter-engineering.ch> | 2013-03-04 09:50:14 +0000 |
commit | d72f3425fe2e171f37e9f97d411ccf11423f3bfa (patch) | |
tree | e5dfdc2606fc2f2791a94b9ad5a330e0ee9da3f5 /testing/flunym0us | |
parent | 721b7075ce03556841a35a6dec68092d625d1cb0 (diff) | |
download | aports-d72f3425fe2e171f37e9f97d411ccf11423f3bfa.tar.bz2 aports-d72f3425fe2e171f37e9f97d411ccf11423f3bfa.tar.xz |
testing/flunym0us: new aport
A vulnerability scanner for wordpress and moodle
Website: http://code.google.com/p/flunym0us/
Diffstat (limited to 'testing/flunym0us')
-rw-r--r-- | testing/flunym0us/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/flunym0us/APKBUILD b/testing/flunym0us/APKBUILD new file mode 100644 index 000000000..41a04297c --- /dev/null +++ b/testing/flunym0us/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=flunym0us +pkgver=2.1 +pkgrel=0 +pkgdesc="A vulnerability scanner for wordpress and moodle" +url="http://code.google.com/p/flunym0us/" +arch="noarch" +license="GPL3" +depends="python" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="" +source="http://flunym0us.googlecode.com/files/$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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + for _file in moodle-plugins.lst wp-plugins.lst; do + install -Dm644 "$srcdir"/$pkgname-$pkgver/$pkgname/$_file \ + "$pkgdir"/usr/share/$pkgname/$_file || return 1 + done +} + +md5sums="5f437c2797b39b03b6f80e8c1ef66f85 flunym0us-2.1.tar.gz" +sha256sums="97dc5896ca61b0a1e16933cb5c6369efe0b8bc83d2538a951bd03d5ffdd0675a flunym0us-2.1.tar.gz" +sha512sums="3ff2e0d3727604af8602b1fc2257c6cba90a96d19aff3b30d6793692086b533a234118698db24c5efcef7286196c29c21e8e54a47236e7a25c278cac301bf611 flunym0us-2.1.tar.gz" |