commit:     d1503afd4d15fe51a23233fa0719d444c8fdf135
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 13:28:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1503afd

sys-libs/musl-nscd: bump to 1.0.2

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 sys-libs/musl-nscd/Manifest               |  1 +
 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 42 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
new file mode 100644
index 00000000000..72daae63035
--- /dev/null
+++ b/sys-libs/musl-nscd/Manifest
@@ -0,0 +1 @@
+DIST musl-nscd-1.0.2.tar.gz 44912 BLAKE2B 
8a496c941232ba617b8468351cbbb780b1decc2c162210f939abb3baa430a5f5a79e21fcd3aadac2cbe62820452fc18001edc7ebc13cae7a6ab768353c45235f
 SHA512 
45cd73f1e0eee7b32c3dcdfa96c0a11379f6208389b87fee97016af0ecb19e9e7d2a2f10e0df6e5ed8a6ad4bbbef70c01cd31ac3631fb1bcce6e69bf48843a3d

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
new file mode 100644
index 00000000000..b47444961d2
--- /dev/null
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
+HOMEPAGE="https://github.com/pikhq/musl-nscd";
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
+       EGIT_BRANCH=master
+else
+       SRC_URI="https://github.com/pikhq/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="minimal"
+
+src_prepare() {
+       eapply_user
+
+       sed -i '/LDFLAGS_AUTO=-s/d' configure || die 'Cannot patch configure 
file'
+}
+
+src_install() {
+       if use minimal; then
+               emake DESTDIR="${D}" install-headers
+       else
+               emake DESTDIR="${D}" install
+
+               newinitd "${FILESDIR}"/nscd.initd nscd
+               systemd_dounit "${FILESDIR}"/nscd.service
+               systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+
+               dodoc README
+       fi
+}

Reply via email to