diff options
author | Peter Volkov <pva@gentoo.org> | 2009-12-27 11:22:57 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-12-27 11:22:57 +0000 |
commit | ccdf4f51bf012b2b44326ee8b5b93f18ce2a6ae2 (patch) | |
tree | 8b816b3015ce0c05a781a089fb7e502fef7cdad8 /app-text/dictd | |
parent | clean up (diff) | |
download | gentoo-2-ccdf4f51bf012b2b44326ee8b5b93f18ce2a6ae2.tar.gz gentoo-2-ccdf4f51bf012b2b44326ee8b5b93f18ce2a6ae2.tar.bz2 gentoo-2-ccdf4f51bf012b2b44326ee8b5b93f18ce2a6ae2.zip |
Version bump. Clean old.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'app-text/dictd')
20 files changed, 57 insertions, 844 deletions
diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog index 7f945c2f639a..b7d36476781c 100644 --- a/app-text/dictd/ChangeLog +++ b/app-text/dictd/ChangeLog @@ -1,6 +1,24 @@ # ChangeLog for app-text/dictd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.79 2009/10/17 07:46:23 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.80 2009/12/27 11:22:56 pva Exp $ + +*dictd-1.11.2 (27 Dec 2009) + + 27 Dec 2009; Peter Volkov <pva@gentoo.org> -dictd-1.9.14.ebuild, + -files/dictd-1.10.11-automatic-plugins_build-failure.patch, + -files/dictd-1.10.11-dictd.8-man.patch, + -files/dictd-1.10.11-dictd.c-alen-init.patch, + -files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch, + -files/dictd-1.10.11-dictl-konwert.patch, + -files/dictd-1.10.11-dictl-translit.patch, + -files/dictd-1.11.0-automagic-plugins.patch, + -files/dictd-1.11.0-avoid-libs-in-LDFLAGS.patch, + -files/dictd-1.11.0-plugins-install-fix-and-cleanup.patch, + +dictd-1.11.2.ebuild, -files/1.9.11-r1/dict.conf, -files/1.9.11-r1/dictd, + -files/1.9.11-r1/dictd.conf, -files/1.9.11-r1/dictd.confd, + -files/1.9.11-r1/site.info, -dictd-1.10.11-r2.ebuild, + -dictd-1.10.11-r3.ebuild, -dictd-1.11.0.ebuild, -dictd-1.11.1.ebuild: + Version bump. Clean old. 17 Oct 2009; Markus Meier <maekke@gentoo.org> metadata.xml: remove dbi description as it is global now diff --git a/app-text/dictd/dictd-1.10.11-r2.ebuild b/app-text/dictd/dictd-1.10.11-r2.ebuild deleted file mode 100644 index 462666efd464..000000000000 --- a/app-text/dictd/dictd-1.10.11-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.11-r2.ebuild,v 1.5 2008/12/01 21:41:45 ranger Exp $ - -inherit eutils - -DESCRIPTION="Dictionary Client/Server for the DICT protocol" -HOMEPAGE="http://www.dict.org/" -SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" - -SLOT="0" -# We install rfc so - ISOC-rfc -LICENSE="GPL-2 ISOC-rfc" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86" -IUSE="" - -# <gawk-3.1.6 makes tests fail. -DEPEND="sys-apps/coreutils - sys-libs/zlib - || ( >=sys-apps/coreutils-6.10 sys-apps/mktemp ) - sys-apps/sed" -RDEPEND="${DEPEND} - >=sys-apps/gawk-3.1.6" - -pkg_setup() { - enewgroup dictd - enewuser dictd -1 -1 -1 dictd -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictd.8-man.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictl-konwert.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictd.c-alen-init.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictl-translit.patch" -} - -src_test() { - if ! hasq userpriv "${FEATURES}"; then - # If dictd is run as root user (-userpriv) it drops its privileges to - # dictd user and group. Give dictd group write access to test directory. - chown :dictd "${WORKDIR}" "${S}/test" - chmod 770 "${WORKDIR}" "${S}/test" - fi - emake test || die -} - -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 \ - --sysconfdir=/etc/dict \ - --with-cflags="${CFLAGS}" \ - --with-local-libmaa - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - - # Install docs - dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed" - dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed" - dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed" - - # conf files. - insinto /etc/dict - for f in dict.conf dictd.conf site.info colorit.conf; do - doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}" - done - - # startups for dictd - newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd" - newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd" -} - -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.10.11-r3.ebuild b/app-text/dictd/dictd-1.10.11-r3.ebuild deleted file mode 100644 index f77260937a30..000000000000 --- a/app-text/dictd/dictd-1.10.11-r3.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.11-r3.ebuild,v 1.11 2008/12/16 20:27:08 pva Exp $ - -inherit eutils autotools - -DESCRIPTION="Dictionary Client/Server for the DICT protocol" -HOMEPAGE="http://www.dict.org/" -SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" - -SLOT="0" -# We install rfc so - ISOC-rfc -LICENSE="GPL-2 ISOC-rfc" -KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86" -IUSE="dbi judy" - -# <gawk-3.1.6 makes tests fail. -DEPEND="sys-apps/coreutils - sys-libs/zlib - dbi? ( dev-db/libdbi ) - judy? ( dev-libs/judy ) - || ( >=sys-apps/coreutils-6.10 sys-apps/mktemp ) - sys-apps/sed" -RDEPEND="${DEPEND} - >=sys-apps/gawk-3.1.6" - -pkg_setup() { - enewgroup dictd - enewuser dictd -1 -1 -1 dictd -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictd.8-man.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictl-konwert.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictd.c-alen-init.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictl-translit.patch" - epatch "${FILESDIR}/dictd-1.10.11-automatic-plugins_build-failure.patch" - eautoreconf -} - -src_test() { - if use ppc || use ppc64; then - ewarn "Tests are known to fail on big-endian systems (ppc, ppc64)" - ewarn "Skipping tests." - else - if ! hasq userpriv "${FEATURES}"; then - # If dictd is run as root user (-userpriv) it drops its privileges to - # dictd user and group. Give dictd group write access to test directory. - chown :dictd "${WORKDIR}" "${S}/test" - chmod 770 "${WORKDIR}" "${S}/test" - fi - emake test || die - fi -} - -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 \ - $(use_with dbi) \ - $(use_with judy) \ - --sysconfdir=/etc/dict \ - --with-cflags="${CFLAGS}" \ - --with-local-libmaa - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - - # Install docs - dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed" - dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed" - dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed" - - # conf files. - insinto /etc/dict - for f in dict.conf dictd.conf site.info colorit.conf; do - doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}" - done - - # startups for dictd - newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd" - newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd" -} - -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.11.0.ebuild b/app-text/dictd/dictd-1.11.0.ebuild deleted file mode 100644 index d2997246782d..000000000000 --- a/app-text/dictd/dictd-1.11.0.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.0.ebuild,v 1.6 2008/12/22 20:39:35 armin76 Exp $ - -inherit eutils autotools - -DESCRIPTION="Dictionary Client/Server for the DICT protocol" -HOMEPAGE="http://www.dict.org/" -SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" - -SLOT="0" -# We install rfc so - ISOC-rfc -LICENSE="GPL-2 ISOC-rfc" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~sparc ~x86" -IUSE="dbi judy" - -# <gawk-3.1.6 makes tests fail. -DEPEND="sys-apps/coreutils - sys-libs/zlib - dev-libs/libmaa - dbi? ( dev-db/libdbi ) - judy? ( dev-libs/judy ) - || ( >=sys-apps/coreutils-6.10 sys-apps/mktemp )" -RDEPEND="${DEPEND} - >=sys-apps/gawk-3.1.6" - -pkg_setup() { - enewgroup dictd - enewuser dictd -1 -1 -1 dictd -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictd.8-man.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictl-konwert.patch" - epatch "${FILESDIR}/dictd-1.10.11-dictl-translit.patch" - epatch "${FILESDIR}/dictd-1.11.0-avoid-libs-in-LDFLAGS.patch" - epatch "${FILESDIR}/dictd-1.11.0-automagic-plugins.patch" - epatch "${FILESDIR}/dictd-1.11.0-plugins-install-fix-and-cleanup.patch" - eautoreconf -} - -src_test() { - if use ppc || use ppc64; then - ewarn "Tests are known to fail on big-endian systems (ppc, ppc64)" - ewarn "Skipping tests." - else - if ! hasq userpriv "${FEATURES}"; then - # If dictd is run as root user (-userpriv) it drops its privileges to - # dictd user and group. Give dictd group write access to test directory. - chown :dictd "${WORKDIR}" "${S}/test" - chmod 770 "${WORKDIR}" "${S}/test" - fi - emake test || die - fi -} - -src_compile() { - econf \ - $(use_with dbi) \ - $(use_with judy) \ - --sysconfdir=/etc/dict - emake || die "make failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - - # Install docs - dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed" - dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed" - dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed" - - # conf files. - insinto /etc/dict - for f in dict.conf dictd.conf site.info colorit.conf; do - doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}" - done - - # startups for dictd - newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd" - newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd" -} - -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.11.1.ebuild b/app-text/dictd/dictd-1.11.2.ebuild index 0e30fc7b33de..9c1c33d28505 100644 --- a/app-text/dictd/dictd-1.11.1.ebuild +++ b/app-text/dictd/dictd-1.11.2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.1.ebuild,v 1.9 2009/06/13 14:07:19 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild,v 1.1 2009/12/27 11:22:56 pva Exp $ + +EAPI="2" inherit eutils @@ -11,8 +13,8 @@ SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" SLOT="0" # We install rfc so - ISOC-rfc LICENSE="GPL-2 ISOC-rfc" -KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86" -IUSE="dbi judy" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="dbi judy minimal" # <gawk-3.1.6 makes tests fail. DEPEND="sys-apps/coreutils @@ -20,7 +22,7 @@ DEPEND="sys-apps/coreutils dev-libs/libmaa dbi? ( dev-db/libdbi ) judy? ( dev-libs/judy ) - || ( >=sys-apps/coreutils-6.10 sys-apps/mktemp )" + >=sys-apps/coreutils-6.10" RDEPEND="${DEPEND} >=sys-apps/gawk-3.1.6" @@ -29,22 +31,28 @@ pkg_setup() { enewuser dictd -1 -1 -1 dictd } -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch" } -src_compile() { +src_configure() { econf \ $(use_with dbi plugin-dbi) \ $(use_with judy plugin-judy) \ --sysconfdir=/etc/dict - emake || die "make failed" +} + +src_compile() { + if use minimal; then + emake dictfmt dictzip dictzip || die + else + emake || die "make failed" + fi } src_test() { - if ! hasq userpriv "${FEATURES}"; then + use minimal && return 0 # All tests are for dictd which we don't build... + if [[ ${EUID} -eq 0 ]]; then # If dictd is run as root user (-userpriv) it drops its privileges to # dictd user and group. Give dictd group write access to test directory. chown :dictd "${WORKDIR}" "${S}/test" @@ -54,22 +62,29 @@ src_test() { } src_install() { - emake DESTDIR="${D}" install || die "install failed" + if use minimal; then + emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt || die "install failed" + else + emake DESTDIR="${D}" install || die "install failed" - # Install docs - dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed" - dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed" - dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed" + dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed" + dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed" - # conf files. - insinto /etc/dict - for f in dict.conf dictd.conf site.info colorit.conf; do - doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}" - done + # conf files. For dict.conf see below. + insinto /etc/dict + for f in dictd.conf site.info colorit.conf; do + doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}" + done + + # startups for dictd + newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd" + newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd" + fi - # startups for dictd - newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd" - newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd" + insinto /etc/dict + doins "${FILESDIR}/1.10.11/dict.conf" || die + # Install docs + dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed" } pkg_postinst() { diff --git a/app-text/dictd/dictd-1.9.14.ebuild b/app-text/dictd/dictd-1.9.14.ebuild deleted file mode 100644 index 9b125a88243f..000000000000 --- a/app-text/dictd/dictd-1.9.14.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2009 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.18 2009/09/23 16:32:47 patrick 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="" - -src_compile() { - 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 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}"/1.9.11-r1/dict.conf - doins "${FILESDIR}"/1.9.11-r1/dictd.conf - doins "${FILESDIR}"/1.9.11-r1/site.info - - # 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.9.11-r1/dict.conf b/app-text/dictd/files/1.9.11-r1/dict.conf deleted file mode 100644 index e06c3d296ec3..000000000000 --- a/app-text/dictd/files/1.9.11-r1/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.9.11-r1/dictd b/app-text/dictd/files/1.9.11-r1/dictd deleted file mode 100644 index 270e4b5c516d..000000000000 --- a/app-text/dictd/files/1.9.11-r1/dictd +++ /dev/null @@ -1,72 +0,0 @@ -#!/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.9.11-r1/dictd,v 1.3 2004/07/14 21:37:57 agriffis 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} - 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 -- $EARGS - eend $? -} - -stop() { - ebegin "Stopping dictd" - start-stop-daemon --stop --quiet --exec /usr/sbin/dictd - eend $? -} diff --git a/app-text/dictd/files/1.9.11-r1/dictd.conf b/app-text/dictd/files/1.9.11-r1/dictd.conf deleted file mode 100644 index 4cded974f973..000000000000 --- a/app-text/dictd/files/1.9.11-r1/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.9.11-r1/dictd.confd b/app-text/dictd/files/1.9.11-r1/dictd.confd deleted file mode 100644 index 91b9d43884bc..000000000000 --- a/app-text/dictd/files/1.9.11-r1/dictd.confd +++ /dev/null @@ -1,7 +0,0 @@ -# Config file for /etc/init.d/dictd - -EARGS="-s " -DICTDCONF=/etc/dict/dictd.conf -DLIBDIR=/usr/lib/dict -TMPCONF=/etc/dict/dictd.conf.$$ - diff --git a/app-text/dictd/files/1.9.11-r1/site.info b/app-text/dictd/files/1.9.11-r1/site.info deleted file mode 100644 index 23bfdeb61102..000000000000 --- a/app-text/dictd/files/1.9.11-r1/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/dictd-1.10.11-automatic-plugins_build-failure.patch b/app-text/dictd/files/dictd-1.10.11-automatic-plugins_build-failure.patch deleted file mode 100644 index a3d14a91e1db..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-automatic-plugins_build-failure.patch +++ /dev/null @@ -1,133 +0,0 @@ -https://sourceforge.net/tracker/index.php?func=detail&aid=2218879&group_id=605&atid=300605 - -=== modified file 'Makefile.in' ---- Makefile.in 2008-11-03 11:47:00 +0000 -+++ Makefile.in 2008-11-03 14:01:26 +0000 -@@ -58,7 +58,7 @@ - EXEEXT=@EXEEXT@ - - CONF_DIR=@sysconfdir@/ --PLUGIN_DIR=${libexecdir}/ -+PLUGIN_DIR=${libexecdir} - DICT_DIR=${datadir}/ - - CC= @CC@ -@@ -80,6 +80,8 @@ - - LDFLAGS= @LDFLAGS@ @LIBS@ - LIBOBJS= @LIBOBJS@ -+MAALIB= @MAALIB@ -+MAACPPFLAGS= @MAACPPFLAGS@ - EXES= dict dictd dictzip dictfmt - - all: $(EXES) $(LIBRARIES) -@@ -155,19 +157,19 @@ - endif - - %.o: %.c -- $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $< -o $@ -+ $(LIBTOOL) --tag=CC --mode=compile $(CC) -c $(CFLAGS) $(MAACPPFLAGS) $< -o $@ - %.o: %.cpp -- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $< -o $@ -+ $(LIBTOOL) --tag=CXX --mode=compile $(CXX) -c $(CFLAGS) $(MAACPPFLAGS) $< -o $@ - - %: %.o - $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \ - $(filter-out local_regex local_zlib local_libmaa, $^) \ -- $(OBJS) $(LDFLAGS) -lz -+ $(OBJS) $(LDFLAGS) $(MAALIB) -lz - - dictd: dictd.o - $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \ - $(filter-out local_regex local_zlib local_libmaa, $^) \ -- $(DBILIB) $(OBJS) $(LDFLAGS) -lz -+ $(DBILIB) $(OBJS) $(LDFLAGS) $(MAALIB) -lz - - include $(srcdir)/deps - -@@ -197,14 +199,14 @@ - $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -module \ - $(filter-out local_regex local_zlib local_libmaa, $(^:.o=.lo)) \ - -rpath "${PLUGIN_DIR}" \ -- $(LDFLAGS) $(JUDYLIB) -+ $(LDFLAGS) - - dictdplugin_dbi.la : heap.o dictdplugin_dbi.o str.o \ - plugins_common.o $(LIBOBJS) - $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -module \ - $(filter-out local_regex local_zlib local_libmaa, $(^:.o=.lo)) \ - -rpath "${PLUGIN_DIR}" \ -- $(LDFLAGS) $(DBILIB) -ldl -+ $(LDFLAGS) -ldl - - .PHONY: plugins - plugins: $(PLUGINS) - -=== modified file 'configure.in' ---- configure.in 2008-11-03 11:47:00 +0000 -+++ configure.in 2008-11-03 13:56:42 +0000 -@@ -215,14 +215,14 @@ - echo Checking for libraries - - if test "$local_libmaa" = 0; then -- AC_CHECK_LIB(maa,maa_shutdown,XLDFLAGS="$XLDFLAGS -lmaa",local_libmaa=1) -+ AC_CHECK_LIB(maa,maa_shutdown,MAALIB="-lmaa",local_libmaa=1) - fi - - if test "$local_libmaa" = 1; then - AC_MSG_CHECKING(for libmaa in local source tree) - if test -d libmaa; then -- XLDFLAGS="$XLDFLAGS -Llibmaa -lmaa" -- XCPPFLAGS="$XCPPFLAGS -Ilibmaa" -+ MAALIB="-Llibmaa -lmaa" -+ MAACPPFLAGS="$XCPPFLAGS -Ilibmaa" - - AC_CONFIG_SUBDIRS(libmaa) - -@@ -234,8 +234,21 @@ - fi - fi - --AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy]) --AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi]) -+AC_ARG_WITH(dbi, -+[ --with-dbi build libdbi plugin if possible (plugin support should be enabled)], -+[ -+if test "x${withval}" != xno; then -+ AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi]) -+fi -+]) -+ -+AC_ARG_WITH(judy, -+[ --with-judy build judy plugin if possible (plugin support should be enabled)], -+[ -+if test "x${withval}" != xno; then -+ AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy]) -+fi -+]) - - AC_CHECK_LIB(socket,main) - AC_CHECK_LIB(c,inet_ntoa, -@@ -364,12 +377,10 @@ - LIBEXECDIR=`eval3 $libexecdir` - DATADIR=`eval3 $datadir` - --CPPFLAGS="$CPPFLAGS $XCPPFLAGS" - CFLAGS="$CFLAGS $XCFLAGS" - LDFLAGS="$LDFLAGS $XLDFLAGS" - - AC_SUBST(DICT_VERSION) --AC_SUBST(CPPFLAGS) - AC_SUBST(CFLAGS) - AC_SUBST(USE_PLUGIN) - AC_SUBST(EXEEXT) -@@ -380,6 +391,8 @@ - AC_SUBST(JUDYLIB) - AC_SUBST(DBILIB) - AC_SUBST(LIBTOOL) -+AC_SUBST(MAALIB) -+AC_SUBST(MAACPPFLAGS) - - AC_SUBST(SYSCONFDIR) - AC_SUBST(BINDIR) - diff --git a/app-text/dictd/files/dictd-1.10.11-dictd.8-man.patch b/app-text/dictd/files/dictd-1.10.11-dictd.8-man.patch deleted file mode 100644 index 424cc5b17889..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-dictd.8-man.patch +++ /dev/null @@ -1,26 +0,0 @@ -Use @SYSCONFDIR@ instead of /etc/ - -https://sourceforge.net/tracker/index.php?func=detail&aid=2407717&group_id=605&atid=300605 - -Index: dictd/dictd.8.in -=================================================================== ---- dictd.orig/dictd.8.in 2008-01-25 21:25:49.000000000 +0100 -+++ dictd/dictd.8.in 2008-01-25 21:26:42.000000000 +0100 -@@ -120,7 +120,7 @@ - .TP - .BI \-c " file\fR or " \-\-config " file" - Specify configuration file. The default is --.I /etc/dictd.conf -+.I @SYSCONFDIR@/dictd.conf - , but may be changed in the - .I defs.h - file at compile time (DICTD_CONFIG_FILE). -@@ -283,7 +283,7 @@ - .TP - .B Introduction - The configuration file defaults to --.I /etc/dictd.conf -+.I @SYSCONFDIR@/dictd.conf - but can be specified on the command line with the - .B \-c - option (see above). diff --git a/app-text/dictd/files/dictd-1.10.11-dictd.c-alen-init.patch b/app-text/dictd/files/dictd-1.10.11-dictd.c-alen-init.patch deleted file mode 100644 index 68faa156047d..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-dictd.c-alen-init.patch +++ /dev/null @@ -1,14 +0,0 @@ -Fix for http://sourceforge.net/tracker/index.php?func=detail&aid=1941358&group_id=605&atid=100605 -Index: dictd/dictd.c -=================================================================== ---- dictd.orig/dictd.c 2008-04-13 16:15:58.000000000 +0200 -+++ dictd/dictd.c 2008-04-13 16:16:17.000000000 +0200 -@@ -1455,7 +1455,7 @@ - struct sockaddr_in csin; - int c; - time_t startTime; -- socklen_t alen = 0; -+ socklen_t alen = sizeof(csin); - int detach = 1; - int forceStartup = 0; - int i; diff --git a/app-text/dictd/files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch b/app-text/dictd/files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch deleted file mode 100644 index 1b1753bab6cf..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch +++ /dev/null @@ -1,15 +0,0 @@ -Patch for #454819: FTBFS with GCC 4.3: missing #includes - - -Index: dictd/dictdplugin_popen.cpp -=================================================================== ---- dictd.orig/dictdplugin_popen.cpp 2008-01-20 21:58:30.000000000 +0100 -+++ dictd/dictdplugin_popen.cpp 2008-01-20 21:59:06.000000000 +0100 -@@ -43,6 +43,7 @@ - #include <stdio.h> - #include <errno.h> - #include <string> -+#include <climits> - #include <unistd.h> - #include <sstream> - #include <list> diff --git a/app-text/dictd/files/dictd-1.10.11-dictl-konwert.patch b/app-text/dictd/files/dictd-1.10.11-dictl-konwert.patch deleted file mode 100644 index efe8fa3e0110..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-dictl-konwert.patch +++ /dev/null @@ -1,37 +0,0 @@ -Patch for #401666: dictl: doesn't work with DICTL_USE_KONWERT - -https://sourceforge.net/tracker/index.php?func=detail&aid=2407721&group_id=605&atid=300605 - -Index: dictd/dictl.in -=================================================================== ---- dictd.orig/dictl.in 2008-01-20 17:58:41.000000000 +0100 -+++ dictd/dictl.in 2008-01-20 18:02:40.000000000 +0100 -@@ -24,11 +24,25 @@ - # `iconv --help' gives more options than `man iconv' (on my SuSE 9.0 system at least) - # the -c makes iconv omit invalid characters from output - iconv -c -f $1 -t $2 -- else if test "$DICTL_USE_KONWERT"; then -- konwert $1-$2 -+ elif test "$DICTL_USE_KONWERT"; then -+ sedexpr=' -+ /(CP)?(437|8(5[0257]|6[0-69]|74))/ { s//cp\2/; q } -+ /8859_([1-9])/ { s//iso\1/; q } -+ /ANSI_X3.4(-19(68|86))?/ { s//ascii/; q } -+ /(US-)?ASCII/ { s//ascii/; q } -+ /(CP|WINDOWS-)(125[0-8])/ { s//cp\1/; q } -+ /ISO([-_]?8859-|8859)([1-9]|1[01345])/ { s//iso\2/; q } -+ /KOI8-?R/ { s//koi8r/; q } -+ /KOI8-?U/ { s//koi8u/; q } -+ /UTF-?8/ { s//utf8/; q } -+ /VISCII/ { s//viscii/; q } -+ /.*/ { s///; q }' -+ from=`echo "$1" | tr a-z A-Z | sed -r -e "$sedexpr"` -+ to=`echo "$2" | tr a-z A-Z | sed -r -e "$sedexpr"` -+ konwert "$from-$to" - else - recode -f $1..$2 -- fi fi -+ fi - } - - ##################################### diff --git a/app-text/dictd/files/dictd-1.10.11-dictl-translit.patch b/app-text/dictd/files/dictd-1.10.11-dictl-translit.patch deleted file mode 100644 index af994a73a154..000000000000 --- a/app-text/dictd/files/dictd-1.10.11-dictl-translit.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch for #378792: dictl should use iconv's //translit suffix - -https://sourceforge.net/tracker/index.php?func=detail&aid=2407725&group_id=605&atid=300605 - -Index: dictd/dictl.in -=================================================================== ---- dictd.orig/dictl.in 2008-01-21 22:28:01.000000000 +0100 -+++ dictd/dictl.in 2008-01-21 22:28:20.000000000 +0100 -@@ -23,7 +23,7 @@ - if test "$DICTL_USE_ICONV"; then - # `iconv --help' gives more options than `man iconv' (on my SuSE 9.0 system at least) - # the -c makes iconv omit invalid characters from output -- iconv -c -f $1 -t $2 -+ iconv -c -f $1 -t $2//TRANSLIT - elif test "$DICTL_USE_KONWERT"; then - sedexpr=' - /(CP)?(437|8(5[0257]|6[0-69]|74))/ { s//cp\2/; q } diff --git a/app-text/dictd/files/dictd-1.11.0-automagic-plugins.patch b/app-text/dictd/files/dictd-1.11.0-automagic-plugins.patch deleted file mode 100644 index 73e6b2bd4fda..000000000000 --- a/app-text/dictd/files/dictd-1.11.0-automagic-plugins.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://sourceforge.net/tracker/index.php?func=detail&aid=2218879&group_id=605&atid=300605 - -=== modified file 'configure.in' ---- configure.in 2008-12-08 18:15:58 +0000 -+++ configure.in 2008-12-08 18:17:44 +0000 -@@ -146,8 +146,21 @@ - AC_CHECK_LIB(maa,maa_shutdown,MAALIB="-lmaa", - [AC_MSG_ERROR([Libmaa not found])]) - --AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy]) --AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi]) -+AC_ARG_WITH(dbi, -+[ --with-dbi build libdbi plugin if possible (plugin support should be enabled)], -+[ -+if test "x${withval}" != xno; then -+ AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi]) -+fi -+]) -+ -+AC_ARG_WITH(judy, -+[ --with-judy build judy plugin if possible (plugin support should be enabled)], -+[ -+if test "x${withval}" != xno; then -+ AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy]) -+fi -+]) - - AC_CHECK_LIB(socket,main) - AC_CHECK_LIB(c,inet_ntoa, - diff --git a/app-text/dictd/files/dictd-1.11.0-avoid-libs-in-LDFLAGS.patch b/app-text/dictd/files/dictd-1.11.0-avoid-libs-in-LDFLAGS.patch deleted file mode 100644 index 875b63792c6d..000000000000 --- a/app-text/dictd/files/dictd-1.11.0-avoid-libs-in-LDFLAGS.patch +++ /dev/null @@ -1,69 +0,0 @@ -https://sourceforge.net/tracker/index.php?func=detail&aid=2218879&group_id=605&atid=300605 - -=== modified file 'Makefile.in' ---- Makefile.in 2008-12-08 18:10:53 +0000 -+++ Makefile.in 2008-12-08 18:14:38 +0000 -@@ -78,6 +78,7 @@ - - LDFLAGS= @LDFLAGS@ @LIBS@ - LIBOBJS= @LIBOBJS@ -+MAALIB= @MAALIB@ - EXES= dict dictd dictzip dictfmt - - all: $(EXES) $(LIBRARIES) -@@ -158,12 +159,12 @@ - %: %.o - $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \ - $(filter-out local_regex local_zlib local_libmaa, $^) \ -- $(OBJS) $(LDFLAGS) -lz -+ $(OBJS) $(LDFLAGS) $(MAALIB) -lz - - dictd: dictd.o - $(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \ - $(filter-out local_regex local_zlib local_libmaa, $^) \ -- $(DBILIB) $(OBJS) $(LDFLAGS) -lz -+ $(DBILIB) $(OBJS) $(LDFLAGS) $(MAALIB) -lz - - include $(srcdir)/deps - - -=== modified file 'configure.in' ---- configure.in 2008-12-08 18:10:53 +0000 -+++ configure.in 2008-12-08 18:08:55 +0000 -@@ -143,26 +143,8 @@ - echo . - echo Checking for libraries - --if test "$local_libmaa" = 0; then -- AC_CHECK_LIB(maa,maa_shutdown,XLDFLAGS="$XLDFLAGS -lmaa", -+AC_CHECK_LIB(maa,maa_shutdown,MAALIB="-lmaa", - [AC_MSG_ERROR([Libmaa not found])]) --fi -- --if test "$local_libmaa" = 1; then -- AC_MSG_CHECKING(for libmaa in local source tree) -- if test -d libmaa; then -- XLDFLAGS="$XLDFLAGS -Llibmaa -lmaa" -- XCPPFLAGS="$XCPPFLAGS -Ilibmaa" -- -- AC_CONFIG_SUBDIRS(libmaa) -- -- allsubdirs="$allsubdirs libmaa" -- AC_MSG_RESULT(yes) -- else -- AC_MSG_RESULT(no) -- AC_MSG_ERROR([Libmaa not found, cannot continue]) -- fi --fi - - AC_CHECK_LIB(Judy, JudySLNext, [JUDYLIB=-lJudy]) - AC_CHECK_LIB(dbi, dbi_shutdown, [DBILIB=-ldbi]) -@@ -316,6 +298,7 @@ - AC_SUBST(JUDYLIB) - AC_SUBST(DBILIB) - AC_SUBST(LIBTOOL) -+AC_SUBST(MAALIB) - - AC_SUBST(SYSCONFDIR) - AC_SUBST(BINDIR) - diff --git a/app-text/dictd/files/dictd-1.11.0-plugins-install-fix-and-cleanup.patch b/app-text/dictd/files/dictd-1.11.0-plugins-install-fix-and-cleanup.patch deleted file mode 100644 index f25cee798b8f..000000000000 --- a/app-text/dictd/files/dictd-1.11.0-plugins-install-fix-and-cleanup.patch +++ /dev/null @@ -1,32 +0,0 @@ -https://sourceforge.net/tracker/index.php?func=detail&aid=2218879&group_id=605&atid=300605 - -=== modified file 'Makefile.in' ---- Makefile.in 2008-12-08 18:15:58 +0000 -+++ Makefile.in 2008-12-08 18:24:44 +0000 -@@ -56,7 +56,7 @@ - EXEEXT=@EXEEXT@ - - CONF_DIR=@sysconfdir@/ --PLUGIN_DIR=${libexecdir}/ -+PLUGIN_DIR=${libexecdir} - DICT_DIR=${datadir}/ - - CC= @CC@ - -=== modified file 'configure.in' ---- configure.in 2008-12-08 18:20:10 +0000 -+++ configure.in 2008-12-08 18:24:03 +0000 -@@ -295,12 +295,10 @@ - LIBEXECDIR=`eval3 $libexecdir` - DATADIR=`eval3 $datadir` - --CPPFLAGS="$CPPFLAGS $XCPPFLAGS" - CFLAGS="$CFLAGS $XCFLAGS" - LDFLAGS="$LDFLAGS $XLDFLAGS" - - AC_SUBST(DICT_VERSION) --AC_SUBST(CPPFLAGS) - AC_SUBST(CFLAGS) - AC_SUBST(USE_PLUGIN) - AC_SUBST(EXEEXT) - |