49cb564d14
* par 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
780 B
Bash
26 lines
780 B
Bash
# Template file for 'pam_ssh'
|
|
pkgname=pam_ssh
|
|
version=2.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--with-pam-dir=/usr/lib/security ac_cv_openssldir=/usr
|
|
--includedir=${XBPS_CROSS_BASE}/usr/include
|
|
--libdir=${XBPS_CROSS_BASE}/usr/lib"
|
|
hostmakedepends="openssh"
|
|
makedepends="openssl-devel pam-devel"
|
|
short_desc="PAM module providing single sign-on behavior for SSH"
|
|
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://pam-ssh.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz"
|
|
checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|