From 8c266d4a4eb9fb3fcc1df58490943e66c74130fe Mon Sep 17 00:00:00 2001 From: ryoon Date: Fri, 18 Nov 2011 21:59:01 +0000 Subject: Update to 1.0b7 I was unaware of version up. * Fix html2psrc path in patch-aa Changelog: 051211 1.0b5 Bug fixes. Added -M option. 091021 1.0b6 "Security" fix. Changed behavior for SSI, to avoid having arbitrary readable files disclosed on a web server that uses html2ps in a web application (cgi script etc), allowing HTML files to be uploaded for conversion. Setting up a service like this is begging for trouble in my opinion. (Is /bin/cat also a vulnerability, since one can use it in a web app, allowing uploading arbitrary parameters to it?) 100507 1.0b7 Fixed a bug introduced by the previous bug fix... --- print/html2ps/Makefile | 5 ++--- print/html2ps/distinfo | 10 +++++----- print/html2ps/patches/patch-aa | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) (limited to 'print/html2ps') diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile index a7314387d80..4dbdbe1d8f2 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2011/11/18 21:43:59 ryoon Exp $ +# $NetBSD: Makefile,v 1.30 2011/11/18 21:59:01 ryoon Exp $ # -DISTNAME= html2ps-1.0b4 -PKGREVISION= 6 +DISTNAME= html2ps-1.0b7 CATEGORIES= print MASTER_SITES= http://user.it.uu.se/~jan/ diff --git a/print/html2ps/distinfo b/print/html2ps/distinfo index 8ddf390a6a8..279ea187513 100644 --- a/print/html2ps/distinfo +++ b/print/html2ps/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.10 2011/11/18 21:43:59 ryoon Exp $ +$NetBSD: distinfo,v 1.11 2011/11/18 21:59:01 ryoon Exp $ -SHA1 (html2ps-1.0b4.tar.gz) = 09b1b6678e08eb08c49113e4837f0ac91942c095 -RMD160 (html2ps-1.0b4.tar.gz) = 248a6319eaddbf5fc342fd9150c6c8cb67c7df1f -Size (html2ps-1.0b4.tar.gz) = 127901 bytes -SHA1 (patch-aa) = 3a3178ce5075b2a638883a0bc9b896ba80e86c4d +SHA1 (html2ps-1.0b7.tar.gz) = 20d508817803af08e397794d4986046ee8128b5c +RMD160 (html2ps-1.0b7.tar.gz) = 69d8b528046ca6dc9329975a9a66379df8d41003 +Size (html2ps-1.0b7.tar.gz) = 128451 bytes +SHA1 (patch-aa) = c08e8e2ce026dc131884e6730937db36caa64e97 SHA1 (patch-ab) = d3cf5a878172dbe02fe278e21fe91c1a37ce86c7 diff --git a/print/html2ps/patches/patch-aa b/print/html2ps/patches/patch-aa index e140960edea..793d2cff01c 100644 --- a/print/html2ps/patches/patch-aa +++ b/print/html2ps/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.7 2011/11/18 21:44:00 ryoon Exp $ +$NetBSD: patch-aa,v 1.8 2011/11/18 21:59:01 ryoon Exp $ --- install.orig 2005-03-03 12:25:29.000000000 +0000 +++ install @@ -181,7 +181,7 @@ $NetBSD: patch-aa,v 1.7 2011/11/18 21:44:00 ryoon Exp $ undef $/; open(HTML2PS,"html2ps") || die "*** Error opening html2ps\n"; -($code = ) =~ s|\$globrc=.*|\$globrc='$glob${dirsep}html2psrc';|; -+($code = ) =~ s|\$globrc=.*|\$globrc='$iprefix${dirsep}${sharedir}${dirsep}html2psrc';|; ++($code = ) =~ s|\$globrc=.*|\$globrc='$iprefix${dirsep}${sharedir}${dirsep}html2ps${dirsep}html2psrc';|; $code =~ s/exec \S+/exec $^X/; -$code =~ s|\$ug=.*|\$ug='$html${dirsep}html2ps.html';|; +$code =~ s|\$ug=.*|\$ug='$iprefix${dirsep}${sharedir}${dirsep}html2ps.html';|; -- cgit v1.2.3