From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 72EFB158012 for ; Fri, 24 Sep 2021 17:16:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6706E086A; Fri, 24 Sep 2021 17:16:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A993E086A for ; Fri, 24 Sep 2021 17:16:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39A33342B1A for ; Fri, 24 Sep 2021 17:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CCA778E for ; Fri, 24 Sep 2021 17:16:09 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1632503756.9dbc17872b221dd94343d4cd13e5719734efc08d.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/musl-nscd/Manifest sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild X-VCS-Directories: sys-libs/musl-nscd/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 9dbc17872b221dd94343d4cd13e5719734efc08d X-VCS-Branch: master Date: Fri, 24 Sep 2021 17:16:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b507b8e-1427-4d1b-80ef-deff4b1fd866 X-Archives-Hash: b5c9687a2ab06bf7d895eaadfa5e4613 commit: 9dbc17872b221dd94343d4cd13e5719734efc08d Author: Anthony G. Basile gentoo org> AuthorDate: Fri Sep 24 17:15:56 2021 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Sep 24 17:15:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dbc1787 sys-libs/musl-nscd: version bumpt to 1.1.1 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> sys-libs/musl-nscd/Manifest | 1 + sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest index 1ec7646eb38..2dc727fea3a 100644 --- a/sys-libs/musl-nscd/Manifest +++ b/sys-libs/musl-nscd/Manifest @@ -1,2 +1,3 @@ DIST musl-nscd-1.0.2.tar.gz 44912 BLAKE2B 8a496c941232ba617b8468351cbbb780b1decc2c162210f939abb3baa430a5f5a79e21fcd3aadac2cbe62820452fc18001edc7ebc13cae7a6ab768353c45235f SHA512 45cd73f1e0eee7b32c3dcdfa96c0a11379f6208389b87fee97016af0ecb19e9e7d2a2f10e0df6e5ed8a6ad4bbbef70c01cd31ac3631fb1bcce6e69bf48843a3d DIST musl-nscd-1.0.3.tar.gz 45023 BLAKE2B de3985878745497f0f6904efba0ecf1c5d4ab96dd190fe0b776459db946749858821f51e75d457172da75cd68c5bba22143647b269473f35d41e0ab9bbac3e36 SHA512 b931a28d70bbcc19a5b592449e7400ee61d5af93511d44e2e63416010b3938f1d350a965b0ad876699bed406926d3180a0380868279e13d3456e2264c80a4b7d +DIST musl-nscd-1.1.1.tar.gz 51598 BLAKE2B 0c14cfed06f766e174154cdedf046eee8206822d21ce6ac0f1d2c253224a9c8be2fabe6a7d9c0e7c63d1811e3ccf06ca7b2c9dcb728cde445108039723e486c2 SHA512 f067b1491c6c46c3070aa2f61328b874eb6ad390c2efc928e2fee591ef5997b40400e29495546a861e803460efa46024c7a01c53ddae5b763ef63c2f274fceea diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild b/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild new file mode 100644 index 00000000000..78daab8676a --- /dev/null +++ b/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd tmpfiles + +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" + +DEPEND=" + !sys-libs/glibc + !sys-libs/uclibc" + +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 + newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf + + dodoc README + fi +} + +pkg_postinst() { + if ! use minimal; then + tmpfiles_process nscd.conf + fi +}