diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-12-29 09:19:03 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-12-29 09:19:03 +0000 |
commit | 6ea1cd5ff04b8295e308badc26dd7862e16b8b12 (patch) | |
tree | f60128f3a1b4e1780526462ec8fb3bf86e623bd5 /app-text/dictd/files | |
parent | version bump, thanks to: José Romildo Malaquias <romildo@uber.com.br> in bug ... (diff) | |
download | gentoo-2-6ea1cd5ff04b8295e308badc26dd7862e16b8b12.tar.gz gentoo-2-6ea1cd5ff04b8295e308badc26dd7862e16b8b12.tar.bz2 gentoo-2-6ea1cd5ff04b8295e308badc26dd7862e16b8b12.zip |
version bump, thanks to: José Romildo Malaquias <romildo@uber.com.br> in bug #36638
Diffstat (limited to 'app-text/dictd/files')
16 files changed, 2 insertions, 233 deletions
diff --git a/app-text/dictd/files/1.5.5-r2/dictd-run b/app-text/dictd/files/1.5.5-r2/dictd-run deleted file mode 100755 index 94572da5456a..000000000000 --- a/app-text/dictd/files/1.5.5-r2/dictd-run +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# We abuse some debugging features here to get the desired behavior -exec dictd -s -d nodetach < /dev/null > /dev/null 2>&1 diff --git a/app-text/dictd/files/1.5.5-r2/svc-dictd b/app-text/dictd/files/1.5.5-r2/svc-dictd deleted file mode 100755 index 3a21ac5e43ad..000000000000 --- a/app-text/dictd/files/1.5.5-r2/svc-dictd +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh -#RCUPDATE:3 4:75:This line is required for script management - -. /etc/rc.d/config/functions - -SERVICE=dictd -opts="start stop" - - -DICTDCONF=/etc/dict/dictd.conf -TMPCONF=/etc/dict/dictd.conf.$$ -prepconfig() { - if [ ! -e ${DICTDCONF} ] - then - eerror "dictd not started. Config file not found." - exit 1 - fi - # if no dictionaries, skip startup. - -# The new way of doing this is to scan /usr/lib/dict and tweek the conf - DLIBDIR=/usr/lib/dict - - einfo "Scanning for dictionaries..." - if [ ! -d "${DLIBDIR}" ]; then - eerror "${DLIBDIR} doesn't exist, no dictionaries found." - exit 1 - fi - pushd ${DLIBDIR} >/dev/null - INDEXFILES=`ls *.index` - if [ -z "$INDEXFILES" ]; then - eerror "No dictionaries installed." - exit 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} - einfo "Done, $CNT dictionary indexes found." -} - -start() { - ebegin "Starting supervised ${SERVICE}" - prepconfig - ln -sf ../services/${SERVICE} ${SVCDIR}/control/${SERVICE} - eend $? -} - -stop() { - ebegin "Stopping supervised ${SERVICE}" - if [ -e ${SVCDIR}/control/${SERVICE} ] - then - /usr/bin/svc -dx ${SVCDIR}/control/${SERVICE} - rm ${SVCDIR}/control/${SERVICE} - fi - eend $? -} - -doservice ${@} - -#vim:sw=4:ts=4:ai diff --git a/app-text/dictd/files/1.5.5-r3/dict.conf b/app-text/dictd/files/1.5.5-r3/dict.conf deleted file mode 100644 index e06c3d296ec3..000000000000 --- a/app-text/dictd/files/1.5.5-r3/dict.conf +++ /dev/null @@ -1,6 +0,0 @@ -# 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.5.5-r3/dictd.conf b/app-text/dictd/files/1.5.5-r3/dictd.conf deleted file mode 100644 index 4cded974f973..000000000000 --- a/app-text/dictd/files/1.5.5-r3/dictd.conf +++ /dev/null @@ -1,22 +0,0 @@ -# dictd configuration file. -# whipped up by michael conrad tilstra <michael@gentoo.org> - -# 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.5.5-r3/rc.dictd b/app-text/dictd/files/1.5.5-r3/rc.dictd deleted file mode 100644 index cd932537045b..000000000000 --- a/app-text/dictd/files/1.5.5-r3/rc.dictd +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh -#RCUPDATE:3 4:75:This line is required for script management - -. /etc/rc.d/config/functions - -SERVICE=dictd -opts="start stop" - -EXEC=/usr/sbin/dictd -EARGS="-s " - -DICTDCONF=/etc/dict/dictd.conf -TMPCONF=/etc/dict/dictd.conf.$$ -prepconfig() { - if [ ! -e ${DICTDCONF} ] - then - eerror "dictd not started. Config file not found." - exit 1 - fi - # if no dictionaries, skip startup. - -# The new way of doing this is to scan /usr/lib/dict and tweek the conf - DLIBDIR=/usr/lib/dict - - einfo "Scanning for dictionaries..." - if [ ! -d "${DLIBDIR}" ]; then - eerror "${DLIBDIR} doesn't exist, no dictionaries found." - exit 1 - fi - pushd ${DLIBDIR} >/dev/null - INDEXFILES=`ls *.index` - if [ -z "$INDEXFILES" ]; then - eerror "No dictionaries installed." - exit 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} - einfo "Done, $CNT dictionary indexes found." -} - -start() { - ebegin "Starting ${SERVICE}" - prepconfig - start-stop-daemon --start --quiet --exec $EXEC -- $EARGS - eend $? -} - -stop() { - ebegin "Stopping ${SERVICE}" - start-stop-daemon --stop --quiet --name ${SERVICE} --exec $EXEC - eend $? -} - -doservice ${@} - -#vim:sw=4:ts=4:ai diff --git a/app-text/dictd/files/1.5.5-r3/site.info b/app-text/dictd/files/1.5.5-r3/site.info deleted file mode 100644 index 23bfdeb61102..000000000000 --- a/app-text/dictd/files/1.5.5-r3/site.info +++ /dev/null @@ -1,6 +0,0 @@ -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/1.5.5-r6/dict.conf b/app-text/dictd/files/1.5.5-r6/dict.conf deleted file mode 100644 index e06c3d296ec3..000000000000 --- a/app-text/dictd/files/1.5.5-r6/dict.conf +++ /dev/null @@ -1,6 +0,0 @@ -# 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.5.5-r6/dictd.conf b/app-text/dictd/files/1.5.5-r6/dictd.conf deleted file mode 100644 index 4cded974f973..000000000000 --- a/app-text/dictd/files/1.5.5-r6/dictd.conf +++ /dev/null @@ -1,22 +0,0 @@ -# dictd configuration file. -# whipped up by michael conrad tilstra <michael@gentoo.org> - -# 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.5.5-r6/site.info b/app-text/dictd/files/1.5.5-r6/site.info deleted file mode 100644 index 23bfdeb61102..000000000000 --- a/app-text/dictd/files/1.5.5-r6/site.info +++ /dev/null @@ -1,6 +0,0 @@ -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/1.5.5-r2/dict.conf b/app-text/dictd/files/1.9.7/dict.conf index e06c3d296ec3..e06c3d296ec3 100644 --- a/app-text/dictd/files/1.5.5-r2/dict.conf +++ b/app-text/dictd/files/1.9.7/dict.conf diff --git a/app-text/dictd/files/1.5.5-r6/dictd.rc6 b/app-text/dictd/files/1.9.7/dictd index 731664d79529..17407fcedaa2 100644 --- a/app-text/dictd/files/1.5.5-r6/dictd.rc6 +++ b/app-text/dictd/files/1.9.7/dictd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/files/1.5.5-r6/dictd.rc6,v 1.5 2003/02/14 22:39:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/files/1.9.7/dictd,v 1.1 2003/12/29 09:18:57 seemant Exp $ # NB: Config is in /etc/conf.d/dictd diff --git a/app-text/dictd/files/1.5.5-r2/dictd.conf b/app-text/dictd/files/1.9.7/dictd.conf index 4cded974f973..4cded974f973 100644 --- a/app-text/dictd/files/1.5.5-r2/dictd.conf +++ b/app-text/dictd/files/1.9.7/dictd.conf diff --git a/app-text/dictd/files/1.5.5-r6/dictd.confd b/app-text/dictd/files/1.9.7/dictd.confd index 91b9d43884bc..91b9d43884bc 100644 --- a/app-text/dictd/files/1.5.5-r6/dictd.confd +++ b/app-text/dictd/files/1.9.7/dictd.confd diff --git a/app-text/dictd/files/1.5.5-r2/site.info b/app-text/dictd/files/1.9.7/site.info index 23bfdeb61102..23bfdeb61102 100644 --- a/app-text/dictd/files/1.5.5-r2/site.info +++ b/app-text/dictd/files/1.9.7/site.info diff --git a/app-text/dictd/files/digest-dictd-1.5.5-r6 b/app-text/dictd/files/digest-dictd-1.5.5-r6 deleted file mode 100644 index 236c02b860cd..000000000000 --- a/app-text/dictd/files/digest-dictd-1.5.5-r6 +++ /dev/null @@ -1 +0,0 @@ -MD5 67307b6e5d0337f354b275c377506c63 dictd-1.5.5.tar.gz 531110 diff --git a/app-text/dictd/files/digest-dictd-1.9.7 b/app-text/dictd/files/digest-dictd-1.9.7 new file mode 100644 index 000000000000..1c393208ea39 --- /dev/null +++ b/app-text/dictd/files/digest-dictd-1.9.7 @@ -0,0 +1 @@ +MD5 baa8f18dd0373e7053658be99d40d5db dictd-1.9.7.tar.gz 665250 |