add heimdal files

This commit is contained in:
Mario Fetka
2013-04-19 08:04:33 +02:00
parent dff9ccf8a6
commit 1c4c3cc09f
44 changed files with 6840 additions and 0 deletions

402
net-libs/c-client/ChangeLog Normal file
View File

@@ -0,0 +1,402 @@
# ChangeLog for net-libs/c-client
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.107 2013/01/04 08:33:23 eras Exp $
04 Jan 2013; Eray Aslan <eras@gentoo.org> -c-client-2007e-r2.ebuild,
-c-client-2007f-r1.ebuild, -c-client-2007f-r2.ebuild,
-c-client-2007f-r3.ebuild, -files/2002d-Makefile.patch,
-files/c-client-2007e-ldflags.patch:
Remove old
30 Dec 2012; Raúl Porcel <armin76@gentoo.org> c-client-2007f-r4.ebuild:
s390/sh/sparc stable wrt #445063
30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> c-client-2007f-r4.ebuild:
Stable for alpha, wrt bug #445063
29 Dec 2012; Agostino Sarubbo <ago@gentoo.org> c-client-2007f-r4.ebuild:
Stable for sparc, wrt bug #445063
21 Dec 2012; Ulrich Müller <ulm@gentoo.org> c-client-2007e-r2.ebuild,
c-client-2007f-r1.ebuild, c-client-2007f-r2.ebuild, c-client-2007f-r3.ebuild,
c-client-2007f-r4.ebuild:
Fix LICENSE, see README file, bug 446380.
18 Dec 2012; Agostino Sarubbo <ago@gentoo.org> c-client-2007f-r4.ebuild:
Stable for ia64, wrt bug #445063
16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> c-client-2007f-r4.ebuild:
Stable for x86, wrt bug #445063
09 Dec 2012; Agostino Sarubbo <ago@gentoo.org> c-client-2007f-r4.ebuild:
Stable for ppc64, wrt bug #445063
02 Dec 2012; Markus Meier <maekke@gentoo.org> c-client-2007f-r4.ebuild:
arm stable, bug #445063
29 Nov 2012; Brent Baude <ranger@gentoo.org> c-client-2007f-r4.ebuild:
Marking c-client-2007f-r4 ppc for bug 445063
29 Nov 2012; <ago@gentoo.org> c-client-2007f-r4.ebuild:
Stable for amd64, wrt bug #445063
29 Nov 2012; Jeroen Roovers <jer@gentoo.org> c-client-2007f-r4.ebuild:
Stable for HPPA (bug #445063).
17 Oct 2012; <naota@gentoo.org> c-client-2007f-r4.ebuild:
Add ~x86-fbsd. #267299
*c-client-2007f-r4 (15 Oct 2012)
15 Oct 2012; Eray Aslan <eras@gentoo.org> +c-client-2007f-r4.ebuild,
+files/c-client-2007f-topal.patch, metadata.xml:
Add topal and chappa USE flags for use with mail-client/alpine - bug #391387.
Fix ssl linkage.
08 Oct 2012; Robin H. Johnson <robbat2@gentoo.org>
+files/c-client-2007f-ldflags.patch, c-client-2007f-r3.ebuild:
Ensure kerberos builds properly with as-needed
08 Oct 2012; Robin H. Johnson <robbat2@gentoo.org> c-client-2007f-r3.ebuild:
Whitespace.
*c-client-2007f-r3 (08 Oct 2012)
08 Oct 2012; Robin H. Johnson <robbat2@gentoo.org> +c-client-2007f-r3.ebuild:
Add in IPv6 and Kerberos support from uw-imap.
11 Jul 2012; Eray Aslan <eras@gentoo.org> -c-client-2007f.ebuild:
Remove old
*c-client-2007f-r2 (11 Jul 2012)
11 Jul 2012; Eray Aslan <eras@gentoo.org> +c-client-2007f-r2.ebuild:
Make build system multilib aware - bug #425766. Thanks to Anthony Basile
08 Jul 2012; Raúl Porcel <armin76@gentoo.org> c-client-2007f-r1.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #413601
08 Jun 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org>
c-client-2007f-r1.ebuild:
x86 stable wrt bug #413601
29 May 2012; Brent Baude <ranger@gentoo.org> c-client-2007f-r1.ebuild:
Marking c-client-2007f-r1 ppc for bug 413601
29 May 2012; Alexis Ballier <aballier@gentoo.org> c-client-2007f-r1.ebuild:
keyword ~amd64-fbsd
16 May 2012; Jeroen Roovers <jer@gentoo.org> c-client-2007f-r1.ebuild:
Stable for HPPA (bug #413601).
08 May 2012; Brent Baude <ranger@gentoo.org> c-client-2007f-r1.ebuild:
Marking c-client-2007f-r1 ppc64 for bug 413601
29 Apr 2012; Markus Meier <maekke@gentoo.org> c-client-2007f-r1.ebuild:
arm stable, bug #413601
26 Apr 2012; Agostino Sarubbo <ago@gentoo.org> c-client-2007f-r1.ebuild:
Stable for amd64, wrt bug #413601
*c-client-2007f-r1 (20 Feb 2012)
20 Feb 2012; Eray Aslan <eras@gentoo.org> +c-client-2007f-r1.ebuild:
EAPI bump. Add static-libs USE flag. Fix header install.
*c-client-2007f (20 Nov 2011)
20 Nov 2011; Eray Aslan <eras@gentoo.org> +c-client-2007f.ebuild:
version bump
25 Jul 2011; Eray Aslan <eras@gentoo.org> -c-client-2007e.ebuild,
-c-client-2007e-r1.ebuild:
remove old
17 Jul 2011; Mark Loeser <halcy0n@gentoo.org> c-client-2007e-r2.ebuild:
Stable for ppc64; bug #368585
22 Jun 2011; Brent Baude <ranger@gentoo.org> c-client-2007e-r2.ebuild:
Marking c-client-2007e-r2 ppc for bug 368585
12 Jun 2011; Raúl Porcel <armin76@gentoo.org> c-client-2007e-r2.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #368585
11 Jun 2011; Markus Meier <maekke@gentoo.org> c-client-2007e-r2.ebuild:
arm stable, bug #368585
07 Jun 2011; Eray Aslan <eras@gentoo.org> c-client-2007e-r2.ebuild:
Add back kolab patch - bug #370489
07 Jun 2011; Eray Aslan <eras@gentoo.org> files/c-client-2007e-ldflags.patch:
Fix as-needed properly - bug #370421
07 Jun 2011; Eray Aslan <eras@gentoo.org> files/c-client-2007e-ldflags.patch:
Fix as-needed flag - bug #370421
05 Jun 2011; Jeroen Roovers <jer@gentoo.org> c-client-2007e-r2.ebuild:
Stable for HPPA (bug #368585).
31 May 2011; Markus Meier <maekke@gentoo.org> c-client-2007e-r2.ebuild:
x86 stable, bug #368585
31 May 2011; Eray Aslan <eras@gentoo.org> c-client-2007e-r2.ebuild:
Improve symlink code - bug #369351. Thanks to Nicola Rauseo.
27 May 2011; Markos Chandras <hwoarang@gentoo.org> c-client-2007e-r2.ebuild:
Stable on amd64 wrt bug #368585
*c-client-2007e-r2 (11 May 2011)
11 May 2011; Eray Aslan <eras@gentoo.org> +c-client-2007e-r2.ebuild:
Symlink shared library - bug #255118. Drop kolab USE flag.
16 Mar 2011; Eray Aslan <eras@gentoo.org> c-client-2007e.ebuild,
c-client-2007e-r1.ebuild:
change to new style virtual/imap-c-client bug 358993
16 Aug 2010; Jeroen Roovers <jer@gentoo.org> c-client-2007e-r1.ebuild:
Combine sed scripts for single file, die on failure.
*c-client-2007e-r1 (16 Aug 2010)
16 Aug 2010; Jeroen Roovers <jer@gentoo.org>
-files/c-client-2004a-amd64-so-fix.patch, -c-client-2004g.ebuild,
-c-client-2004g-r1.ebuild, -files/c-client-2004g_KOLAB_Annotations.patch,
-c-client-2006k.ebuild, +c-client-2007e-r1.ebuild,
+files/c-client-2007e-ldflags.patch, metadata.xml:
Respect LDFLAGS, CC, AR, RANLIB by Olivier Huber (bug #331773). Get rid of
the useless patch version variables since they are used only once and
obscure casual grep epatch *.ebuild outcome. Install RFCs only when
USE=doc.
24 May 2010; Torsten Veller <tove@gentoo.org> metadata.xml:
Remove wrobel from metadata.xml (#111816)
30 Mar 2009; Raúl Porcel <armin76@gentoo.org> c-client-2007e.ebuild:
arm/s390/sh stable wrt #252567
07 Jan 2009; Raúl Porcel <armin76@gentoo.org> c-client-2007e.ebuild:
alpha/ia64 stable wrt #252567
03 Jan 2009; Markus Meier <maekke@gentoo.org> c-client-2007e.ebuild:
x86 stable, bug #252567
03 Jan 2009; Jeroen Roovers <jer@gentoo.org> c-client-2007e.ebuild:
Stable for HPPA (bug #252567).
30 Dec 2008; Friedrich Oslage <bluebird@gentoo.org> c-client-2007e.ebuild:
Stable on sparc, security bug #252567
29 Dec 2008; Tobias Heinlein <keytoaster@gentoo.org>
c-client-2007e.ebuild:
amd64 stable wrt security bug #252567
29 Dec 2008; Tobias Scherbaum <dertobi123@gentoo.org>
c-client-2007e.ebuild:
ppc stable, bug #252567
29 Dec 2008; Brent Baude <ranger@gentoo.org> c-client-2007e.ebuild:
Marking c-client-2007e ppc64 for bug 252567
*c-client-2007e (28 Dec 2008)
28 Dec 2008; Gunnar Wrobel <wrobel@gentoo.org> +c-client-2007e.ebuild:
Added net-libs/c-client-2007e in response to sec issue #252567.
02 May 2008; Tobias Scherbaum <dertobi123@gentoo.org>
c-client-2006k.ebuild:
ppc stable, bug #213473
21 Apr 2008; Jeroen Roovers <jer@gentoo.org> c-client-2006k.ebuild:
Stable for HPPA (bug #213473).
20 Apr 2008; Raúl Porcel <armin76@gentoo.org> c-client-2006k.ebuild:
ia64/sparc stable wrt #213473
19 Apr 2008; Markus Rothe <corsair@gentoo.org> c-client-2006k.ebuild:
Stable on ppc64; bug #213473
18 Apr 2008; Markus Meier <maekke@gentoo.org> c-client-2006k.ebuild:
amd64/x86 stable, bug #213473
18 Apr 2008; Tobias Klausmann <klausman@gentoo.org> c-client-2006k.ebuild:
Stable on alpha, bug #213473
02 Mar 2008; Robin H. Johnson <robbat2@gentoo.org> c-client-2004g.ebuild,
c-client-2004g-r1.ebuild, c-client-2006k.ebuild:
Group and world writable directories cause GrSec to deny exection on the
package for security. That is too much permission anyway, so clean up perms
better.
22 Feb 2008; Gunnar Wrobel <wrobel@gentoo.org> ChangeLog, Manifest:
Clean up changelog.
*c-client-2006k (22 Feb 2008)
*c-client-2004g-r1 (22 Feb 2008)
22 Feb 2008; Gunnar Wrobel <wrobel@gentoo.org>
+files/c-client-2004g_KOLAB_Annotations.patch,
+files/c-client-2006k_GENTOO_Makefile.patch,
+files/c-client-2006k_GENTOO_amd64-so-fix.patch,
+files/c-client-2006k_KOLAB_Annotations.patch, metadata.xml,
c-client-2004g.ebuild, +c-client-2004g-r1.ebuild, +c-client-2006k.ebuild:
Added c-client-2004g-r1 and c-client-2006k, both with support for the Kolab
groupware server.
21 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> c-client-2004g.ebuild:
Clean up all repoman warnings.
21 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> -c-client-2002d.ebuild,
-c-client-2002d-r1.ebuild, -c-client-2002e.ebuild,
-c-client-2002e-r1.ebuild, -c-client-2002e-r2.ebuild,
-c-client-2004a.ebuild, -c-client-2004a-r1.ebuild, -c-client-2004c.ebuild:
Clean up all old versions.
21 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> c-client-2004g.ebuild:
PAM is only needed by the Linux build.
07 Jul 2007; Jeroen Roovers <jer@gentoo.org> c-client-2004g.ebuild:
Stable for HPPA (bug #183898).
05 Jul 2007; Markus Rothe <corsair@gentoo.org> c-client-2004g.ebuild:
Stable on ppc64; bug #183898
04 Jul 2007; Christoph Mende <angelos@gentoo.org> c-client-2004g.ebuild:
Stable on amd64 wrt bug #183898
02 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> c-client-2004g.ebuild:
Stable on sparc wrt #183898
02 Jul 2007; Raúl Porcel <armin76@gentoo.org> c-client-2004g.ebuild:
alpha/ia64/x86 stable wrt #183898
02 Jul 2007; Lars Weiler <pylon@gentoo.org> c-client-2004g.ebuild:
Stable on ppc; bug #183898.
18 May 2007; Roy Marples <uberlord@gentoo.org> c-client-2004g.ebuild:
Keyworded ~x86-fbsd, #138170 thanks to Nicholas Steicke.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
*c-client-2004g (06 Oct 2005)
06 Oct 2005; Robin H. Johnson <robbat2@gentoo.org> +c-client-2004g.ebuild:
Bug #107562, version bump.
25 Apr 2005; Bryan Østergaard <kloeri@gentoo.org>
c-client-2004a-r1.ebuild:
Stable on alpha.
09 Apr 2005; Markus Rothe <corsair@gentoo.org> c-client-2004a-r1.ebuild:
Stable on ppc64
08 Apr 2005; Michael Hanselmann <hansmi@gentoo.org>
c-client-2004a-r1.ebuild:
Stable on ppc.
06 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org>
c-client-2004a-r1.ebuild:
Marked stable on amd64.
01 Apr 2005; Aron Griffis <agriffis@gentoo.org> c-client-2004a-r1.ebuild:
stable on ia64
31 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org>
c-client-2004a-r1.ebuild:
Stable on sparc
*c-client-2004c (30 Mar 2005)
30 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +c-client-2004c.ebuild:
Version bump.
30 Mar 2005; Robin H. Johnson <robbat2@gentoo.org>
c-client-2004a-r1.ebuild:
Move 2004a-r1 to stable x86.
10 Mar 2005; Marcus D. Hanwell <cryos@gentoo.org> c-client-2004a-r1.ebuild:
Tiny cleanup in symlink creation of the .so.
20 Feb 2005; Hardave Riar <hardave@gentoo.org> c-client-2004a.ebuild:
Stable on mips
*c-client-2004a-r1 (01 Feb 2005)
01 Feb 2005; Marcus D. Hanwell <cryos@gentoo.org>
+files/c-client-2004a-amd64-so-fix.patch, +c-client-2004a-r1.ebuild:
Patched Makefile to build a shared library for amd64, allowing PHP 5 with imap
to compile. Also fixed the symlinking of c-client.a for multilib archs.
03 Nov 2004; Bret Curtis <psi29a@gentoo.org> :
Addeing to ~mips for testing
*c-client-2004a (02 Oct 2004)
02 Oct 2004; <iggy@gentoo.org> +c-client-2004a.ebuild:
version bump, added pam use flag
18 Aug 2004; Tom Gall <tgall@gentoo.org> c-client-2002e-r2.ebuild:
stable on ppc64
16 Apr 2004; Michael McCabe <randy@gentoo.org> c-client-2002e-r2.ebuild:
adding s390 keywords
*c-client-2002e-r2 (05 Feb 2004)
05 Feb 2004; Robin H. Johnson <robbat2@gentoo.org> c-client-2002e-r2.ebuild:
fix bug #40146, move -fPIC to all arches as it's needed for lots of fixes.
01 Jan 2004; Jon Portnoy <avenj@gentoo.org> c-client-2002e-r1.ebuild :
AMD64 keywords.
10 Jan 2004; <agriffis@gentoo.org> c-client-2002e-r1.ebuild:
stable on ia64
22 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> c-client-2002d-r1.ebuild,
c-client-2002d.ebuild, c-client-2002e-r1.ebuild, c-client-2002e.ebuild:
fix bug #35437
*c-client-2002e-r1 (08 Dec 2003)
08 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> c-client-2002e-r1.ebuild:
fix bug #35378 and move new ebuild to stable right away to fix some other
glitches
25 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> metadata.xml:
add metadata.xml
*c-client-2002e (25 Oct 2003)
25 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> c-client-2002e.ebuild:
version bump
25 Oct 2003; Robin H. Johnson <robbat2@gentoo.org> c-client-2002d-r1.ebuild:
bump -r1 to stable
*c-client-2002d-r1 (11 Aug 2003)
11 Aug 2003; Robin H. Johnson <robbat2@gentoo.org> c-client-2002d-r1.ebuild:
add more -fPIC support
02 Aug 2003; Tavis Ormandy <taviso@gentoo.org> c-client-2002d.ebuild:
stable on alpha
12 Jul 2003; Jason Wever <weeve@gentoo.org> c-client-2002d.ebuild:
Changed ~sparc keyword to sparc to fix dependency borkage.
28 Jun 2003; Tavis Ormandy <taviso@gentoo.org> c-client-2002d.ebuild:
alpha needs -fPIC
*c-client-2002d (07 Jun 2003)
20 Jun 2003; Guy Martin <gmsoft@gentoo.org> c-client-2002d.ebuild :
Added hppa to KEYWORDS to fix dependencies problem with mod_php.
07 Jun 2003; Robin Johnson <robbat2@gentoo.org> Manifest,
files/digest-c-client-2002d, files/2002d-Makefile.patch, ChangeLog,
c-client-2002d.ebuild:
Initial import. Ebuild based on submission in bug #20372 by Celestial Wizard
<gentoo@dev.celestialwizard.org>

View File

@@ -0,0 +1,11 @@
AUX c-client-2006k_GENTOO_Makefile.patch 2441 SHA256 6f7bf2d23f346f0f8eed4c4ae61e5b5c95d1a12e15e7fb4192a5a723754255f8 SHA512 35b9dd0737986e466dfbfc5388827b09934b32a9a7922bba3d7b4a4bd40dcaf2985a7f2d5bd3e884ad8d33c61eaabdc7f797d6af450b3f85cd0dacec764233e0 WHIRLPOOL 56c5ca98b651de9711f261f5cb1346a517c14bedca4c44d9bc0da4201b75264a8dd1568952f693c93a0fb80d905b52f4d121fefaac1d51b08d9096514fbaaaa4
AUX c-client-2006k_GENTOO_amd64-so-fix.patch 665 SHA256 77de7621946c69638295ac11275124d0c405a4c6ba284a068f9a96c4994f3184 SHA512 213f06e133704ed2bb9fc6900edb7a4505bf6965409ecf76502bf9cafdf7c981bca552479f8ffaa1a355d2f1c1c08dbe0453fa5bce06590f6627d0e622c70879 WHIRLPOOL e111b86dbc52ec97851d229366cec17b7999c3924bd33da52f2290d0ab0afabdfe75db8eb4e0e359c96ad1d7265c28eee92d1a1337ba25ddaa3cb003ef106d1e
AUX c-client-2006k_KOLAB_Annotations.patch 14551 SHA256 cd8833d4eabd8fbad6a1588e3ee5375fced007964f1c6bcd016b34bee5d8eaf2 SHA512 871093236b3ae300968e1e200a2389566af72ed1f62ad57c1dc617dd59e8378f29175fe07e5cfc575e022f3c27769b06850cbf21567f7cc359ca204c4d87a3af WHIRLPOOL ec2e5e84bb2bc4bb17bd63d93a1d4f25be165e00e783d01e88ce695d0987dcc023dacbddedc030d02a0de3d2e7677760f80a60a85a223b687b78150870df942d
AUX c-client-2007e-heimdal.patch 1083 SHA256 4cf433c9d157dbbf52408dddf1d87ec5733a70dff157ac04b0b895a9e8e604bc SHA512 1db3635f35ebfc9486c227dde590e70ab6a812a9cba8e9c7880a1b245b656f87d3a3b8b5bd7664ca37fff9118134a143b14fba135fe204f7776aa5e62848527a WHIRLPOOL 065af01f79c71a0b6ba73be529ec201442c92e1d80701296ef00775f25d52a0d26ab3858ef97c890fb479c81f19d5b44c105be1fc8137a703af34a82df9ffa3e
AUX c-client-2007f-ldflags.patch 1648 SHA256 41f42d69bcd550d8aa62a756bc90d579612a6230be1794dcf9580e49287a485b SHA512 b635479ade20a0225b5847664579b97961de6981bc747357f9282f89dacd1860030904a43625f5e939f5afb3df38738fd6744fc659261a97e7f8eed9e6cde00c WHIRLPOOL 91367d9fe5c661d6c98e75376d7101ee31ec13155cba62da10b0b787e969fab87d650c661809a40da67f21757d4988f99a129dc159aec7e00036b01b48d376b1
AUX c-client-2007f-topal.patch 1070 SHA256 2927b586a5faef4b6b77451c7a72c351d3304b15493e337b4a47d625d0d45884 SHA512 a32b4e381c0b66fe5621d625b4fa3ba51dba8d8d4504cf137762e917cc637badc094ffa3d5238530c020cb24a228010d9714768c915691564c037638c5cc345f WHIRLPOOL 411780a2b4560f68421b92ee147332be1a2ead13580169c0235ad48e308cc816c9adf9b82e5e074cba1452be6f4d85d59cafdcd06754889bfb8edbea96352240
DIST c-client-2007f-chappa-115-all.patch.gz 30571 SHA256 ce7512e1b0d904d6429bb999bc0b159becc253088bbd89ef2185e6c948723cff SHA512 f44489ec38aa6a3dc682872a6857154254c23352db81ee380dfdfad39743234d97a8bcc07a74459f7532efe2fc073cf7d9c078433e11a95de19beeb387ff8b65 WHIRLPOOL 9fef9066c43df4c15f4f75bbad3634481e4cfce69c054682fe40193c30db6f9ceaed40138d00133c1bf1623dd45d251031562b2f16f1699ebcf0fbc8ce6c4653
DIST imap-2007f.tar.Z 2793529 SHA256 870e95f6bd19265832a88fd89b77c54c841c59022fd21e69254050c8b1005e3c SHA512 2c728deaf66d23158c61ae55ff94f05d2a1cf0168002760321ca30c6ee1c58c0a4c7bc14ece0097ea662df6c7c49be3b91c8e5e943724c9e2736800fa9298dae WHIRLPOOL 655536d61a178940363241ad8c94a28be75e90abf3b8c585eb61364a6394ff49bb5fd5dc6de4bec5f992f03b592e583df04f0103e8f3c167aa68a476c574c4ec
EBUILD c-client-2007f-r4.ebuild 4226 SHA256 3dd0a7110edfa7f3df8d87a3c6d7ebf3d7a1101df6c2fe597ca2fe98e49e752a SHA512 2ff90094700b9b8042b5a71e9c2dbe17339e78cadb39617c8eccf2818db5e729a2d1a4d8726ebb63081717b951568f0f29125d1d7b7e847b19823a6bba76983d WHIRLPOOL 0a6120888229c80614ccaa0f0d8a6b485aac6f727aedef52c3d47d7b446c9eb78f7456ac5a6104c680bd0b34437d712f8cb90a7a8fe89c15ec55364e7f87875e
MISC ChangeLog 14233 SHA256 d0a8cf94b35e132099fc75b3bfc9b31b75f6ae6ccae3c9aede297ba0c64ceb03 SHA512 6d2421703cf5cd8dec434f27eb133038e5f0eef85c0a80ccdb74d749a07ed67325d7526e825afa295e2bde473519eec175851acc38fe55c8c61cb83766e53c81 WHIRLPOOL b478a38cde07cb494b31fa3efa57e960bdb704f4be524ca2aa4222c36f83af42ff97c3b3e863f2f4e7a7228b3009e0711eb9878f62b709afe6906ba2b7c4d6ff
MISC metadata.xml 493 SHA256 2edbcc472b96ecaf42e59644792ab029f8285e1be6aaf8d5136cd7a021210e61 SHA512 9a0b21eaa73777d2c6576c4ee274d9792886d9564a2043dd519cf6f5b0ae1436beea319cce4589dc3fbb7ee7753c7dec11feb5cee4145836f99a18ca075daa00 WHIRLPOOL 279f5059ed842c5e4c0f12f1d3e6390eb63f717fb5200bae6076b886da5f7642178394a34b137123ec13f2a998aa5a5b50094e1e7bb437dbeb377a117fb4ddab

View File

@@ -0,0 +1,136 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2007f-r4.ebuild,v 1.12 2012/12/30 16:37:05 armin76 Exp $
EAPI=4
inherit flag-o-matic eutils libtool toolchain-funcs multilib
MY_PN=imap
MY_P="${MY_PN}-${PV}"
S=${WORKDIR}/${MY_P}
CHAPPA_PL=115
DESCRIPTION="UW IMAP c-client library"
HOMEPAGE="http://www.washington.edu/imap/"
SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z
chappa? ( mirror://gentoo/${P}-chappa-${CHAPPA_PL}-all.patch.gz )"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE="doc +ipv6 kerberos kernel_linux kernel_FreeBSD pam ssl static-libs topal chappa"
RDEPEND="ssl? ( dev-libs/openssl )
!net-mail/uw-imap
kerberos? ( virtual/krb5 )"
DEPEND="${RDEPEND}
kernel_linux? ( pam? ( >=sys-libs/pam-0.72 ) )"
src_prepare() {
# Tarball packed with bad file perms
chmod -R u+rwX,go-w .
# lots of things need -fPIC, including various platforms, and this library
# generally should be built with it anyway.
append-flags -fPIC
# Modifications so we can build it optimally and correctly
sed \
-e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \
-e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \
-e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \
-i src/osdep/unix/Makefile || die "Makefile sed fixing failed"
# Make the build system more multilib aware
sed \
-e "s:^SSLLIB=\$(SSLDIR)/lib:SSLLIB=\$(SSLDIR)/$(get_libdir):" \
-e "s:^AFSLIB=\$(AFSDIR)/lib:AFSLIB=\$(AFSDIR)/$(get_libdir):" \
-i src/osdep/unix/Makefile || die "Makefile sed fixing failed"
# Targets should use the Gentoo (ie linux) fs
sed -e '/^bsf:/,/^$/ s:ACTIVEFILE=.*:ACTIVEFILE=/var/lib/news/active:g' \
-i src/osdep/unix/Makefile || die "Makefile sex fixing failed for FreeBSD"
# Apply a patch to only build the stuff we need for c-client
epatch "${FILESDIR}"/${PN}-2006k_GENTOO_Makefile.patch
# Apply patch to add the compilation of a .so for PHP
# This was previously conditional, but is more widely useful.
epatch "${FILESDIR}"/${PN}-2006k_GENTOO_amd64-so-fix.patch
# heimdal
if has_version app-crypt/heimdal ; then
epatch "${FILESDIR}"/${PN}-2007e-heimdal.patch
fi
# Remove the pesky checks about SSL stuff
sed -e '/read.*exit/d' -i Makefile || die
# Respect LDFLAGS
epatch "${FILESDIR}"/${PN}-2007f-ldflags.patch
sed -e "s/CC=cc/CC=$(tc-getCC)/" \
-e "s/ARRC=ar/ARRC=$(tc-getAR)/" \
-e "s/RANLIB=ranlib/RANLIB=$(tc-getRANLIB)/" \
-i src/osdep/unix/Makefile || die "Respecting build flags"
use topal && epatch "${FILESDIR}/${P}-topal.patch"
use chappa && epatch "${DISTDIR}/${P}-chappa-${CHAPPA_PL}-all.patch.gz"
elibtoolize
}
src_compile() {
local mymake ipver ssltype target passwdtype
ipver='IP=4'
use ipv6 && ipver="IP=6" && touch ip6
use ssl && ssltype="unix" || ssltype="none"
if use kernel_linux ; then
use pam && target=lnp passwdtype=pam || target=lnx passwdtype=std
elif use kernel_FreeBSD ; then
target=bsf passwdtype=pam
fi
use kerberos \
&& mymake="EXTRAAUTHENTICATORS=gss" \
&& EXTRALIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" \
# no parallel builds supported!
emake -j1 SSLTYPE=${ssltype} $target \
PASSWDTYPE=${passwdtype} ${ipver} ${mymake} \
EXTRACFLAGS="${CFLAGS}" \
EXTRALDFLAGS="${LDFLAGS}" \
EXTRALIBS="${EXTRALIBS}" \
GSSDIR=/usr
}
src_install() {
if use static-libs; then
# Library binary
dolib.a c-client/c-client.a
dosym c-client.a /usr/$(get_libdir)/libc-client.a
fi
# Now the shared library
dolib.so c-client/libc-client.so.1.0.0
dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so
dosym libc-client.so.1.0.0 /usr/$(get_libdir)/libc-client.so.1
# Headers
insinto /usr/include/imap
doins src/osdep/unix/*.h
doins src/c-client/*.h
doins c-client/linkage.h
doins c-client/linkage.c
doins c-client/osdep.h
if use ssl; then
echo " ssl_onceonlyinit ();" >> "${D}"/usr/include/imap/linkage.c || die
fi
# Docs
dodoc README docs/*.txt docs/BUILD docs/CONFIG docs/RELNOTES docs/SSLBUILD
if use doc; then
docinto rfc
dodoc docs/rfc/*.txt
docinto draft
dodoc docs/draft/*
fi
}

View File

@@ -0,0 +1,70 @@
Fix the Makefile for building on Gentoo.
diff -r b15554ece4d6 Makefile
--- a/Makefile Thu Feb 21 17:49:39 2008 +0100
+++ b/Makefile Thu Feb 21 18:51:31 2008 +0100
@@ -295,7 +295,7 @@ BUILD=$(MAKE) build EXTRACFLAGS='$(EXTRA
# Make the IMAP Toolkit
-all: c-client SPECIALS rebuild bundled
+all: c-client SPECIALS rebuild
c-client:
@echo Not processed yet. In a first-time build, you must specify
@@ -665,16 +665,9 @@ an ua:
$(TOOLS)/$@ "$(LN)" src/ansilib c-client
$(TOOLS)/$@ "$(LN)" src/charset c-client
$(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client
- $(TOOLS)/$@ "$(LN)" src/mtest mtest
- $(TOOLS)/$@ "$(LN)" src/ipopd ipopd
- $(TOOLS)/$@ "$(LN)" src/imapd imapd
- $(TOOLS)/$@ "$(LN)" src/mailutil mailutil
- $(TOOLS)/$@ "$(LN)" src/mlock mlock
- $(TOOLS)/$@ "$(LN)" src/dmail dmail
- $(TOOLS)/$@ "$(LN)" src/tmail tmail
$(LN) $(TOOLS)/$@ .
-build: OSTYPE rebuild rebuildclean bundled
+build: OSTYPE rebuild rebuildclean
OSTYPE:
@$(MAKE) ip$(IP)
@@ -690,8 +683,6 @@ OSTYPE:
echo $(BUILDTYPE) > OSTYPE
$(TOUCH) rebuild
-rebuild:
- @$(SH) -c '(test $(BUILDTYPE) = rebuild -o $(BUILDTYPE) = `$(CAT) OSTYPE`) || (echo Already built for `$(CAT) OSTYPE` -- you must do \"make clean\" first && exit 1)'
@echo Rebuilding c-client for `$(CAT) OSTYPE`...
@$(TOUCH) SPECIALS
$(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
@@ -700,28 +691,6 @@ rebuildclean:
rebuildclean:
$(SH) -c '$(RM) rebuild || true'
-bundled:
- @echo Building bundled tools...
- $(CD) mtest;$(MAKE)
- $(CD) ipopd;$(MAKE)
- $(CD) imapd;$(MAKE)
- $(CD) mailutil;$(MAKE)
- @$(SH) -c '(test -f /usr/include/sysexits.h ) || make sysexitwarn'
- $(CD) mlock;$(MAKE) || true
- $(CD) dmail;$(MAKE) || true
- $(CD) tmail;$(MAKE) || true
-
-
-sysexitwarn:
- @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- @echo + Hmm...it does not look like /usr/include/sysexits.h exists.
- @echo + Either your system is too ancient to have the sysexits.h
- @echo + include, or your C compiler gets it from some other location
- @echo + than /usr/include. If your system is too old to have the
- @echo + sysexits.h include, you will not be able to build the
- @echo + following programs.
- @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
clean:
@echo Removing old processed sources and binaries...
$(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'

View File

@@ -0,0 +1,13 @@
diff -r 7c3e6c6ef2ba src/osdep/unix/Makefile
--- a/src/osdep/unix/Makefile Thu Feb 21 18:51:32 2008 +0100
+++ b/src/osdep/unix/Makefile Thu Feb 21 18:53:15 2008 +0100
@@ -962,6 +962,9 @@ onceenv:
-DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" > OSCFLAGS
echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
+ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
+ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
+ >> ARCHIVE
echo $(OS) > OSTYPE
./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy
./mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)

View File

@@ -0,0 +1,448 @@
Provides get/set ANNOTATIONS support to the c-client library. [Version: 2006k]
diff -r 217555555c77 src/c-client/imap4r1.c
--- a/src/c-client/imap4r1.c Thu Feb 21 17:37:37 2008 +0100
+++ b/src/c-client/imap4r1.c Thu Feb 21 17:38:15 2008 +0100
@@ -135,7 +135,8 @@ typedef struct imap_argument {
#define MULTIAPPEND 13
#define SNLIST 14
#define MULTIAPPENDREDO 15
-
+#define QLIST 16
+#define QSTRING 17
/* Append data */
@@ -205,12 +206,15 @@ void imap_gc_body (BODY *body);
void imap_gc_body (BODY *body);
void imap_capability (MAILSTREAM *stream);
long imap_acl_work (MAILSTREAM *stream,char *command,IMAPARG *args[]);
+long imap_annotation_work (MAILSTREAM *stream,char *command,IMAPARG *args[]);
IMAPPARSEDREPLY *imap_send (MAILSTREAM *stream,char *cmd,IMAPARG *args[]);
IMAPPARSEDREPLY *imap_sout (MAILSTREAM *stream,char *tag,char *base,char **s);
long imap_soutr (MAILSTREAM *stream,char *string);
IMAPPARSEDREPLY *imap_send_astring (MAILSTREAM *stream,char *tag,char **s,
SIZEDTEXT *as,long wildok,char *limit);
+IMAPPARSEDREPLY *imap_send_qstring (MAILSTREAM *stream,char *tag,char **s,
+ SIZEDTEXT *as,char *limit);
IMAPPARSEDREPLY *imap_send_literal (MAILSTREAM *stream,char *tag,char **s,
STRING *st);
IMAPPARSEDREPLY *imap_send_spgm (MAILSTREAM *stream,char *tag,char *base,
@@ -2753,6 +2757,84 @@ long imap_getacl (MAILSTREAM *stream,cha
args[0] = &ambx; args[1] = NIL;
return imap_acl_work (stream,"GETACL",args);
}
+
+/* IMAP set annotation
+ * Accepts: mail stream
+ * annotation struct
+ * Returns: T on success, NIL on failure
+ */
+
+long imap_setannotation (MAILSTREAM *stream,ANNOTATION *annotation)
+{
+ IMAPARG *args[4],ambx,apth,aval;
+ long ret;
+
+ ambx.type = ASTRING;
+ ambx.text = (void *) annotation->mbox;
+ args[0] = &ambx;
+
+ apth.type = QSTRING;
+ apth.text = (void *) annotation->entry;
+ args[1] = &apth;
+
+ STRINGLIST *st,*l;
+ ANNOTATION_VALUES *v;
+
+ l = st = mail_newstringlist();
+ v = annotation->values;
+ while(v){
+ l->text.size = strlen((char *) (l->text.data = (unsigned char*)cpystr(v->attr)));
+ l->next = mail_newstringlist();
+ l = l->next;
+ l->text.size = strlen((char *) (l->text.data = (unsigned char*)cpystr(v->value)));
+ if(v->next){
+ l->next = mail_newstringlist();
+ l = l->next;
+ }
+ v = v->next;
+ }
+
+ aval.type = QLIST;
+ aval.text = (void *)st;
+ args[2] = &aval;
+ args[3] = NIL;
+
+ ret = imap_annotation_work(stream, "SETANNOTATION",args);
+ mail_free_stringlist(&st);
+ return ret;
+}
+
+
+
+/* IMAP get annotation
+ * Accepts: mail stream
+ * mailbox name
+ * annotation entry list
+ * annotation attribute list
+ * Returns: T on success with data returned via callback, NIL on failure
+ */
+
+long imap_getannotation (MAILSTREAM *stream,char *mailbox,STRINGLIST *entries, STRINGLIST *attributes)
+{
+ IMAPARG *args[4],ambx,apth,aattr;
+ long ret;
+ ambx.type = ASTRING;
+ ambx.text = (void*) mailbox;
+ args[0] = &ambx;
+
+
+ apth.type = QLIST;
+ apth.text = (void*) entries;
+ args[1] = &apth;
+
+ aattr.type = QLIST;
+ aattr.text = (void*) attributes;
+ args[2] = &aattr;
+
+ args[3] = NIL;
+ ret = imap_annotation_work(stream, "GETANNOTATION",args);
+ return ret;
+}
/* IMAP list rights
* Accepts: mail stream
@@ -2805,6 +2887,16 @@ long imap_acl_work (MAILSTREAM *stream,c
else mm_log ("ACL not available on this IMAP server",ERROR);
return ret;
}
+ long imap_annotation_work(MAILSTREAM *stream, char *command,IMAPARG *args[])
+{
+ long ret = NIL;
+ IMAPPARSEDREPLY *reply;
+ if (imap_OK (stream,reply = imap_send (stream,command,args)))
+ ret = LONGT;
+ else mm_log (reply->text,ERROR);
+ return ret;
+}
+
/* IMAP set quota
* Accepts: mail stream
@@ -2937,6 +3029,11 @@ IMAPPARSEDREPLY *imap_send (MAILSTREAM *
if (reply = imap_send_astring (stream,tag,&s,&st,NIL,CMDBASE+MAXCOMMAND))
return reply;
break;
+ case QSTRING: /* atom or string, must be literal? */
+ st.size = strlen ((char *) (st.data = (unsigned char *) arg->text));
+ if (reply = imap_send_qstring (stream,tag,&s,&st,CMDBASE+MAXCOMMAND))
+ return reply;
+ break;
case LITERAL: /* literal, as a stringstruct */
if (reply = imap_send_literal (stream,tag,&s,arg->text)) return reply;
break;
@@ -2947,6 +3044,18 @@ IMAPPARSEDREPLY *imap_send (MAILSTREAM *
do { /* for each list item */
*s++ = c; /* write prefix character */
if (reply = imap_send_astring (stream,tag,&s,&list->text,NIL,
+ CMDBASE+MAXCOMMAND)) return reply;
+ c = ' '; /* prefix character for subsequent strings */
+ }
+ while (list = list->next);
+ *s++ = ')'; /* close list */
+ break;
+ case QLIST: /* list of strings */
+ list = (STRINGLIST *) arg->text;
+ c = '('; /* open paren */
+ do { /* for each list item */
+ *s++ = c; /* write prefix character */
+ if (reply = imap_send_qstring (stream,tag,&s,&list->text,
CMDBASE+MAXCOMMAND)) return reply;
c = ' '; /* prefix character for subsequent strings */
}
@@ -3119,6 +3228,32 @@ IMAPPARSEDREPLY *imap_send (MAILSTREAM *
reply = imap_sout (stream,tag,CMDBASE,&s);
mail_unlock (stream); /* unlock stream */
return reply;
+}
+
+/* IMAP send quoted-string
+ * Accepts: MAIL stream
+ * reply tag
+ * pointer to current position pointer of output bigbuf
+ * atom-string to output
+ * maximum to write as atom or qstring
+ * Returns: error reply or NIL if success
+ */
+
+IMAPPARSEDREPLY *imap_send_qstring (MAILSTREAM *stream,char *tag,char **s,
+ SIZEDTEXT *as,char *limit)
+{
+ unsigned long j;
+ char c;
+ STRING st;
+ /* in case needed */
+ INIT (&st,mail_string,(void *) as->data,as->size);
+ /* always write literal if no space */
+ if ((*s + as->size) > limit) return imap_send_literal (stream,tag,s,&st);
+
+ *(*s)++ = '"'; /* write open quote */
+ for (j = 0; j < as->size; j++) *(*s)++ = as->data[j];
+ *(*s)++ = '"'; /* write close quote */
+ return NIL;
}
/* IMAP send atom-string
@@ -4049,6 +4184,50 @@ void imap_parse_unsolicited (MAILSTREAM
}
}
+ else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
+ char * mbox;
+ /* response looks like ANNOTATION "mailbox" "entry" ("attr" "value" ["attr" "value"]) ["entry" ("attr "value" ["attr" "value"] )]*/
+ getannotation_t an = (getannotation_t) mail_parameters (NIL,GET_ANNOTATION,NIL);
+
+ mbox = imap_parse_astring (stream, &s, reply,NIL);
+
+ while(*s){
+ ANNOTATION * al = mail_newannotation();
+ al->mbox = cpystr(mbox);
+ t = imap_parse_astring (stream, &s, reply,NIL);
+ al->entry = t;
+ STRINGLIST *strlist;
+ if (s){while (*s == ' ')s++;}
+
+ strlist = imap_parse_stringlist(stream, &s,reply);
+
+ ANNOTATION_VALUES *vlIter, *vlBegin;
+ vlIter = vlBegin = NIL;
+ if (strlist) {
+ while(strlist){
+ if(vlIter){
+ vlIter->next = mail_newannotationvalue();
+ vlIter = vlIter->next;
+ }else{
+ vlIter = mail_newannotationvalue();
+ vlBegin = vlIter;
+ }
+ if ( strlist->text.size )
+ vlIter->attr = cpystr (strlist->text.data);
+ strlist = strlist->next;
+ if(!strlist) continue;
+ if ( strlist->text.size )
+ vlIter->value = cpystr (strlist->text.data);
+ strlist = strlist->next;
+ }
+ }
+ al->values = vlBegin;
+ if (an)
+ (*an) (stream,al);
+ mail_free_annotation(&al);
+ }
+ fs_give ((void **)&mbox);
+ }
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
(t = imap_parse_astring (stream,&s,reply,NIL))) {
getacl_t ar = (getacl_t) mail_parameters (NIL,GET_ACL,NIL);
diff -r 217555555c77 src/c-client/imap4r1.h
--- a/src/c-client/imap4r1.h Thu Feb 21 17:37:37 2008 +0100
+++ b/src/c-client/imap4r1.h Thu Feb 21 17:38:15 2008 +0100
@@ -279,3 +279,5 @@ long imap_setquota (MAILSTREAM *stream,c
long imap_setquota (MAILSTREAM *stream,char *qroot,STRINGLIST *limits);
long imap_getquota (MAILSTREAM *stream,char *qroot);
long imap_getquotaroot (MAILSTREAM *stream,char *mailbox);
+long imap_getannotation (MAILSTREAM *stream,char *mailbox,STRINGLIST *entries,STRINGLIST *attributes);
+long imap_setannotation (MAILSTREAM *stream,ANNOTATION *annotation);
diff -r 217555555c77 src/c-client/mail.c
--- a/src/c-client/mail.c Thu Feb 21 17:37:37 2008 +0100
+++ b/src/c-client/mail.c Thu Feb 21 17:38:15 2008 +0100
@@ -69,6 +69,7 @@ static newsrcquery_t mailnewsrcquery = N
static newsrcquery_t mailnewsrcquery = NIL;
/* ACL results callback */
static getacl_t mailaclresults = NIL;
+static getannotation_t mailannotationresults = NIL;
/* list rights results callback */
static listrights_t maillistrightsresults = NIL;
/* my rights results callback */
@@ -598,6 +599,11 @@ void *mail_parameters (MAILSTREAM *strea
ret = (void *) (debugsensitive ? VOIDT : NIL);
break;
+ case SET_ANNOTATION:
+ mailannotationresults = (getannotation_t) value;
+ case GET_ANNOTATION:
+ ret = (void *) mailannotationresults;
+ break;
case SET_ACL:
mailaclresults = (getacl_t) value;
case GET_ACL:
@@ -5701,7 +5707,15 @@ ACLLIST *mail_newacllist (void)
return (ACLLIST *) memset (fs_get (sizeof (ACLLIST)),0,sizeof (ACLLIST));
}
-
+ANNOTATION *mail_newannotation (void)
+{
+ return (ANNOTATION *) memset (fs_get (sizeof (ANNOTATION)),0,sizeof(ANNOTATION));
+}
+
+ANNOTATION_VALUES *mail_newannotationvalue (void)
+{
+ return (ANNOTATION_VALUES *) memset (fs_get (sizeof (ANNOTATION_VALUES)),0,sizeof(ANNOTATION_VALUES));
+}
/* Mail instantiate new quotalist
* Returns: new quotalist
*/
@@ -6024,6 +6038,25 @@ void mail_free_acllist (ACLLIST **al)
}
}
+static void mail_free_annotation_values(ANNOTATION_VALUES **val)
+{
+ if (*val) {
+ if ((*val)->attr) fs_give ((void**) &(*val)->attr);
+ if ((*val)->value) fs_give ((void**) &(*val)->value);
+ mail_free_annotation_values (&(*val)->next);
+ fs_give ((void **) val);
+ }
+}
+void mail_free_annotation(ANNOTATION **al)
+{
+ if (*al) {
+ if((*al)->mbox) fs_give ((void**) &(*al)->mbox);
+ if((*al)->entry) fs_give ((void**) &(*al)->entry);
+ if((*al)->values)
+ mail_free_annotation_values(&(*al)->values);
+ fs_give ((void **) al);
+ }
+}
/* Mail garbage collect quotalist
* Accepts: pointer to quotalist pointer
diff -r 217555555c77 src/c-client/mail.h
--- a/src/c-client/mail.h Thu Feb 21 17:37:37 2008 +0100
+++ b/src/c-client/mail.h Thu Feb 21 17:38:15 2008 +0100
@@ -351,6 +351,8 @@
#define SET_SCANCONTENTS (long) 573
#define GET_MHALLOWINBOX (long) 574
#define SET_MHALLOWINBOX (long) 575
+#define GET_ANNOTATION (long) 576
+#define SET_ANNOTATION (long) 577
/* Driver flags */
@@ -1043,6 +1045,24 @@ ACLLIST {
char *identifier; /* authentication identifier */
char *rights; /* access rights */
ACLLIST *next;
+};
+
+/* ANNOTATION Response */
+
+#define ANNOTATION_VALUES struct annotation_value_list
+
+ANNOTATION_VALUES {
+ char *attr;
+ char *value;
+ ANNOTATION_VALUES *next;
+};
+
+#define ANNOTATION struct annotation
+
+ANNOTATION {
+ char *mbox;
+ char *entry;
+ ANNOTATION_VALUES * values;
};
/* Quota resource list */
@@ -1353,6 +1373,7 @@ typedef void (*logouthook_t) (void *data
typedef void (*logouthook_t) (void *data);
typedef char *(*sslclientcert_t) (void);
typedef char *(*sslclientkey_t) (void);
+typedef void (*getannotation_t) (MAILSTREAM *stream,ANNOTATION* annot);
/* Globals */
@@ -1771,7 +1792,10 @@ SORTPGM *mail_newsortpgm (void);
SORTPGM *mail_newsortpgm (void);
THREADNODE *mail_newthreadnode (SORTCACHE *sc);
ACLLIST *mail_newacllist (void);
+ANNOTATION* mail_newannotation(void);
+ANNOTATION_VALUES* mail_newannotationvalue(void);
QUOTALIST *mail_newquotalist (void);
+void mail_free_annotation(ANNOTATION **a);
void mail_free_body (BODY **body);
void mail_free_body_data (BODY *body);
void mail_free_body_parameter (PARAMETER **parameter);
diff -r 217555555c77 src/mtest/mtest.c
--- a/src/mtest/mtest.c Thu Feb 21 17:37:37 2008 +0100
+++ b/src/mtest/mtest.c Thu Feb 21 17:38:15 2008 +0100
@@ -145,6 +145,8 @@ int main ()
#endif
return NIL;
}
+
+void mm_annotation (MAILSTREAM *stream, ANNOTATION *a);
/* MM command loop
* Accepts: MAIL stream
@@ -195,6 +197,28 @@ void mm (MAILSTREAM *stream,long debug)
mail_setflag (stream,arg,"\\DELETED");
else puts ("?Bad message number");
break;
+ case 'A':
+ {
+ char parms[MAILTMPLEN];
+ prompt("Annotation: ",parms);
+ if (parms) {
+ mail_parameters(stream,SET_ANNOTATION,mm_annotation);
+ STRINGLIST *entries = mail_newstringlist();
+ STRINGLIST *cur = entries;
+ cur->text.size = strlen((char *) (cur->text.data = (unsigned char*)cpystr (parms)));
+ cur->next = NIL;
+
+ STRINGLIST *attributes = mail_newstringlist();
+ cur = attributes;
+ cur->text.size = strlen((char *) (cur->text.data = (unsigned char*)cpystr ("*")));
+ cur->next = NIL;
+
+ imap_getannotation(stream,"INBOX",entries,attributes);
+ mail_free_stringlist(&entries);
+ mail_free_stringlist(&attributes);
+ }
+ }
+ break;
case 'E': /* Expunge command */
mail_expunge (stream);
last = 0;
@@ -347,7 +371,7 @@ void mm (MAILSTREAM *stream,long debug)
case '?': /* ? command */
puts ("Body, Check, Delete, Expunge, Find, GC, Headers, Literal,");
puts (" MailboxStatus, New Mailbox, Overview, Ping, Quit, Send, Type,");
- puts ("Undelete, Xit, +, -, or <RETURN> for next message");
+ puts ("Undelete, Xit,Annotation, +, -, or <RETURN> for next message");
break;
default: /* bogus command */
printf ("?Unrecognized command: %s\n",cmd);
@@ -600,6 +624,18 @@ void prompt (char *msg,char *txt)
/* Interfaces to C-client */
+void mm_annotation (MAILSTREAM *stream, ANNOTATION *a)
+{
+ if(a){
+ fprintf(stderr,"mailbox: %s\nentry: %s\n",a->mbox,a->entry);
+ ANNOTATION_VALUES * v = a->values;
+ while(v){
+ fprintf(stderr,"attr: %s, value: %s\n",v->attr,v->value);
+ v = v->next;
+ }
+ }
+}
+
void mm_searched (MAILSTREAM *stream,unsigned long number)
{

View File

@@ -0,0 +1,26 @@
diff -uNr imap-2007e.orig/src/osdep/unix/kerb_mit.c imap-2007e/src/osdep/unix/kerb_mit.c
--- imap-2007e.orig/src/osdep/unix/kerb_mit.c 2013-04-19 07:57:41.779870534 +0200
+++ imap-2007e/src/osdep/unix/kerb_mit.c 2013-04-19 07:59:14.202715090 +0200
@@ -27,8 +27,8 @@
*/
#define PROTOTYPE(x) x
-#include <gssapi/gssapi_generic.h>
-#include <gssapi/gssapi_krb5.h>
+#include <gssapi/gssapi.h>
+#include <krb5.h>
long kerberos_server_valid (void);
diff -uNr imap-2007e.orig/src/osdep/unix/Makefile.gss imap-2007e/src/osdep/unix/Makefile.gss
--- imap-2007e.orig/src/osdep/unix/Makefile.gss 2013-04-19 07:57:41.777870559 +0200
+++ imap-2007e/src/osdep/unix/Makefile.gss 2013-04-19 07:58:42.335113489 +0200
@@ -29,7 +29,7 @@
GSSDIR=/usr/local
GSSINCLUDE=$(GSSDIR)/include
GSSLIB=$(GSSDIR)/lib
-GSSCFLAGS= -I$(GSSINCLUDE) -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1
+GSSCFLAGS= -I$(GSSINCLUDE) -DKRB5_DEPRECATED=1
GSSOLDLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
GSSNEWLDFLAGS= -L$(GSSLIB) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err

View File

@@ -0,0 +1,33 @@
--- src/osdep/unix/Makefile~ 2011-06-07 16:04:29.000000000 +0300
+++ src/osdep/unix/Makefile 2011-06-07 15:55:31.000000000 +0300
@@ -954,23 +954,24 @@
# Once-only environment setup
-once: onceenv ckp$(PASSWDTYPE) ssl$(SSLTYPE) osdep.c
+once: ssl$(SSLTYPE) onceenv ckp$(PASSWDTYPE) osdep.c
onceenv:
@echo Once-only environment setup...
echo $(CC) > CCTYPE
- echo $(BASECFLAGS) '$(EXTRACFLAGS)' -DCHUNKSIZE=$(CHUNKSIZE) > CFLAGS
- echo -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \
+ echo `$(CAT) CFLAGS` $(BASECFLAGS) '$(EXTRACFLAGS)' -DCHUNKSIZE=$(CHUNKSIZE) > CFLAGS
+ echo `$(CAT) OSCFLAGS` -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \
-DMD5ENABLE=\"$(MD5PWD)\" -DMAILSPOOL=\"$(MAILSPOOL)\" \
-DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
-DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
-DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" \
-DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \
-DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
- echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
+ echo $(EXTRALIBS) `$(CAT) LDFLAGS` > LIBS
+ echo $(EXTRALDFLAGS) `$(CAT) LDFLAGS` -lcrypt $(BASELDFLAGS) > LDFLAGS
echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
- echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` `$(CAT) OSFLAGS` -shared \
- -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" \
+ echo "`$(CAT) CCTYPE` `$(CAT) CFLAGS` $(EXTRALDFLAGS) `$(CAT) OSFLAGS` -shared \
+ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 $(BINARIES)" `$(CAT) LIBS` $(BASELDFLAGS) \
>> ARCHIVE
echo $(OS) > OSTYPE
./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy

View File

@@ -0,0 +1,27 @@
diff -cr alpine-2.00.orig/imap/src/c-client/mail.h alpine-2.00.new/imap/src/c-client/mail.h
*** src/c-client/mail.h 2008-08-08 18:34:22.000000000 +0100
--- src/c-client/mail.h 2009-05-01 13:40:37.000000000 +0100
***************
*** 775,780 ****
--- 775,781 ----
unsigned long bytes; /* size of text in octets */
} size;
char *md5; /* MD5 checksum */
+ unsigned short topal_hack; /* set to 1 if topal has wrecked the sending */
void *sparep; /* spare pointer reserved for main program */
};
diff -cr alpine-2.00.orig/imap/src/c-client/mail.c alpine-2.00.new/imap/src/c-client/mail.c
*** src/c-client/mail.c 2008-06-04 19:39:54.000000000 +0100
--- src/c-client/mail.c 2009-04-30 22:34:13.000000000 +0100
***************
*** 2712,2717 ****
--- 2712,2719 ----
BODY *b = NIL;
PART *pt;
unsigned long i;
+ /* Topal hack 2 */
+ mail_fetchstructure (stream,msgno,&b);
/* make sure have a body */
if (section && *section && mail_fetchstructure (stream,msgno,&b) && b)
while (*section) { /* find desired section */

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
<use>
<flag name="doc">Install RFCs related to IMAP</flag>
<flag name='topal'>Enable support for <pkg>net-mail/topal</pkg>
for use with <pkg>mail-client/alpine</pkg></flag>
<flag name='chappa'>Enable Eduardo Chappa's patches for use with
<pkg>mail-client/alpine</pkg> (mainly adds support for maildir)</flag>
</use>
</pkgmetadata>