1 |
wrobel 08/02/22 07:18:17 |
2 |
|
3 |
Modified: ChangeLog metadata.xml c-client-2004g.ebuild |
4 |
Added: c-client-2004g-r1.ebuild c-client-2006k.ebuild |
5 |
Log: |
6 |
Added c-client-2004g-r1 and c-client-2006k, both with support for the Kolab |
7 |
groupware server. |
8 |
(Portage version: 2.1.4_rc7) |
9 |
|
10 |
Revision Changes Path |
11 |
1.44 net-libs/c-client/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/ChangeLog?rev=1.44&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/ChangeLog?rev=1.44&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/ChangeLog?r1=1.43&r2=1.44 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v |
20 |
retrieving revision 1.43 |
21 |
retrieving revision 1.44 |
22 |
diff -u -r1.43 -r1.44 |
23 |
--- ChangeLog 21 Feb 2008 23:32:05 -0000 1.43 |
24 |
+++ ChangeLog 22 Feb 2008 07:18:16 -0000 1.44 |
25 |
@@ -1,6 +1,27 @@ |
26 |
# ChangeLog for net-libs/c-client |
27 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.43 2008/02/21 23:32:05 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.44 2008/02/22 07:18:16 wrobel Exp $ |
30 |
+ |
31 |
+ 22 Feb 2008; Gunnar Wrobel <wrobel@g.o> |
32 |
+ +files/c-client-2004g_KOLAB_Annotations.patch, |
33 |
+ +files/c-client-2006k_GENTOO_Makefile.patch, |
34 |
+ +files/c-client-2006k_GENTOO_amd64-so-fix.patch, |
35 |
+ +files/c-client-2006k_KOLAB_Annotations.patch, metadata.xml, |
36 |
+ c-client-2004g.ebuild, +c-client-2004g-r1.ebuild, +c-client-2006k.ebuild: |
37 |
+ Added c-client-2004g-r1 and c-client-2006k, both with support for the Kolab |
38 |
+ groupware server. |
39 |
+ |
40 |
+*c-client-2006k (22 Feb 2008) |
41 |
+*c-client-2004g-r1 (22 Feb 2008) |
42 |
+ |
43 |
+ 22 Feb 2008; Gunnar Wrobel <wrobel@g.o> |
44 |
+ +files/c-client-2004g_KOLAB_Annotations.patch, |
45 |
+ +files/c-client-2006k_GENTOO_Makefile.patch, |
46 |
+ +files/c-client-2006k_GENTOO_amd64-so-fix.patch, |
47 |
+ +files/c-client-2006k_KOLAB_Annotations.patch, metadata.xml, |
48 |
+ c-client-2004g.ebuild, +c-client-2004g-r1.ebuild, +c-client-2006k.ebuild: |
49 |
+ Added c-client-2004g-r1 and c-client-2006k, both with support for the Kolab |
50 |
+ groupware server. |
51 |
|
52 |
21 Feb 2008; Robin H. Johnson <robbat2@g.o> c-client-2004g.ebuild: |
53 |
Clean up all repoman warnings. |
54 |
|
55 |
|
56 |
|
57 |
1.2 net-libs/c-client/metadata.xml |
58 |
|
59 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/metadata.xml?rev=1.2&view=markup |
60 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/metadata.xml?rev=1.2&content-type=text/plain |
61 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/metadata.xml?r1=1.1&r2=1.2 |
62 |
|
63 |
Index: metadata.xml |
64 |
=================================================================== |
65 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/c-client/metadata.xml,v |
66 |
retrieving revision 1.1 |
67 |
retrieving revision 1.2 |
68 |
diff -u -r1.1 -r1.2 |
69 |
--- metadata.xml 26 Oct 2003 06:47:35 -0000 1.1 |
70 |
+++ metadata.xml 22 Feb 2008 07:18:16 -0000 1.2 |
71 |
@@ -3,6 +3,6 @@ |
72 |
<pkgmetadata> |
73 |
<herd>net-mail</herd> |
74 |
<maintainer> |
75 |
- <email>robbat2@g.o</email> |
76 |
+ <email>wrobel@g.o</email> |
77 |
</maintainer> |
78 |
</pkgmetadata> |
79 |
|
80 |
|
81 |
|
82 |
1.14 net-libs/c-client/c-client-2004g.ebuild |
83 |
|
84 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2004g.ebuild?rev=1.14&view=markup |
85 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2004g.ebuild?rev=1.14&content-type=text/plain |
86 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2004g.ebuild?r1=1.13&r2=1.14 |
87 |
|
88 |
Index: c-client-2004g.ebuild |
89 |
=================================================================== |
90 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2004g.ebuild,v |
91 |
retrieving revision 1.13 |
92 |
retrieving revision 1.14 |
93 |
diff -u -r1.13 -r1.14 |
94 |
--- c-client-2004g.ebuild 21 Feb 2008 23:32:05 -0000 1.13 |
95 |
+++ c-client-2004g.ebuild 22 Feb 2008 07:18:16 -0000 1.14 |
96 |
@@ -1,6 +1,6 @@ |
97 |
# Copyright 1999-2008 Gentoo Foundation |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2004g.ebuild,v 1.13 2008/02/21 23:32:05 robbat2 Exp $ |
100 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2004g.ebuild,v 1.14 2008/02/22 07:18:16 wrobel Exp $ |
101 |
|
102 |
inherit flag-o-matic eutils libtool |
103 |
|
104 |
@@ -44,7 +44,7 @@ |
105 |
|
106 |
# Targets should use the Gentoo (ie linux) fs |
107 |
sed -e '/^bsf:/,/^$/ s:ACTIVEFILE=.*:ACTIVEFILE=/var/lib/news/active:g' \ |
108 |
- -i src/osdep/unix/Makefile || die "Makefile sex fixing failed for FreeBSD" |
109 |
+ -i src/osdep/unix/Makefile || die "Makefile sed fixing failed for FreeBSD" |
110 |
|
111 |
# Apply a patch to only build the stuff we need for c-client |
112 |
epatch "${FILESDIR}"/2002d-Makefile.patch || die "epatch failed" |
113 |
|
114 |
|
115 |
|
116 |
1.1 net-libs/c-client/c-client-2004g-r1.ebuild |
117 |
|
118 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2004g-r1.ebuild?rev=1.1&view=markup |
119 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2004g-r1.ebuild?rev=1.1&content-type=text/plain |
120 |
|
121 |
Index: c-client-2004g-r1.ebuild |
122 |
=================================================================== |
123 |
# Copyright 1999-2008 Gentoo Foundation |
124 |
# Distributed under the terms of the GNU General Public License v2 |
125 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2004g-r1.ebuild,v 1.1 2008/02/22 07:18:16 wrobel Exp $ |
126 |
|
127 |
inherit flag-o-matic eutils libtool |
128 |
|
129 |
MY_PN=imap |
130 |
MY_P="${MY_PN}-${PV}" |
131 |
S=${WORKDIR}/${MY_P} |
132 |
|
133 |
DESCRIPTION="UW IMAP c-client library" |
134 |
HOMEPAGE="http://www.washington.edu/imap/" |
135 |
SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z" |
136 |
|
137 |
LICENSE="as-is" |
138 |
SLOT="0" |
139 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
140 |
IUSE="kernel_linux kernel_FreeBSD kolab pam ssl" |
141 |
|
142 |
RDEPEND="ssl? ( dev-libs/openssl ) |
143 |
!virtual/imap-c-client" |
144 |
DEPEND="${RDEPEND} |
145 |
kernel_linux? ( pam? ( >=sys-libs/pam-0.72 ) )" |
146 |
PROVIDE="virtual/imap-c-client" |
147 |
|
148 |
src_unpack() { |
149 |
unpack ${A} |
150 |
|
151 |
# Tarball packed with bad file perms |
152 |
chmod -R ug+w "${S}" |
153 |
|
154 |
# lots of things need -fPIC, including various platforms, and this library |
155 |
# generally should be built with it anyway. |
156 |
append-flags -fPIC |
157 |
|
158 |
cd "${S}" |
159 |
|
160 |
# Modifications so we can build it optimally and correctly |
161 |
sed \ |
162 |
-e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \ |
163 |
-e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \ |
164 |
-e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \ |
165 |
-i src/osdep/unix/Makefile || die "Makefile sed fixing failed" |
166 |
|
167 |
# Targets should use the Gentoo (ie linux) fs |
168 |
sed -e '/^bsf:/,/^$/ s:ACTIVEFILE=.*:ACTIVEFILE=/var/lib/news/active:g' \ |
169 |
-i src/osdep/unix/Makefile || die "Makefile sex fixing failed for FreeBSD" |
170 |
|
171 |
# Apply a patch to only build the stuff we need for c-client |
172 |
epatch "${FILESDIR}"/2002d-Makefile.patch || die "epatch failed" |
173 |
|
174 |
# Apply patch to add the compilation of a .so for PHP |
175 |
# This was previously conditional, but is more widely useful. |
176 |
epatch "${FILESDIR}"/${PN}-2004a-amd64-so-fix.patch |
177 |
|
178 |
# Add kolab support. |
179 |
# http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/imap/ |
180 |
if use kolab ; then |
181 |
epatch "${FILESDIR}/${P}_KOLAB_Annotations.patch" || die "epatch failed" |
182 |
fi |
183 |
|
184 |
# Remove the pesky checks about SSL stuff |
185 |
sed -e '/read.*exit/d' -i Makefile |
186 |
elibtoolize |
187 |
} |
188 |
|
189 |
src_compile() { |
190 |
local ssltype target |
191 |
use ssl && ssltype="unix" || ssltype="none" |
192 |
if use kernel_linux ; then |
193 |
use pam && target=lnp || target=lnx |
194 |
elif use kernel_FreeBSD ; then |
195 |
target=bsf |
196 |
fi |
197 |
# no parallel builds supported! |
198 |
emake -j1 $target SSLTYPE=${ssltype} EXTRACFLAGS="${CFLAGS}" || die "make failed" |
199 |
} |
200 |
|
201 |
src_install() { |
202 |
into /usr |
203 |
|
204 |
# Library binary |
205 |
dolib.a c-client/c-client.a || die |
206 |
dosym c-client.a /usr/$(get_libdir)/libc-client.a |
207 |
|
208 |
# Now the shared library |
209 |
dolib.so c-client/libc-client.so.1.0.0 || die |
210 |
# these are created by ldconfig! |
211 |
#cd ${D}/usr/$(get_libdir) |
212 |
#ln -s libc-client.so.1.0.0 libc-client.so.1 |
213 |
#ln -s libc-client.so.1.0.0 libc-client.so |
214 |
|
215 |
# Headers |
216 |
insinto /usr/include/imap |
217 |
doins c-client/*.h |
218 |
doins c-client/linkage.c |
219 |
#exclude these dupes (can't do it before now due to symlink hell) |
220 |
rm "${D}"/usr/include/imap/os_*.h |
221 |
|
222 |
# Docs |
223 |
dodoc README docs/*.txt docs/CONFIG docs/RELNOTES |
224 |
|
225 |
docinto rfc |
226 |
dodoc docs/rfc/*.txt |
227 |
} |
228 |
|
229 |
|
230 |
|
231 |
1.1 net-libs/c-client/c-client-2006k.ebuild |
232 |
|
233 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2006k.ebuild?rev=1.1&view=markup |
234 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/c-client/c-client-2006k.ebuild?rev=1.1&content-type=text/plain |
235 |
|
236 |
Index: c-client-2006k.ebuild |
237 |
=================================================================== |
238 |
# Copyright 1999-2008 Gentoo Foundation |
239 |
# Distributed under the terms of the GNU General Public License v2 |
240 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2006k.ebuild,v 1.1 2008/02/22 07:18:16 wrobel Exp $ |
241 |
|
242 |
inherit flag-o-matic eutils libtool |
243 |
|
244 |
MY_PN=imap |
245 |
MY_P="${MY_PN}-${PV}" |
246 |
S=${WORKDIR}/${MY_P} |
247 |
|
248 |
MAKEFILE_PATCH_VER="2006k" |
249 |
SO_PATCH_VER="2006k" |
250 |
KOLAB_PATCH_VER="2006k" |
251 |
|
252 |
DESCRIPTION="UW IMAP c-client library" |
253 |
HOMEPAGE="http://www.washington.edu/imap/" |
254 |
SRC_URI="ftp://ftp.cac.washington.edu/imap/old/${MY_P}.tar.Z" |
255 |
|
256 |
LICENSE="as-is" |
257 |
SLOT="0" |
258 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
259 |
IUSE="kernel_linux kernel_FreeBSD kolab pam ssl" |
260 |
|
261 |
RDEPEND="ssl? ( dev-libs/openssl ) |
262 |
!virtual/imap-c-client" |
263 |
DEPEND="${RDEPEND} |
264 |
kernel_linux? ( pam? ( >=sys-libs/pam-0.72 ) )" |
265 |
PROVIDE="virtual/imap-c-client" |
266 |
|
267 |
src_unpack() { |
268 |
unpack ${A} |
269 |
|
270 |
# Tarball packed with bad file perms |
271 |
chmod -R ug+w "${S}" |
272 |
|
273 |
# lots of things need -fPIC, including various platforms, and this library |
274 |
# generally should be built with it anyway. |
275 |
append-flags -fPIC |
276 |
|
277 |
cd "${S}" |
278 |
|
279 |
# Modifications so we can build it optimally and correctly |
280 |
sed \ |
281 |
-e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \ |
282 |
-e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \ |
283 |
-e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \ |
284 |
-i src/osdep/unix/Makefile || die "Makefile sed fixing failed" |
285 |
|
286 |
# Targets should use the Gentoo (ie linux) fs |
287 |
sed -e '/^bsf:/,/^$/ s:ACTIVEFILE=.*:ACTIVEFILE=/var/lib/news/active:g' \ |
288 |
-i src/osdep/unix/Makefile || die "Makefile sex fixing failed for FreeBSD" |
289 |
|
290 |
# Apply a patch to only build the stuff we need for c-client |
291 |
epatch "${FILESDIR}"/${PN}-${MAKEFILE_PATCH_VER}_GENTOO_Makefile.patch || die "epatch failed" |
292 |
|
293 |
# Apply patch to add the compilation of a .so for PHP |
294 |
# This was previously conditional, but is more widely useful. |
295 |
epatch "${FILESDIR}"/${PN}-${SO_PATCH_VER}_GENTOO_amd64-so-fix.patch |
296 |
|
297 |
# Add kolab support. |
298 |
# http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/imap/ |
299 |
if use kolab ; then |
300 |
epatch "${FILESDIR}"/${PN}-${KOLAB_PATCH_VER}_KOLAB_Annotations.patch || die "epatch failed" |
301 |
fi |
302 |
|
303 |
# Remove the pesky checks about SSL stuff |
304 |
sed -e '/read.*exit/d' -i Makefile |
305 |
elibtoolize |
306 |
} |
307 |
|
308 |
src_compile() { |
309 |
local ssltype target |
310 |
use ssl && ssltype="unix" || ssltype="none" |
311 |
if use kernel_linux ; then |
312 |
use pam && target=lnp || target=lnx |
313 |
elif use kernel_FreeBSD ; then |
314 |
target=bsf |
315 |
fi |
316 |
# no parallel builds supported! |
317 |
emake -j1 $target SSLTYPE=${ssltype} EXTRACFLAGS="${CFLAGS}" || die "make failed" |
318 |
} |
319 |
|
320 |
src_install() { |
321 |
into /usr |
322 |
|
323 |
# Library binary |
324 |
dolib.a c-client/c-client.a || die |
325 |
dosym c-client.a /usr/$(get_libdir)/libc-client.a |
326 |
|
327 |
# Now the shared library |
328 |
dolib.so c-client/libc-client.so.1.0.0 || die |
329 |
# these are created by ldconfig! |
330 |
#cd ${D}/usr/$(get_libdir) |
331 |
#ln -s libc-client.so.1.0.0 libc-client.so.1 |
332 |
#ln -s libc-client.so.1.0.0 libc-client.so |
333 |
|
334 |
# Headers |
335 |
insinto /usr/include/imap |
336 |
doins c-client/*.h |
337 |
doins c-client/linkage.c |
338 |
#exclude these dupes (can't do it before now due to symlink hell) |
339 |
rm "${D}"/usr/include/imap/os_*.h |
340 |
|
341 |
# Docs |
342 |
dodoc README docs/*.txt docs/CONFIG docs/RELNOTES |
343 |
|
344 |
docinto rfc |
345 |
dodoc docs/rfc/*.txt |
346 |
} |
347 |
|
348 |
|
349 |
|
350 |
-- |
351 |
gentoo-commits@l.g.o mailing list |