* [gentoo-commits] dev/blueness:loongson commit in: net-libs/c-client/files/, net-libs/c-client/
@ 2012-07-10 23:23 Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2012-07-10 23:23 UTC (permalink / raw
To: gentoo-commits
commit: 91ed128464022342d7a3787e65fa7e37ad377063
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 10 23:18:35 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jul 10 23:18:35 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=91ed1284
net-libs/c-client: make build system multilib aware
(Portage version: 2.1.10.65/git/Linux x86_64, signed Manifest commit with key 0xD0455535)
---
net-libs/c-client/ChangeLog | 331 ++++++++++++++++++++
net-libs/c-client/Manifest | 17 +
net-libs/c-client/c-client-2007f-r99.ebuild | 113 +++++++
.../files/c-client-2006k_GENTOO_Makefile.patch | 70 ++++
.../files/c-client-2006k_GENTOO_amd64-so-fix.patch | 13 +
.../c-client/files/c-client-2007e-ldflags.patch | 33 ++
net-libs/c-client/metadata.xml | 8 +
7 files changed, 585 insertions(+), 0 deletions(-)
diff --git a/net-libs/c-client/ChangeLog b/net-libs/c-client/ChangeLog
new file mode 100644
index 0000000..90e9a87
--- /dev/null
+++ b/net-libs/c-client/ChangeLog
@@ -0,0 +1,331 @@
+# ChangeLog for net-libs/c-client
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.88 2012/07/08 15:27:56 armin76 Exp $
+
+ 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>
+
+
diff --git a/net-libs/c-client/Manifest b/net-libs/c-client/Manifest
new file mode 100644
index 0000000..11140cf
--- /dev/null
+++ b/net-libs/c-client/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX c-client-2006k_GENTOO_Makefile.patch 2441 RMD160 4c1fbe17eadd6dac6aa0b615757cd95b4c688d75 SHA1 4d55c0eea05605a4d42e95f0284be90dbe20ff3c SHA256 6f7bf2d23f346f0f8eed4c4ae61e5b5c95d1a12e15e7fb4192a5a723754255f8
+AUX c-client-2006k_GENTOO_amd64-so-fix.patch 665 RMD160 a2a4747dea49279f4464b99234f338a5f7faf022 SHA1 a858f66db06625a102db0db4b503c64e9a8ad5c0 SHA256 77de7621946c69638295ac11275124d0c405a4c6ba284a068f9a96c4994f3184
+AUX c-client-2007e-ldflags.patch 1635 RMD160 d1b8cea2b3f555db8429d5d190cdac201a4b3097 SHA1 40bbbed8614c0cd91785e35612c168a08d362cb9 SHA256 6eddb2951525fc002652f9e7d38cb39b813526ded71f5a58be596d93d6e375c2
+DIST imap-2007f.tar.Z 2793529 RMD160 14f40284e9e164c0ed7677f1e5d8e3309c7c58c1 SHA1 1c9935e5a261baec85dadcbc0c514b66fa3ce0a5 SHA256 870e95f6bd19265832a88fd89b77c54c841c59022fd21e69254050c8b1005e3c
+EBUILD c-client-2007f-r99.ebuild 3328 RMD160 05d1f4907e8dfeccc3a0f63a147123aacfd536dc SHA1 82cafb5ddce1de813361d178ffae57d9209f5cef SHA256 353581391ca0f96a3e528762e653ecdc8a78382e1d76055b6521d7b1d3a3d07b
+MISC ChangeLog 11647 RMD160 cc4ecac8be7a95f4e090b9390b08164a23e2ae1e SHA1 36184d9d0990172e4089da0031f13eed9343f2d5 SHA256 4ad9bdaddf52f2f00936d4581697aa5514536b90314ecad7e42ef3b66ed6c967
+MISC metadata.xml 235 RMD160 f4321297652cea09baaafb300aeba2d8c2744e00 SHA1 ab2e8ef3058ceaabd7fbcb52b524502b8de0d6d1 SHA256 52bdb2e9321c82e6ecec49b9cbd88c0fe21bbd7135c5bf28af450620a4860f06
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAk/8uEsACgkQl5yvQNBFVTXmAQCfagbpklTlIsPECk1wC415RXg+
+kDoAn2CPm95c3Cs9TXF0coDf0XnYSoI9
+=Fz07
+-----END PGP SIGNATURE-----
diff --git a/net-libs/c-client/c-client-2007f-r99.ebuild b/net-libs/c-client/c-client-2007f-r99.ebuild
new file mode 100644
index 0000000..32afa71
--- /dev/null
+++ b/net-libs/c-client/c-client-2007f-r99.ebuild
@@ -0,0 +1,113 @@
+# 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-r1.ebuild,v 1.9 2012/07/08 15:27:56 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}
+
+DESCRIPTION="UW IMAP c-client library"
+HOMEPAGE="http://www.washington.edu/imap/"
+SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~mips"
+IUSE="doc kernel_linux kernel_FreeBSD pam ssl static-libs"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ !net-mail/uw-imap"
+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
+
+ # Remove the pesky checks about SSL stuff
+ sed -e '/read.*exit/d' -i Makefile || die
+
+ # Respect LDFLAGS
+ epatch "${FILESDIR}"/${PN}-2007e-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"
+
+ elibtoolize
+}
+
+src_compile() {
+ local ssltype target
+ use ssl && ssltype="unix" || ssltype="none"
+ if use kernel_linux ; then
+ use pam && target=lnp || target=lnx
+ elif use kernel_FreeBSD ; then
+ target=bsf
+ fi
+ # no parallel builds supported!
+ emake -j1 SSLTYPE=${ssltype} $target EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}"
+}
+
+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
+
+ # 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
+}
diff --git a/net-libs/c-client/files/c-client-2006k_GENTOO_Makefile.patch b/net-libs/c-client/files/c-client-2006k_GENTOO_Makefile.patch
new file mode 100644
index 0000000..50a57f0
--- /dev/null
+++ b/net-libs/c-client/files/c-client-2006k_GENTOO_Makefile.patch
@@ -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'
diff --git a/net-libs/c-client/files/c-client-2006k_GENTOO_amd64-so-fix.patch b/net-libs/c-client/files/c-client-2006k_GENTOO_amd64-so-fix.patch
new file mode 100644
index 0000000..79b067d
--- /dev/null
+++ b/net-libs/c-client/files/c-client-2006k_GENTOO_amd64-so-fix.patch
@@ -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)
diff --git a/net-libs/c-client/files/c-client-2007e-ldflags.patch b/net-libs/c-client/files/c-client-2007e-ldflags.patch
new file mode 100644
index 0000000..7ca0942
--- /dev/null
+++ b/net-libs/c-client/files/c-client-2007e-ldflags.patch
@@ -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 `$(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
diff --git a/net-libs/c-client/metadata.xml b/net-libs/c-client/metadata.xml
new file mode 100644
index 0000000..d257d4f
--- /dev/null
+++ b/net-libs/c-client/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/blueness:loongson commit in: net-libs/c-client/files/, net-libs/c-client/
@ 2012-07-12 2:43 Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2012-07-12 2:43 UTC (permalink / raw
To: gentoo-commits
commit: a48525d26345d8f15805980e5b9b55679393da1b
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 12 02:43:40 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Jul 12 02:43:40 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=a48525d2
net-libs/c-client: fixed in tree, bug #425766
---
net-libs/c-client/ChangeLog | 331 --------------------
net-libs/c-client/Manifest | 7 -
net-libs/c-client/c-client-2007f-r99.ebuild | 113 -------
.../files/c-client-2006k_GENTOO_Makefile.patch | 70 ----
.../files/c-client-2006k_GENTOO_amd64-so-fix.patch | 13 -
.../c-client/files/c-client-2007e-ldflags.patch | 33 --
net-libs/c-client/metadata.xml | 8 -
7 files changed, 0 insertions(+), 575 deletions(-)
diff --git a/net-libs/c-client/ChangeLog b/net-libs/c-client/ChangeLog
deleted file mode 100644
index 90e9a87..0000000
--- a/net-libs/c-client/ChangeLog
+++ /dev/null
@@ -1,331 +0,0 @@
-# ChangeLog for net-libs/c-client
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.88 2012/07/08 15:27:56 armin76 Exp $
-
- 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>
-
-
diff --git a/net-libs/c-client/Manifest b/net-libs/c-client/Manifest
deleted file mode 100644
index cbda642..0000000
--- a/net-libs/c-client/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX c-client-2006k_GENTOO_Makefile.patch 2441 RMD160 4c1fbe17eadd6dac6aa0b615757cd95b4c688d75 SHA1 4d55c0eea05605a4d42e95f0284be90dbe20ff3c SHA256 6f7bf2d23f346f0f8eed4c4ae61e5b5c95d1a12e15e7fb4192a5a723754255f8
-AUX c-client-2006k_GENTOO_amd64-so-fix.patch 665 RMD160 a2a4747dea49279f4464b99234f338a5f7faf022 SHA1 a858f66db06625a102db0db4b503c64e9a8ad5c0 SHA256 77de7621946c69638295ac11275124d0c405a4c6ba284a068f9a96c4994f3184
-AUX c-client-2007e-ldflags.patch 1635 RMD160 d1b8cea2b3f555db8429d5d190cdac201a4b3097 SHA1 40bbbed8614c0cd91785e35612c168a08d362cb9 SHA256 6eddb2951525fc002652f9e7d38cb39b813526ded71f5a58be596d93d6e375c2
-DIST imap-2007f.tar.Z 2793529 RMD160 14f40284e9e164c0ed7677f1e5d8e3309c7c58c1 SHA1 1c9935e5a261baec85dadcbc0c514b66fa3ce0a5 SHA256 870e95f6bd19265832a88fd89b77c54c841c59022fd21e69254050c8b1005e3c
-EBUILD c-client-2007f-r99.ebuild 3338 RMD160 70c60c708c4ff6974d0bdfa841589f63998537cb SHA1 14500b7750d83f349233ef42551438c37711b95f SHA256 b7caaa241168597181b6f6973317105f8970461dea5b6a22f920755d04263fa7
-MISC ChangeLog 11647 RMD160 cc4ecac8be7a95f4e090b9390b08164a23e2ae1e SHA1 36184d9d0990172e4089da0031f13eed9343f2d5 SHA256 4ad9bdaddf52f2f00936d4581697aa5514536b90314ecad7e42ef3b66ed6c967
-MISC metadata.xml 235 RMD160 f4321297652cea09baaafb300aeba2d8c2744e00 SHA1 ab2e8ef3058ceaabd7fbcb52b524502b8de0d6d1 SHA256 52bdb2e9321c82e6ecec49b9cbd88c0fe21bbd7135c5bf28af450620a4860f06
diff --git a/net-libs/c-client/c-client-2007f-r99.ebuild b/net-libs/c-client/c-client-2007f-r99.ebuild
deleted file mode 100644
index 3782904..0000000
--- a/net-libs/c-client/c-client-2007f-r99.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# 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-r1.ebuild,v 1.9 2012/07/08 15:27:56 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}
-
-DESCRIPTION="UW IMAP c-client library"
-HOMEPAGE="http://www.washington.edu/imap/"
-SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~mips"
-IUSE="doc kernel_linux kernel_FreeBSD pam ssl static-libs"
-
-RDEPEND="ssl? ( dev-libs/openssl )
- !net-mail/uw-imap"
-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
-
- # Remove the pesky checks about SSL stuff
- sed -e '/read.*exit/d' -i Makefile || die
-
- # Respect LDFLAGS
- epatch "${FILESDIR}"/${PN}-2007e-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"
-
- elibtoolize
-}
-
-src_compile() {
- local ssltype target
- use ssl && ssltype="unix" || ssltype="none"
- if use kernel_linux ; then
- use pam && target=lnp || target=lnx
- elif use kernel_FreeBSD ; then
- target=bsf
- fi
- # no parallel builds supported!
- emake -j1 SSLTYPE=${ssltype} $target EXTRACFLAGS="${CFLAGS}" EXTRALDFLAGS="${LDFLAGS}"
-}
-
-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
-
- # 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
-}
diff --git a/net-libs/c-client/files/c-client-2006k_GENTOO_Makefile.patch b/net-libs/c-client/files/c-client-2006k_GENTOO_Makefile.patch
deleted file mode 100644
index 50a57f0..0000000
--- a/net-libs/c-client/files/c-client-2006k_GENTOO_Makefile.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-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'
diff --git a/net-libs/c-client/files/c-client-2006k_GENTOO_amd64-so-fix.patch b/net-libs/c-client/files/c-client-2006k_GENTOO_amd64-so-fix.patch
deleted file mode 100644
index 79b067d..0000000
--- a/net-libs/c-client/files/c-client-2006k_GENTOO_amd64-so-fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-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)
diff --git a/net-libs/c-client/files/c-client-2007e-ldflags.patch b/net-libs/c-client/files/c-client-2007e-ldflags.patch
deleted file mode 100644
index 7ca0942..0000000
--- a/net-libs/c-client/files/c-client-2007e-ldflags.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- 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 `$(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
diff --git a/net-libs/c-client/metadata.xml b/net-libs/c-client/metadata.xml
deleted file mode 100644
index d257d4f..0000000
--- a/net-libs/c-client/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-12 2:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-12 2:43 [gentoo-commits] dev/blueness:loongson commit in: net-libs/c-client/files/, net-libs/c-client/ Anthony G. Basile
-- strict thread matches above, loose matches on Subject: below --
2012-07-10 23:23 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox