Patch to pgpverify 1.13 to make INN integration easier

Russ Allbery rra at stanford.edu
Mon Jan 15 09:11:22 UTC 2001


This patch against pgpverify 1.13 will allow the version of pgpverify in
INN to be byte-for-byte identical with the separately distributed version
without having to have pgpverify be a configure target.  INN now uses a
script called fixscript that will fix the path on the first line and will
replace the second line of a Perl script (regardless of what it is) with
the right code to load innshellvars.pl.

--- pgpverify-1.13	Tue Dec 14 08:36:54 1999
+++ pgpverify.in	Mon Jan 15 01:08:24 2001
@@ -1,4 +1,6 @@
 #! /usr/bin/perl -ws
+do '@LIBDIR@/innshellvars.pl'  # This line replaced by INN's fixscript
+#
 # written April 1996, tale at isc.org (David C Lawrence)
 # Version 1.13, 14 Dec 1999
 #
@@ -133,7 +135,6 @@
 
 $0 =~ s%^.*/%%;                 # trim /path/to/prog to prog
 
-do '@LIBDIR@/innshellvars.pl';
 $pgp = $inn'pgp if $inn'pgp && $inn'pgp ne "no-pgp-found-during-configure";
 $tmp = ($inn'pathtmp ? $inn'pathtmp : $tmpdir) . "/pgp$$";
 $lockdir = $inn'locks if $inn'locks;

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the inn-workers mailing list