summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-07-06 21:40:24 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-07-06 21:40:24 +0000
commit2243bd3ca301e9dd03a214f84302dd8d5bdd0b92 (patch)
tree102e033b124f4234f3b0410b452a75b97aeb5a0f /www-misc
parentsync IUSE (-pic) (diff)
downloadgentoo-2-2243bd3ca301e9dd03a214f84302dd8d5bdd0b92.tar.gz
gentoo-2-2243bd3ca301e9dd03a214f84302dd8d5bdd0b92.tar.bz2
gentoo-2-2243bd3ca301e9dd03a214f84302dd8d5bdd0b92.zip
Added version
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/htdig/ChangeLog8
-rw-r--r--www-misc/htdig/Manifest9
-rw-r--r--www-misc/htdig/files/digest-htdig-3.2.0_beta61
-rw-r--r--www-misc/htdig/files/reconfig8
-rw-r--r--www-misc/htdig/htdig-3.2.0_beta6.ebuild58
5 files changed, 80 insertions, 4 deletions
diff --git a/www-misc/htdig/ChangeLog b/www-misc/htdig/ChangeLog
index 9855d9ec7450..b9aa5acff457 100644
--- a/www-misc/htdig/ChangeLog
+++ b/www-misc/htdig/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-misc/htdig
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.8 2005/02/13 01:59:42 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/ChangeLog,v 1.9 2005/07/06 21:40:24 rl03 Exp $
+
+*htdig-3.2.0_beta6 (06 Jul 2005)
+
+ 06 Jul 2005; Renat Lumpau <rl03@gentoo.org> +files/reconfig,
+ +htdig-3.2.0_beta6.ebuild:
+ Added version.
12 Feb 2005; Jason Wever <weeve@gentoo.org> htdig-3.1.6-r7.ebuild:
Stable on sparc wrt security bug #80602.
diff --git a/www-misc/htdig/Manifest b/www-misc/htdig/Manifest
index d5cf0eaaa049..e09f3d4ce202 100644
--- a/www-misc/htdig/Manifest
+++ b/www-misc/htdig/Manifest
@@ -1,8 +1,11 @@
-MD5 3e70ad252d44e6c25b178ac2e074a1dc ChangeLog 5108
-MD5 76b8229f7c86ee4d0ca02ba811423309 htdig-3.1.6-r4.ebuild 1768
MD5 8cb339dee96857223e1b7bbb8cd08963 htdig-3.1.6-r7.ebuild 1893
+MD5 bf07b4c21cec8d717993d62dff7ca285 htdig-3.2.0_beta6.ebuild 1459
+MD5 76b8229f7c86ee4d0ca02ba811423309 htdig-3.1.6-r4.ebuild 1768
+MD5 14e751d0036d9aa3cd13d2d5f2e6c8dc ChangeLog 5252
MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
MD5 8863dac1d260decb47f31d1a3fe422e2 files/CONFIG.in 2012
+MD5 d44854e0008c7b69a927940fe3f373d9 files/htdig-3.1.6-unescaped-output.diff 640
+MD5 6a2501fb2eb3dab0941d282339e42151 files/digest-htdig-3.2.0_beta6 66
MD5 10558a7c02e5ea20fdfe325e6186fc9d files/digest-htdig-3.1.6-r4 64
MD5 10558a7c02e5ea20fdfe325e6186fc9d files/digest-htdig-3.1.6-r7 64
-MD5 d44854e0008c7b69a927940fe3f373d9 files/htdig-3.1.6-unescaped-output.diff 640
+MD5 255a55537e852e6110bfa5924185c6c0 files/reconfig 186
diff --git a/www-misc/htdig/files/digest-htdig-3.2.0_beta6 b/www-misc/htdig/files/digest-htdig-3.2.0_beta6
new file mode 100644
index 000000000000..5dd337f83bf4
--- /dev/null
+++ b/www-misc/htdig/files/digest-htdig-3.2.0_beta6
@@ -0,0 +1 @@
+MD5 8a6952f5b97e305dbb7489045bad220f htdig-3.2.0b6.tar.gz 3104936
diff --git a/www-misc/htdig/files/reconfig b/www-misc/htdig/files/reconfig
new file mode 100644
index 000000000000..6f42882ff6e9
--- /dev/null
+++ b/www-misc/htdig/files/reconfig
@@ -0,0 +1,8 @@
+#!/bin/bash
+if [ $1 = "install" ]; then
+
+ sed -e "s|^database_dir.*|database_dir: ${VHOST_ROOT}/htdig/db|" -i ${MY_HOSTROOTDIR}/htdig/htdig.conf
+
+elif [ $1 = "clean" ]; then
+ echo $1
+fi
diff --git a/www-misc/htdig/htdig-3.2.0_beta6.ebuild b/www-misc/htdig/htdig-3.2.0_beta6.ebuild
new file mode 100644
index 000000000000..0bbfd2e29ec2
--- /dev/null
+++ b/www-misc/htdig/htdig-3.2.0_beta6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/htdig/htdig-3.2.0_beta6.ebuild,v 1.1 2005/07/06 21:40:24 rl03 Exp $
+
+inherit webapp eutils flag-o-matic
+
+MY_PV=${PV/_beta/b}
+S=${WORKDIR}/${PN}-${MY_PV}
+
+DESCRIPTION="HTTP/HTML indexing and searching system"
+SRC_URI="http://www.htdig.org/files/${PN}-${MY_PV}.tar.gz"
+HOMEPAGE="http://www.htdig.org"
+KEYWORDS="~x86 ~sparc ~ppc ~mips ~amd64"
+LICENSE="GPL-2"
+
+RDEPEND=">=sys-libs/zlib-1.1.3
+ app-arch/unzip"
+DEPEND="${RDEPEND}"
+
+export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
+
+src_compile() {
+ append-flags -Wno-deprecated
+
+ ./configure \
+ --prefix=/usr \
+ --with-config-dir=/${MY_HOSTROOTDIR}/${PN} \
+ --with-default-config-file=${MY_HOSTROOTDIR}/${PN}/${PN}.conf \
+ --with-common-dir=/usr/share/${PN} \
+ --with-database-dir=${MY_HOSTROOTDIR}/${PN}/db \
+ --with-cgi-bin-dir=${MY_CGIBINDIR} \
+ --with-image-dir=${MY_HTDOCSDIR} \
+ --with-search-dir=${MY_HOSTROOTDIR} \
+ || die "configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install () {
+ webapp_src_preinst
+ dodir ${MY_HOSTROOTDIR}/${PN}
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ dodoc ChangeLog COPYING README
+ dohtml -r htdoc
+
+ 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_configfile ${MY_HOSTROOTDIR}/${PN}/${PN}.conf
+ webapp_hook_script ${FILESDIR}/reconfig
+
+ webapp_src_install
+}