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 1SGjJH-0003jy-OF for garchives@archives.gentoo.org; Sun, 08 Apr 2012 04:01:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2729E090F; Sun, 8 Apr 2012 04:00:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8AF59E0860 for ; Sun, 8 Apr 2012 04:00:55 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAF491B402F for ; Sun, 8 Apr 2012 04:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3976BE542C for ; Sun, 8 Apr 2012 04:00:53 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1333857638.4d374f7d037d52fd941aef0e9564ddec51e20a7d.blueness@gentoo> Subject: [gentoo-commits] proj/hardened-dev:uclibc commit in: sys-libs/uclibc/ X-VCS-Repository: proj/hardened-dev X-VCS-Files: sys-libs/uclibc/uclibc-0.9.33-r1.ebuild X-VCS-Directories: sys-libs/uclibc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 4d374f7d037d52fd941aef0e9564ddec51e20a7d X-VCS-Branch: uclibc Date: Sun, 8 Apr 2012 04:00:53 +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: 79484a80-c89e-40d7-a3b6-88e549bdb8b8 X-Archives-Hash: 651a5c451be07b352a1f467672c49476 commit: 4d374f7d037d52fd941aef0e9564ddec51e20a7d Author: Anthony G. Basile gentoo org> AuthorDate: Sun Apr 8 04:00:38 2012 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sun Apr 8 04:00:38 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/hardened-dev.= git;a=3Dcommit;h=3D4d374f7d sys-libs/uclibc: add ebuild for today's snapshot for ppc and mips (Portage version: 2.1.10.49/git/Linux x86_64, signed Manifest commit with= key 0xD0455535) --- sys-libs/uclibc/uclibc-0.9.33-r1.ebuild | 64 +++++++++++++++++++++++++= ++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/sys-libs/uclibc/uclibc-0.9.33-r1.ebuild b/sys-libs/uclibc/uc= libc-0.9.33-r1.ebuild new file mode 100644 index 0000000..626b85f --- /dev/null +++ b/sys-libs/uclibc/uclibc-0.9.33-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/uclibc/uclibc-0.9.30.1-r1.eb= uild,v 1.9 2011/04/20 18:10:38 ulm Exp $ + +EAPI=3D"4" + +MY_P=3DuClibc-0.9.33-57f058b +DESCRIPTION=3D"C library for developing embedded Linux systems" +HOMEPAGE=3D"http://www.uclibc.org/" +SRC_URI=3D"http://opensource.dyc.edu/pub/misc/${MY_P}.tar.gz" + +LICENSE=3D"LGPL-2" +SLOT=3D"0" +KEYWORDS=3D"-* ~mips ~ppc" +IUSE=3D"" +RESTRICT=3D"strip" + +RDEPEND=3D"" +DEPEND=3D"" + +S=3D${WORKDIR}/${MY_P} + +src_configure() { + case ${ARCH} in + x86) + cp "${FILESDIR}"/uclibc-i686.33.config .config || die "could not copy= config file" + ;; + amd64) + cp "${FILESDIR}"/uclibc-amd64.33.config .config || die "could not cop= y config file" + ;; + mips) + cp "${FILESDIR}"/uclibc-mips.33.config .config || die "could not copy= config file" + ;; + ppc) + cp "${FILESDIR}"/uclibc-ppc.33.config .config || die "could not copy = config file" + ;; + *) + eerror "${ARCH} is not supported" + esac + yes "" 2> /dev/null | make -s oldconfig > /dev/null || die "could not m= ake oldconfig" +} + +src_compile() { + emake headers + emake + emake utils +} + +src_install() { + emake DESTDIR=3D"${D}" install + + # remove files coming from kernel-headers + rm -rf "${D}"/usr/include/{linux,asm*} + + emake DESTDIR=3D"${D}" install_utils + dobin extra/scripts/getent + dodoc Changelog* README TODO docs/*.txt DEDICATION.mjn3 +} + +pkg_postinst() { + echo "UTC" > "${ROOT}"/etc/TZ + /sbin/ldconfig + [[ -x /sbin/telinit ]] && /sbin/telinit U &> /dev/null +}