diff options
author | 2007-08-18 01:15:54 +0000 | |
---|---|---|
committer | 2007-08-18 01:15:54 +0000 | |
commit | 63744e1533943eecb4fa454c3f707a25215dd845 (patch) | |
tree | 730aa825fa6d8aed3914a245c14c6716cf623212 /app-text/dictd | |
parent | Added NWN Gold support via a patch from Ian Leonard <antonlacon@gmail.com>. ... (diff) | |
download | historical-63744e1533943eecb4fa454c3f707a25215dd845.tar.gz historical-63744e1533943eecb4fa454c3f707a25215dd845.tar.bz2 historical-63744e1533943eecb4fa454c3f707a25215dd845.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.
Package-Manager: portage-2.1.3.5
Diffstat (limited to 'app-text/dictd')
-rw-r--r-- | app-text/dictd/ChangeLog | 18 | ||||
-rw-r--r-- | app-text/dictd/Manifest | 66 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.10.0.ebuild | 6 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.10.9.ebuild | 80 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.9.11-r1.ebuild | 6 | ||||
-rw-r--r-- | app-text/dictd/dictd-1.9.14.ebuild | 6 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.9/dict.conf | 6 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.9/dictd | 75 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.9/dictd.conf | 24 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.9/dictd.confd | 8 | ||||
-rw-r--r-- | app-text/dictd/files/1.10.9/site.info | 6 | ||||
-rw-r--r-- | app-text/dictd/files/digest-dictd-1.10.9 | 3 |
12 files changed, 281 insertions, 23 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/Manifest b/app-text/dictd/Manifest index 4d5073ef37e1..b859ba2a1967 100644 --- a/app-text/dictd/Manifest +++ b/app-text/dictd/Manifest @@ -1,6 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 1.10.9/dict.conf 243 RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 SHA1 acaad0d56fc7fa4f3cc48152ad13cbba265c8faa SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 +MD5 fb72f7d8c55f84b1b37bbc8d33a8e55a files/1.10.9/dict.conf 243 +RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 files/1.10.9/dict.conf 243 +SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 files/1.10.9/dict.conf 243 +AUX 1.10.9/dictd 1852 RMD160 c6a155738c29607fcfd828bed5ac9c3b63faf497 SHA1 471689430f3b3050487ea9f7f36e226671d00b74 SHA256 9aafbd4dc8b8d7e1dbb136822d94d29656f48296b85986220313427df0807943 +MD5 ada611dea3b2e38154e0c763a8996dcf files/1.10.9/dictd 1852 +RMD160 c6a155738c29607fcfd828bed5ac9c3b63faf497 files/1.10.9/dictd 1852 +SHA256 9aafbd4dc8b8d7e1dbb136822d94d29656f48296b85986220313427df0807943 files/1.10.9/dictd 1852 +AUX 1.10.9/dictd.conf 582 RMD160 40e0724067b6e51c70c3a57cad31016d4f9c4055 SHA1 2d0aeb8c0bdb1653080c1c2689fe10e0a70e0dc5 SHA256 3c3bd8186c94cf15759927a9baf98813d4ebe1b38b809894fe15a8dfad2d91dc +MD5 29e0686779cd346f649e2ebc1ecdd502 files/1.10.9/dictd.conf 582 +RMD160 40e0724067b6e51c70c3a57cad31016d4f9c4055 files/1.10.9/dictd.conf 582 +SHA256 3c3bd8186c94cf15759927a9baf98813d4ebe1b38b809894fe15a8dfad2d91dc files/1.10.9/dictd.conf 582 +AUX 1.10.9/dictd.confd 233 RMD160 4110acab970a7e011732e642d92b69b6c87909ae SHA1 6e758c4c0f1774dc592b512570c0c9cb13ba4474 SHA256 56981622520c7ce8fc962b676da2d845202313b5c66231529fd165f6b4f88651 +MD5 ebb07502950cf62a99fbaf4b81c06dc3 files/1.10.9/dictd.confd 233 +RMD160 4110acab970a7e011732e642d92b69b6c87909ae files/1.10.9/dictd.confd 233 +SHA256 56981622520c7ce8fc962b676da2d845202313b5c66231529fd165f6b4f88651 files/1.10.9/dictd.confd 233 +AUX 1.10.9/site.info 235 RMD160 3bee51beb2ad856a6de1941764158f558c124733 SHA1 5de46179c02e3cf7a6f5360e5399b089db30878d SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 +MD5 b8cabf913876e544d919c7f20ff8db9e files/1.10.9/site.info 235 +RMD160 3bee51beb2ad856a6de1941764158f558c124733 files/1.10.9/site.info 235 +SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 files/1.10.9/site.info 235 AUX 1.9.11-r1/dict.conf 243 RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 SHA1 acaad0d56fc7fa4f3cc48152ad13cbba265c8faa SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 MD5 fb72f7d8c55f84b1b37bbc8d33a8e55a files/1.9.11-r1/dict.conf 243 RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 files/1.9.11-r1/dict.conf 243 @@ -42,24 +62,29 @@ MD5 b8cabf913876e544d919c7f20ff8db9e files/1.9.7/site.info 235 RMD160 3bee51beb2ad856a6de1941764158f558c124733 files/1.9.7/site.info 235 SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 files/1.9.7/site.info 235 DIST dictd-1.10.0.tar.gz 747085 RMD160 44d1d08f3071d457999c49571105a8b7472fda67 SHA1 908e3cf4ad818cabbff0f2dab535e3760df1451e SHA256 90933fdfbe7013eaaf4a711790ec9d8e9b5a7b4bab8ead8f6410f3bd59f008e4 +DIST dictd-1.10.9.tar.gz 722565 RMD160 6c1aeec97f1ec18ced8c5fbbb888b75d84db8134 SHA1 177504da2063008b5a5df35a1825aa42ba152b1c SHA256 0cab94cfb35ea8c52f9d4097222a8cbc9daff43b4715e08f63349e7fc4103a34 DIST dictd-1.9.11.tar.gz 695037 RMD160 05a96cc450fbf6f28b3d953fa8982b6b865f27da SHA1 04cfab51c9644b32e1011d213f127a7cb28b32df SHA256 950ab4d82678c2edc17bcddde1ea89be8d47f6c91aee2b765c6caf3d9458eb71 DIST dictd-1.9.14.tar.gz 749577 RMD160 7e97124f0ccbff5a1190e50943d144854a5c82bd SHA1 bb20ce6ac112742998a0083f6d7d96b95203c84d SHA256 9f7fb75996047f837261a60085e930aae813f6decb68745602ba3d6f0563d708 -EBUILD dictd-1.10.0.ebuild 1102 RMD160 7cbe8746a277b49f4990fdc3bc8984350f600ce0 SHA1 cdb2616f2c8ffd593785b7f6b17964954b7f4c3f SHA256 7881ff6b98ee9aa3b85e0f6fc6c83ef68755ad9cbe89dced994339b25ffaa431 -MD5 129a44665c35d317745509e5e534f995 dictd-1.10.0.ebuild 1102 -RMD160 7cbe8746a277b49f4990fdc3bc8984350f600ce0 dictd-1.10.0.ebuild 1102 -SHA256 7881ff6b98ee9aa3b85e0f6fc6c83ef68755ad9cbe89dced994339b25ffaa431 dictd-1.10.0.ebuild 1102 -EBUILD dictd-1.9.11-r1.ebuild 1109 RMD160 fdacc9c4d71c6a75c966d5909d5a57045b143d2d SHA1 c391be2f4a9b63cfdcb92088706c8cb6a993324f SHA256 42bf779ddfb43a88be5989d9babae60ba81275d4c6aaa31a44b745916e0e5b0b -MD5 87b62a5809feca7b6e32a024d695b16e dictd-1.9.11-r1.ebuild 1109 -RMD160 fdacc9c4d71c6a75c966d5909d5a57045b143d2d dictd-1.9.11-r1.ebuild 1109 -SHA256 42bf779ddfb43a88be5989d9babae60ba81275d4c6aaa31a44b745916e0e5b0b dictd-1.9.11-r1.ebuild 1109 -EBUILD dictd-1.9.14.ebuild 1120 RMD160 e91017a676b2a6612f7db446279c94b25c7e5182 SHA1 c8ca8d3d11c337443e5e704ad061a00523927598 SHA256 040015ff605f1b5ec50aebb8274e919bc22d885cd59700ea1c50dd3ed432c960 -MD5 6be6c773d86fdf5d5815c546e494a955 dictd-1.9.14.ebuild 1120 -RMD160 e91017a676b2a6612f7db446279c94b25c7e5182 dictd-1.9.14.ebuild 1120 -SHA256 040015ff605f1b5ec50aebb8274e919bc22d885cd59700ea1c50dd3ed432c960 dictd-1.9.14.ebuild 1120 -MISC ChangeLog 5293 RMD160 8730b6c76c957e0b8954f6bcf7aa35fa497db2ce SHA1 ea0655a6e91e43713b4be25f1363d215d0a14f3e SHA256 ace485aa50f819d6c970ec7454332b6e6a61db40a1da5e92ce2c0fd93cad8c58 -MD5 0cf392262527455118f18c9bc6411718 ChangeLog 5293 -RMD160 8730b6c76c957e0b8954f6bcf7aa35fa497db2ce ChangeLog 5293 -SHA256 ace485aa50f819d6c970ec7454332b6e6a61db40a1da5e92ce2c0fd93cad8c58 ChangeLog 5293 +EBUILD dictd-1.10.0.ebuild 1220 RMD160 0526490c585843b02f02a4f57f387e0b508655e2 SHA1 4dab75536a70ecca11f620236a1e0eecb665b658 SHA256 193a9384f55b48fb71547b0d848558e259ddbe2f9869d5f663993b8c14b9b4da +MD5 72805a34227e4d5faa3d4cce21f9a415 dictd-1.10.0.ebuild 1220 +RMD160 0526490c585843b02f02a4f57f387e0b508655e2 dictd-1.10.0.ebuild 1220 +SHA256 193a9384f55b48fb71547b0d848558e259ddbe2f9869d5f663993b8c14b9b4da dictd-1.10.0.ebuild 1220 +EBUILD dictd-1.10.9.ebuild 2390 RMD160 ed9cd6211d07f1fd1b21b340ca82e4ae3719050c SHA1 3eedbd4ef566a1786506eb1b4af14f90fc1ad9ee SHA256 16ea17a0854c5a60e3a03c3c886fe4f868a3ccd8909320ffecc61644a1876f84 +MD5 e993dfc502d11c55a9fa42c18217de6f dictd-1.10.9.ebuild 2390 +RMD160 ed9cd6211d07f1fd1b21b340ca82e4ae3719050c dictd-1.10.9.ebuild 2390 +SHA256 16ea17a0854c5a60e3a03c3c886fe4f868a3ccd8909320ffecc61644a1876f84 dictd-1.10.9.ebuild 2390 +EBUILD dictd-1.9.11-r1.ebuild 1227 RMD160 54c85532584ba4d0f43ac9ce2ad6dc8569db28a4 SHA1 aaa73e577d2dbf1fc9beb146f133287735aea208 SHA256 1b9a446e26878d95760e12fa53473befad2446d46e3f1976d9ce675995da2124 +MD5 195d8918d71080673d0defb3ba5f051a dictd-1.9.11-r1.ebuild 1227 +RMD160 54c85532584ba4d0f43ac9ce2ad6dc8569db28a4 dictd-1.9.11-r1.ebuild 1227 +SHA256 1b9a446e26878d95760e12fa53473befad2446d46e3f1976d9ce675995da2124 dictd-1.9.11-r1.ebuild 1227 +EBUILD dictd-1.9.14.ebuild 1238 RMD160 57210f44fae3ab8e9ae543277be91098451248d1 SHA1 a633f62d618d097bae6d478299505434c609eb1a SHA256 c5af5a38ff34dd2f094c25f0c2a2eb0e5bb54a68d57ee5807d1495476fc7b9fe +MD5 c41f35ba27711bae9ee1e6289370346a dictd-1.9.14.ebuild 1238 +RMD160 57210f44fae3ab8e9ae543277be91098451248d1 dictd-1.9.14.ebuild 1238 +SHA256 c5af5a38ff34dd2f094c25f0c2a2eb0e5bb54a68d57ee5807d1495476fc7b9fe dictd-1.9.14.ebuild 1238 +MISC ChangeLog 5992 RMD160 3066ee8b5f666a1e8e0e48240a62c0e23e1e49fd SHA1 802883b00b659199d2f7b7bcf3fec889b2d515e2 SHA256 04d032a275d2f0e3a2321c99918af3e152f431c6ec643573a01e8e42bf6dd425 +MD5 e70b256b8ef27d41d2165f948bf8ba03 ChangeLog 5992 +RMD160 3066ee8b5f666a1e8e0e48240a62c0e23e1e49fd ChangeLog 5992 +SHA256 04d032a275d2f0e3a2321c99918af3e152f431c6ec643573a01e8e42bf6dd425 ChangeLog 5992 MISC metadata.xml 162 RMD160 853d3c463af1132de9d434e4bdca16fd81a21eb0 SHA1 0d9e341c4b61e23adc1f3806989a0236b83257a0 SHA256 9629e7723cb4708c1910c25510cd14da2729d34eed4ebfc1563df4a1ed5e1b22 MD5 eb03775ece62e57725480e782cd84ee8 metadata.xml 162 RMD160 853d3c463af1132de9d434e4bdca16fd81a21eb0 metadata.xml 162 @@ -67,6 +92,9 @@ SHA256 9629e7723cb4708c1910c25510cd14da2729d34eed4ebfc1563df4a1ed5e1b22 metadata MD5 4af977e885e535c7f73cc2de9456a458 files/digest-dictd-1.10.0 238 RMD160 ec4f3c3ffed166552831f6fc881a8ea6c362ac5c files/digest-dictd-1.10.0 238 SHA256 da34a2ed2a5f222ba8b070bef14624fe836cb2846270088cfa9add9bcf60397b files/digest-dictd-1.10.0 238 +MD5 d2041e5e7cda7be13d71aa5410407bfb files/digest-dictd-1.10.9 238 +RMD160 e208e594e295905ea86b9aedbdb35fec2ec0200c files/digest-dictd-1.10.9 238 +SHA256 64ed6f596138f67badd7f87d596b761433b9c046ed869070a0195deb76cde07a files/digest-dictd-1.10.9 238 MD5 24bcfba80cbad1b36a701ffbd374e0e9 files/digest-dictd-1.9.11-r1 238 RMD160 84748cc2ac1251ce5a70424fdac22019001a4119 files/digest-dictd-1.9.11-r1 238 SHA256 6d550ea4c3b1372fbf4613e8a453bb661d9ed1af49450144d70b4b2d569a9d16 files/digest-dictd-1.9.11-r1 238 @@ -76,7 +104,7 @@ SHA256 a822e8ece3d2b758bf2f7366ffcdbc6fffbcb6477e75eba20644581eb0e491d0 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) -iD8DBQFGxhKRCkvF58q80IkRAhVaAJwP4POiTQaxpIhqCWUy0cGn7PcF0gCdEP9u -SDEPL+Ycys8wwXO5f+CvDLA= -=yDas +iD8DBQFGxkhRCkvF58q80IkRAugfAKCWCpsCsGDdCsTReY4m19LKO/i+iACaAoK2 +XPdGoCd2JHcyxOLG3PhyH7I= +=o8E+ -----END PGP SIGNATURE----- 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 |