openbsd-ports/www/mhonarc/patches/patch-Makefile_PL
jasper a5b4450ad2 - SECURITY UPDATE of mhonarc to 2.6.18
Fixes:
CVE-2010-1677: DoS when processing html messages with deep nesting
CVE-2010-4524: Improper escaping of certain HTML sequences (XSS)
Specially crafted <base href> can lead to XSS exploit (bug id #32080)

From Christian Rueger (MAINTAINER)
2011-01-13 09:53:50 +00:00

24 lines
851 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.3 2011/01/13 09:53:50 jasper Exp $
--- Makefile.PL.orig Sat Jan 1 01:56:12 2011
+++ Makefile.PL Sun Jan 9 17:25:05 2011
@@ -21,8 +21,8 @@ foreach (@ARGV) {
}
my $opt_prefix = defined($vars{'PREFIX'}) ?
"-prefix $vars{'PREFIX'}" : "";
-my $opt_binpath = defined($vars{'INSTALLSCRIPT'}) ?
- "-binpath $vars{'INSTALLSCRIPT'}" : "";
+my $opt_binpath = defined($vars{'INSTALLBIN'}) ?
+ "-binpath $vars{'INSTALLBIN'}" : "";
my $opt_libpath = defined($vars{'LIB'}) ?
"-libpath $vars{'LIB'}" :
defined($vars{'INSTALLSITELIB'}) ?
@@ -64,7 +64,7 @@ default: _FORCE
\$(CHMOD) -R a+r,a+X .
install: _FORCE
- \$(PERL) \$(INSTALLPRG) -batch $instme_args
+ \$(PERL) \$(INSTALLPRG) -batch $instme_args -docpath $vars{'PREFIX'}/share/doc/mhonarc
install-ask: _FORCE
\$(PERL) \$(INSTALLPRG) $instme_args