summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-10-06 07:46:31 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-10-06 07:47:31 +0100
commit6d76237061a1b8a957ff9176f3dd2912b79b4827 (patch)
tree8b1fba889958b892ae3f18ee253222810531311c /sys-apps/unscd/unscd-0.54-r1.ebuild
parentbase/package.use.mask: re-enable php on media-gfx/exact-image (diff)
downloadgentoo-6d76237061a1b8a957ff9176f3dd2912b79b4827.tar.gz
gentoo-6d76237061a1b8a957ff9176f3dd2912b79b4827.tar.bz2
gentoo-6d76237061a1b8a957ff9176f3dd2912b79b4827.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/unscd/unscd-0.54-r1.ebuild')
-rw-r--r--sys-apps/unscd/unscd-0.54-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
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 000000000000..0ba8f2841377
--- /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
+}