summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jackson <iggy@gentoo.org>2004-10-02 06:16:57 +0000
committerBrian Jackson <iggy@gentoo.org>2004-10-02 06:16:57 +0000
commitf4c37f40fac25a0db0228f665fea6bb09de207dd (patch)
treefaf05a8adc563ac2c1e7405a5100ff243316064f /net-libs/c-client
parentAdded a new snapshot. (Manifest recommit) (diff)
downloadgentoo-2-f4c37f40fac25a0db0228f665fea6bb09de207dd.tar.gz
gentoo-2-f4c37f40fac25a0db0228f665fea6bb09de207dd.tar.bz2
gentoo-2-f4c37f40fac25a0db0228f665fea6bb09de207dd.zip
version bump, added pam use flag
Diffstat (limited to 'net-libs/c-client')
-rw-r--r--net-libs/c-client/ChangeLog7
-rw-r--r--net-libs/c-client/Manifest17
-rw-r--r--net-libs/c-client/c-client-2004a.ebuild83
-rw-r--r--net-libs/c-client/files/digest-c-client-2004a1
4 files changed, 100 insertions, 8 deletions
diff --git a/net-libs/c-client/ChangeLog b/net-libs/c-client/ChangeLog
index 395f0d2a6803..c2c379fb4677 100644
--- a/net-libs/c-client/ChangeLog
+++ b/net-libs/c-client/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/c-client
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.17 2004/08/19 03:38:56 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.18 2004/10/02 06:16:57 iggy Exp $
+
+*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
diff --git a/net-libs/c-client/Manifest b/net-libs/c-client/Manifest
index 20451313a35a..82726ffa9d7d 100644
--- a/net-libs/c-client/Manifest
+++ b/net-libs/c-client/Manifest
@@ -1,13 +1,16 @@
-MD5 d4a5dd23279b220490cc45e57db6e47f ChangeLog 2336
-MD5 15c2baad3ad73ff964dbcbc021aa4e1d c-client-2002d-r1.ebuild 1872
-MD5 9cf6c167a8006a1b40e857e863e082df c-client-2002d.ebuild 1855
-MD5 a5b3bc4a1a6c7920f7e9db3fc87e54d8 c-client-2002e-r1.ebuild 1977
MD5 e33976d27203c3df41d14113cd0a4ea5 c-client-2002e-r2.ebuild 2039
+MD5 d41d8cd98f00b204e9800998ecf8427e patch 0
+MD5 8bd132008a428503bf37d95d6d6e88e9 c-client-2004a.ebuild 2179
+MD5 a5b3bc4a1a6c7920f7e9db3fc87e54d8 c-client-2002e-r1.ebuild 1977
MD5 16d735011ca6e1fba4e704b9a9e17637 c-client-2002e.ebuild 1896
+MD5 15c2baad3ad73ff964dbcbc021aa4e1d c-client-2002d-r1.ebuild 1872
+MD5 d4a5dd23279b220490cc45e57db6e47f ChangeLog 2336
MD5 6b964abdc013cf2bb64040e8e33215ae metadata.xml 242
-MD5 c8cf618ac210e06a1641871b30550e8f files/2002d-Makefile.patch 2174
-MD5 1fc1132a6fb90046b701e9196e7a96b0 files/digest-c-client-2002d 62
+MD5 9cf6c167a8006a1b40e857e863e082df c-client-2002d.ebuild 1855
MD5 1fc1132a6fb90046b701e9196e7a96b0 files/digest-c-client-2002d-r1 62
-MD5 27b9eec6a66d66ef07109f82da8f10ce files/digest-c-client-2002e 62
MD5 27b9eec6a66d66ef07109f82da8f10ce files/digest-c-client-2002e-r1 62
MD5 27b9eec6a66d66ef07109f82da8f10ce files/digest-c-client-2002e-r2 62
+MD5 1fc1132a6fb90046b701e9196e7a96b0 files/digest-c-client-2002d 62
+MD5 27b9eec6a66d66ef07109f82da8f10ce files/digest-c-client-2002e 62
+MD5 86da98c03bc68723a437d2cf135b0775 files/digest-c-client-2004a 62
+MD5 c8cf618ac210e06a1641871b30550e8f files/2002d-Makefile.patch 2174
diff --git a/net-libs/c-client/c-client-2004a.ebuild b/net-libs/c-client/c-client-2004a.ebuild
new file mode 100644
index 000000000000..fefa6b06ec8f
--- /dev/null
+++ b/net-libs/c-client/c-client-2004a.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2004a.ebuild,v 1.1 2004/10/02 06:16:57 iggy Exp $
+
+inherit flag-o-matic eutils libtool
+
+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="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64"
+IUSE="ssl pam"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ !virtual/imap-c-client"
+DEPEND="${RDEPEND}
+ pam? ( >=sys-libs/pam-0.72 )"
+PROVIDE="virtual/imap-c-client"
+
+src_unpack() {
+ unpack ${A}
+
+ # Tarball packed with bad file perms
+ chmod -R ug+w ${S}
+
+ # 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 optimially and correctly
+ sed \
+ -e "s:BASECFLAGS=\".*\":BASECFLAGS=\"${CFLAGS}\":g" \
+ -e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \
+ -e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \
+ -i ${S}/src/osdep/unix/Makefile || die "Makefile sed fixing failed"
+
+ # Apply a patch to only build the stuff we need for c-client
+ EPATCH_OPTS="${EPATCH_OPTS} -d ${S}" \
+ epatch ${FILESDIR}/2002d-Makefile.patch || die "epatch failed"
+
+ # Remove the pesky checks about SSL stuff
+ sed -e '/read.*exit/d' -i ${S}/Makefile
+ elibtoolize
+ uclibctoolize
+}
+
+src_compile() {
+ local ssltype
+ use ssl && ssltype="unix" || ssltype="none"
+ # no parallel builds supported!
+ if use pam ; then
+ make lnp SSLTYPE=${ssltype} || die "make failed"
+ else
+ make lnx SSLTYPE=${ssltype} || die "make failed"
+ fi
+}
+
+src_install() {
+ into /usr
+
+ # Library binary
+ dolib.a c-client/c-client.a
+ dosym /usr/lib/c-client.a /usr/lib/libc-client.a
+
+ # 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
+}
diff --git a/net-libs/c-client/files/digest-c-client-2004a b/net-libs/c-client/files/digest-c-client-2004a
new file mode 100644
index 000000000000..158d1b2e7ab5
--- /dev/null
+++ b/net-libs/c-client/files/digest-c-client-2004a
@@ -0,0 +1 @@
+MD5 34d2c66271302cd2f926094fb5e8705d imap-2004a.tar.Z 2224181