Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 80044
Collapse All | Expand All

(-)gnupg-1.4.1/g10/openfile.c.orig (+2 lines)
Lines 392-399 Link Here
392
     * To cope with HOME, we do compare only the suffix if we see that
392
     * To cope with HOME, we do compare only the suffix if we see that
393
     * the default homedir does start with a tilde.
393
     * the default homedir does start with a tilde.
394
     */
394
     */
395
#ifndef ENABLE_SELINUX_HACKS
395
    if( opt.dry_run || opt.no_homedir_creation )
396
    if( opt.dry_run || opt.no_homedir_creation )
396
	return;
397
	return;
398
#endif
397
399
398
    if ( ( *defhome == '~'
400
    if ( ( *defhome == '~'
399
           && ( strlen(fname) >= strlen (defhome+1)
401
           && ( strlen(fname) >= strlen (defhome+1)
(-)gnupg-1.4.1/checks/Makefile.in.orig (-1 / +3 lines)
Lines 516-524 Link Here
516
516
517
./gpg_dearmor:
517
./gpg_dearmor:
518
	echo '#!/bin/sh' >./gpg_dearmor
518
	echo '#!/bin/sh' >./gpg_dearmor
519
	echo "../g10/gpg --no-options --no-greeting \
519
	echo "../g10/gpg --no-options --no-greeting --homedir . \
520
             --no-secmem-warning --batch --dearmor" >>./gpg_dearmor
520
             --no-secmem-warning --batch --dearmor" >>./gpg_dearmor
521
	chmod 755 ./gpg_dearmor
521
	chmod 755 ./gpg_dearmor
522
	if test ! -f ./pubring.gpg; then touch -t 197001020000 ./pubring.gpg; fi
523
	if test ! -f ./secring.gpg; then touch -t 197001020000 ./secring.gpg; fi
522
524
523
./pubring.gpg: $(srcdir)/pubring.asc $(srcdir)/pubdemo.asc ./gpg_dearmor
525
./pubring.gpg: $(srcdir)/pubring.asc $(srcdir)/pubdemo.asc ./gpg_dearmor
524
	./gpg_dearmor > ./pubring.gpg < $(srcdir)/pubring.asc
526
	./gpg_dearmor > ./pubring.gpg < $(srcdir)/pubring.asc

Return to bug 80044