summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-09-10 08:33:39 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-09-10 08:33:39 +0000
commit01550fe0f66ba7bb7b461d73dc6b095da98a9292 (patch)
treee04eceee9597e2a57ba628e36d14d26385c5b078 /app-text/htp
parentAdded postfixadmin-2.2.1.1 (#233388). (diff)
downloadgentoo-2-01550fe0f66ba7bb7b461d73dc6b095da98a9292.tar.gz
gentoo-2-01550fe0f66ba7bb7b461d73dc6b095da98a9292.tar.bz2
gentoo-2-01550fe0f66ba7bb7b461d73dc6b095da98a9292.zip
Added htp-1.16 (#233678).
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-text/htp')
-rw-r--r--app-text/htp/ChangeLog9
-rw-r--r--app-text/htp/files/easteregg.patch19
-rw-r--r--app-text/htp/htp-1.16.ebuild35
3 files changed, 61 insertions, 2 deletions
diff --git a/app-text/htp/ChangeLog b/app-text/htp/ChangeLog
index 3df1a1aa49fa..d1285ba977b4 100644
--- a/app-text/htp/ChangeLog
+++ b/app-text/htp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/htp
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/htp/ChangeLog,v 1.7 2007/02/09 01:04:38 flameeyes Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/htp/ChangeLog,v 1.8 2008/09/10 08:33:39 wrobel Exp $
+
+*htp-1.16 (10 Sep 2008)
+
+ 10 Sep 2008; wrobel@gentoo.org +files/easteregg.patch, +htp-1.16.ebuild:
+ Added htp-1.16 (#233678).
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/app-text/htp/files/easteregg.patch b/app-text/htp/files/easteregg.patch
new file mode 100644
index 000000000000..958a0343d63f
--- /dev/null
+++ b/app-text/htp/files/easteregg.patch
@@ -0,0 +1,19 @@
+--- src/misc-proc.c 2007-08-31 13:46:01.000000000 +0200
++++ ../new/src/misc-proc.c 2008-08-02 08:46:46.000000000 +0200
+@@ -21,16 +21,6 @@
+ UNREF_PARAM(htmlMarkup);
+ UNREF_PARAM(newPlaintext);
+
+- /* authors ego-gratifying easter egg */
+- /* put a generator meta-tag at the end of the HTML header */
+- StreamPrintF(task->outfile,
+- "<meta name=\"Generator\" content=\"%s %s\"",
+- PROGRAM_NAME, VER_STRING);
+- if(IsOptionEnabled(OPT_I_XML)) {
+- StreamPrintF(task->outfile, " />\n");
+- } else {
+- StreamPrintF(task->outfile, ">\n");
+- }
+ return MARKUP_OKAY;
+ }
+
diff --git a/app-text/htp/htp-1.16.ebuild b/app-text/htp/htp-1.16.ebuild
new file mode 100644
index 000000000000..b0275ebaecfd
--- /dev/null
+++ b/app-text/htp/htp-1.16.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/htp/htp-1.16.ebuild,v 1.1 2008/09/10 08:33:39 wrobel Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="An HTML preprocessor"
+HOMEPAGE="http://htp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+
+DEPEND="virtual/libc"
+RDEPEND="virtual/libc"
+
+# HTP does not use autoconf, have to set options defined in Makefile.config
+
+src_unpack() {
+ unpack ${A} || die
+ cd "${S}"
+ # Patch to remove meta-generator tag with "ego-gratifying Easter egg":
+ epatch "${FILESDIR}/easteregg.patch"
+}
+
+src_compile() {
+ emake CCOPT="-c ${CFLAGS}" || die
+}
+
+src_install() {
+ make DESTDIR="${D}" prefix="${D}/usr" pkgdocdir="${D}/usr/share/doc/${PF}" \
+ install || die
+}