summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlayman <layman@localhost>2014-01-20 19:27:05 -0500
committerlayman <layman@localhost>2014-01-20 19:27:05 -0500
commite488ef5cfc8348e84d08021a62390aab957b35cc (patch)
tree74baef9cfb727de7cea28895178996a1b6202fa1
parentgames-kids/sound-of-sorting: moved to tree (diff)
downloadblueness-e488ef5cfc8348e84d08021a62390aab957b35cc.tar.gz
blueness-e488ef5cfc8348e84d08021a62390aab957b35cc.tar.bz2
blueness-e488ef5cfc8348e84d08021a62390aab957b35cc.zip
sys-apps/getent: differentiate versioned and -9999
Package-Manager: portage-2.2.7 Manifest-Sign-Key: 0xF52D4BBA
-rw-r--r--sys-apps/getent/Manifest30
-rw-r--r--sys-apps/getent/getent-0.ebuild35
-rw-r--r--sys-apps/getent/getent-9999.ebuild14
3 files changed, 62 insertions, 17 deletions
diff --git a/sys-apps/getent/Manifest b/sys-apps/getent/Manifest
index cb212f3..9c11615 100644
--- a/sys-apps/getent/Manifest
+++ b/sys-apps/getent/Manifest
@@ -2,23 +2,25 @@
Hash: SHA256
DIST getent 1061 SHA256 446fee44df0b68957b56184f420196179c6f9b36fb306cad30df40074d6dbc0b SHA512 df8150d676e4f15d8c945009f9ff19ddefaddf65ef82762ae438f3250bf394278b1afbb460748b19ffeff751124a6aa94f37a675e480375ab1a2013570f42c34 WHIRLPOOL aa1fd491ef35c4837c2d8e7d1e2cf081604e8f232b467eb07a38e1079d42d87bc7c9998154f5fe4f951e8569aa00fbf6472a47725ebfa85801ce237b6806a250
-EBUILD getent-9999.ebuild 536 SHA256 5e6a1ee809e2402d5b2a96cad88fd58fd7d04977e0b197a6f19f918da46f0ea8 SHA512 3a8476f7b577bd81ce4a7741de54f3eeea431eb717c0aee94e0253dfd8b70e5d89a432a2f3b241910a23f8abb09b323944756cd4d92fcc2c8d2282f471b36729 WHIRLPOOL 8198068f90bde3b81eb3aff77d00e795055ef5a1e54d319a46f4e9310aba9e065c2ba0fb7d563e761f662714ddb28b3dcd6da4c048d9ca14768f725f1759ea3a
+DIST getent-0 1061 SHA256 446fee44df0b68957b56184f420196179c6f9b36fb306cad30df40074d6dbc0b SHA512 df8150d676e4f15d8c945009f9ff19ddefaddf65ef82762ae438f3250bf394278b1afbb460748b19ffeff751124a6aa94f37a675e480375ab1a2013570f42c34 WHIRLPOOL aa1fd491ef35c4837c2d8e7d1e2cf081604e8f232b467eb07a38e1079d42d87bc7c9998154f5fe4f951e8569aa00fbf6472a47725ebfa85801ce237b6806a250
+EBUILD getent-0.ebuild 665 SHA256 a4ee9a696bc57d2f0b1a947d48ca97c334da9a4f1b485181ec0c23ce93b0d859 SHA512 2c90ff5dad23e114a6da42d36a245de8c2a17c32a5dfd50b9ed13d24136ebef7c749f5401ef9b2a7fed52cc1d051e539ef012b3977ab5ab0cfdd86461cbb5ab4 WHIRLPOOL 5b007efc7109726d7f5b8b2bbd9ed29d27841334aea5c315837787e67627597333ec813d66026da2d143cbb78f383f278da8cc2b3e5e1c81a19ba2caf7fac7f6
+EBUILD getent-9999.ebuild 665 SHA256 a4ee9a696bc57d2f0b1a947d48ca97c334da9a4f1b485181ec0c23ce93b0d859 SHA512 2c90ff5dad23e114a6da42d36a245de8c2a17c32a5dfd50b9ed13d24136ebef7c749f5401ef9b2a7fed52cc1d051e539ef012b3977ab5ab0cfdd86461cbb5ab4 WHIRLPOOL 5b007efc7109726d7f5b8b2bbd9ed29d27841334aea5c315837787e67627597333ec813d66026da2d143cbb78f383f278da8cc2b3e5e1c81a19ba2caf7fac7f6
MISC ChangeLog 342 SHA256 5baf0f707654918acdb6c22891a29eb5d64ccace229a74400eac494583af7a73 SHA512 520abfcd4e1b3ec6196eb0127a1e4ac71a2f2913c5901c835573164dfc17f3071330a64c1aed80373f3016ed15f2245fe0949e02ae6f21644bc98abba2a910ff WHIRLPOOL 0d1218d570218b463f50555c9b84cba7ee481a9aea2ead560d84ae48c299bb7ebb8190bab4cfa78b5e2dbb7b7e16d94a5decb24d1e4aad4f007b15543a446004
MISC metadata.xml 264 SHA256 9258a76e55e079bb4343dd647444880ba99344179f8b95ec9793f9dec52f7099 SHA512 a90c1f8b21f3963752684d952f2b6dc608e76482a2ba1245f99cf77647e152d31c096cde36c29e2c256bcb5c5fd5b80245843b279acdec5add1e6124974f23bd WHIRLPOOL bf46173429700b2a1b2e0254157a73f56521f6c40e37e370679ee730ea88aae4e5ee466ed7255d59f44c0b3bc51400baa240d2b8f9f49af843d9514fb29bf3cb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJS3beTAAoJEJOE+m71LUu65ogP/1o4bZaaEsTN5V9ED2N17yOa
-QYkVytJ79TCSrUTTLDxJ2T2JbJuJi1rjn/cxC1XNv3mYxWy224vrV3SKu/B+jOyT
-/zSC7tlhiVl6XozKjTTsX4UkYiDRHXpXLYrzQcCNro+7nGQGOPHd36Gk6hTYQwtA
-QYQqXHjxmXf0qbT/hSaJZwqgcVguOC0BZm2hNZ5ajDbhpQreqibPdFc/LZZp1RT7
-dv+GCw7xMRwMN0D964KigTjl8tJkFLxKQRVkA26EL3e2YC67b/e9Fw/3SK8UUKwe
-7jWEwJ15ij7HcjvP7Ng7dyNb5HsFlWe7mPJCSh1X6kxQ+DMjs2RBIyYWA6cdB/PY
-zdBpJL80JKvbM+2j+S6Q8z5q1aUx1ZWVGyKVa22cuwhauHun5D996C5LA6nb0bRJ
-KRfaO/iAnOxkTmxPxzLtR091N73aQk2lmzVG3de351fr9egX5/EWDoVEFooUrx4b
-bKboNRazMa1l5OXMnu7Fm5SjC8wVOJrxXvCgAT+z3+Cdh8XxUoaDZ3VbFbHmxwqh
-FUKx9IYuscffqknTttkVDlUgs1fJzlixW546J2BikgeLzQ+a25wU+tSvwmZEm92L
-5s54cnN2Xq7Xy2CUBYDJTIWXayb2gebfz2kmWs1m89NbNmpcR+HE1scvNC/iFNL3
-SBf4pq67Syc+uJRV037n
-=vLI1
+iQIcBAEBCAAGBQJS3b7ZAAoJEJOE+m71LUu605kQAKq5+4BSw7Q88r7XI9wNFC4Q
+LF3eofs6icmKZ0ngZTNVz1fX8ISTXoHvU5zkCDhM9dMfSdgA7kaKw/dtH89/of1x
+itAAg4iwVkEBUy2f9+KYpxP+1uSEf5vteYzlIDxFEi5LU9Lj/jokHJNrBmVBOq7T
+uFOGDRr+DhturA31nEoAkraOwiVfzAU3J+zkmD3p+zYg+9f3LjqWlm/MMdKWlIBU
+cZzSy7gRPjGdR3dnEudSFgsOiK2pauIrF20v1636sHskkMxXiLiHT0/gcjEwW/jN
+/gP1UNCTOlqAdv1rzo0BoNVz61hqme411ToI6NIQS515Te/5657GOJyN4ps4/L91
+kjryX+UNZGZEA+BBOHkUb8tgIYvKs4FaX7CArid5cUxEac3NWbFpIMF2uC1yy/nD
+/OA8qkq/ZEln647aOdjKttl/uXqhpC8ehbJOyJPgujMI/4xnRtoT0Zv6EmoNMKgx
+oh7RZ+VpOhJOv5gijZtRYQYbx18yMCFgVdQWhiFVlvnryDD643lMrf3mKWY3+8/8
+2kAEzKGqmKCEUaAZep+fOmVHcIVuezprsx+5ndEs59yWIdRM+8rdAuu/ETp/tzNi
+dDresbkZQD81trsBW5CnLMsp/XEfdUaNEXPrAanvvVrKE0X6YaCk+3ER6AElf7BF
+KP8o+LDLonw0l0YGoN6v
+=9Vhs
-----END PGP SIGNATURE-----
diff --git a/sys-apps/getent/getent-0.ebuild b/sys-apps/getent/getent-0.ebuild
new file mode 100644
index 0000000..6307204
--- /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}"
+ 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
index ca09397..6307204 100644
--- a/sys-apps/getent/getent-9999.ebuild
+++ b/sys-apps/getent/getent-9999.ebuild
@@ -6,11 +6,19 @@ EAPI="5"
DESCRIPTION="Script to emulate the behavior of glibc's getent utility"
HOMEPAGE="http://www.uclibc.org/"
-SRC_URI="http://git.uclibc.org/uClibc/plain/extra/scripts/${PN}"
+
+if [[ ${PV} == "9999" ]] ; then
+ SRC_URI="http://git.uclibc.org/uClibc/plain/extra/scripts/${PN}"
+ 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"
-KEYWORDS="~amd64 ~arm ~m68k ~mips ~ppc ~sh ~sparc ~x86"
DEPEND="
!sys-libs/glibc
@@ -19,7 +27,7 @@ DEPEND="
src_unpack() {
mkdir ${P}
- cp "${DISTDIR}"/${PN} ${P}
+ cp "${DISTDIR}"/${MY_P} ${P}/${PN}
}
src_install() {