mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/flunym0us: new aport
A vulnerability scanner for wordpress and moodle Website: http://code.google.com/p/flunym0us/
This commit is contained in:
parent
721b7075ce
commit
d72f3425fe
44
testing/flunym0us/APKBUILD
Normal file
44
testing/flunym0us/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user