diff options
author | Peter Volkov <pva@gentoo.org> | 2008-11-06 13:34:52 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-11-06 13:34:52 +0000 |
commit | ae2c3d5fca809ab3eb9c2b90a6d98f9995d7c5a1 (patch) | |
tree | aa189571e9b1a4eef36ffe302995340c5f031e43 /app-text | |
parent | Kill digest. (diff) | |
download | pva-ae2c3d5fca809ab3eb9c2b90a6d98f9995d7c5a1.tar.gz pva-ae2c3d5fca809ab3eb9c2b90a6d98f9995d7c5a1.tar.bz2 pva-ae2c3d5fca809ab3eb9c2b90a6d98f9995d7c5a1.zip |
To be tested on old baselayout, includes fix for bug #245593.
svn path=/; revision=212
Diffstat (limited to 'app-text')
30 files changed, 1170 insertions, 0 deletions
diff --git a/app-text/dictd/ChangeLog b/app-text/dictd/ChangeLog new file mode 100644 index 0000000..bc42703 --- /dev/null +++ b/app-text/dictd/ChangeLog @@ -0,0 +1,218 @@ +# ChangeLog for app-text/dictd +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.48 2008/11/03 22:33:56 maekke Exp $ + + 03 Nov 2008; Markus Meier <maekke@gentoo.org> dictd-1.10.11-r3.ebuild: + amd64/x86 stable, bug #244246 + + 03 Nov 2008; Ferris McCormick <fmccor@gentoo.org> dictd-1.10.11-r3.ebuild: + Sparc stable (again), Bug #244246, all tests good with USE='judy dbi'. + + 03 Nov 2008; Peter Volkov <pva@gentoo.org> + files/dictd-1.10.11-automatic-plugins_build-failure.patch: + Added URL to track patch. + +*dictd-1.10.11-r3 (03 Nov 2008) + + 03 Nov 2008; Peter Volkov <pva@gentoo.org> + +files/dictd-1.10.11-automatic-plugins_build-failure.patch, metadata.xml, + -dictd-1.10.11.ebuild, +dictd-1.10.11-r3.ebuild: + Fixed build problem reported by Markus Meier in bug #244246 comment 9. + Dropped keywords due to new dependencies. + + 26 Oct 2008; Ferris McCormick <fmccor@gentoo.org> dictd-1.10.11-r2.ebuild: + Sparc stable, Bug #244246, everything looks good. + + 25 Oct 2008; Peter Volkov <pva@gentoo.org> dictd-1.10.11-r2.ebuild: + Fix tests: give dictd group write permission to tests directory, thank + Ferris McCormick for report in bug #244246 + +*dictd-1.10.11-r2 (14 Sep 2008) + + 14 Sep 2008; Peter Volkov <pva@gentoo.org> files/1.10.11/dictd.initd, + -dictd-1.10.11-r1.ebuild, +dictd-1.10.11-r2.ebuild: + Fixed dictd.conf generation, qoutation issue, thank Mikachu for report. + +*dictd-1.10.11-r1 (12 Sep 2008) + + 12 Sep 2008; Peter Volkov <pva@gentoo.org> -files/1.9.7/dict.conf, + -files/1.9.7/dictd, -files/1.9.7/dictd.conf, -files/1.9.7/dictd.confd, + -files/1.9.7/site.info, +files/dictd-1.10.11-colorit-nopp-fix.patch, + +files/1.10.11/dict.conf, +files/dictd-1.10.11-dictd.8-man.patch, + +files/1.10.11/dictd.conf, +files/dictd-1.10.11-dictd.c-alen-init.patch, + +files/1.10.11/dictd.confd, + +files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch, + +files/1.10.11/dictd.initd, +files/dictd-1.10.11-dictl-konwert.patch, + +files/1.10.11/site.info, +files/dictd-1.10.11-dictl-translit.patch, + +files/1.10.11/colorit.conf, dictd-1.9.11-r1.ebuild, dictd-1.9.14.ebuild, + -dictd-1.10.0.ebuild, -dictd-1.10.9.ebuild, +dictd-1.10.11-r1.ebuild: + Fixed inability to stop dictd, bug #236451, thank David B. Ferguson for + report and fix. Cleaned up ebuild. Install again colorit and provide + config file (back to bug #107376). Create initd user and make initrc + script to work with permissions on its own (back to bug #90657). Took some + patches from debian most important of which backports upstream fix for + first connection denied problem. Removed old. + +*dictd-1.10.11 (14 Apr 2008) + + 14 Apr 2008; Peter Volkov <pva@gentoo.org> +dictd-1.10.11.ebuild: + Version bump. + + 02 Sep 2007; Wulf C. Krueger <philantrop@gentoo.org> files/1.10.9/dictd, + files/1.10.9/dictd.confd: + Changed the init script to better accommodate for UTF-8 locales and + dictionaries and added a note about this to confd. + + 25 Aug 2007; Steve Dibb <beandog@gentoo.org> dictd-1.9.14.ebuild: + amd64 stable + +*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: + Missed obsolete patch when removing dictd-1.8.0. + + 17 Aug 2007; Wulf C. Krueger <philantrop@gentoo.org> + -files/1.8.0/dict.conf, -files/1.8.0/dictd, -files/1.8.0/dictd.conf, + -files/1.8.0/dictd.confd, -files/1.8.0/site.info, -dictd-1.8.0.ebuild: + Removed dictd-1.8.0. It didn't compile anymore, the ebuild was broken and it + was obsoleted by newer versions. + + 28 Apr 2007; Torsten Veller <tove@gentoo.org> dictd-1.9.11-r1.ebuild, + dictd-1.9.14.ebuild, dictd-1.10.0.ebuild: + Use newinitd + + 10 Feb 2007; Fabian Groffen <grobian@gentoo.org> dictd-1.10.0.ebuild: + Dropped ppc-macos keyword, see you in prefix + + 25 Jan 2007; Alexander H. Færøy <eroyf@gentoo.org> dictd-1.9.14.ebuild: + Stable on MIPS. + + 05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> dictd-1.8.0.ebuild, + dictd-1.9.11-r1.ebuild, dictd-1.9.14.ebuild, dictd-1.10.0.ebuild: + Remove gnuconfig_update usage, leave it to econf. + + 29 Dec 2006; Gustavo Zacarias <gustavoz@gentoo.org> dictd-1.9.14.ebuild: + Stable on sparc + + 09 Sep 2005; Aron Griffis <agriffis@gentoo.org> dictd-1.9.14.ebuild: + Mark 1.9.14 stable on alpha + + 05 Sep 2005; Markus Rothe <corsair@gentoo.org> dictd-1.9.14.ebuild: + Stable on ppc64 + + 20 Aug 2005; Fabian Groffen <grobian@gentoo.org> dictd-1.10.0.ebuild: + Marking ~ppc-macos (bug #103171) + +*dictd-1.10.0 (24 Apr 2005) + + 24 Apr 2005; Anders Rune Jensen <arj@gentoo.org> +dictd-1.10.0.ebuild: + Version bump. Fixes #86738. + + 31 Mar 2005; Aron Griffis <agriffis@gentoo.org> dictd-1.9.14.ebuild: + stable on ia64 + + 04 Mar 2005; Michael Hanselmann <hansmi@gentoo.org> dictd-1.9.14.ebuild: + Stable on ppc, bug 83997. + + 19 Feb 2005; Markus Rothe <corsair@gentoo.org> dictd-1.9.11-r1.ebuild: + Stable on ppc64; bug #81211 + + 20 Dec 2004; Alastair Tse <liquidx@gentoo.org> dictd-1.9.14.ebuild: + fix installation of conf.d and init.d files for 1.9.14 (#74771) + +*dictd-1.9.14 (22 Sep 2004) + + 22 Sep 2004; Alastair Tse <liquidx@gentoo.org> +dictd-1.9.14.ebuild: + version bump (#47461) + + 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> dictd-1.8.0.ebuild, + dictd-1.9.11-r1.ebuild: + virtual/glibc -> virtual/libc + + 13 Mar 2004; Jason Wever <weeve@gentoo.org> dictd-1.9.11-r1.ebuild: + Stable on sparc. + + 09 Mar 2004; <agriffis@gentoo.org> dictd-1.9.11-r1.ebuild: + stable on alpha and ia64 + + 07 Mar 2004; Alastair Tse <liquidx@gentoo.org> dictd-1.8.0.ebuild: + apply missing patch for 1.8.0 + +*dictd-1.9.11-r1 (09 Feb 2004) + + 09 Feb 2004; Dylan Carlson <absinthe@gentoo.org> 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: + fixed missing init scripts/etc; closing bug #29688. marked stable for amd64. + +*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) + + 29 Dec 2003; Seemant Kulleen <seemant@gentoo.org> dictd-1.5.5-r6.ebuild, + dictd-1.8.0.ebuild, dictd-1.9.7.ebuild, files/1.5.5-r2/dict.conf, + files/1.5.5-r2/dictd-run, files/1.5.5-r2/dictd.conf, + files/1.5.5-r2/site.info, files/1.5.5-r2/svc-dictd, + files/1.5.5-r3/dict.conf, files/1.5.5-r3/dictd.conf, + files/1.5.5-r3/rc.dictd, files/1.5.5-r3/site.info, files/1.5.5-r6/dict.conf, + files/1.5.5-r6/dictd.conf, files/1.5.5-r6/dictd.confd, + files/1.5.5-r6/dictd.rc6, files/1.5.5-r6/site.info, files/1.9.7/dict.conf, + files/1.9.7/dictd, files/1.9.7/dictd.conf, files/1.9.7/dictd.confd, + files/1.9.7/site.info: + version bump, thanks to: José Romildo Malaquias <romildo@uber.com.br> in bug + #36638 + +*dictd-1.8.0 (14 Dec 2002) + + 02 Oct 2003; Joshua Kinard <kumba@gentoo.org> dictd-1.8.0.ebuild: + Added a patch to fix a multi-line string issue with gcc-3.3.1. Closes Bug #29227. + Also added gnuconfig support in as dictd does not understand the sparc architecture. + + 19 Jan 2003; Olivier Reisch <doctomoe@gentoo.org> dictd-1.8.0.ebuild: + Added ~ppc keyword + + 14 Dec 2002; Seemant Kulleen <seemant@gentoo.org> dictd-1.8.0.ebuild + files/digest-dictd-1.8.0 files/1.8.0/* : + + Version bump, thanks to: absinthe@pobox.com (Dylan Carlson) in bug #12113 + +*dictd-1.5.5-r6 (1 Feb 2002) + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. + +*dictd-1.5.5-r3 (13 Feb 2003) + + 11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. + +*dictd-1.5.5-r2 (13 Feb 2003) + + 11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. diff --git a/app-text/dictd/Manifest b/app-text/dictd/Manifest new file mode 100644 index 0000000..3d4c56c --- /dev/null +++ b/app-text/dictd/Manifest @@ -0,0 +1,32 @@ +AUX 1.10.11/colorit.conf 848 RMD160 cebf4cd68e62ee6218bb39f88c655d3bacaa3c25 SHA1 47f9188eee886463c13c853831d073d1711c0392 SHA256 54969fbc6e782013c086e3055f0fa1989ddeb71f5b87e94205d82cefee657d8f +AUX 1.10.11/dict.conf 243 RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 SHA1 acaad0d56fc7fa4f3cc48152ad13cbba265c8faa SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 +AUX 1.10.11/dictd.conf 563 RMD160 18b435b7ef4ca3a8da6f38706965857bc1d0e28e SHA1 839fbbb050069cd4600e0cf18580e4b6ae64c43c SHA256 06f1c42afd56a98a736cc252f0271889030d8b57754bc4054905e318508d5e37 +AUX 1.10.11/dictd.confd 204 RMD160 5f8e7e3d62691046beb21db7a589933c9087c2a0 SHA1 b89dde0caae092eb6f232d323f21fe7b43d23d0f SHA256 988c5f8e391519119c456af8cd308c1f323b4701aefff3d662944e3d3499a25a +AUX 1.10.11/dictd.initd 2079 RMD160 206f4c913eb541f25f970fc7202a85d5f139a118 SHA1 f423716fdb1ac3a5766a2af088470488412f5ea8 SHA256 b29ed12b5ac67ca3df507999ecdb08db89713aa15da03889730bd0bbf35e3d6f +AUX 1.10.11/site.info 235 RMD160 3bee51beb2ad856a6de1941764158f558c124733 SHA1 5de46179c02e3cf7a6f5360e5399b089db30878d SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 +AUX 1.10.9/dict.conf 243 RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 SHA1 acaad0d56fc7fa4f3cc48152ad13cbba265c8faa SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 +AUX 1.10.9/dictd 1841 RMD160 53e45ab00f48e6064b21deec906d7ae0aa31fe02 SHA1 fab59d4456ffe4d13e0006364c78994e8f716fa3 SHA256 af89ca3e18800ff6c0889d363061617578e2dfdad0bdce7585edf91ec194ff60 +AUX 1.10.9/dictd.conf 582 RMD160 40e0724067b6e51c70c3a57cad31016d4f9c4055 SHA1 2d0aeb8c0bdb1653080c1c2689fe10e0a70e0dc5 SHA256 3c3bd8186c94cf15759927a9baf98813d4ebe1b38b809894fe15a8dfad2d91dc +AUX 1.10.9/dictd.confd 370 RMD160 91711286732ed4ff0461ff87d56a19e8c5cf4494 SHA1 80246a38bedc5fb1b2b7db71803eaa650be6937c SHA256 165d4a8a96d70b878d397a2f011d0521e46ac16781a63751a1e0b84791d52565 +AUX 1.10.9/site.info 235 RMD160 3bee51beb2ad856a6de1941764158f558c124733 SHA1 5de46179c02e3cf7a6f5360e5399b089db30878d SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 +AUX 1.9.11-r1/dict.conf 243 RMD160 5adc267e57f7a4e526d2b6d7ef43ed712d1e6a19 SHA1 acaad0d56fc7fa4f3cc48152ad13cbba265c8faa SHA256 278b6986ebbfe74396a9e287d94a2d8128a83d511df84f02093058081aa12d57 +AUX 1.9.11-r1/dictd 1764 RMD160 30ba15cec4d7e1ea775979e978c654b09520faf6 SHA1 79eba7d9a7b02e486ff6fa12c54d71fc18e55c3d SHA256 2c0f48f96362302b66c9e5ac823114db366608a4f0079a3a62a1fc9c581f43c1 +AUX 1.9.11-r1/dictd.conf 569 RMD160 e34f2bdb7e72d13392563c302f379485c0ddb9cb SHA1 b42419bcf3d94c66c86cfb827384b0f770f0951e SHA256 8fd62c0d1863c003cdfda0bff4a7d411bcd3fdd2d71c78570336aff86af6d571 +AUX 1.9.11-r1/dictd.confd 135 RMD160 8f18e03081f40c23f54ff6f0efd6eef08256284a SHA1 32262702fa3de44d3370dcc123186c76667601dd SHA256 46b0fabcdacae8db886f732562509c004fd88f01c245664fe208525bbc72b3a1 +AUX 1.9.11-r1/site.info 235 RMD160 3bee51beb2ad856a6de1941764158f558c124733 SHA1 5de46179c02e3cf7a6f5360e5399b089db30878d SHA256 cb55e7aaedef73665996f015a07e97e45cd3771775e291d798bf163b0052c0a2 +AUX dictd-1.10.11-automatic-plugins_build-failure.patch 3618 RMD160 bd6335716ee2af94f3e9169d461819af0be129aa SHA1 78e849127d0c2e56301f06ef8746437c7cde5c94 SHA256 fd0e03c10f65f1b0dd26ba006ef6a48a855024fcbe1c9efece1122bad647a4d1 +AUX dictd-1.10.11-colorit-nopp-fix.patch 428 RMD160 65d43cbcad57ff1cfd5e604b6bf0517d7e98054b SHA1 ea0315f5346b8c2dd76cf62c1b56c1c2008064da SHA256 50b09efb6fa87b51d85f15fc4ef0fd29b5d0682025a2eccf7ca45917ea7f6582 +AUX dictd-1.10.11-dictd.8-man.patch 699 RMD160 e292334a79a8aa60c713f79260f4fa1256294ed6 SHA1 50fa1ab5ac938ad59f532375fcdac41e69b38ea0 SHA256 30df5828de15b724f1a670d61f14c6798ad43f8fcb970e00169c45ad969389b1 +AUX dictd-1.10.11-dictd.c-alen-init.patch 612 RMD160 ae07454e182e2f8f17a24ecf5ae550bf71847128 SHA1 22cf78d5de420718de734a3169f67b91ce266c74 SHA256 a8ff41628c48ea4086d23016354657f7ea8e74536d538cb036065f3a6e84f098 +AUX dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch 459 RMD160 f7e5e465726ca9122050c01d8aed06ab757d8210 SHA1 e4aa46fafaa171313082614a3154c738b2aa7f55 SHA256 0e7a729d981e1828f2d2a13d3b5dbdbf4a8eea4576429602c34f2db774243e68 +AUX dictd-1.10.11-dictl-konwert.patch 1230 RMD160 3498b9645f0a1e3b934eb690e4630b630d01d937 SHA1 d3da0ef994a807f6fdbec734ff4a94fb6bacdf58 SHA256 2400a8bca8a29c3b9aea9322acbe4e1f7ad1bb8781e33c2b170a35ac37e223ee +AUX dictd-1.10.11-dictl-translit.patch 637 RMD160 51f720f44143d9207e5b4c925834952d78e95201 SHA1 2a2cc154c895cb1829bb05d93850f35b2f86549e SHA256 cee93373bdc109b66d8a2a65f4fed9c33b4d4514e649d4125118a964547fb5b8 +DIST dictd-1.10.11.tar.gz 696755 RMD160 829a71325d59210023b420ffe89cd5477d354cdb SHA1 7d37969424dfef19fa4975b876a0fab4e26fed8c SHA256 a5730cb0c67582d115057b409a6e75d903f56595a6690a7d435e22ae22857899 +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.11-r2.ebuild 2950 RMD160 9acb46753db2002d957d1dd4944d9b878714cdc6 SHA1 ae479a5267bef63feffe24dbe45ff7b616b3b537 SHA256 f5ca52567d9096e6bbe4b579a1e2f2db71f0bd8ecab47e913e515c9dec7a1b0e +EBUILD dictd-1.10.11-r3.ebuild 3113 RMD160 4a33e4c9331fb08ea2c496da99d010c6afa3e342 SHA1 f18a666cc7955cfbdf7632050cc710d3e55c4530 SHA256 fd321ef9fd1924ee268f05ba87918131685674cebecb3f2aad81a937b2c17f81 +EBUILD dictd-1.9.11-r1.ebuild 1216 RMD160 f229a030c647f1436613ecd163ab2b027cc20397 SHA1 1b4a63a1e9738127196569add730c8d0e892cbfc SHA256 a4883457eec96f38c4d49df49ada2bbfc11faa903feee40a11748da4d335bc80 +EBUILD dictd-1.9.14.ebuild 1226 RMD160 5e9551ed61d1cfa7ea09fe12ef22408599230584 SHA1 267fab851770f877fd48b989d2934e98801ff76f SHA256 37ea9118b0bfb5bf38d846eb359437f6898205086dbdcebc9ec3f5de57ae2b6e +MISC ChangeLog 8870 RMD160 3e8d1b575b86187a5ba0b1a3b3a3463c0cd58f5b SHA1 ae4c54b2ac316c0fdc6b094546114804e2299836 SHA256 c92ae3291ae06c27b8a16567b1c10fddca8fcb899253cb6d1ff8a9d077966ca2 +MISC metadata.xml 441 RMD160 f87ec33f5dd676dc8bb1a907ef63e2a553cc61cd SHA1 d5c072ccc0b4534417e47597c3fecdba3dedf563 SHA256 271007859ca1ce4c94076aa6e0f1cfa10d9c382ed8776209490544816ad32930 diff --git a/app-text/dictd/dictd-1.10.11-r2.ebuild b/app-text/dictd/dictd-1.10.11-r2.ebuild new file mode 100644 index 0000000..0250266 --- /dev/null +++ b/app-text/dictd/dictd-1.10.11-r2.ebuild @@ -0,0 +1,91 @@ +# 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.3 2008/10/26 14:16:01 fmccor 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 new file mode 100644 index 0000000..50bf48f --- /dev/null +++ b/app-text/dictd/dictd-1.10.11-r3.ebuild @@ -0,0 +1,97 @@ +# 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.3 2008/11/03 22:33:56 maekke 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="amd64 ~ppc 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 ! 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 \ + $(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.9.11-r1.ebuild b/app-text/dictd/dictd-1.9.11-r1.ebuild new file mode 100644 index 0000000..e8e4fde --- /dev/null +++ b/app-text/dictd/dictd-1.9.11-r1.ebuild @@ -0,0 +1,46 @@ +# 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.9.11-r1.ebuild,v 1.14 2008/09/12 19:20:55 pva 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="x86 ~ppc sparc alpha ~hppa ~mips amd64 ia64 ppc64" +IUSE="" + +DEPEND="virtual/libc" + +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}"/${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 +} diff --git a/app-text/dictd/dictd-1.9.14.ebuild b/app-text/dictd/dictd-1.9.14.ebuild new file mode 100644 index 0000000..47ed46d --- /dev/null +++ b/app-text/dictd/dictd-1.9.14.ebuild @@ -0,0 +1,46 @@ +# 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.9.14.ebuild,v 1.16 2008/09/12 19:20:55 pva 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="virtual/libc" + +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.10.11/colorit.conf b/app-text/dictd/files/1.10.11/colorit.conf new file mode 100644 index 0000000..22b00e9 --- /dev/null +++ b/app-text/dictd/files/1.10.11/colorit.conf @@ -0,0 +1,32 @@ +dnl /etc/dictd/colorit.conf vim:ft=m4 +dnl +dnl Sample configuration file for colorit(1) program +dnl +divert(-1) +dnl +dnl Define some useful color variables +dnl +define(`black', `0') +define(`red', `1') +define(`green', `2') +define(`brown', `3') +define(`blue', `4') +define(`magenta', `5') +define(`cyan', `6') +define(`white', `7') +dnl +dnl Mark macro arguments: regexp foreground-color [background-color] +dnl +define(`mark', ``mark "$1"'' `ifelse(`$#', `3', ``"\033[3$2;4$3m"'', ``"\033[3$2m"'')' `"\033[m"') +dnl +divert +mark(`^From.*$',red,cyan) +mark(`^ [^ ]+',green) +mark(`^ *Note:',red) +mark(`{[^{]+}',green) +mark(`^ *\[[^\[]+\]', cyan) +mark(`^[ ]*(adj|n|v|adv)? *[0-9]+[\.:]',cyan) +mark(`^ *\([a-z]+\)',cyan) +mark(`(Syn|Ant|syn|ant):', blue, white) +mark(` (t|i|a|adj|adv|n|v)\. ',cyan) +mark(` (t|i|a|adj|adv|n|v)\.$',cyan) diff --git a/app-text/dictd/files/1.10.11/dict.conf b/app-text/dictd/files/1.10.11/dict.conf new file mode 100644 index 0000000..e06c3d2 --- /dev/null +++ b/app-text/dictd/files/1.10.11/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.11/dictd.conf b/app-text/dictd/files/1.10.11/dictd.conf new file mode 100644 index 0000000..16e41e5 --- /dev/null +++ b/app-text/dictd/files/1.10.11/dictd.conf @@ -0,0 +1,22 @@ +# dictd configuration file + +global { + # Informational message + site site.info +} + +# who's allowed. You might want to change this. +access { + allow * +} + +# Dictionaries are listed below. During dictd startup the initrc script will +# scan ${DLIBDIR} (see /etc/conf.d/dictd) and adds all of the dictionaries it +# finds here. +# +# NOTE: Initrc script will wipe everything below #LASTLINE and replace it with +# what it finds. So add all of your things above. If this is a problem, report +# bug at https://bugs.gentoo.org, please. +# +# Do not remove next line! +#LASTLINE diff --git a/app-text/dictd/files/1.10.11/dictd.confd b/app-text/dictd/files/1.10.11/dictd.confd new file mode 100644 index 0000000..4db9f00 --- /dev/null +++ b/app-text/dictd/files/1.10.11/dictd.confd @@ -0,0 +1,5 @@ +# If have problems starting dictd in an UTF-8 locale, add an appropriate +# --locale switch to DICTD_OPTS, e. g. "--locale=en_US.utf8" +DICTD_OPTS="-s " +DICTDCONF=/etc/dict/dictd.conf +DLIBDIR=/usr/lib/dict diff --git a/app-text/dictd/files/1.10.11/dictd.initd b/app-text/dictd/files/1.10.11/dictd.initd new file mode 100644 index 0000000..5fc8825 --- /dev/null +++ b/app-text/dictd/files/1.10.11/dictd.initd @@ -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.11/dictd.initd,v 1.2 2008/09/14 08:59:45 pva Exp $ + +DICTD_PID="/var/run/dictd.pid" + +prepconfig() { + local TMPCONF INDEXFILES CNT DNAME DICT + if [ ! -e "${DICTDCONF}" ]; then + eerror "Config file ${DICTDCONF} 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 found at ${DLIBDIR}." + eerror "Please, emerge at least one of app-dicts/dictd-* dictionaries." + return 1 + fi + + TMPCONF=$(mktemp -t dictd.conf.XXXXXXXXXX) + cat ${DICTDCONF} | sed -e '/^#LASTLINE/,$d' > ${TMPCONF} + echo "#LASTLINE" >> ${TMPCONF} + + CNT=0 + for i in ${INDEXFILES}; do + DNAME=$(echo $i | sed -e 's/[.]index$//') + #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 + ewarn "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}" + chown 0:dictd "${DICTDCONF}" + chmod g+r "${DICTDCONF}" + einfo "Done, ${CNT} dictionaries found." +} + +depend() { + need localmount +} + +start() { + prepconfig || return 1 + ebegin "Starting dictd" + start-stop-daemon --start --quiet --pidfile ${DICTD_PID} --exec \ + /usr/sbin/dictd -- --pid-file ${DICTD_PID} ${DICTD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping dictd" + start-stop-daemon --stop --quiet --pidfile ${DICTD_PID} --exec /usr/sbin/dictd + eend $? +} diff --git a/app-text/dictd/files/1.10.11/site.info b/app-text/dictd/files/1.10.11/site.info new file mode 100644 index 0000000..23bfdeb --- /dev/null +++ b/app-text/dictd/files/1.10.11/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/1.10.9/dict.conf b/app-text/dictd/files/1.10.9/dict.conf new file mode 100644 index 0000000..e06c3d2 --- /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 0000000..dfb4499 --- /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.2 2007/09/02 12:16:07 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 -- $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 0000000..2f94266 --- /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 0000000..ce35be8 --- /dev/null +++ b/app-text/dictd/files/1.10.9/dictd.confd @@ -0,0 +1,10 @@ +# Config file for /etc/init.d/dictd + +# Should you have problems starting dictd in an UTF-8 locale, add an appropriate +# --locale switch to EARGS, e. g. "--locale=en_US.utf8" +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 0000000..23bfdeb --- /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/1.9.11-r1/dict.conf b/app-text/dictd/files/1.9.11-r1/dict.conf new file mode 100644 index 0000000..e06c3d2 --- /dev/null +++ b/app-text/dictd/files/1.9.11-r1/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.9.11-r1/dictd b/app-text/dictd/files/1.9.11-r1/dictd new file mode 100755 index 0000000..270e4b5 --- /dev/null +++ b/app-text/dictd/files/1.9.11-r1/dictd @@ -0,0 +1,72 @@ +#!/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 new file mode 100644 index 0000000..4cded97 --- /dev/null +++ b/app-text/dictd/files/1.9.11-r1/dictd.conf @@ -0,0 +1,22 @@ +# 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 new file mode 100644 index 0000000..91b9d43 --- /dev/null +++ b/app-text/dictd/files/1.9.11-r1/dictd.confd @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..23bfdeb --- /dev/null +++ b/app-text/dictd/files/1.9.11-r1/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/dictd-1.10.11-automatic-plugins_build-failure.patch b/app-text/dictd/files/dictd-1.10.11-automatic-plugins_build-failure.patch new file mode 100644 index 0000000..a3d14a9 --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-automatic-plugins_build-failure.patch @@ -0,0 +1,133 @@ +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-colorit-nopp-fix.patch b/app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch new file mode 100644 index 0000000..a78d13c --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-colorit-nopp-fix.patch @@ -0,0 +1,14 @@ +Made 'colorit -pp -' work + +Index: dictd/colorit.in +=================================================================== +--- dictd.orig/colorit.in 2008-01-23 23:38:35.000000000 +0100 ++++ dictd/colorit.in 2008-01-23 23:39:25.000000000 +0100 +@@ -167,6 +167,7 @@ + + function process_config (){ + if (pp == ""){ ++ pipe = "cat < \"" config_file "\"" + while (0 < (ret = (pipe | getline))){ + process_config_line() + } 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 new file mode 100644 index 0000000..1a49a47 --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-dictd.8-man.patch @@ -0,0 +1,24 @@ +Use @SYSCONFDIR@ instead of /etc/ + +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 new file mode 100644 index 0000000..68faa15 --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-dictd.c-alen-init.patch @@ -0,0 +1,14 @@ +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 new file mode 100644 index 0000000..1b1753b --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch @@ -0,0 +1,15 @@ +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 new file mode 100644 index 0000000..254fdd1 --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-dictl-konwert.patch @@ -0,0 +1,35 @@ +Patch for #401666: dictl: doesn't work with DICTL_USE_KONWERT + +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 new file mode 100644 index 0000000..6341120 --- /dev/null +++ b/app-text/dictd/files/dictd-1.10.11-dictl-translit.patch @@ -0,0 +1,16 @@ +Patch for #378792: dictl should use iconv's //translit suffix + + +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/metadata.xml b/app-text/dictd/metadata.xml new file mode 100644 index 0000000..274ba06 --- /dev/null +++ b/app-text/dictd/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>app-dicts</herd> +<use> + <flag name='dbi'>Build dbi plugin, uses <pkg>dev-db/libdbi</pkg> library for implementing DICT database using SQL server</flag> + <flag name='judy'>Build Judy-based (<pkg>dev-libs/judy</pkg>) plugin implementing fast "exact" and especially "lev" strategies</flag> +</use> +</pkgmetadata> |