Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/dictd: ChangeLog dictd-1.9.11-r1.ebuild dictd-1.9.14.ebuild dictd-1.10.11-r1.ebuild dictd-1.10.0.ebuild dictd-1.10.9.ebuild
Date: Fri, 12 Sep 2008 19:20:59
Message-Id: E1KeECO-0003dN-Jt@stork.gentoo.org
1 pva 08/09/12 19:20:56
2
3 Modified: ChangeLog dictd-1.9.11-r1.ebuild
4 dictd-1.9.14.ebuild
5 Added: dictd-1.10.11-r1.ebuild
6 Removed: dictd-1.10.0.ebuild dictd-1.10.9.ebuild
7 Log:
8 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.
9 (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 i686)
10
11 Revision Changes Path
12 1.41 app-text/dictd/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.41&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.41&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?r1=1.40&r2=1.41
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v
21 retrieving revision 1.40
22 retrieving revision 1.41
23 diff -u -r1.40 -r1.41
24 --- ChangeLog 14 Apr 2008 11:10:59 -0000 1.40
25 +++ ChangeLog 12 Sep 2008 19:20:55 -0000 1.41
26 @@ -1,6 +1,26 @@
27 # ChangeLog for app-text/dictd
28 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.40 2008/04/14 11:10:59 pva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.41 2008/09/12 19:20:55 pva Exp $
31 +
32 +*dictd-1.10.11-r1 (12 Sep 2008)
33 +
34 + 12 Sep 2008; Peter Volkov <pva@g.o> -files/1.9.7/dict.conf,
35 + -files/1.9.7/dictd, -files/1.9.7/dictd.conf, -files/1.9.7/dictd.confd,
36 + -files/1.9.7/site.info, +files/dictd-1.10.11-colorit-nopp-fix.patch,
37 + +files/1.10.11/dict.conf, +files/dictd-1.10.11-dictd.8-man.patch,
38 + +files/1.10.11/dictd.conf, +files/dictd-1.10.11-dictd.c-alen-init.patch,
39 + +files/1.10.11/dictd.confd,
40 + +files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch,
41 + +files/1.10.11/dictd.initd, +files/dictd-1.10.11-dictl-konwert.patch,
42 + +files/1.10.11/site.info, +files/dictd-1.10.11-dictl-translit.patch,
43 + +files/1.10.11/colorit.conf, dictd-1.9.11-r1.ebuild, dictd-1.9.14.ebuild,
44 + -dictd-1.10.0.ebuild, -dictd-1.10.9.ebuild, +dictd-1.10.11-r1.ebuild:
45 + Fixed inability to stop dictd, bug #236451, thank David B. Ferguson for
46 + report and fix. Cleaned up ebuild. Install again colorit and provide
47 + config file (back to bug #107376). Create initd user and make initrc
48 + script to work with permissions on its own (back to bug #90657). Took some
49 + patches from debian most important of which backports upstream fix for
50 + first connection denied problem. Removed old.
51
52 *dictd-1.10.11 (14 Apr 2008)
53
54
55
56
57 1.14 app-text/dictd/dictd-1.9.11-r1.ebuild
58
59 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.9.11-r1.ebuild?rev=1.14&view=markup
60 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.9.11-r1.ebuild?rev=1.14&content-type=text/plain
61 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.9.11-r1.ebuild?r1=1.13&r2=1.14
62
63 Index: dictd-1.9.11-r1.ebuild
64 ===================================================================
65 RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.11-r1.ebuild,v
66 retrieving revision 1.13
67 retrieving revision 1.14
68 diff -u -r1.13 -r1.14
69 --- dictd-1.9.11-r1.ebuild 18 Aug 2007 01:15:54 -0000 1.13
70 +++ dictd-1.9.11-r1.ebuild 12 Sep 2008 19:20:55 -0000 1.14
71 @@ -1,6 +1,6 @@
72 -# Copyright 1999-2007 Gentoo Foundation
73 +# Copyright 1999-2008 Gentoo Foundation
74 # Distributed under the terms of the GNU General Public License v2
75 -# $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 $
76 +# $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 $
77
78 DESCRIPTION="Dictionary Client/Server for the DICT protocol"
79 HOMEPAGE="http://www.dict.org/"
80 @@ -25,7 +25,7 @@
81 make DESTDIR="${D}" install || die "install failed"
82
83 # Install docs
84 - dodoc README TODO COPYING ChangeLog ANNOUNCE
85 + dodoc README TODO ChangeLog ANNOUNCE
86 dodoc doc/dicf.ms doc/rfc.ms doc/rfc.sh doc/rfc2229.txt
87 dodoc doc/security.doc doc/toc.ms
88
89 @@ -41,6 +41,6 @@
90 newconfd "${FILESDIR}"/${PVR}/dictd.confd dictd
91
92 # Remove useless cruft, fixes bug 107376
93 - rm -f ${D}/usr/bin/colorit
94 - rm -f ${D}/usr/share/man/man1/colorit.1
95 + rm -f "${D}"/usr/bin/colorit
96 + rm -f "${D}"/usr/share/man/man1/colorit.1
97 }
98
99
100
101 1.16 app-text/dictd/dictd-1.9.14.ebuild
102
103 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild?rev=1.16&view=markup
104 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild?rev=1.16&content-type=text/plain
105 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild?r1=1.15&r2=1.16
106
107 Index: dictd-1.9.14.ebuild
108 ===================================================================
109 RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild,v
110 retrieving revision 1.15
111 retrieving revision 1.16
112 diff -u -r1.15 -r1.16
113 --- dictd-1.9.14.ebuild 25 Aug 2007 16:52:11 -0000 1.15
114 +++ dictd-1.9.14.ebuild 12 Sep 2008 19:20:55 -0000 1.16
115 @@ -1,6 +1,6 @@
116 -# Copyright 1999-2007 Gentoo Foundation
117 +# Copyright 1999-2008 Gentoo Foundation
118 # Distributed under the terms of the GNU General Public License v2
119 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild,v 1.15 2007/08/25 16:52:11 beandog Exp $
120 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.9.14.ebuild,v 1.16 2008/09/12 19:20:55 pva Exp $
121
122 DESCRIPTION="Dictionary Client/Server for the DICT protocol"
123 HOMEPAGE="http://www.dict.org/"
124 @@ -25,7 +25,7 @@
125 make DESTDIR="${D}" install || die "install failed"
126
127 # Install docs
128 - dodoc README TODO COPYING ChangeLog ANNOUNCE
129 + dodoc README TODO ChangeLog ANNOUNCE
130 dodoc doc/dicf.ms doc/rfc.ms doc/rfc.sh doc/rfc2229.txt
131 dodoc doc/security.doc doc/toc.ms
132
133 @@ -41,6 +41,6 @@
134 newconfd "${FILESDIR}"/1.9.11-r1/dictd.confd dictd
135
136 # Remove useless cruft, fixes bug 107376
137 - rm -f ${D}/usr/bin/colorit
138 - rm -f ${D}/usr/share/man/man1/colorit.1
139 + rm -f "${D}"/usr/bin/colorit
140 + rm -f "${D}"/usr/share/man/man1/colorit.1
141 }
142
143
144
145 1.1 app-text/dictd/dictd-1.10.11-r1.ebuild
146
147 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.10.11-r1.ebuild?rev=1.1&view=markup
148 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.10.11-r1.ebuild?rev=1.1&content-type=text/plain
149
150 Index: dictd-1.10.11-r1.ebuild
151 ===================================================================
152 # Copyright 1999-2008 Gentoo Foundation
153 # Distributed under the terms of the GNU General Public License v2
154 # $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.10.11-r1.ebuild,v 1.1 2008/09/12 19:20:55 pva Exp $
155
156 inherit eutils
157
158 DESCRIPTION="Dictionary Client/Server for the DICT protocol"
159 HOMEPAGE="http://www.dict.org/"
160 SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
161
162 SLOT="0"
163 # We install rfc so - ISOC-rfc
164 LICENSE="GPL-2 ISOC-rfc"
165 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
166 IUSE=""
167
168 # <gawk-3.1.6 makes tests fail.
169 DEPEND="sys-apps/coreutils
170 sys-libs/zlib
171 || ( >=sys-apps/coreutils-6.10 sys-apps/mktemp )
172 sys-apps/sed"
173 RDEPEND="${DEPEND}
174 >=sys-apps/gawk-3.1.6"
175
176 pkg_setup() {
177 enewgroup dictd
178 enewuser dictd -1 -1 -1 dictd
179 }
180
181 src_unpack() {
182 unpack ${A}
183 cd "${S}"
184
185 epatch "${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch
186 epatch "${FILESDIR}"/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch
187 epatch "${FILESDIR}"/dictd-1.10.11-dictd.8-man.patch
188 epatch "${FILESDIR}"/dictd-1.10.11-dictl-konwert.patch
189 epatch "${FILESDIR}"/dictd-1.10.11-dictd.c-alen-init.patch
190 epatch "${FILESDIR}"/dictd-1.10.11-dictl-translit.patch
191 }
192
193 src_compile() {
194 # with-local-libmaa is needed because libmaa is not in the tree
195 # because nothing in the whole wide world but dictd uses it.
196 # There are no sources apart from those in dictd, no homepage, nothing.
197 # Doesn't really make sense to split it off from dictd into its own package
198 # and add that just for dictd.
199 econf \
200 --sysconfdir=/etc/dict \
201 --with-cflags="${CFLAGS}" \
202 --with-local-libmaa
203 emake || die "make failed"
204 }
205
206 src_install() {
207 emake DESTDIR="${D}" install || die "install failed"
208
209 # Install docs
210 dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed"
211 dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed"
212 dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed"
213
214 # conf files.
215 insinto /etc/dict
216 for f in dict.conf dictd.conf site.info colorit.conf; do
217 doins "${FILESDIR}"/1.10.11/${f} || die "failed to install ${f}"
218 done
219
220 # startups for dictd
221 newinitd "${FILESDIR}"/1.10.11/dictd.initd dictd || die "failed to install dictd.initd"
222 newconfd "${FILESDIR}"/1.10.11/dictd.confd dictd || die "failed to install dictd.confd"
223 }
224
225 pkg_postinst() {
226 echo
227 elog "To start and use ${PN} you will have to emerge at least one dictionary from"
228 elog "the app-dicts category with the package name starting with 'dictd-'."
229 elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
230 elog "${PN} will NOT start without at least one dictionary."
231 echo
232 }