diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-02-21 23:30:17 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-02-21 23:30:17 +0000 |
commit | df12c3649e90d796c28c3ec9ef8b7dc46c152b31 (patch) | |
tree | 31fec9c673b13c0de5c7df03b754ffce5bf1c6d8 /net-libs/c-client | |
parent | PAM is only needed by the Linux build. (diff) | |
download | gentoo-2-df12c3649e90d796c28c3ec9ef8b7dc46c152b31.tar.gz gentoo-2-df12c3649e90d796c28c3ec9ef8b7dc46c152b31.tar.bz2 gentoo-2-df12c3649e90d796c28c3ec9ef8b7dc46c152b31.zip |
Clean up all old versions.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-libs/c-client')
-rw-r--r-- | net-libs/c-client/ChangeLog | 8 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2002d-r1.ebuild | 79 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2002d.ebuild | 79 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2002e-r1.ebuild | 76 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2002e-r2.ebuild | 77 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2002e.ebuild | 79 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2004a-r1.ebuild | 98 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2004a.ebuild | 83 | ||||
-rw-r--r-- | net-libs/c-client/c-client-2004c.ebuild | 92 |
9 files changed, 7 insertions, 664 deletions
diff --git a/net-libs/c-client/ChangeLog b/net-libs/c-client/ChangeLog index 0362b87e2697..100e6c2a33f0 100644 --- a/net-libs/c-client/ChangeLog +++ b/net-libs/c-client/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/c-client # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.41 2008/02/21 23:28:53 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.42 2008/02/21 23:30:17 robbat2 Exp $ + + 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. diff --git a/net-libs/c-client/c-client-2002d-r1.ebuild b/net-libs/c-client/c-client-2002d-r1.ebuild deleted file mode 100644 index bca28a5e8505..000000000000 --- a/net-libs/c-client/c-client-2002d-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2002d-r1.ebuild,v 1.8 2005/02/01 15:33:05 cryos Exp $ - -inherit flag-o-matic - -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 sparc ppc hppa alpha" -IUSE="ssl pic" - -RDEPEND="ssl? ( dev-libs/openssl ) - !virtual/imap-c-client" -DEPEND="${RDEPEND} - >=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} - - # alpha needs -fPIC - use pic || use alpha && append-flags -fPIC - - # Modifications so we can build it optimially and correctly - cd ${S}/src/osdep/unix/ - cp Makefile Makefile.orig - sed \ - -e "s:-g -fno-omit-frame-pointer -O6:${CFLAGS}:g" \ - -e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \ - -e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \ - < Makefile.orig > Makefile - - # Apply a patch to only build the stuff we need for c-client - cd ${S} - patch < ${FILESDIR}/${PV}-Makefile.patch - - # Remove the pesky checks about SSL stuff - cd ${S} - cp Makefile Makefile.orig - grep -v 'read.*exit 1' <Makefile.orig >Makefile -} - -src_compile() { - if use ssl; then - make lnp SSLTYPE=unix || die - else - make lnp SSLTYPE=none || die - 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/{c-client,mail,imap4r1,rfc822,linkage,misc,smtp,nntp}.h - doins c-client/{osdep,env_unix,env,fs,ftl,nl,tcp}.h - - # Docs - dodoc CPYRIGHT README docs/*.txt docs/CONFIG docs/RELNOTES - - docinto rfc - dodoc docs/rfc/*.txt -} diff --git a/net-libs/c-client/c-client-2002d.ebuild b/net-libs/c-client/c-client-2002d.ebuild deleted file mode 100644 index fbf648bb8f6e..000000000000 --- a/net-libs/c-client/c-client-2002d.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2002d.ebuild,v 1.10 2005/02/01 15:33:05 cryos Exp $ - -inherit flag-o-matic - -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 sparc ~ppc hppa alpha" -IUSE="ssl" - -RDEPEND="ssl? ( dev-libs/openssl ) - !virtual/imap-c-client" -DEPEND="${RDEPEND} - >=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} - - # alpha needs -fPIC - use alpha && append-flags -fPIC - - # Modifications so we can build it optimially and correctly - cd ${S}/src/osdep/unix/ - cp Makefile Makefile.orig - sed \ - -e "s:-g -fno-omit-frame-pointer -O6:${CFLAGS}:g" \ - -e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \ - -e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \ - < Makefile.orig > Makefile - - # Apply a patch to only build the stuff we need for c-client - cd ${S} - patch < ${FILESDIR}/${PV}-Makefile.patch - - # Remove the pesky checks about SSL stuff - cd ${S} - cp Makefile Makefile.orig - grep -v 'read.*exit 1' <Makefile.orig >Makefile -} - -src_compile() { - if use ssl; then - make lnp SSLTYPE=unix || die - else - make lnp SSLTYPE=none || die - 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/{c-client,mail,imap4r1,rfc822,linkage,misc,smtp,nntp}.h - doins c-client/{osdep,env_unix,env,fs,ftl,nl,tcp}.h - - # Docs - dodoc CPYRIGHT README docs/*.txt docs/CONFIG docs/RELNOTES - - docinto rfc - dodoc docs/rfc/*.txt -} diff --git a/net-libs/c-client/c-client-2002e-r1.ebuild b/net-libs/c-client/c-client-2002e-r1.ebuild deleted file mode 100644 index 84193d7de07c..000000000000 --- a/net-libs/c-client/c-client-2002e-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2002e-r1.ebuild,v 1.8 2005/02/01 15:33:05 cryos Exp $ - -inherit flag-o-matic eutils - -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 sparc ppc hppa alpha ia64 amd64" -IUSE="ssl pic" - -RDEPEND="ssl? ( dev-libs/openssl ) - !virtual/imap-c-client" -DEPEND="${RDEPEND} - >=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} - - # alpha needs -fPIC - use pic || use alpha || use amd64 && 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 -} - -src_compile() { - local ssltype - use ssl && ssltype="unix" || ssltype="none" - # no parallel builds supported! - make lnp SSLTYPE=${ssltype} || die "make failed" -} - -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 CPYRIGHT README docs/*.txt docs/CONFIG docs/RELNOTES - - docinto rfc - dodoc docs/rfc/*.txt -} diff --git a/net-libs/c-client/c-client-2002e-r2.ebuild b/net-libs/c-client/c-client-2002e-r2.ebuild deleted file mode 100644 index 60918cf7cb45..000000000000 --- a/net-libs/c-client/c-client-2002e-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2002e-r2.ebuild,v 1.7 2005/02/01 15:33:05 cryos Exp $ - -inherit flag-o-matic eutils - -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" - -RDEPEND="ssl? ( dev-libs/openssl ) - !virtual/imap-c-client" -DEPEND="${RDEPEND} - >=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 -} - -src_compile() { - local ssltype - use ssl && ssltype="unix" || ssltype="none" - # no parallel builds supported! - make lnp SSLTYPE=${ssltype} || die "make failed" -} - -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/c-client-2002e.ebuild b/net-libs/c-client/c-client-2002e.ebuild deleted file mode 100644 index 86fd99f304d1..000000000000 --- a/net-libs/c-client/c-client-2002e.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2002e.ebuild,v 1.5 2005/02/01 15:33:05 cryos Exp $ - -inherit flag-o-matic - -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 ~sparc ~ppc ~hppa ~alpha" -IUSE="ssl pic" - -RDEPEND="ssl? ( dev-libs/openssl ) - !virtual/imap-c-client" -DEPEND="${RDEPEND} - >=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} - - # alpha needs -fPIC - use pic || use alpha && append-flags -fPIC - - # Modifications so we can build it optimially and correctly - cd ${S}/src/osdep/unix/ - cp Makefile Makefile.orig - sed \ - -e "s:-g -fno-omit-frame-pointer -O6:${CFLAGS}:g" \ - -e 's:SSLDIR=/usr/local/ssl:SSLDIR=/usr:g' \ - -e 's:SSLCERTS=$(SSLDIR)/certs:SSLCERTS=/etc/ssl/certs:g' \ - < Makefile.orig > Makefile - - # Apply a patch to only build the stuff we need for c-client - cd ${S} - patch < ${FILESDIR}/2002d-Makefile.patch || die "Patch failed" - - # Remove the pesky checks about SSL stuff - cd ${S} - cp Makefile Makefile.orig - grep -v 'read.*exit 1' <Makefile.orig >Makefile -} - -src_compile() { - if use ssl; then - make lnp SSLTYPE=unix || die - else - make lnp SSLTYPE=none || die - 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/{c-client,mail,imap4r1,rfc822,linkage,misc,smtp,nntp}.h - doins c-client/{osdep,env_unix,env,fs,ftl,nl,tcp}.h - - # Docs - dodoc CPYRIGHT README docs/*.txt docs/CONFIG docs/RELNOTES - - docinto rfc - dodoc docs/rfc/*.txt -} diff --git a/net-libs/c-client/c-client-2004a-r1.ebuild b/net-libs/c-client/c-client-2004a-r1.ebuild deleted file mode 100644 index 347236fe26a5..000000000000 --- a/net-libs/c-client/c-client-2004a-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2006 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-r1.ebuild,v 1.11 2006/01/18 23:01:49 vapier 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="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" -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 - - 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" - - # Apply a patch to only build the stuff we need for c-client - epatch ${FILESDIR}/2002d-Makefile.patch || die "epatch failed" - - # Apply this patch conditionally - it adds the compilation of a .so for PHP - # on the amd64 platform. - use amd64 && epatch ${FILESDIR}/${P}-amd64-so-fix.patch - - # Remove the pesky checks about SSL stuff - sed -e '/read.*exit/d' -i 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} EXTRACFLAGS="${CFLAGS}" || die "make failed" - else - make lnx SSLTYPE=${ssltype} EXTRACFLAGS="${CFLAGS}" || die "make failed" - fi -} - -src_install() { - into /usr - - # Library binary - dolib.a c-client/c-client.a - dosym /usr/$(get_libdir)/c-client.a /usr/$(get_libdir)/libc-client.a - - # Now the shared library created for amd64 - if use amd64; then - dolib.so c-client/libc-client.so.1.0.0 - 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 - fi - - cd ${S} - - # 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/c-client-2004a.ebuild b/net-libs/c-client/c-client-2004a.ebuild deleted file mode 100644 index 258c9c7885ae..000000000000 --- a/net-libs/c-client/c-client-2004a.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2005 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.4 2005/02/21 04:04:29 hardave 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 mips" -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/c-client-2004c.ebuild b/net-libs/c-client/c-client-2004c.ebuild deleted file mode 100644 index b377d5a846b9..000000000000 --- a/net-libs/c-client/c-client-2004c.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/c-client-2004c.ebuild,v 1.2 2006/01/18 23:01:49 vapier Exp $ - -inherit flag-o-matic eutils libtool - -MY_PN=imap -MY_P="${MY_PN}-${PV}1" -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" -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 - - 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" - - # Apply a patch to only build the stuff we need for c-client - epatch ${FILESDIR}/2002d-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}-2004a-amd64-so-fix.patch - - # Remove the pesky checks about SSL stuff - sed -e '/read.*exit/d' -i Makefile - elibtoolize - uclibctoolize -} - -src_compile() { - local ssltype target - use ssl && ssltype="unix" || ssltype="none" - use pam && target=lnp || target=lnx - # no parallel builds supported! - make $target SSLTYPE=${ssltype} EXTRACFLAGS="${CFLAGS}" || die "make failed" -} - -src_install() { - into /usr - - # Library binary - dolib.a c-client/c-client.a - dosym /usr/$(get_libdir)/c-client.a /usr/$(get_libdir)/libc-client.a - - # Now the shared library - dolib.so c-client/libc-client.so.1.0.0 - # 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 -} |