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
commite4811ce58221345ca5e8b3088c6346ba974d528b (patch)
treed94cc8f2b1af4739106ed014c83f0da264ead0c0 /www-misc
parentMove to stable (Manifest recommit) (diff)
downloadgentoo-2-e4811ce58221345ca5e8b3088c6346ba974d528b.tar.gz
gentoo-2-e4811ce58221345ca5e8b3088c6346ba974d528b.tar.bz2
gentoo-2-e4811ce58221345ca5e8b3088c6346ba974d528b.zip
Convert to webapp.eclass. Closes #34594, 52592
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/htdig/ChangeLog13
-rw-r--r--www-misc/htdig/Manifest6
-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, 80 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..bd6b0406a985 100644
--- a/www-misc/htdig/Manifest
+++ b/www-misc/htdig/Manifest
@@ -1,4 +1,6 @@
-MD5 a9d29f6bcc603e4d0714eff8f13e0017 ChangeLog 3853
-MD5 e1fd819e208eb95426bc02c824c3295d htdig-3.1.6-r4.ebuild 1768
+MD5 b55597bff1fec09443632156ac680c21 htdig-3.1.6-r5.ebuild 1453
+MD5 2cb79d0610b2d89ca1b57290eb413e8b htdig-3.1.6-r4.ebuild 1765
+MD5 c260f7c1881a1e414f1ccb5f977e55f4 ChangeLog 4204
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>