ChangeLog

# ChangeLog for net-libs/c-client
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.64 2010/08/16 21:18:54 jer Exp $

16 Aug 2010; Jeroen Roovers 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
-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 metadata.xml:
Remove wrobel from metadata.xml (#111816)

30 Mar 2009; Raúl Porcel c-client-2007e.ebuild:
arm/s390/sh stable wrt #252567

07 Jan 2009; Raúl Porcel c-client-2007e.ebuild:
alpha/ia64 stable wrt #252567

03 Jan 2009; Markus Meier c-client-2007e.ebuild:
x86 stable, bug #252567

03 Jan 2009; Jeroen Roovers c-client-2007e.ebuild:
Stable for HPPA (bug #252567).

30 Dec 2008; Friedrich Oslage c-client-2007e.ebuild:
Stable on sparc, security bug #252567

29 Dec 2008; Tobias Heinlein
c-client-2007e.ebuild:
amd64 stable wrt security bug #252567

29 Dec 2008; Tobias Scherbaum
c-client-2007e.ebuild:
ppc stable, bug #252567

29 Dec 2008; Brent Baude c-client-2007e.ebuild:
Marking c-client-2007e ppc64 for bug 252567

*c-client-2007e (28 Dec 2008)

28 Dec 2008; Gunnar Wrobel +c-client-2007e.ebuild:
Added net-libs/c-client-2007e in response to sec issue #252567.

02 May 2008; Tobias Scherbaum
c-client-2006k.ebuild:
ppc stable, bug #213473

21 Apr 2008; Jeroen Roovers c-client-2006k.ebuild:
Stable for HPPA (bug #213473).

20 Apr 2008; Raúl Porcel c-client-2006k.ebuild:
ia64/sparc stable wrt #213473

19 Apr 2008; Markus Rothe c-client-2006k.ebuild:
Stable on ppc64; bug #213473

18 Apr 2008; Markus Meier c-client-2006k.ebuild:
amd64/x86 stable, bug #213473

18 Apr 2008; Tobias Klausmann c-client-2006k.ebuild:
Stable on alpha, bug #213473

02 Mar 2008; Robin H. Johnson 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 ChangeLog, Manifest:
Clean up changelog.

*c-client-2006k (22 Feb 2008)
*c-client-2004g-r1 (22 Feb 2008)

22 Feb 2008; Gunnar Wrobel
+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 c-client-2004g.ebuild:
Clean up all repoman warnings.

21 Feb 2008; Robin H. Johnson -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 c-client-2004g.ebuild:
PAM is only needed by the Linux build.

07 Jul 2007; Jeroen Roovers c-client-2004g.ebuild:
Stable for HPPA (bug #183898).

05 Jul 2007; Markus Rothe c-client-2004g.ebuild:
Stable on ppc64; bug #183898

04 Jul 2007; Christoph Mende c-client-2004g.ebuild:
Stable on amd64 wrt bug #183898

02 Jul 2007; Gustavo Zacarias c-client-2004g.ebuild:
Stable on sparc wrt #183898

02 Jul 2007; Raúl Porcel c-client-2004g.ebuild:
alpha/ia64/x86 stable wrt #183898

02 Jul 2007; Lars Weiler c-client-2004g.ebuild:
Stable on ppc; bug #183898.

18 May 2007; Roy Marples c-client-2004g.ebuild:
Keyworded ~x86-fbsd, #138170 thanks to Nicholas Steicke.

22 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

*c-client-2004g (06 Oct 2005)

06 Oct 2005; Robin H. Johnson +c-client-2004g.ebuild:
Bug #107562, version bump.

25 Apr 2005; Bryan Østergaard
c-client-2004a-r1.ebuild:
Stable on alpha.

09 Apr 2005; Markus Rothe c-client-2004a-r1.ebuild:
Stable on ppc64

08 Apr 2005; Michael Hanselmann
c-client-2004a-r1.ebuild:
Stable on ppc.

06 Apr 2005; Marcus D. Hanwell
c-client-2004a-r1.ebuild:
Marked stable on amd64.

01 Apr 2005; Aron Griffis c-client-2004a-r1.ebuild:
stable on ia64

31 Mar 2005; Gustavo Zacarias
c-client-2004a-r1.ebuild:
Stable on sparc

*c-client-2004c (30 Mar 2005)

30 Mar 2005; Robin H. Johnson +c-client-2004c.ebuild:
Version bump.

30 Mar 2005; Robin H. Johnson
c-client-2004a-r1.ebuild:
Move 2004a-r1 to stable x86.

10 Mar 2005; Marcus D. Hanwell c-client-2004a-r1.ebuild:
Tiny cleanup in symlink creation of the .so.

20 Feb 2005; Hardave Riar c-client-2004a.ebuild:
Stable on mips

*c-client-2004a-r1 (01 Feb 2005)

01 Feb 2005; Marcus D. Hanwell
+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 :
Addeing to ~mips for testing

*c-client-2004a (02 Oct 2004)

02 Oct 2004; +c-client-2004a.ebuild:
version bump, added pam use flag

18 Aug 2004; Tom Gall c-client-2002e-r2.ebuild:
stable on ppc64

16 Apr 2004; Michael McCabe c-client-2002e-r2.ebuild:
adding s390 keywords

*c-client-2002e-r2 (05 Feb 2004)

05 Feb 2004; Robin H. Johnson 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 c-client-2002e-r1.ebuild :
AMD64 keywords.

10 Jan 2004; c-client-2002e-r1.ebuild:
stable on ia64

22 Dec 2003; Robin H. Johnson 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 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 metadata.xml:
add metadata.xml

*c-client-2002e (25 Oct 2003)

25 Oct 2003; Robin H. Johnson c-client-2002e.ebuild:
version bump

25 Oct 2003; Robin H. Johnson c-client-2002d-r1.ebuild:
bump -r1 to stable

*c-client-2002d-r1 (11 Aug 2003)

11 Aug 2003; Robin H. Johnson c-client-2002d-r1.ebuild:
add more -fPIC support

02 Aug 2003; Tavis Ormandy c-client-2002d.ebuild:
stable on alpha

12 Jul 2003; Jason Wever c-client-2002d.ebuild:
Changed ~sparc keyword to sparc to fix dependency borkage.

28 Jun 2003; Tavis Ormandy c-client-2002d.ebuild:
alpha needs -fPIC

*c-client-2002d (07 Jun 2003)

20 Jun 2003; Guy Martin c-client-2002d.ebuild :
Added hppa to KEYWORDS to fix dependencies problem with mod_php.

07 Jun 2003; Robin Johnson 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

Manifest

AUX 2002d-Makefile.patch 2174 RMD160 ab95295b15a9f8cceb73a1b2431453ec1e137c0e SHA1 0e7949763126d7cb094048f187c11e249aaabddf SHA256 ff9102e5e3e1498269084ef803d73c0c21bff136b038f13ba648a4248981ca35
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-2006k_KOLAB_Annotations.patch 14551 RMD160 932f866a70f709d980c92a37890fcc38a4f74c06 SHA1 8e92dbb7311430c45dbdcfb0b8b698f9048ec85a SHA256 cd8833d4eabd8fbad6a1588e3ee5375fced007964f1c6bcd016b34bee5d8eaf2
AUX c-client-2007e-ldflags.patch 1651 RMD160 0a810f1944f91e81c7f0aad9460f7d90be926de6 SHA1 a9b9beff9682c4515ef0d9b76d1c7bb97f44b2c1 SHA256 d51a44f180d9c65308894aafc2c332b38a46896704887936e764a7d24d394ed4
DIST imap-2007e.tar.Z 2789469 RMD160 7d6af203419975f763d7ec17b6a4544c94490b50 SHA1 24c63cad8d0e74aa76e4341fcfa54d24f23a8c70 SHA256 be648d0e1aa62d564d9dbe04b77ea948116ee96ed687cb5d169c99ae28286e59
EBUILD c-client-2007e-r1.ebuild 3386 RMD160 0cbecd6cc4e9ded64249e9f77246db8186a309c5 SHA1 807adbd06710bd30f104689faca0d4de080babe0 SHA256 d77567d233e41c3cb7ed0418e07dec0c3c8b2380c304833565b35080a7fd0f2a
EBUILD c-client-2007e.ebuild 3194 RMD160 6444101ce0cd7bfe2a8a17f1abe349a2cdc0f93b SHA1 9d586f8243be75f118bc560db96859a09364159f SHA256 0dbcbbf9639bb02e78336af9bb5352ac445f605c61ce3158e5164688469d5b34
MISC ChangeLog 8783 RMD160 af59e75a1f3e2a523dd40e9328a4034862f6f122 SHA1 8d66ff7704988dc48bd601cd30aa21e02de9e6fc SHA256 5a79c493cd69fff8beaf4d59440b923b4f973116bf62dc0169fc9d4119a4d468
MISC metadata.xml 235 RMD160 f4321297652cea09baaafb300aeba2d8c2744e00 SHA1 ab2e8ef3058ceaabd7fbcb52b524502b8de0d6d1 SHA256 52bdb2e9321c82e6ecec49b9cbd88c0fe21bbd7135c5bf28af450620a4860f06

c-client-2007e-r1.ebuild

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2007e-r1.ebuild,v 1.2 2010/08/16 21:18:54 jer Exp $

EAPI="2"

inherit flag-o-matic eutils libtool toolchain-funcs

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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="doc kernel_linux kernel_FreeBSD kolab pam ssl"

RDEPEND="ssl? ( dev-libs/openssl )
!virtual/imap-c-client"
DEPEND="${RDEPEND}
kernel_linux? ( pam? ( >=sys-libs/pam-0.72 ) )"
PROVIDE="virtual/imap-c-client"

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"

# 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 || die "epatch failed"

# 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

# Add kolab support.
# http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/imap/
if use kolab ; then
epatch "${FILESDIR}"/${PN}-2006k_KOLAB_Annotations.patch || die "epatch failed"
fi

# Remove the pesky checks about SSL stuff
sed -e '/read.*exit/d' -i Makefile

# Respect LDFLAGS
epatch "${FILESDIR}"/${P}-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}" || die "make failed"
}

src_install() {
into /usr

# Library binary
dolib.a c-client/c-client.a || die
dosym c-client.a /usr/$(get_libdir)/libc-client.a

# Now the shared library
dolib.so c-client/libc-client.so.1.0.0 || die
# these are created by ldconfig!
#cd ${D}/usr/$(get_libdir)
#ln -s libc-client.so.1.0.0 libc-client.so.1
#ln -s libc-client.so.1.0.0 libc-client.so

# Headers
insinto /usr/include/imap
doins c-client/*.h
doins c-client/linkage.c
#exclude these dupes (can't do it before now due to symlink hell)
rm "${D}"/usr/include/imap/os_*.h

# Docs
dodoc README docs/*.txt docs/CONFIG docs/RELNOTES
if use doc; then
docinto rfc
dodoc docs/rfc/*.txt
fi
}

c-client-2007e.ebuild

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2007e.ebuild,v 1.9 2009/03/30 16:03:05 armin76 Exp $

inherit flag-o-matic eutils libtool

MY_PN=imap
MY_P="${MY_PN}-${PV}"
S=${WORKDIR}/${MY_P}

MAKEFILE_PATCH_VER="2006k"
SO_PATCH_VER="2006k"
KOLAB_PATCH_VER="2006k"

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="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="kernel_linux kernel_FreeBSD kolab pam ssl"

RDEPEND="ssl? ( dev-libs/openssl )
!virtual/imap-c-client"
DEPEND="${RDEPEND}
kernel_linux? ( pam? ( >=sys-libs/pam-0.72 ) )"
PROVIDE="virtual/imap-c-client"

src_unpack() {
unpack ${A}

# Tarball packed with bad file perms
chmod -R u+rwX,go-w "${S}"

# lots of things need -fPIC, including various platforms, and this library
# generally should be built with it anyway.
append-flags -fPIC

cd "${S}"

# 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"

# 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}-${MAKEFILE_PATCH_VER}_GENTOO_Makefile.patch || die "epatch failed"

# Apply patch to add the compilation of a .so for PHP
# This was previously conditional, but is more widely useful.
epatch "${FILESDIR}"/${PN}-${SO_PATCH_VER}_GENTOO_amd64-so-fix.patch

# Add kolab support.
# http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/patches/imap/
if use kolab ; then
epatch "${FILESDIR}"/${PN}-${KOLAB_PATCH_VER}_KOLAB_Annotations.patch || die "epatch failed"
fi

# Remove the pesky checks about SSL stuff
sed -e '/read.*exit/d' -i Makefile
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 $target SSLTYPE=${ssltype} EXTRACFLAGS="${CFLAGS}" || die "make failed"
}

src_install() {
into /usr

# Library binary
dolib.a c-client/c-client.a || die
dosym c-client.a /usr/$(get_libdir)/libc-client.a

# Now the shared library
dolib.so c-client/libc-client.so.1.0.0 || die
# these are created by ldconfig!
#cd ${D}/usr/$(get_libdir)
#ln -s libc-client.so.1.0.0 libc-client.so.1
#ln -s libc-client.so.1.0.0 libc-client.so

# Headers
insinto /usr/include/imap
doins c-client/*.h
doins c-client/linkage.c
#exclude these dupes (can't do it before now due to symlink hell)
rm "${D}"/usr/include/imap/os_*.h

# Docs
dodoc README docs/*.txt docs/CONFIG docs/RELNOTES

docinto rfc
dodoc docs/rfc/*.txt
}

files

metadata.xml




net-mail

Install RFCs related to IMAP