| 1 |
diff -ur gnupg-1.4.3.orig/checks/Makefile.in gnupg-1.4.3/checks/Makefile.in |
| 2 |
--- gnupg-1.4.3.orig/checks/Makefile.in 2006-04-03 11:45:05.000000000 +0200 |
| 3 |
+++ gnupg-1.4.3/checks/Makefile.in 2006-04-09 14:29:21.000000000 +0200 |
| 4 |
@@ -540,9 +540,11 @@ |
| 5 |
|
| 6 |
./gpg_dearmor: |
| 7 |
echo '#!/bin/sh' >./gpg_dearmor |
| 8 |
- echo "../g10/gpg --no-options --no-greeting \ |
| 9 |
+ echo "../g10/gpg --no-options --no-greeting --homedir . \ |
| 10 |
--no-secmem-warning --batch --dearmor" >>./gpg_dearmor |
| 11 |
chmod 755 ./gpg_dearmor |
| 12 |
+ if test ! -f ./pubring.gpg; then touch -t 197001020000 ./pubring.gpg; fi |
| 13 |
+ if test ! -f ./secring.gpg; then touch -t 197001020000 ./secring.gpg; fi |
| 14 |
|
| 15 |
./pubring.gpg: $(srcdir)/pubring.asc $(srcdir)/pubdemo.asc ./gpg_dearmor |
| 16 |
./gpg_dearmor > ./pubring.gpg < $(srcdir)/pubring.asc |
| 17 |
diff -ur gnupg-1.4.3.orig/g10/openfile.c gnupg-1.4.3/g10/openfile.c |
| 18 |
--- gnupg-1.4.3.orig/g10/openfile.c 2006-03-28 09:41:45.000000000 +0200 |
| 19 |
+++ gnupg-1.4.3/g10/openfile.c 2006-04-09 14:30:42.000000000 +0200 |
| 20 |
@@ -401,8 +401,10 @@ |
| 21 |
* To cope with HOME, we do compare only the suffix if we see that |
| 22 |
* the default homedir does start with a tilde. |
| 23 |
*/ |
| 24 |
+#ifndef ENABLE_SELINUX_HACKS |
| 25 |
if( opt.dry_run || opt.no_homedir_creation ) |
| 26 |
return; |
| 27 |
+#endif |
| 28 |
|
| 29 |
if ( ( *defhome == '~' |
| 30 |
&& ( strlen(fname) >= strlen (defhome+1) |