From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 06C91138247 for ; Wed, 22 Jan 2014 22:57:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D01AE0BC0; Wed, 22 Jan 2014 22:57:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 118AFE0BC0 for ; Wed, 22 Jan 2014 22:57:52 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4E2333FB82 for ; Wed, 22 Jan 2014 22:57:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 98BB1183B3 for ; Wed, 22 Jan 2014 22:57:49 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1390431459.6f5d70dade2523da3aeeb3ec8e4d4f53d6a8b8e9.blueness@gentoo> Subject: [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/getent/ X-VCS-Repository: proj/hardened-dev X-VCS-Files: sys-apps/getent/ChangeLog sys-apps/getent/getent-0.ebuild sys-apps/getent/getent-9999.ebuild sys-apps/getent/metadata.xml X-VCS-Directories: sys-apps/getent/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 6f5d70dade2523da3aeeb3ec8e4d4f53d6a8b8e9 X-VCS-Branch: musl Date: Wed, 22 Jan 2014 22:57:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: edff1da3-1e8d-415d-8c15-97ba2581e735 X-Archives-Hash: 7201c410ce6c705d8c6fd90edaae8b81 commit: 6f5d70dade2523da3aeeb3ec8e4d4f53d6a8b8e9 Author: Anthony G. Basile gentoo org> AuthorDate: Wed Jan 22 22:57:39 2014 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Jan 22 22:57:39 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=6f5d70da sys-apps/getent: breakout getent from uclibc, bug #498394 Package-Manager: portage-2.2.7 Manifest-Sign-Key: 0xF52D4BBA --- sys-apps/getent/ChangeLog | 10 ++++++++++ sys-apps/getent/getent-0.ebuild | 35 +++++++++++++++++++++++++++++++++++ sys-apps/getent/getent-9999.ebuild | 35 +++++++++++++++++++++++++++++++++++ sys-apps/getent/metadata.xml | 9 +++++++++ 4 files changed, 89 insertions(+) diff --git a/sys-apps/getent/ChangeLog b/sys-apps/getent/ChangeLog new file mode 100644 index 0000000..a0c3ee5 --- /dev/null +++ b/sys-apps/getent/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/getent +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/getent/ChangeLog,v 1.80 2014/01/19 11:34:07 pacho Exp $ + +*getent-9999 (20 Jan 2014) + + 20 Jan 2014; Anthony G. Basile +getent-9999.ebuild, + +metadata.xml: + Initial commit + diff --git a/sys-apps/getent/getent-0.ebuild b/sys-apps/getent/getent-0.ebuild new file mode 100644 index 0000000..98e8844 --- /dev/null +++ b/sys-apps/getent/getent-0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +DESCRIPTION="Script to emulate the behavior of glibc's getent utility" +HOMEPAGE="http://www.uclibc.org/" + +if [[ ${PV} == "9999" ]] ; then + SRC_URI="http://git.uclibc.org/uClibc/plain/extra/scripts/${PN}" + KEYWORDS="" + MY_P=${PN} +else + SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}" + KEYWORDS="~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86" + MY_P=${P} +fi + +LICENSE="LGPL-2" +SLOT="0" + +DEPEND=" + !sys-libs/glibc + !<=sys-libs/uclibc-0.9.33.2-r9 +" + +src_unpack() { + mkdir ${P} + cp "${DISTDIR}"/${MY_P} ${P}/${PN} +} + +src_install() { + dobin getent +} diff --git a/sys-apps/getent/getent-9999.ebuild b/sys-apps/getent/getent-9999.ebuild new file mode 100644 index 0000000..98e8844 --- /dev/null +++ b/sys-apps/getent/getent-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +DESCRIPTION="Script to emulate the behavior of glibc's getent utility" +HOMEPAGE="http://www.uclibc.org/" + +if [[ ${PV} == "9999" ]] ; then + SRC_URI="http://git.uclibc.org/uClibc/plain/extra/scripts/${PN}" + KEYWORDS="" + MY_P=${PN} +else + SRC_URI="http://dev.gentoo.org/~blueness/${PN}/${P}" + KEYWORDS="~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86" + MY_P=${P} +fi + +LICENSE="LGPL-2" +SLOT="0" + +DEPEND=" + !sys-libs/glibc + !<=sys-libs/uclibc-0.9.33.2-r9 +" + +src_unpack() { + mkdir ${P} + cp "${DISTDIR}"/${MY_P} ${P}/${PN} +} + +src_install() { + dobin getent +} diff --git a/sys-apps/getent/metadata.xml b/sys-apps/getent/metadata.xml new file mode 100644 index 0000000..b3560e8 --- /dev/null +++ b/sys-apps/getent/metadata.xml @@ -0,0 +1,9 @@ + + + + base-system + + blueness@gentoo.org + Anthony G. Basile + +