summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-26 12:51:06 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-26 12:51:06 +0000
commit4cb4bded59459fdc2530e5c6d46f3dbf7a39e83f (patch)
treeefe1a610c1382fe181236614cdf3232a0bfbe5d2 /www-misc/htdig
parentMove to stable (diff)
downloadhistorical-4cb4bded59459fdc2530e5c6d46f3dbf7a39e83f.tar.gz
historical-4cb4bded59459fdc2530e5c6d46f3dbf7a39e83f.tar.bz2
historical-4cb4bded59459fdc2530e5c6d46f3dbf7a39e83f.zip
Convert to webapp.eclass. Closes #34594, 52592
Diffstat (limited to 'www-misc/htdig')
-rw-r--r--www-misc/htdig/ChangeLog13
-rw-r--r--www-misc/htdig/Manifest7
-rw-r--r--www-misc/htdig/files/digest-htdig-3.1.6-r51
-rw-r--r--www-misc/htdig/htdig-3.1.6-r5.ebuild58
-rw-r--r--www-misc/htdig/metadata.xml5
5 files changed, 81 insertions, 3 deletions
diff --git a/www-misc/htdig/ChangeLog b/www-misc/htdig/ChangeLog
index 62a056cec866..bf02dc1aacd3 100644
--- a/www-misc/htdig/ChangeLog
+++ b/www-misc/htdig/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for net-www/htdig
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.1 2004/08/15 18:08:01 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.2 2004/08/26 12:51:06 rl03 Exp $
+
+*htdig-3.1.6-r5 (26 Aug 2004)
+
+ 26 Aug 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +htdig-3.1.6-r5.ebuild:
+ Added metadata.xml
+
+*htdig-3.1.6-r5 (26 Aug 2004)
+
+ 26 Aug 2004; Renat Lumpau <rl03@gentoo.org> +htdig-3.1.6-r5.ebuild:
+ Convert to webapp.eclass. Closes #34594, 52592, and helps with #7728, 35275.
*htdig-3.1.6-r4 (15 Aug 2004)
diff --git a/www-misc/htdig/Manifest b/www-misc/htdig/Manifest
index 503fec29d7e2..d4cb243b595b 100644
--- a/www-misc/htdig/Manifest
+++ b/www-misc/htdig/Manifest
@@ -1,4 +1,7 @@
-MD5 a9d29f6bcc603e4d0714eff8f13e0017 ChangeLog 3853
-MD5 e1fd819e208eb95426bc02c824c3295d htdig-3.1.6-r4.ebuild 1768
+MD5 7a77d9c84fb54bffece23bf6fce115e4 htdig-3.1.6-r5.ebuild 1549
+MD5 2cb79d0610b2d89ca1b57290eb413e8b htdig-3.1.6-r4.ebuild 1765
+MD5 b23fb04473248fbe03e586900a08d9de ChangeLog 4342
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
MD5 8863dac1d260decb47f31d1a3fe422e2 files/CONFIG.in 2012
MD5 10558a7c02e5ea20fdfe325e6186fc9d files/digest-htdig-3.1.6-r4 64
+MD5 10558a7c02e5ea20fdfe325e6186fc9d files/digest-htdig-3.1.6-r5 64
diff --git a/www-misc/htdig/files/digest-htdig-3.1.6-r5 b/www-misc/htdig/files/digest-htdig-3.1.6-r5
new file mode 100644
index 000000000000..a44fa14c97b5
--- /dev/null
+++ b/www-misc/htdig/files/digest-htdig-3.1.6-r5
@@ -0,0 +1 @@
+MD5 7a2f20d8d6149efd8d119bb2ebf55f23 htdig-3.1.6.tar.gz 2068675
diff --git a/www-misc/htdig/htdig-3.1.6-r5.ebuild b/www-misc/htdig/htdig-3.1.6-r5.ebuild
new file mode 100644
index 000000000000..0eedb72fd941
--- /dev/null
+++ b/www-misc/htdig/htdig-3.1.6-r5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.1.6-r5.ebuild,v 1.1 2004/08/26 12:51:06 rl03 Exp $
+
+inherit webapp
+
+DESCRIPTION="HTTP/HTML indexing and searching system"
+SRC_URI="http://www.htdig.org/files/${P}.tar.gz"
+HOMEPAGE="http://www.htdig.org"
+KEYWORDS="~x86 ~sparc ~ppc ~mips ~amd64"
+LICENSE="GPL-2"
+
+DEPEND=">=sys-libs/zlib-1.1.3
+ app-arch/unzip"
+
+export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
+
+src_compile() {
+ cd ${S}
+ ./configure \
+ --prefix=/usr \
+ --with-config-dir=/${MY_HOSTROOTDIR}/${PN} \
+ --with-cgi-bin-dir=${MY_CGIBINDIR} \
+ --with-common-dir=/usr/share/${PN} \
+ --with-database-dir=${MY_HOSTROOTDIR}/${PN}/db \
+ --with-image-dir=${MY_HTDOCSDIR} \
+ --with-default-config-file=${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
+ || die
+
+ emake || die
+}
+
+src_install () {
+ webapp_src_preinst
+ dodir ${MY_HOSTROOTDIR}/${PN}
+
+ make \
+ DESTDIR=${D} \
+ CONFIG_DIR=${D}/${MY_HOSTROOTDIR}/${PN} \
+ SEARCH_DIR=${D}/${MY_HOSTROOTDIR} \
+ CGIBIN_DIR=${D}/${MY_CGIBINDIR} \
+ COMMON_DIR=${D}/usr/share/${PN} \
+ DATABASE_DIR=${D}/${MY_HOSTROOTDIR}/${PN}/db \
+ IMAGE_DIR=${D}/${MY_HTDOCSDIR} \
+ DEFAULT_CONFIG_FILE=${D}/${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
+ exec_prefix=${D}/usr \
+ install || die
+
+ dodoc ChangeLog COPYING README
+ dohtml -r htdoc
+
+ sed -e "s/@DATABASE_DIR@/\/var\/${PN}\/db/" -i ${D}/${MY_HOSTROOT}/${PN}/htdig.conf
+
+ dosed ${MY_HOSTROOTDIR}/${PN}/${PN}.conf
+ dosed /usr/bin/rundig
+
+ webapp_src_install
+}
diff --git a/www-misc/htdig/metadata.xml b/www-misc/htdig/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-misc/htdig/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>