File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed
Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 22# See COPYING for license details.
33
44pkgname=fimap
5- pkgver=1.00
6- pkgrel=11
5+ pkgver=230.41eca15
6+ pkgrel=1
77epoch=2
8- groups=(' blackarch' ' blackarch-exploitation' ' blackarch-fuzzer' )
98pkgdesc=' A little tool for local and remote file inclusion auditing and exploitation.'
109arch=(' any' )
11- url=' http://code.google.com/p/fimap/'
12- license=(' GPL2' )
10+ groups=(' blackarch' ' blackarch-exploitation' ' blackarch-fuzzer' )
11+ url=' https://gitlab.tha-imax.de/root/fimap'
12+ license=(' GPL-2.0-or-later' )
1313depends=(' python2' ' python-urllib3' ' python2-httplib2' )
14- makedepends=(' subversion ' )
14+ makedepends=(' git ' )
1515options=(' !emptydirs' )
16- source=(" $pkgname ::svn+http ://fimap.googlecode.com/svn/trunk/ " )
16+ source=(" git+https ://gitlab.tha-imax.de/root/ $pkgname .git " )
1717sha512sums=(' SKIP' )
1818
19+ pkgver () {
20+ cd $pkgname
21+
22+ ( set -o pipefail
23+ git describe --long --tags --abbrev=7 2> /dev/null |
24+ sed ' s/\([^-]*-g\)/r\1/;s/-/./g' ||
25+ printf " %s.%s" " $( git rev-list --count HEAD) " \
26+ " $( git rev-parse --short=7 HEAD) "
27+ )
28+ }
29+
1930prepare () {
20- grep -rl ' python$' $srcdir /trunk/src | xargs sed -i ' s|python$|python2|'
31+ cd $pkgname
32+
33+ grep -rl ' python$' . | xargs sed -i ' s|python$|python2|'
2134}
2235
2336package () {
You can’t perform that action at this time.
0 commit comments