From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QK6xa-00066q-Rw for garchives@archives.gentoo.org; Wed, 11 May 2011 10:48:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF23F1C08C; Wed, 11 May 2011 10:47:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 918DA1C08C for ; Wed, 11 May 2011 10:47:59 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D06D0655EF for ; Wed, 11 May 2011 10:47:58 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2282) id 71F1B20054; Wed, 11 May 2011 10:47:57 +0000 (UTC) From: "Eray Aslan (eras)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, eras@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in net-libs/c-client: ChangeLog c-client-2007e-r2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog c-client-2007e-r2.ebuild X-VCS-Directories: net-libs/c-client X-VCS-Committer: eras X-VCS-Committer-Name: Eray Aslan Content-Type: text/plain; charset=utf8 Message-Id: <20110511104757.71F1B20054@flycatcher.gentoo.org> Date: Wed, 11 May 2011 10:47:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 3da018b9b5cfc791696a8501084be160 eras 11/05/11 10:47:57 Modified: ChangeLog Added: c-client-2007e-r2.ebuild Log: Symlink shared library - bug #255118. Drop kolab USE flag. QA fixes. =20 (Portage version: 2.1.9.48/cvs/Linux x86_64) Revision Changes Path 1.66 net-libs/c-client/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/c-client/= ChangeLog?rev=3D1.66&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/c-client/= ChangeLog?rev=3D1.66&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/c-client/= ChangeLog?r1=3D1.65&r2=3D1.66 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v retrieving revision 1.65 retrieving revision 1.66 diff -u -r1.65 -r1.66 --- ChangeLog 16 Mar 2011 13:48:15 -0000 1.65 +++ ChangeLog 11 May 2011 10:47:57 -0000 1.66 @@ -1,6 +1,11 @@ # ChangeLog for net-libs/c-client # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.65 20= 11/03/16 13:48:15 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/c-client/ChangeLog,v 1.66 20= 11/05/11 10:47:57 eras Exp $ + +*c-client-2007e-r2 (11 May 2011) + + 11 May 2011; Eray Aslan +c-client-2007e-r2.ebuild: + Symlink shared library - bug #255118. Drop kolab USE flag. =20 16 Mar 2011; Eray Aslan c-client-2007e.ebuild, c-client-2007e-r1.ebuild: 1.1 net-libs/c-client/c-client-2007e-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/c-client/= c-client-2007e-r2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/c-client/= c-client-2007e-r2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: c-client-2007e-r2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2011 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-r2.eb= uild,v 1.1 2011/05/11 10:47:57 eras Exp $ EAPI=3D"2" inherit flag-o-matic eutils libtool toolchain-funcs MY_PN=3Dimap MY_P=3D"${MY_PN}-${PV}" S=3D${WORKDIR}/${MY_P} DESCRIPTION=3D"UW IMAP c-client library" HOMEPAGE=3D"http://www.washington.edu/imap/" SRC_URI=3D"ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z" LICENSE=3D"as-is" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~s= parc ~x86 ~x86-fbsd" IUSE=3D"doc kernel_linux kernel_FreeBSD pam ssl" RDEPEND=3D"ssl? ( dev-libs/openssl ) !net-mail/uw-imap" DEPEND=3D"${RDEPEND} kernel_linux? ( pam? ( >=3Dsys-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 libra= ry # generally should be built with it anyway. append-flags -fPIC # Modifications so we can build it optimally and correctly sed \ -e "s:BASECFLAGS=3D\".*\":BASECFLAGS=3D:g" \ -e 's:SSLDIR=3D/usr/local/ssl:SSLDIR=3D/usr:g' \ -e 's:SSLCERTS=3D$(SSLDIR)/certs:SSLCERTS=3D/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=3D.*:ACTIVEFILE=3D/var/lib/news/active= :g' \ -i src/osdep/unix/Makefile || die "Makefile sex fixing failed for FreeB= SD" # Apply a patch to only build the stuff we need for c-client epatch "${FILESDIR}"/${PN}-2006k_GENTOO_Makefile.patch || die "epatch fa= iled" # 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 # Respect LDFLAGS epatch "${FILESDIR}"/${P}-ldflags.patch sed -e "s/CC=3Dcc/CC=3D$(tc-getCC)/" \ -e "s/ARRC=3Dar/ARRC=3D$(tc-getAR)/" \ -e "s/RANLIB=3Dranlib/RANLIB=3D$(tc-getRANLIB)/" \ -i src/osdep/unix/Makefile || die "Respecting build flags" elibtoolize } src_compile() { local ssltype target use ssl && ssltype=3D"unix" || ssltype=3D"none" if use kernel_linux ; then use pam && target=3Dlnp || target=3Dlnx elif use kernel_FreeBSD ; then target=3Dbsf fi # no parallel builds supported! emake -j1 SSLTYPE=3D${ssltype} $target EXTRACFLAGS=3D"${CFLAGS}" EXTRALD= FLAGS=3D"${LDFLAGS}" || die "make failed" } src_install() { # 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 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 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/BUILD docs/CONFIG docs/RELNOTES docs/SSLBUI= LD if use doc; then docinto rfc dodoc docs/rfc/*.txt docinto draft dodoc docs/draft/* fi }