public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/getent/
Date: Wed, 22 Jan 2014 22:57:49 +0000 (UTC)	[thread overview]
Message-ID: <1390431459.6f5d70dade2523da3aeeb3ec8e4d4f53d6a8b8e9.blueness@gentoo> (raw)

commit:     6f5d70dade2523da3aeeb3ec8e4d4f53d6a8b8e9
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 22:57:39 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> 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 <blueness@gentoo.org> +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>base-system</herd>
+	<maintainer>
+		<email>blueness@gentoo.org</email>
+		<name>Anthony G. Basile</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2014-01-22 22:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-22 22:57 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-01-22 23:03 [gentoo-commits] proj/hardened-dev:musl commit in: sys-apps/getent/ Anthony G. Basile
2014-01-23 14:40 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1390431459.6f5d70dade2523da3aeeb3ec8e4d4f53d6a8b8e9.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox