c987560802
```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 ```
20 lines
662 B
Diff
20 lines
662 B
Diff
--- a/sbin/update-ca-certificates 2015-05-29 11:09:43.922158838 +0200
|
|
+++ b/sbin/update-ca-certificates 2015-05-29 11:10:06.842632933 +0200
|
|
@@ -24,12 +24,12 @@
|
|
verbose=0
|
|
fresh=0
|
|
default=0
|
|
-CERTSCONF=/etc/ca-certificates.conf
|
|
-CERTSDIR=/usr/share/ca-certificates
|
|
-LOCALCERTSDIR=/usr/local/share/ca-certificates
|
|
+CERTSCONF=$DESTDIR/etc/ca-certificates.conf
|
|
+CERTSDIR=/usr/share/ca-certificates
|
|
+LOCALCERTSDIR=$DESTDIR/usr/local/share/ca-certificates
|
|
CERTBUNDLE=ca-certificates.crt
|
|
-ETCCERTSDIR=/etc/ssl/certs
|
|
-HOOKSDIR=/etc/ca-certificates/update.d
|
|
+ETCCERTSDIR=$DESTDIR/etc/ssl/certs
|
|
+HOOKSDIR=$DESTDIR/etc/ca-certificates/update.d
|
|
|
|
while [ $# -gt 0 ];
|
|
do
|