b6bcd8cd34
* daemontools and dmraid 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 ```
26 lines
641 B
Bash
26 lines
641 B
Bash
# Template file for 'dante'
|
|
pkgname=dante
|
|
version=1.4.2
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="tar automake libtool"
|
|
short_desc="SOCKS server and client"
|
|
maintainer="shtayerc <david.murko@mailbox.org>"
|
|
license="MIT-CMU"
|
|
homepage="http://www.inet.no/dante/index.html"
|
|
distfiles="http://www.inet.no/dante/files/dante-${version}.tar.gz"
|
|
checksum=4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
configure_args="--with-libc=libc.so.6"
|
|
else
|
|
configure_args="ac_cv_func_sched_setscheduler=no"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|