summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-29 16:46:29 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-29 16:46:29 +0000
commit559df71ea5f65317b1f8131dbd6371341441d077 (patch)
treecf3993cce62ce39c9bc63a90d8f2b976bd40f351 /www-misc/htdig
parentinitial ebuild #62044 (Manifest recommit) (diff)
downloadgentoo-2-559df71ea5f65317b1f8131dbd6371341441d077.tar.gz
gentoo-2-559df71ea5f65317b1f8131dbd6371341441d077.tar.bz2
gentoo-2-559df71ea5f65317b1f8131dbd6371341441d077.zip
Symlink htsearch to /usr/bin, see bug #62087. Fix a typo in a dirname.
Diffstat (limited to 'www-misc/htdig')
-rw-r--r--www-misc/htdig/ChangeLog5
-rw-r--r--www-misc/htdig/Manifest4
-rw-r--r--www-misc/htdig/files/digest-htdig-3.1.6-r61
-rw-r--r--www-misc/htdig/htdig-3.1.6-r6.ebuild61
4 files changed, 69 insertions, 2 deletions
diff --git a/www-misc/htdig/ChangeLog b/www-misc/htdig/ChangeLog
index bf02dc1aacd3..197768a8e482 100644
--- a/www-misc/htdig/ChangeLog
+++ b/www-misc/htdig/ChangeLog
@@ -1,6 +1,9 @@
# 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.2 2004/08/26 12:51:06 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.3 2004/08/29 16:46:29 rl03 Exp $
+
+ 29 Aug 2004; Renat Lumpau <rl03@gentoo.org> :
+ Symlink htsearch to /usr/bin, see bug #62087. Fix a typo in a dirname.
*htdig-3.1.6-r5 (26 Aug 2004)
diff --git a/www-misc/htdig/Manifest b/www-misc/htdig/Manifest
index d4cb243b595b..4626cb8a7f77 100644
--- a/www-misc/htdig/Manifest
+++ b/www-misc/htdig/Manifest
@@ -1,7 +1,9 @@
MD5 7a77d9c84fb54bffece23bf6fce115e4 htdig-3.1.6-r5.ebuild 1549
MD5 2cb79d0610b2d89ca1b57290eb413e8b htdig-3.1.6-r4.ebuild 1765
-MD5 b23fb04473248fbe03e586900a08d9de ChangeLog 4342
+MD5 6d395614e9edb05c082b66a681345143 htdig-3.1.6-r6.ebuild 1666
+MD5 7f82389834c06148d4d4c4bd4072d5c7 ChangeLog 4464
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
+MD5 10558a7c02e5ea20fdfe325e6186fc9d files/digest-htdig-3.1.6-r6 64
diff --git a/www-misc/htdig/files/digest-htdig-3.1.6-r6 b/www-misc/htdig/files/digest-htdig-3.1.6-r6
new file mode 100644
index 000000000000..a44fa14c97b5
--- /dev/null
+++ b/www-misc/htdig/files/digest-htdig-3.1.6-r6
@@ -0,0 +1 @@
+MD5 7a2f20d8d6149efd8d119bb2ebf55f23 htdig-3.1.6.tar.gz 2068675
diff --git a/www-misc/htdig/htdig-3.1.6-r6.ebuild b/www-misc/htdig/htdig-3.1.6-r6.ebuild
new file mode 100644
index 000000000000..8cb1cb9ba2ab
--- /dev/null
+++ b/www-misc/htdig/htdig-3.1.6-r6.ebuild
@@ -0,0 +1,61 @@
+# 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-r6.ebuild,v 1.1 2004/08/29 16:46:29 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_HOSTROOTDIR}/${PN}/htdig.conf
+
+ dosed ${MY_HOSTROOTDIR}/${PN}/${PN}.conf
+ dosed /usr/bin/rundig
+
+ # symlink htsearch so it can be easily found. see bug #62087.
+ dosym ${MY_CGIBINDIR}/htsearch /usr/bin/htsearch
+
+ webapp_src_install
+}