1 |
pva 09/03/01 09:29:08 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dictd-1.11.1.ebuild |
5 |
Log: |
6 |
Version bump. Most patches are applied upstream (or upstream suggested different solutions). |
7 |
(Portage version: 2.2_rc23/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.62 app-text/dictd/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.62&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?rev=1.62&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/ChangeLog?r1=1.61&r2=1.62 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v |
19 |
retrieving revision 1.61 |
20 |
retrieving revision 1.62 |
21 |
diff -u -r1.61 -r1.62 |
22 |
--- ChangeLog 22 Dec 2008 20:39:35 -0000 1.61 |
23 |
+++ ChangeLog 1 Mar 2009 09:29:08 -0000 1.62 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-text/dictd |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.61 2008/12/22 20:39:35 armin76 Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/ChangeLog,v 1.62 2009/03/01 09:29:08 pva Exp $ |
30 |
+ |
31 |
+*dictd-1.11.1 (01 Mar 2009) |
32 |
+ |
33 |
+ 01 Mar 2009; Peter Volkov <pva@g.o> +dictd-1.11.1.ebuild: |
34 |
+ Version bump. Most patches are applied upstream (or upstream suggested |
35 |
+ different solutions). |
36 |
|
37 |
22 Dec 2008; Raúl Porcel <armin76@g.o> dictd-1.11.0.ebuild: |
38 |
Re-add ~ia64 wrt #250390 |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-text/dictd/dictd-1.11.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.11.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/dictd/dictd-1.11.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dictd-1.11.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.1.ebuild,v 1.1 2009/03/01 09:29:08 pva Exp $ |
52 |
|
53 |
inherit eutils |
54 |
|
55 |
DESCRIPTION="Dictionary Client/Server for the DICT protocol" |
56 |
HOMEPAGE="http://www.dict.org/" |
57 |
SRC_URI="mirror://sourceforge/dict/${P}.tar.gz" |
58 |
|
59 |
SLOT="0" |
60 |
# We install rfc so - ISOC-rfc |
61 |
LICENSE="GPL-2 ISOC-rfc" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~sparc ~x86" |
63 |
IUSE="dbi judy" |
64 |
|
65 |
# <gawk-3.1.6 makes tests fail. |
66 |
DEPEND="sys-apps/coreutils |
67 |
sys-libs/zlib |
68 |
dev-libs/libmaa |
69 |
dbi? ( dev-db/libdbi ) |
70 |
judy? ( dev-libs/judy ) |
71 |
|| ( >=sys-apps/coreutils-6.10 sys-apps/mktemp )" |
72 |
RDEPEND="${DEPEND} |
73 |
>=sys-apps/gawk-3.1.6" |
74 |
|
75 |
pkg_setup() { |
76 |
enewgroup dictd # used in src_test() |
77 |
enewuser dictd -1 -1 -1 dictd |
78 |
} |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${A} |
82 |
cd "${S}" |
83 |
epatch "${FILESDIR}/dictd-1.10.11-colorit-nopp-fix.patch" |
84 |
} |
85 |
|
86 |
src_compile() { |
87 |
econf \ |
88 |
$(use_with dbi plugin-dbi) \ |
89 |
$(use_with judy plugin-judy) \ |
90 |
--sysconfdir=/etc/dict |
91 |
emake || die "make failed" |
92 |
} |
93 |
|
94 |
src_test() { |
95 |
if ! hasq userpriv "${FEATURES}"; then |
96 |
# If dictd is run as root user (-userpriv) it drops its privileges to |
97 |
# dictd user and group. Give dictd group write access to test directory. |
98 |
chown :dictd "${WORKDIR}" "${S}/test" |
99 |
chmod 770 "${WORKDIR}" "${S}/test" |
100 |
fi |
101 |
emake test || die |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
emake DESTDIR="${D}" install || die "install failed" |
106 |
|
107 |
# Install docs |
108 |
dodoc README TODO ChangeLog ANNOUNCE NEWS || die "installing docs part 1 failed" |
109 |
dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt} || die "installing docs part 2 failed" |
110 |
dodoc doc/{security.doc,toc.ms} || die "installing docs part 3 failed" |
111 |
|
112 |
# conf files. |
113 |
insinto /etc/dict |
114 |
for f in dict.conf dictd.conf site.info colorit.conf; do |
115 |
doins "${FILESDIR}/1.10.11/${f}" || die "failed to install ${f}" |
116 |
done |
117 |
|
118 |
# startups for dictd |
119 |
newinitd "${FILESDIR}/1.10.11/dictd.initd" dictd || die "failed to install dictd.initd" |
120 |
newconfd "${FILESDIR}/1.10.11/dictd.confd" dictd || die "failed to install dictd.confd" |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
echo |
125 |
elog "To start and use ${PN} you need to emerge at least one dictionary from" |
126 |
elog "the app-dicts category with the package name starting with 'dictd-'." |
127 |
elog "To install all available dictionaries, emerge app-dicts/dictd-dicts." |
128 |
elog "${PN} will NOT start without at least one dictionary." |
129 |
echo |
130 |
} |