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.11.2.ebuild dictd-1.11.1.ebuild dictd-1.10.11-r2.ebuild dictd-1.9.14.ebuild dictd-1.11.0.ebuild dictd-1.10.11-r3.ebuild
Date: Sun, 27 Dec 2009 11:22:59
Message-Id: E1NOrD6-00078Y-P4@stork.gentoo.org
1 pva 09/12/27 11:22:56
2
3 Modified: ChangeLog
4 Added: dictd-1.11.2.ebuild
5 Removed: dictd-1.11.1.ebuild dictd-1.10.11-r2.ebuild
6 dictd-1.9.14.ebuild dictd-1.11.0.ebuild
7 dictd-1.10.11-r3.ebuild
8 Log:
9 Version bump. Clean old.
10 (Portage version: 2.1.7.16/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.80 app-text/dictd/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.80&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.80&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?r1=1.79&r2=1.80
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v
22 retrieving revision 1.79
23 retrieving revision 1.80
24 diff -u -r1.79 -r1.80
25 --- ChangeLog 17 Oct 2009 07:46:23 -0000 1.79
26 +++ ChangeLog 27 Dec 2009 11:22:56 -0000 1.80
27 @@ -1,6 +1,24 @@
28 # ChangeLog for app-text/dictd
29 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.79 2009/10/17 07:46:23 maekke Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.80 2009/12/27 11:22:56 pva Exp $
32 +
33 +*dictd-1.11.2 (27 Dec 2009)
34 +
35 + 27 Dec 2009; Peter Volkov <pva@g.o> -dictd-1.9.14.ebuild,
36 + -files/dictd-1.10.11-automatic-plugins_build-failure.patch,
37 + -files/dictd-1.10.11-dictd.8-man.patch,
38 + -files/dictd-1.10.11-dictd.c-alen-init.patch,
39 + -files/dictd-1.10.11-dictdplugin_popen-g++-4.3compile.patch,
40 + -files/dictd-1.10.11-dictl-konwert.patch,
41 + -files/dictd-1.10.11-dictl-translit.patch,
42 + -files/dictd-1.11.0-automagic-plugins.patch,
43 + -files/dictd-1.11.0-avoid-libs-in-LDFLAGS.patch,
44 + -files/dictd-1.11.0-plugins-install-fix-and-cleanup.patch,
45 + +dictd-1.11.2.ebuild, -files/1.9.11-r1/dict.conf, -files/1.9.11-r1/dictd,
46 + -files/1.9.11-r1/dictd.conf, -files/1.9.11-r1/dictd.confd,
47 + -files/1.9.11-r1/site.info, -dictd-1.10.11-r2.ebuild,
48 + -dictd-1.10.11-r3.ebuild, -dictd-1.11.0.ebuild, -dictd-1.11.1.ebuild:
49 + Version bump. Clean old.
50
51 17 Oct 2009; Markus Meier <maekke@g.o> metadata.xml:
52 remove dbi description as it is global now
53
54
55
56 1.1 app-text/dictd/dictd-1.11.2.ebuild
57
58 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild?rev=1.1&view=markup
59 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild?rev=1.1&content-type=text/plain
60
61 Index: dictd-1.11.2.ebuild
62 ===================================================================
63 # Copyright 1999-2009 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 # $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.2.ebuild,v 1.1 2009/12/27 11:22:56 pva Exp $
66
67 EAPI="2"
68
69 inherit eutils
70
71 DESCRIPTION="Dictionary Client/Server for the DICT protocol"
72 HOMEPAGE="http://www.dict.org/"
73 SRC_URI="mirror://sourceforge/dict/${P}.tar.gz"
74
75 SLOT="0"
76 # We install rfc so - ISOC-rfc
77 LICENSE="GPL-2 ISOC-rfc"
78 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
79 IUSE="dbi judy minimal"
80
81 # <gawk-3.1.6 makes tests fail.
82 DEPEND="sys-apps/coreutils
83 sys-libs/zlib
84 dev-libs/libmaa
85 dbi? ( dev-db/libdbi )
86 judy? ( dev-libs/judy )
87 >=sys-apps/coreutils-6.10"
88 RDEPEND="${DEPEND}
89 >=sys-apps/gawk-3.1.6"
90
91 pkg_setup() {
92 enewgroup dictd # used in src_test()
93 enewuser dictd -1 -1 -1 dictd
94 }
95
96 src_prepare() {
97 epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch"
98 }
99
100 src_configure() {
101 econf \
102 $(use_with dbi plugin-dbi) \
103 $(use_with judy plugin-judy) \
104 --sysconfdir=/etc/dict
105 }
106
107 src_compile() {
108 if use minimal; then
109 emake dictfmt dictzip dictzip || die
110 else
111 emake || die "make failed"
112 fi
113 }
114
115 src_test() {
116 use minimal && return 0 # All tests are for dictd which we don't build...
117 if [[ ${EUID} -eq 0 ]]; then
118 # If dictd is run as root user (-userpriv) it drops its privileges to
119 # dictd user and group. Give dictd group write access to test directory.
120 chown :dictd "${WORKDIR}" "${S}/test"
121 chmod 770 "${WORKDIR}" "${S}/test"
122 fi
123 emake test || die
124 }
125
126 src_install() {
127 if use minimal; then
128 emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt || die "install failed"
129 else
130 emake DESTDIR="${D}" install || die "install failed"
131
132 dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed"
133 dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed"
134
135 # conf files. For dict.conf see below.
136 insinto /etc/dict
137 for f in dictd.conf site.info colorit.conf; do
138 doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}"
139 done
140
141 # startups for dictd
142 newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd"
143 newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd"
144 fi
145
146 insinto /etc/dict
147 doins "${FILESDIR}/1.10.11/dict.conf" || die
148 # Install docs
149 dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed"
150 }
151
152 pkg_postinst() {
153 echo
154 elog "To start and use ${PN} you need to emerge at least one dictionary from"
155 elog "the app-dicts category with the package name starting with 'dictd-'."
156 elog "To install all available dictionaries, emerge app-dicts/dictd-dicts."
157 elog "${PN} will NOT start without at least one dictionary."
158 echo
159 }