diff options
| author | Shiz <hi@shiz.me> | 2017-05-06 02:53:36 +0000 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-06 14:56:14 +0200 |
| commit | 49751a9a67e7bf6df04a474f6734989441148949 (patch) | |
| tree | 7540eb67fb0420e72e2a7159753472e0888bedf0 /testing/gpg-remailer/avoid-gnuisms.patch | |
| parent | 31f4e002d0f23414ec8d19a8f8656d2de01bbc20 (diff) | |
| download | aports-49751a9a67e7bf6df04a474f6734989441148949.tar.bz2 aports-49751a9a67e7bf6df04a474f6734989441148949.tar.xz | |
testing/gpg-remailer: new aport
https://fbb-git.github.io/gpg-remailer/
decrypt messages and re-encrypt them to a well-defined group
Diffstat (limited to 'testing/gpg-remailer/avoid-gnuisms.patch')
| -rw-r--r-- | testing/gpg-remailer/avoid-gnuisms.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/gpg-remailer/avoid-gnuisms.patch b/testing/gpg-remailer/avoid-gnuisms.patch new file mode 100644 index 0000000000..3e189be49a --- /dev/null +++ b/testing/gpg-remailer/avoid-gnuisms.patch @@ -0,0 +1,31 @@ +--- a/icmake/installer ++++ b/icmake/installer +@@ -5,14 +5,14 @@ + exit 0 + fi + +-for src in `find -mindepth 1 -type d` # create missing target dirs ++for src in `find . -mindepth 1 -type d` # create missing target dirs + do + [ ! -e $1$src ] && mkdir -p $1$src + done + +-for file in `find -type f -or -type l` ++for file in `find . -type f -or -type l` + do + # echo installing $1$file +- cp -d --preserve=timestamps $file $1$file ++ cp -H $file $1$file + done + +--- a/icmake/findall ++++ b/icmake/findall +@@ -15,7 +15,7 @@ + if (pattern != "") + pattern = "-name '" + pattern + "'"; + +- entries = backtick(cmd + " " + pattern + " -printf \"%f\\n\""); ++ entries = backtick(cmd + " " + pattern + " -exec basename {} \\;"); + + for (idx = listlen(entries); idx--; ) + ret += (list)cutEoln(entries[idx]); |
