summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-08-18 01:15:54 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-08-18 01:15:54 +0000
commit0ca84ec7688854ac769bb1a5e06af56170a3f412 (patch)
tree5d1c09f52755b7903a5cae2a8bc379ae26ad8028 /app-text
parentAdded NWN Gold support via a patch from Ian Leonard <antonlacon@gmail.com>. ... (diff)
downloadgentoo-2-0ca84ec7688854ac769bb1a5e06af56170a3f412.tar.gz
gentoo-2-0ca84ec7688854ac769bb1a5e06af56170a3f412.tar.bz2
gentoo-2-0ca84ec7688854ac769bb1a5e06af56170a3f412.zip
Removed colorit script and its man page - useless cruft. Fixes bug 107376.
Version bump to 1.10.9 (fixes bug 160125): - fixed automagic dependencies. Fixes bug 137653. - Changed init script as the daemon needs to start with --locale=C. Fixes bug 101573. - Added an option for unusual umasks. Fixes bug 90657. - disabled the plugins; if you need them, file a bug. (Portage version: 2.1.3.5)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dictd/ChangeLog18
-rw-r--r--app-text/dictd/dictd-1.10.0.ebuild6
-rw-r--r--app-text/dictd/dictd-1.10.9.ebuild80
-rw-r--r--app-text/dictd/dictd-1.9.11-r1.ebuild6
-rw-r--r--app-text/dictd/dictd-1.9.14.ebuild6
-rw-r--r--app-text/dictd/files/1.10.9/dict.conf6
-rw-r--r--app-text/dictd/files/1.10.9/dictd75
-rw-r--r--app-text/dictd/files/1.10.9/dictd.conf24
-rw-r--r--app-text/dictd/files/1.10.9/dictd.confd8
-rw-r--r--app-text/dictd/files/1.10.9/site.info6
-rw-r--r--app-text/dictd/files/digest-dictd-1.10.93
11 files changed, 234 insertions, 4 deletions
diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog
index 4d6789794d98..3c613243df15 100644
--- a/app-text/dictd/ChangeLog
+++ b/app-text/dictd/ChangeLog
@@ -1,6 +1,22 @@
# ChangeLog for app-text/dictd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.36 2007/08/17 21:26:35 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.37 2007/08/18 01:15:54 philantrop Exp $
+
+*dictd-1.10.9 (18 Aug 2007)
+
+ 18 Aug 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/1.10.9/dict.conf, +files/1.10.9/dictd.conf, +files/1.10.9/dictd,
+ +files/1.10.9/dictd.confd, +files/1.10.9/site.info,
+ dictd-1.9.11-r1.ebuild, dictd-1.9.14.ebuild, dictd-1.10.0.ebuild,
+ +dictd-1.10.9.ebuild:
+ Removed colorit script and its man page - useless cruft. Fixes bug 107376.
+ Version bump to 1.10.9 (fixes bug 160125):
+ - fixed automagic dependencies.
+ Fixes bug 137653.
+ - Changed init script as the daemon needs to start with --locale=C.
+ Fixes bug 101573.
+ - Added an option for unusual umasks. Fixes bug 90657.
+ - disabled the plugins; if you need them, file a bug.
17 Aug 2007; Wulf C. Krueger <philantrop@gentoo.org>
-files/dictd-1.8.0-gcc33-multiline-string-fix.patch:
diff --git a/app-text/dictd/dictd-1.10.0.ebuild b/app-text/dictd/dictd-1.10.0.ebuild
index 27433bf23503..c5ed1df60a9c 100644
--- a/app-text/dictd/dictd-1.10.0.ebuild
+++ b/app-text/dictd/dictd-1.10.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.0.ebuild,v 1.5 2007/04/28 15:24:55 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.0.ebuild,v 1.6 2007/08/18 01:15:54 philantrop Exp $
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/"
@@ -39,4 +39,8 @@ src_install() {
# startups for dictd
newinitd "${FILESDIR}"/1.9.11-r1/dictd dictd
newconfd "${FILESDIR}"/1.9.11-r1/dictd.confd dictd
+
+ # Remove useless cruft, fixes bug 107376
+ rm -f ${D}/usr/bin/colorit
+ rm -f ${D}/usr/share/man/man1/colorit.1
}
diff --git a/app-text/dictd/dictd-1.10.9.ebuild b/app-text/dictd/dictd-1.10.9.ebuild
new file mode 100644
index 000000000000..f918e0ae4a9d
--- /dev/null
+++ b/app-text/dictd/dictd-1.10.9.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.9.ebuild,v 1.1 2007/08/18 01:15:54 philantrop Exp $
+
+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="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+# The dictd tests are broken.
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ sed -i -e 's:^CFLAGS=\(.*\):CFLAGS=\1 -fPIC:' libmaa/Makefile.in
+}
+
+src_compile() {
+ # with-local-libmaa is needed because libmaa is not in the tree
+ # because nothing in the whole wide world but dictd uses it.
+ # There are no sources apart from those in dictd, no homepage, nothing.
+ # Doesn't really make sense to split it off from dictd into its own package
+ # and add that just for dictd.
+ econf \
+ --with-cflags="${CFLAGS}" \
+ --with-local-libmaa \
+ --without-local-zlib \
+ --without-local-dmalloc \
+ --without-local-regex \
+ --without-checker \
+ --without-efence \
+ --without-insure \
+ --without-purify \
+ --disable-plugin \
+ --sysconfdir=/etc/dict || die "econf failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ # Now install it.
+ make DESTDIR="${D}" install || die "install failed"
+
+ # Install docs
+ dodoc README TODO COPYING ChangeLog ANNOUNCE || die "installing docs part 1 failed"
+ dodoc doc/dicf.ms doc/rfc.ms doc/rfc.sh doc/rfc2229.txt || die "installing docs part 2 failed"
+ dodoc doc/security.doc doc/toc.ms || die "installing docs part 3 failed"
+
+ # 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
+ newinitd "${FILESDIR}"/${PVR}/dictd dictd
+ newconfd "${FILESDIR}"/${PVR}/dictd.confd dictd
+
+ # Remove useless cruft, fixes bug 107376
+ rm -f ${D}/usr/bin/colorit
+ rm -f ${D}/usr/share/man/man1/colorit.1
+}
+
+pkg_postinst() {
+ echo
+ elog "To start and use ${PN} you will have to emerge at least one dictionary from"
+ elog "the app-dicts category with the package name starting with 'dictd-'."
+ elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
+ elog "${PN} will NOT start without at least one dictionary."
+ echo
+}
diff --git a/app-text/dictd/dictd-1.9.11-r1.ebuild b/app-text/dictd/dictd-1.9.11-r1.ebuild
index fb00cf924dec..1ecb5ca1fbd2 100644
--- a/app-text/dictd/dictd-1.9.11-r1.ebuild
+++ b/app-text/dictd/dictd-1.9.11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.11-r1.ebuild,v 1.12 2007/04/28 15:24:55 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.11-r1.ebuild,v 1.13 2007/08/18 01:15:54 philantrop Exp $
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/"
@@ -39,4 +39,8 @@ src_install() {
# startups for dictd
newinitd "${FILESDIR}"/${PVR}/dictd dictd
newconfd "${FILESDIR}"/${PVR}/dictd.confd dictd
+
+ # Remove useless cruft, fixes bug 107376
+ rm -f ${D}/usr/bin/colorit
+ rm -f ${D}/usr/share/man/man1/colorit.1
}
diff --git a/app-text/dictd/dictd-1.9.14.ebuild b/app-text/dictd/dictd-1.9.14.ebuild
index f8cb802ca620..f047d51058d3 100644
--- a/app-text/dictd/dictd-1.9.14.ebuild
+++ b/app-text/dictd/dictd-1.9.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild,v 1.13 2007/04/28 15:24:55 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild,v 1.14 2007/08/18 01:15:54 philantrop Exp $
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/"
@@ -39,4 +39,8 @@ src_install() {
# startups for dictd
newinitd "${FILESDIR}"/1.9.11-r1/dictd dictd
newconfd "${FILESDIR}"/1.9.11-r1/dictd.confd dictd
+
+ # Remove useless cruft, fixes bug 107376
+ rm -f ${D}/usr/bin/colorit
+ rm -f ${D}/usr/share/man/man1/colorit.1
}
diff --git a/app-text/dictd/files/1.10.9/dict.conf b/app-text/dictd/files/1.10.9/dict.conf
new file mode 100644
index 000000000000..e06c3d296ec3
--- /dev/null
+++ b/app-text/dictd/files/1.10.9/dict.conf
@@ -0,0 +1,6 @@
+# This is the configuration file for dict.
+# Usually all you will ever need here is the server keywords.
+# Refer to the dict manpage for other options.
+# It will only check the second server if the first fails
+server localhost
+server dict.org
diff --git a/app-text/dictd/files/1.10.9/dictd b/app-text/dictd/files/1.10.9/dictd
new file mode 100644
index 000000000000..5f21c9808a7d
--- /dev/null
+++ b/app-text/dictd/files/1.10.9/dictd
@@ -0,0 +1,75 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/files/1.10.9/dictd,v 1.1 2007/08/18 01:15:54 philantrop Exp $
+
+# NB: Config is in /etc/conf.d/dictd
+
+
+prepconfig() {
+ if [ ! -e ${DICTDCONF} ]
+ then
+ eerror "dictd not started. Config file not found."
+ return 1
+ fi
+ # if no dictionaries, skip startup.
+
+ # The new way of doing this is to scan /usr/lib/dict and tweek the conf
+ einfo "Scanning for dictionaries..."
+ if [ ! -d "${DLIBDIR}" ]; then
+ eerror "${DLIBDIR} doesn't exist, no dictionaries found."
+ return 1
+ fi
+ pushd ${DLIBDIR} >/dev/null
+ INDEXFILES=`ls *.index`
+ if [ -z "$INDEXFILES" ]; then
+ eerror "No dictionaries installed."
+ return 1
+ fi
+
+ cat $DICTDCONF | sed -e '/^#LASTLINE/,$d' > $TMPCONF
+ echo "#LASTLINE" >> $TMPCONF
+
+ CNT=0
+ for i in $INDEXFILES
+ do
+ DNAME=`echo $i | awk -F . '{print $1;}'`
+ #two possible names for a matching dictionary, check which is there.
+ if [ -f ${DNAME}.dict.dz ]; then
+ DICT=${DNAME}.dict.dz
+ elif [ -f ${DNAME}.dict ];then
+ DICT=${DNAME}.dict
+ else
+ einfo "Index $i has no matching dictionaray..."
+ fi
+
+ #ok, go an index, and a dixtionary, append.
+ echo "database $DNAME { data \"${DLIBDIR}/${DICT}\"" >> $TMPCONF
+ echo " index \"${DLIBDIR}/$i\" }" >> $TMPCONF
+
+ CNT=`expr $CNT + 1`
+ done
+ popd >/dev/null
+ mv ${TMPCONF} ${DICTDCONF}
+ if [ -n "${DICTDCONF_MOD}" ]; then
+ chmod ${DICTDCONF_MOD} ${DICTDCONF}
+ fi
+ einfo "Done, $CNT dictionary indexes found."
+}
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting dictd"
+ prepconfig || return 1
+ start-stop-daemon --start --quiet --exec /usr/sbin/dictd -- --locale=C $EARGS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping dictd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/dictd
+ eend $?
+}
diff --git a/app-text/dictd/files/1.10.9/dictd.conf b/app-text/dictd/files/1.10.9/dictd.conf
new file mode 100644
index 000000000000..2f9426675dda
--- /dev/null
+++ b/app-text/dictd/files/1.10.9/dictd.conf
@@ -0,0 +1,24 @@
+# dictd configuration file.
+# whipped up by michael conrad tilstra <michael@gentoo.org>
+
+global {
+ # Informational message
+ site site.info
+}
+
+# who's allowed. You might want to change this.
+access {
+ allow *
+}
+
+# Dictionaries are listed below.
+# The initrc script scans /usr/lib/dict and adds all of the dictionaries
+# it finds here.
+#
+# The initrc script will delete everything after the the last line and
+# replace it with what it finds. So add all of your things above.
+#
+# If this is a problem for people, contact me and
+# we can work out a different method.
+#
+#LASTLINE
diff --git a/app-text/dictd/files/1.10.9/dictd.confd b/app-text/dictd/files/1.10.9/dictd.confd
new file mode 100644
index 000000000000..f34f7609a1f9
--- /dev/null
+++ b/app-text/dictd/files/1.10.9/dictd.confd
@@ -0,0 +1,8 @@
+# Config file for /etc/init.d/dictd
+
+EARGS="-s "
+DICTDCONF=/etc/dict/dictd.conf
+# Set DICTDCONF_MOD if you have a custom umask. cf. bug 90657 on bugs.gentoo.org
+DICTDCONF_MOD=""
+DLIBDIR=/usr/lib/dict
+TMPCONF=/etc/dict/dictd.conf.$$
diff --git a/app-text/dictd/files/1.10.9/site.info b/app-text/dictd/files/1.10.9/site.info
new file mode 100644
index 000000000000..23bfdeb61102
--- /dev/null
+++ b/app-text/dictd/files/1.10.9/site.info
@@ -0,0 +1,6 @@
+Welcome to your dictionary server dictd!
+
+This is an example site information file. It should contain information
+about any restricted databases and how users can obtain access. If may
+also contain other random data as you see fit.
+
diff --git a/app-text/dictd/files/digest-dictd-1.10.9 b/app-text/dictd/files/digest-dictd-1.10.9
new file mode 100644
index 000000000000..e1fc6d40cacc
--- /dev/null
+++ b/app-text/dictd/files/digest-dictd-1.10.9
@@ -0,0 +1,3 @@
+MD5 04a749ba675e1a9fc718e6b1fc8d2444 dictd-1.10.9.tar.gz 722565
+RMD160 6c1aeec97f1ec18ced8c5fbbb888b75d84db8134 dictd-1.10.9.tar.gz 722565
+SHA256 0cab94cfb35ea8c52f9d4097222a8cbc9daff43b4715e08f63349e7fc4103a34 dictd-1.10.9.tar.gz 722565