From 323da392ee0f6f1e6ffd2ee58f1652059fd217ed Mon Sep 17 00:00:00 2001
From: Alastair Tse <liquidx@gentoo.org>
Date: Thu, 15 Jan 2004 23:38:45 +0000
Subject: version bump (#38306) and fix conf file locations (#37675) thanks to
 TGL <degrenier@easyconnect.fr>. and add metadata.xml

---
 app-text/dictd/ChangeLog                 | 10 +++++--
 app-text/dictd/Manifest                  | 11 ++++---
 app-text/dictd/dictd-1.9.11.ebuild       | 49 ++++++++++++++++++++++++++++++++
 app-text/dictd/dictd-1.9.7.ebuild        |  5 ++--
 app-text/dictd/files/digest-dictd-1.9.11 |  1 +
 app-text/dictd/metadata.xml              |  5 ++++
 6 files changed, 73 insertions(+), 8 deletions(-)
 create mode 100644 app-text/dictd/dictd-1.9.11.ebuild
 create mode 100644 app-text/dictd/files/digest-dictd-1.9.11
 create mode 100644 app-text/dictd/metadata.xml

(limited to 'app-text')

diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog
index 41bf4b178b98..4d73a10f8f3b 100644
--- a/app-text/dictd/ChangeLog
+++ b/app-text/dictd/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for app-text/dictd
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.9 2003/12/29 09:18:56 seemant Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.10 2004/01/15 23:38:45 liquidx Exp $
+
+*dictd-1.9.11 (15 Jan 2004)
+
+  15 Jan 2004; Alastair Tse <liquidx@gentoo.org> dictd-1.9.7.ebuild:
+  version bump (#38306) and fix conf file locations (#37675) thanks to TGL
+  <degrenier@easyconnect.fr>
 
 *dictd-1.9.7 (29 Dec 2003)
 
diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest
index 42f666e8f0a6..22b938e3a1b1 100644
--- a/app-text/dictd/Manifest
+++ b/app-text/dictd/Manifest
@@ -1,16 +1,19 @@
-MD5 09176f81b92c8db94403ecdd82f9510f dictd-1.9.7.ebuild 1491
 MD5 8c1bbce25f0e7492f129d4793b7613b0 ChangeLog 2273
 MD5 268b44b571788ac515271d3ed8ffccfb dictd-1.8.0.ebuild 1447
+MD5 a742ee71ca05617dfa91eb93a8f77237 dictd-1.9.11.ebuild 1267
+MD5 20dfd9f8ba6a78d252ba7eaf84d9e03c dictd-1.9.7.ebuild 1518
+MD5 a97d38377255fef9ec22c3bf4c23fd6b files/dictd-1.8.0-gcc33-multiline-string-fix.patch 542
 MD5 7182349beb0e6f90f1d2c46cc8c5a3bc files/digest-dictd-1.8.0 63
+MD5 acfe9cbde6329db158f6a1b458be342c files/digest-dictd-1.9.11 64
 MD5 def86af861f23f0199d39fc99a4ff882 files/digest-dictd-1.9.7 63
-MD5 a97d38377255fef9ec22c3bf4c23fd6b files/dictd-1.8.0-gcc33-multiline-string-fix.patch 542
+MD5 def86af861f23f0199d39fc99a4ff882 files/digest-dictd-1.9.7-r1 63
+MD5 fb72f7d8c55f84b1b37bbc8d33a8e55a files/1.8.0/dict.conf 243
 MD5 61b7f562737345d8466d23e05f378d38 files/1.8.0/dictd 1777
 MD5 33b467f10a606af7fa36782d67b67616 files/1.8.0/dictd.conf 569
 MD5 2063896920a5b204d6d5f7090786db73 files/1.8.0/dictd.confd 135
 MD5 b8cabf913876e544d919c7f20ff8db9e files/1.8.0/site.info 235
-MD5 fb72f7d8c55f84b1b37bbc8d33a8e55a files/1.8.0/dict.conf 243
+MD5 fb72f7d8c55f84b1b37bbc8d33a8e55a files/1.9.7/dict.conf 243
 MD5 47ff8725db14bf9c5c9c660525d8cc08 files/1.9.7/dictd 1778
 MD5 33b467f10a606af7fa36782d67b67616 files/1.9.7/dictd.conf 569
 MD5 2063896920a5b204d6d5f7090786db73 files/1.9.7/dictd.confd 135
 MD5 b8cabf913876e544d919c7f20ff8db9e files/1.9.7/site.info 235
-MD5 fb72f7d8c55f84b1b37bbc8d33a8e55a files/1.9.7/dict.conf 243
diff --git a/app-text/dictd/dictd-1.9.11.ebuild b/app-text/dictd/dictd-1.9.11.ebuild
new file mode 100644
index 000000000000..11f78b59af47
--- /dev/null
+++ b/app-text/dictd/dictd-1.9.11.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.11.ebuild,v 1.1 2004/01/15 23:38:45 liquidx Exp $
+
+inherit gnuconfig
+
+DESCRIPTION="Dictionary Client/Server for the DICT protocol"
+HOMEPAGE="http://www.dict.org/"
+SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~arm ~amd64 ~ia64 ~ppc64"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+	# Update config.sub and config.guess so dictd understands the sparc architecture
+	gnuconfig_update
+
+	econf \
+		--with-cflags="${CFLAGS}" \
+		--sysconfdir=/etc/dict || die
+	make || die
+}
+
+src_install() {
+	# Now install it.
+	make DESTDIR=${D} install || die "install failed"
+
+	# Install docs
+	dodoc README TODO COPYING ChangeLog ANNOUNCE
+	dodoc doc/dicf.ms doc/rfc.ms doc/rfc.sh doc/rfc2229.txt
+	dodoc doc/security.doc doc/toc.ms
+
+	# conf files.
+	dodir /etc/dict
+	insinto /etc/dict
+	doins ${FILESDIR}/${PVR}/dict.conf
+	doins ${FILESDIR}/${PVR}/dictd.conf
+	doins ${FILESDIR}/${PVR}/site.info
+
+	# startups for dictd
+	exeinto /etc/init.d
+	newexe ${FILESDIR}/${PVR}/dictd dictd
+	insinto /etc/conf.d
+	newins ${FILESDIR}/${PVR}/dictd.confd dictd
+}
diff --git a/app-text/dictd/dictd-1.9.7.ebuild b/app-text/dictd/dictd-1.9.7.ebuild
index 5374b2286795..88671c44ac89 100644
--- a/app-text/dictd/dictd-1.9.7.ebuild
+++ b/app-text/dictd/dictd-1.9.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.7.ebuild,v 1.1 2003/12/29 09:18:56 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.7.ebuild,v 1.2 2004/01/15 23:38:45 liquidx Exp $
 
 inherit gnuconfig
 
@@ -21,6 +21,7 @@ src_compile() {
 
 	econf \
 		--with-cflags="${CFLAGS}" \
+		--sysconfdir=/etc/dict \
 		--with-etcdir=/etc/dict || die
 	make || die
 }
diff --git a/app-text/dictd/files/digest-dictd-1.9.11 b/app-text/dictd/files/digest-dictd-1.9.11
new file mode 100644
index 000000000000..30694fec3ece
--- /dev/null
+++ b/app-text/dictd/files/digest-dictd-1.9.11
@@ -0,0 +1 @@
+MD5 4d06aabf573c862fd29e409984f71a67 dictd-1.9.11.tar.gz 695037
diff --git a/app-text/dictd/metadata.xml b/app-text/dictd/metadata.xml
new file mode 100644
index 000000000000..8f9450df306e
--- /dev/null
+++ b/app-text/dictd/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>app-dicts</herd>
+</pkgmetadata>
-- 
cgit v1.2.3-65-gdbad