void-packages/srcpkgs/wfuzz/template
Đoàn Trần Công Danh 04b9978a29 srcpkgs/w*: convert patches to -Np1
* wine is kept at -Np0

```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.-][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.-][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

14 lines
529 B
Bash

# Template file for 'wfuzz'
pkgname=wfuzz
version=3.1.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-chardet python3-curl python3-future python3-lxml python3-parse
python3-parsing python3-six python3-shodan"
short_desc="Web fuzzer"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-only"
homepage="http://wfuzz.org"
distfiles="https://github.com/xmendez/wfuzz/archive/v${version}.tar.gz"
checksum=60798e56274a377f8770d162935a040d4d6e27919bfbb46cf13a7a0a34896be9