summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-15 18:08:01 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-15 18:08:01 +0000
commite2c4c52518c0d0849f82d31fcfe9f87e69e15fd5 (patch)
tree2427e9d8602210ebf6ade2bb2f67021860e185e9 /www-misc/htdig
parentMoved from net-www/gurlchecker to www-misc/gurlchecker (diff)
downloadhistorical-e2c4c52518c0d0849f82d31fcfe9f87e69e15fd5.tar.gz
historical-e2c4c52518c0d0849f82d31fcfe9f87e69e15fd5.tar.bz2
historical-e2c4c52518c0d0849f82d31fcfe9f87e69e15fd5.zip
Moved from net-www/htdig to www-misc/htdig.
Diffstat (limited to 'www-misc/htdig')
-rw-r--r--www-misc/htdig/ChangeLog111
-rw-r--r--www-misc/htdig/Manifest4
-rw-r--r--www-misc/htdig/files/CONFIG.in93
-rw-r--r--www-misc/htdig/files/digest-htdig-3.1.6-r41
-rw-r--r--www-misc/htdig/htdig-3.1.6-r4.ebuild78
5 files changed, 287 insertions, 0 deletions
diff --git a/www-misc/htdig/ChangeLog b/www-misc/htdig/ChangeLog
new file mode 100644
index 000000000000..62a056cec866
--- /dev/null
+++ b/www-misc/htdig/ChangeLog
@@ -0,0 +1,111 @@
+# 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 $
+
+*htdig-3.1.6-r4 (15 Aug 2004)
+
+ 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +files/CONFIG.in,
+ +htdig-3.1.6-r4.ebuild:
+ Moved from net-www/htdig to www-misc/htdig.
+
+ 23 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org> htdig-3.1.6-r4.ebuild:
+ header fix; mips needs deps before stable; move webapp-detect into unpack
+
+ 15 Dec 2003; Stuart Herbert <stuart@gentoo.org> htdig-3.1.6-r4.ebuild:
+ Fix for bug #32636
+
+ 16 Nov 2003; Martin Holzer <mholzer@gentoo.org> htdig-3.1.6-r4.ebuild:
+ added webapps-apache.eclass. Closes #33622
+
+ 16 Nov 2003; Brad House <brad_mssw@gentoo.org> htdig-3.1.6-r4.ebuild:
+ mark stable on amd64
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+ 30 Jul 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ Don't run rundig from pkg_postinst(). What this did was index the whole
+ www.htdig.org site! We certainly don't want that. Closes bug #5293.
+
+*htdig-3.1.6-r4 (27 May 2002)
+
+ 29 Mar 2003; Jan Seidel <tuxus@gentoo.org>
+ htdig-3.1.6-r4.ebuild :
+ Added mips to keywords
+
+ 15 Feb 2003; Mark Guertin <gerk@gentoo.org> htdig-3.1.6-r4.ebuild :
+ set ppc in keywords
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r4.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 27 May 2002; Matthew Kennedy <mkennedy@gentoo.org>
+ htdig-3.1.6-r4.ebuild, files/digest-htdig-3.1.6-r4, ChangeLog :
+
+ Adds -Wno-deprecated to CPPFLAGS to allow compilation under
+ gcc3.1. Resolves bug #3091, thanks to lars.pechan@paradise.net.nz
+ (Lars Pechan).
+
+*htdig-3.1.6-r3 (22 May 2002)
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r3.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 22 May 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6-r3.ebuild
+ files/digest-htdig-3.1.6-r3 :
+
+ Fixes the /var/htdig/db directory, and pkg_postinst() now runs the first
+ run of rundig. Thanks to steve_flack@ntlworld.com (Steve Flack) in bug
+ #986.
+
+*htdig-3.1.6-r2 (25 Apr 2002)
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r2.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 25 Apr 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6-r2.ebuild
+ files/digest-htdig-3.1.6-r2 :
+
+ More fixes from StuBear to place things in correct locations.
+
+*htdig-3.1.6-r1 (22 Apr 2002)
+
+ 14 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> htdig-3.1.6-r1.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 22 Apr 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6-r1.ebuild
+ files/digest-htdig-3.1.6-r1:
+
+ stuart@palette.plala.or.jp (Stuart Bouyer) in bug report #1970 pointed
+ out that things were being installed into /usr/bin/bin instead of /usr/bin.
+
+*htdig-3.1.6 (15 Apr 2002)
+
+ 15 Apr 2002; Seemant Kulleen <seemant@gentoo.org> htdig-3.1.6.ebuild
+ files/digest-htdig-3.1.6
+
+ Version bump. This puts the config files properly, etc etc. Needs heavy
+ testing, though.
+
+ 9 Mar 2002; Dan Armak <danarmak@gentoo.org> changelog:
+
+ It seems the patchfiles downloaded from the geocities site don't have a constant MD5.
+ I've put a copy on ibiblio/gentoo and the ebuild now fetches from there.
+
+*htdig-3.1.5-r2 (7 Mar 2002)
+
+ 7 Mar 2002; Dan Armak <danarmak@gentoo.org> Changelog:
+
+ Added patches to make htdig work with kdevelop. This si only a temporary remedy and
+ a big overhaul of the ebuild will come as soon as there's a new maintainer (not me!).
+ This closes bug #946.
+
+*htdig-3.1.5-r1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/www-misc/htdig/Manifest b/www-misc/htdig/Manifest
new file mode 100644
index 000000000000..503fec29d7e2
--- /dev/null
+++ b/www-misc/htdig/Manifest
@@ -0,0 +1,4 @@
+MD5 a9d29f6bcc603e4d0714eff8f13e0017 ChangeLog 3853
+MD5 e1fd819e208eb95426bc02c824c3295d htdig-3.1.6-r4.ebuild 1768
+MD5 8863dac1d260decb47f31d1a3fe422e2 files/CONFIG.in 2012
+MD5 10558a7c02e5ea20fdfe325e6186fc9d files/digest-htdig-3.1.6-r4 64
diff --git a/www-misc/htdig/files/CONFIG.in b/www-misc/htdig/files/CONFIG.in
new file mode 100644
index 000000000000..20f455a756aa
--- /dev/null
+++ b/www-misc/htdig/files/CONFIG.in
@@ -0,0 +1,93 @@
+##
+## CONFIG
+##
+## This file is part of ht://Dig
+##
+
+#
+# These variables are set by configure
+#
+# This specifies the root of the directory tree to be used by ht://Dig
+prefix= $(DESTDIR)@prefix@
+
+# This specifies the root of the directory tree to be used for programs
+# installed by ht://Dig
+exec_prefix= $(DESTDIR)@exec_prefix@
+
+#
+# Please modify the variables below to reflect your preferences.
+#
+
+#
+# DEST
+#
+# This specifies the root of the directory tree to be used by ht://Dig
+#
+DEST= $(prefix)
+
+#
+# BIN_DIR
+# Set this macro to where you want the binaries to be installed.
+#
+BIN_DIR= $(exec_prefix)/bin
+
+#
+# CONFIG_DIR
+# This is the directory that contains ht://Dig configuration files
+#
+CONFIG_DIR= $(DESTDIR)/etc/httpd/
+
+#
+# COMMON_DIR
+# This is the directory for files that can be shared between different
+# databases.
+#
+COMMON_DIR= $(DESTDIR)/usr/lib/htdig/common
+
+#
+# DATABASE_DIR
+# The default directory where the search databases will reside.
+#
+DATABASE_DIR= $(DESTDIR)/var/htdig/db
+
+#
+# DEFAULT_CONFIG_FILE
+# This macro defines where the various programs will look for a configuration
+# file.
+#
+DEFAULT_CONFIG_FILE= $(CONFIG_DIR)/htdig.conf
+
+#
+# CGIBIN_DIR
+# The directory where your HTTP server looks for CGI programs. This is where
+# htsearch will get installed.
+#
+CGIBIN_DIR= @CGIBIN_DIR@
+
+#
+# IMAGE_DIR
+# Define this to be a place that can be accessed by your web server. This is
+# where a couple of images will be placed.
+#
+IMAGE_DIR= @IMAGE_DIR@
+
+#
+# IMAGE_URL_PREFIX
+# This is the URL to prefix the images placed in IMAGE_DIR.
+#
+IMAGE_URL_PREFIX= /images/htdig
+
+#
+# SEARCH_DIR
+# Set this to the absolute path where you want the sample search form to
+# be installed.
+#
+SEARCH_DIR= @SEARCH_DIR@
+
+#
+# SEARCH_FORM
+# Set this to the name you want to give to the search form. This form
+# will be located in the SEARCH_DIR directory.
+#
+SEARCH_FORM= search.html
+
diff --git a/www-misc/htdig/files/digest-htdig-3.1.6-r4 b/www-misc/htdig/files/digest-htdig-3.1.6-r4
new file mode 100644
index 000000000000..a44fa14c97b5
--- /dev/null
+++ b/www-misc/htdig/files/digest-htdig-3.1.6-r4
@@ -0,0 +1 @@
+MD5 7a2f20d8d6149efd8d119bb2ebf55f23 htdig-3.1.6.tar.gz 2068675
diff --git a/www-misc/htdig/htdig-3.1.6-r4.ebuild b/www-misc/htdig/htdig-3.1.6-r4.ebuild
new file mode 100644
index 000000000000..9b5757fd2f4c
--- /dev/null
+++ b/www-misc/htdig/htdig-3.1.6-r4.ebuild
@@ -0,0 +1,78 @@
+# 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-r4.ebuild,v 1.1 2004/08/15 18:08:01 stuart Exp $
+
+inherit webapp-apache
+
+DESCRIPTION="HTTP/HTML indexing and searching system"
+HOMEPAGE="http://www.htdig.org"
+SRC_URI="http://www.htdig.org/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 sparc ppc ~mips amd64"
+IUSE=""
+
+DEPEND=">=sys-libs/zlib-1.1.3
+ app-arch/unzip"
+
+export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
+
+HTTPD_USER="apache"
+HTTPD_GROUP="apache"
+
+pkg_setup() {
+ webapp-detect || NO_WEBSERVER=1
+ webapp-pkg_setup "${NO_WEBSERVER}"
+ einfo "Installing into ${ROOT}${HTTPD_ROOT}."
+}
+
+src_compile() {
+ local DocumentRoot=${HTTPD_ROOT}
+ local destdir=${DocumentRoot}/${PN}
+
+ cd ${S}
+ ./configure \
+ --prefix=/usr \
+ --with-config-dir=/etc/${PN} \
+ --with-cgi-bin-dir=${HTTPD_CGIBIN} \
+ --with-common-dir=/usr/share/${PN} \
+ --with-database-dir=/var/${PN}/db \
+ --with-image-dir=${destdir} \
+ --with-default-config-file=/etc/${PN}/${PN}.conf \
+ || die
+
+ emake || die
+
+}
+
+src_install () {
+ webapp-mkdirs
+
+ local DocumentRoot=${HTTPD_ROOT}
+ local destdir=${DocumentRoot}/${PN}
+
+ make \
+ DESTDIR=${D} \
+ CONFIG_DIR=${D}/etc/${PN} \
+ SEARCH_DIR=${D}/${destdir} \
+ CGIBIN_DIR=${D}/${HTTPD_CGIBIN} \
+ COMMON_DIR=${D}/usr/share/${PN} \
+ DATABASE_DIR=${D}/var/${PN}/db \
+ IMAGE_DIR=${D}/${destdir} \
+ DEFAULT_CONFIG_FILE=${D}/etc/${PN}/${PN}.conf \
+ exec_prefix=${D}/usr \
+ install || die
+
+ dodoc ChangeLog COPYING README
+ dohtml -r htdoc
+
+ insinto /etc/conf.d
+ doins installdir/htdig.conf
+
+ dosed /etc/htdig/htdig.conf
+ dosed /usr/bin/rundig
+
+ touch ${D}/var/htdig/db/word2root.db
+ touch ${D}/var/htdig/db/root2word.db
+}