commit:     6d76237061a1b8a957ff9176f3dd2912b79b4827
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  6 06:46:31 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Oct  6 06:47:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d762370

sys-apps/unscd: bump up to 0.54 (re-release)

Re-release has support for clang.

Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/741939
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-apps/unscd/Manifest             |  1 +
 sys-apps/unscd/unscd-0.54-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sys-apps/unscd/Manifest b/sys-apps/unscd/Manifest
index 8c47f03881b..58a79ecc158 100644
--- a/sys-apps/unscd/Manifest
+++ b/sys-apps/unscd/Manifest
@@ -1,2 +1,3 @@
 DIST nscd-0.53.c 73206 BLAKE2B 
ce3b8e02ce8879664bde7ee7362ee0d920ad9e9cd24da08b02e83d49b2e0bef7fb1b3c6635bc4e8a26d901170943a78bae608903459e4447edf004e5ef716468
 SHA512 
d14362d21282d0ea919af3b353f7838d1514c293b49df084bc8df424392b4121dba3443a07118f4c8c1cfdca0cbf8ebddde24cf73459b06349e9d1a68801403c
+DIST nscd-0.54-r1.c 73304 BLAKE2B 
5c35fec2f4f3447c5d6500a7fc50c97347923d62d084134ced5c412307e8db6079e01302b16ac3e1940ee9194a31ebec464e3bd838fd8b6a650b8c0bdc66349d
 SHA512 
88f40a10ff9ba0f46ef6f266a8ab610bf54c1d322d11df47e616e3cc007edaebdf673ec71a314b7c672d2aa7a2eac799abb0bdf87aaebd71fb8d2f7ef4e33ab6
 DIST nscd-0.54.c 73292 BLAKE2B 
8088c5d00e3604143a3e7bbd173d553dcb6f98de226eb48dc7f37afbcdbc4d606712896bb13686246893d3dc8e50a38ecf2b75d84a2f266c38a3eb947408da19
 SHA512 
61454613284371a3b0c8a6d3a2451247a792f51ff813489c0f2065296248f8f3489f1878a0d88ac1526b9391937cf9f31a60d1df882f76fc9da4ad79904b22e9

diff --git a/sys-apps/unscd/unscd-0.54-r1.ebuild 
b/sys-apps/unscd/unscd-0.54-r1.ebuild
new file mode 100644
index 00000000000..0ba8f284137
--- /dev/null
+++ b/sys-apps/unscd/unscd-0.54-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="simple & stable nscd replacement"
+HOMEPAGE="https://busybox.net/~vda/unscd/README";
+SRC_URI="https://busybox.net/~vda/unscd/nscd-${PV}.c -> nscd-${PV}-r1.c"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/glibc[nscd(+)]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+       cp "${DISTDIR}"/nscd-${PV}-r1.c unscd.c || die
+}
+
+src_compile() {
+       tc-export CC
+       emake unscd
+}
+
+src_install() {
+       newinitd "${FILESDIR}"/unscd.initd-r1 unscd
+       systemd_newtmpfilesd "${FILESDIR}"/unscd-tmpfiles.conf unscd.conf
+       systemd_dounit "${FILESDIR}"/unscd.service
+       dosbin unscd
+}

Reply via email to