summaryrefslogtreecommitdiff
path: root/sys-libs/nss-usrfiles
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/nss-usrfiles')
-rw-r--r--sys-libs/nss-usrfiles/Manifest5
-rw-r--r--sys-libs/nss-usrfiles/metadata.xml11
-rw-r--r--sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild31
3 files changed, 47 insertions, 0 deletions
diff --git a/sys-libs/nss-usrfiles/Manifest b/sys-libs/nss-usrfiles/Manifest
new file mode 100644
index 000000000000..c763f70ea441
--- /dev/null
+++ b/sys-libs/nss-usrfiles/Manifest
@@ -0,0 +1,5 @@
+DIST nss-altfiles-2.18.1.zip 42369 SHA256 32eb1ecd94c7c789b540e2d047bb90f5a82d3ec02f8b4adbfc48ae55c32aa1d6 SHA512 d9e2c34ce2518a5310578a2b99a59fc1a8142c252c41e5dab0fd0c07e62ccfa2e3c5d2dd29e179514f3b37537bb0576e2bc3c850f459fa251cd57923438981af WHIRLPOOL 7a035ccb0844df32064f7dc6bf027a1cc55ac4421feda2832516445f904ec6616d67e1dcc3387b85553fdeacd566c7fcff970a24888587d16654c444247ae636
+EBUILD nss-usrfiles-2.18.1.ebuild 678 SHA256 ac054293deb2f55353ac4abfefa5bea89cc53679c2d8aa2786bfdfad246f6de9 SHA512 dad315420bb9a5f72acab271eab41c07ab045b5703d5b94ff4993b15156a77ddaf5f50ab64e4a2021e303239d59686cfd329a47ca15bd0aa73f2be3e418e5f8d WHIRLPOOL 84c2d53d42342c2546bd02be226a732f78f818e1d13cff037e23a97287c64987c0e74007b0059f744c6af4ace0e324ed622cee8ccc23b210dfc9e44945448663
+MISC ChangeLog 2193 SHA256 daab042d295760597236c0a1a3ca2848fba652dab0dedd2b0423b5c4cdfbe66c SHA512 50d3b7e782bc770755bb85a60290f6a7e05a87f324b9a1059b3d25d8198bc269222a7ed49e7a94fb7d1ab64be77d6fb9d5a8274180f26e85b1593ff100e5eb81 WHIRLPOOL e98fdfa903473b3d20f4f6241fb4bc4385d241beb03f4728f01ea4722d81fda3c22262864cef8585d90fa1979e589f96c66c5c434f6c4ba7ff6cefda0271b97e
+MISC ChangeLog-2015 553 SHA256 69231c447117e566d6c90b94fd24c7cd7ef650599bb329cc7fabb395223db6c2 SHA512 69aaa3ff10847d76902577d31b6a07ed61afe8008b32af34a6ccee67de91ce19af89e10f7ca30c1b374ddba2010b8e96ef50e46f1671653a2537fecc4a0cc1c4 WHIRLPOOL f413e2a71ff1a7f07aa7d7838c7606fb04abace8f7763641d6bbffcac5c7bbe9c90743b9bec113157dfd6664e754be75908bfca274ba20d2d3735182e39ecec5
+MISC metadata.xml 326 SHA256 41e91adf1c2e4605bdc1005b3731c55b57802d40a0cd8322e4c17edad4c08805 SHA512 1264c4689eb03ec6fa879b069d313d04bc72cfcc4a89a72f8644ed4c94739996792d921d60024a285c3719b5d311fa3e67d41c0d384cc609edc7e0379ac2b717 WHIRLPOOL b7d9b9f5ae6b2f91e8915cb8990e0343ed6cb690a05391b1365bd2eb01494d8b4c0fa44a7e8318c7c7114074493591b410d85c7aa98223568a7cd7cb395f5cc5
diff --git a/sys-libs/nss-usrfiles/metadata.xml b/sys-libs/nss-usrfiles/metadata.xml
new file mode 100644
index 000000000000..7b6e2601d4ca
--- /dev/null
+++ b/sys-libs/nss-usrfiles/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ryao@gentoo.org</email>
+ <name>Richard Yao</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">coreos/nss-altfiles</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild b/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild
new file mode 100644
index 000000000000..4934b0ad75bb
--- /dev/null
+++ b/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_PN="nss-altfiles"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="NSS module to read passwd/group files from CoreOS /usr location"
+HOMEPAGE="https://github.com/coreos/${MY_PN}"
+SRC_URI="https://github.com/coreos/${MY_PN}/archive/v${PV}.zip -> ${MY_P}.zip"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ : # Don't bother with the custom configure script.
+}
+
+src_compile() {
+ emake DATADIR=/usr/share/baselayout MODULE_NAME=usrfiles
+}
+
+src_install() {
+ dolib.so libnss_usrfiles.so.2
+}