summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-05-28 04:57:17 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-05-28 04:57:17 +0000
commitaedad83efe3c118e105afa39ebd2dbe74b0e62ba (patch)
treebc643752492d3413e26ff8c4db9a408018bf398c /net-www/htdig
parent-Wno-deprecated in CPPFLAGS to support gcc3.1 --masked until someone (diff)
downloadgentoo-2-aedad83efe3c118e105afa39ebd2dbe74b0e62ba.tar.gz
gentoo-2-aedad83efe3c118e105afa39ebd2dbe74b0e62ba.tar.bz2
gentoo-2-aedad83efe3c118e105afa39ebd2dbe74b0e62ba.zip
Added -Wno-deprecate to CPPFLAGS to support gcc3.1
Diffstat (limited to 'net-www/htdig')
-rw-r--r--net-www/htdig/ChangeLog11
-rw-r--r--net-www/htdig/files/digest-htdig-3.1.6-r41
-rw-r--r--net-www/htdig/htdig-3.1.6-r4.ebuild66
3 files changed, 77 insertions, 1 deletions
diff --git a/net-www/htdig/ChangeLog b/net-www/htdig/ChangeLog
index 36ad7bfb1031..6121f17ba36b 100644
--- a/net-www/htdig/ChangeLog
+++ b/net-www/htdig/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-www/htdig
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/ChangeLog,v 1.7 2002/05/22 22:51:14 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/ChangeLog,v 1.8 2002/05/28 04:57:17 mkennedy Exp $
+
+*htdig-3.1.6-r4 (27 May 2002)
+
+ 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)
diff --git a/net-www/htdig/files/digest-htdig-3.1.6-r4 b/net-www/htdig/files/digest-htdig-3.1.6-r4
new file mode 100644
index 000000000000..a44fa14c97b5
--- /dev/null
+++ b/net-www/htdig/files/digest-htdig-3.1.6-r4
@@ -0,0 +1 @@
+MD5 7a2f20d8d6149efd8d119bb2ebf55f23 htdig-3.1.6.tar.gz 2068675
diff --git a/net-www/htdig/htdig-3.1.6-r4.ebuild b/net-www/htdig/htdig-3.1.6-r4.ebuild
new file mode 100644
index 000000000000..fa07d7ea4d31
--- /dev/null
+++ b/net-www/htdig/htdig-3.1.6-r4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-www/htdig/htdig-3.1.6-r4.ebuild,v 1.1 2002/05/28 04:57:17 mkennedy Exp ${PN}/${PN}-3.1.5-r2.ebuild,v 1.2 2002/03/15 12:10:18 danarmak Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="HTTP/HTML indexing and searching system"
+SRC_URI="http://www.htdig.org/files/${P}.tar.gz"
+HOMEPAGE="http://www.htdig.org"
+
+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=/etc/${PN} \
+ --with-cgi-bin-dir=/home/httpd/cgi-bin \
+ --with-common-dir=/usr/share/${PN} \
+ --with-database-dir=/var/${PN}/db \
+ --with-image-dir=/home/httpd/htdocs/${PN} \
+ --with-default-config-file=/etc/${PN}/${PN}.conf \
+ || die
+
+ emake || die
+
+}
+
+src_install () {
+
+ make \
+ DESTDIR=${D} \
+ CONFIG_DIR=${D}/etc/${PN} \
+ SEARCH_DIR=${D}/home/httpd/htdocs/${PN} \
+ CGIBIN_DIR=${D}/home/httpd/cgi-bin \
+ COMMON_DIR=${D}/usr/share/${PN} \
+ DATABASE_DIR=${D}/var/${PN}/db \
+ IMAGE_DIR=${D}/home/httpd/htdocs/${PN} \
+ 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
+
+}
+
+pkg_postinst() {
+
+ einfo "Generating initial database"
+ rundig
+
+}