diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-26 13:28:43 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-26 13:28:43 +0100 |
commit | 6d6ff3459d06130fc06b8964e9165bca1f33f831 (patch) | |
tree | aaaa3b7d1046c2dfddf44dd3e1e78f3a0abee7ba /unmaintained | |
parent | c86412e05b3300d8b494a4fe2fc372da5fac72c9 (diff) | |
download | aports-6d6ff3459d06130fc06b8964e9165bca1f33f831.tar.bz2 aports-6d6ff3459d06130fc06b8964e9165bca1f33f831.tar.xz |
testing/flunym0us: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/flunym0us/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/flunym0us/APKBUILD b/unmaintained/flunym0us/APKBUILD new file mode 100644 index 0000000000..41a04297c5 --- /dev/null +++ b/unmaintained/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" |