[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 9dbc17872b221dd94343d4cd13e5719734efc08d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:15:56 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:15:56 2021 +
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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-09-24 Thread Anthony G. Basile
commit: 68edf87303fee41574d2bee5c38a6e926aac701b
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Fri Sep 24 17:17:36 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Fri Sep 24 17:17:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68edf873

sys-libs/musl-nscd: drop older unstable version

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.0.2.ebuild | 54 ---
 2 files changed, 55 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index 2dc727fea3a..e3c2b5382c4 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,3 +1,2 @@
-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.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
deleted file mode 100644
index 055b7e4a3d0..000
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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} == * ]] ; 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"
-
-PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-07-30 Thread Sam James
commit: 7b58c934faeb68bdf85e719ef020d12eaf00dc90
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 30 22:59:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 30 23:30:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b58c934

sys-libs/musl-nscd: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild | 6 ++
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 ++
 3 files changed, 18 insertions(+)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 3b1942c2161..055b7e4a3d0 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
index fb9101f102e..0f8e8326c8f 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
@@ -46,3 +46,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index e03ce6c6293..78daab8676a 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -44,3 +44,9 @@ src_install() {
dodoc README
fi
 }
+
+pkg_postinst() {
+   if ! use minimal; then
+   tmpfiles_process nscd.conf
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2021-03-07 Thread David Seifert
commit: bab3de0137d851cff8d4f7d6cd0fd707add23d86
Author: Theo Anderson  posteo  de>
AuthorDate: Sun Mar  7 11:57:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar  7 11:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3de01

sys-libs/musl-nscd: migrate to tmpfiles.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>
Signed-off-by: David Seifert  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 41e38df7180..3b1942c2161 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -41,7 +41,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 6d29e439755..e03ce6c6293 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit systemd
+inherit systemd tmpfiles
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
@@ -39,7 +39,7 @@ src_install() {
 
newinitd "${FILESDIR}"/nscd.initd nscd
systemd_dounit "${FILESDIR}"/nscd.service
-   systemd_newtmpfilesd "${FILESDIR}"/nscd.tmpfilesd nscd.conf
+   newtmpfiles "${FILESDIR}"/nscd.tmpfilesd nscd.conf
 
dodoc README
fi



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2020-02-19 Thread Anthony G. Basile
commit: 6fb5d6e431ad887789ee91496ec61a46001203d3
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Feb 19 14:06:26 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Feb 19 14:06:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fb5d6e4

sys-libs/musl-nscd: do not install on glibc or ulcibc, bug #697784

Closes: https://bugs.gentoo.org/697784
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Anthony G. Basile  gentoo.org>

 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild | 6 +-
 sys-libs/musl-nscd/musl-nscd-.ebuild  | 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index b47444961d2..6d29e439755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,6 +21,10 @@ LICENSE="MIT"
 SLOT="0"
 IUSE="minimal"
 
+DEPEND="
+   !sys-libs/glibc
+   !sys-libs/uclibc"
+
 src_prepare() {
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: 2077ada07671272039e0a63174115fa5b41e699a
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:10:31 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2077ada0

sys-libs/musl-nscd: EAPI=7, resolve prestripped binaries

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

 sys-libs/musl-nscd/musl-nscd-.ebuild | 23 ++-
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index cdee80a8945..b47444961d2 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,19 +1,32 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3 systemd
+inherit systemd
 
 DESCRIPTION="musl-nscd is an implementation of the NSCD protocol for the musl 
libc"
 HOMEPAGE="https://github.com/pikhq/musl-nscd";
-EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
-EGIT_BRANCH=master
+
+if [[ ${PV} == "" ]] ; 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



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2019-10-15 Thread Anthony G. Basile
commit: d1503afd4d15fe51a23233fa0719d444c8fdf135
Author: Petr Vaněk  atlas  cz>
AuthorDate: Mon Oct 14 08:18:00 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Oct 15 13:28:35 2019 +
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  atlas.cz>
Signed-off-by: Anthony G. Basile  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 000..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 000..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} == "" ]] ; 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
+}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-01-25 Thread Anthony G. Basile
commit: fd9992891b56aa2c08a90270158c3824c9b10f3a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jan 25 12:30:02 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jan 25 12:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd999289

sys-libs/musl-nscd: add myself as second maintainer

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 7a97e61f8d5..0ef7be03a10 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -5,6 +5,10 @@
lejo...@gentoo.org
Daniel Kuehn

+   
+   bluen...@gentoo.org
+   Anthony G. Basile
+   

Only installs the header files




[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2018-07-01 Thread Pacho Ramos
commit: 472c603177695661158620d1efa88193e34c706d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jul  1 09:26:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jul  1 09:26:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=472c6031

sys-libs/musl-nscd: Reassign due to bug #392031

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-libs/musl-nscd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sys-libs/musl-nscd/metadata.xml b/sys-libs/musl-nscd/metadata.xml
index 0ef7be03a10..24c6fe3f998 100644
--- a/sys-libs/musl-nscd/metadata.xml
+++ b/sys-libs/musl-nscd/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   lejo...@gentoo.org
-   Daniel Kuehn
-   

bluen...@gentoo.org
Anthony G. Basile



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/

2022-01-01 Thread David Seifert
commit: 2473be8add6756f6d0ce64a3bf70e23fc649fc81
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan  1 20:07:30 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan  1 20:07:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2473be8a

sys-libs/musl-nscd: remove uclibc

Signed-off-by: David Seifert  gentoo.org>

 .../musl-nscd/{musl-nscd-1.0.3.ebuild => musl-nscd-1.0.3-r1.ebuild} | 6 +++---
 .../musl-nscd/{musl-nscd-1.1.1.ebuild => musl-nscd-1.1.1-r1.ebuild} | 6 +++---
 sys-libs/musl-nscd/musl-nscd-.ebuild| 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
similarity index 93%
rename from sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
index 0f8e8326c8f1..bec1e9b35ef1 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
 

diff --git a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
similarity index 92%
rename from sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
rename to sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.1.1.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.1.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user

diff --git a/sys-libs/musl-nscd/musl-nscd-.ebuild 
b/sys-libs/musl-nscd/musl-nscd-.ebuild
index 78daab8676aa..775e2a99b755 100644
--- a/sys-libs/musl-nscd/musl-nscd-.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,8 +22,8 @@ SLOT="0"
 IUSE="minimal"
 
 DEPEND="
-   !sys-libs/glibc
-   !sys-libs/uclibc"
+   !sys-libs/glibc"
+RDEPEND="${DEPEND}"
 
 src_prepare() {
eapply_user



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/

2017-06-26 Thread Daniel Kuehn
commit: 9f65807a31384fa03c6e587402139aaaba0bc20a
Author: Daniel Kuehn  gentoo  org>
AuthorDate: Mon Jun 26 18:59:09 2017 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jun 26 19:00:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f65807a

sys-libs/musl-nscd: Fix initscript

Fix initscript to reference PIDFILE variable from conf.d config instead
of trying to do a subshell that is grepping strings of the binary

 sys-libs/musl-nscd/files/nscd.initd | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
index 929d1016df7..1bf83e7808a 100644
--- a/sys-libs/musl-nscd/files/nscd.initd
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -43,20 +43,16 @@ start() {
;;
esac
done < /etc/nsswitch.conf`
-   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
-   mkdir -p "$(dirname ${pidfile})"
-   save_options pidfile "${pidfile}"
+   mkdir -p "$(dirname ${PIDFILE:-/var/run/nscd/nscd.pid})"
start-stop-daemon --start --quiet \
-   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}" \
-- $secure
eend $?
 }
 
 stop() {
-   local pidfile="$(get_options pidfile)"
-   [ -n "${pidfile}" ] && pidfile="--pidfile ${pidfile}"
ebegin "Shutting down Name Service Cache Daemon"
-   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd ${pidfile}
+   start-stop-daemon --stop --quiet --exec /usr/sbin/nscd --pidfile 
"${PIDFILE:-/var/run/nscd/nscd.pid}"
eend $?
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2020-12-28 Thread David Seifert
commit: 2c78de9033cf97213ddd4983b04df2eef995fc39
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Dec 28 15:17:11 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 28 15:17:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c78de90

sys-libs/musl-nscd: Fix build with gcc-10

Closes: https://github.com/gentoo/gentoo/pull/18635
Closes: https://bugs.gentoo.org/708632
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ++
 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild  |  6 ++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
new file mode 100644
index 000..fce44ecdef7
--- /dev/null
+++ b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
@@ -0,0 +1,36 @@
+--- a/include/modules.h
 b/include/modules.h
+@@ -28,7 +28,7 @@ struct mod_passwd {
+   link_t link;
+ };
+ 
+-list_t passwd_mods;
+-list_t group_mods;
++extern list_t passwd_mods;
++extern list_t group_mods;
+ 
+ #endif
+--- a/src/main.c
 b/src/main.c
+@@ -18,6 +18,9 @@
+ #include "parse.h"
+ #include "util.h"
+ 
++list_t passwd_mods;
++list_t group_mods;
++
+ static void *get_dll(const char *service)
+ {
+   char *path;
+--- a/src/socket_handle.c
 b/src/socket_handle.c
+@@ -19,6 +19,9 @@
+ #include "modules.h"
+ #include "list.h"
+ 
++extern list_t passwd_mods;
++extern list_t group_mods;
++
+ static int return_result(int fd, int swap, uint32_t reqtype, void *key);
+ 
+ struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 6d29e439755..41e38df7180 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -8,7 +8,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} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
EGIT_BRANCH=master
@@ -25,8 +25,10 @@ DEPEND="
!sys-libs/glibc
!sys-libs/uclibc"
 
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
 src_prepare() {
-   eapply_user
+   default
 
sed -i '/LDFLAGS_AUTO=-s/d' configure || die 'Cannot patch configure 
file'
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/, sys-libs/musl-nscd/files/

2022-07-25 Thread Sam James
commit: 2fb298ff1bbdddac5f687a2deddaa554b338bcbc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 04:16:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 04:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb298ff

sys-libs/musl-nscd: drop 1.0.3-r1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/Manifest|  1 -
 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ---
 sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild   | 54 --
 3 files changed, 91 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index e3c2b5382c49..88436bb5a431 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,2 +1 @@
-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/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
deleted file mode 100644
index fce44ecdef7d..
--- a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
+++ /dev/null
@@ -1,36 +0,0 @@
 a/include/modules.h
-+++ b/include/modules.h
-@@ -28,7 +28,7 @@ struct mod_passwd {
-   link_t link;
- };
- 
--list_t passwd_mods;
--list_t group_mods;
-+extern list_t passwd_mods;
-+extern list_t group_mods;
- 
- #endif
 a/src/main.c
-+++ b/src/main.c
-@@ -18,6 +18,9 @@
- #include "parse.h"
- #include "util.h"
- 
-+list_t passwd_mods;
-+list_t group_mods;
-+
- static void *get_dll(const char *service)
- {
-   char *path;
 a/src/socket_handle.c
-+++ b/src/socket_handle.c
-@@ -19,6 +19,9 @@
- #include "modules.h"
- #include "list.h"
- 
-+extern list_t passwd_mods;
-+extern list_t group_mods;
-+
- static int return_result(int fd, int swap, uint32_t reqtype, void *key);
- 
- struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
deleted file mode 100644
index bec1e9b35ef1..
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 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} == * ]] ; 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"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2016-07-25 Thread Daniel Kuehn
commit: 0975334b5b21b0afd0e12632f77fcec65392329b
Author: Daniel Kuehn  kuehn  se>
AuthorDate: Mon Jul 25 20:56:19 2016 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jul 25 21:03:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0975334b

sys-libs/musl-nscd: Added musl-nscd

Added a live ebuild for musl-nscd, a thin Name Service System "wrapper"
for musl libc, highly experimental.

 sys-libs/musl-nscd/Manifest  |  5 +++
 sys-libs/musl-nscd/files/nscd.initd  | 64 
 sys-libs/musl-nscd/files/nscd.service| 15 
 sys-libs/musl-nscd/files/nscd.tmpfilesd  |  4 ++
 sys-libs/musl-nscd/metadata.xml  | 14 +++
 sys-libs/musl-nscd/musl-nscd-.ebuild | 30 +++
 6 files changed, 132 insertions(+)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
new file mode 100644
index 000..4380c29
--- /dev/null
+++ b/sys-libs/musl-nscd/Manifest
@@ -0,0 +1,5 @@
+AUX nscd.initd 1527 SHA256 
70a809ba34959aa9622bda95299e7391d14d84fad8b3cf5012e2284b6324b6cc SHA512 
d25cd0696e4ab2c33fbfe4adeb2f7f9ebe6b77f78d8b4aa79e88aaec21e7aa9c26de724ad0aed5e3e994a8c96bbfa759c48eee99b442f0e4ab9b2c62d177549b
 WHIRLPOOL 
2edef69a468325ac30f8b3f9ea3082f9fc69d887f775f5bed96fc1135bbb675ce1a797a898ce9f744d5d0c3fc0f2156edbca0e39134f08a2d8f41ef3513bf3c6
+AUX nscd.service 337 SHA256 
de7bc9946309d34f0ab44aa22a4d3cf259fe91c57e8000d741cb09ecd3a6caa0 SHA512 
2001100f3b054843c69b6fd2d38852c7c824282aa8998c25a3c0352db993705429d25c70d8ce6cb3579f836b7089644c520acac423ebd69cb1b36e94a77c5bea
 WHIRLPOOL 
f01d191971b0dc45f541c9ebaaa1a40f3497e2cc838cff6a20a7b1828d726c248abbd94322a5a5ff30c33ddb7d9086cd4d2ba3bdc1811fed59ff292ef3983a72
+AUX nscd.tmpfilesd 111 SHA256 
f0f64c4612d2097173854d2ec2e94ecbf4b77c7a6e94d950874e37346aa90d72 SHA512 
53b80b331e1a85d8ee16eb2ce547a7249e944926c3d1cdd4a47a5301a5c842ffc7ec1e3dc0a731542a8facf8261c1c57121802d01741aa89898a3476c09da340
 WHIRLPOOL 
cf1fed1a7e2ac1623a84f1cfa2062645afe3f791da2f4ace3859d12aa05df0e282b4c2e367a460015956ac2a8d01fee4cda84917a3adf2c38561dff200335270
+EBUILD musl-nscd-.ebuild 671 SHA256 
e067d535fe46a681d8a0d10a70b9642b6181e8ecc55f3e2cba9dd7fb6e138db4 SHA512 
4043366b036bfe1815064c5f16941aa7c425cd4d83eb3d3fcee719d4fb542fb455da0ca3b1c35b47697255303060e310a3fd3c82ad48bb9753a4cf8366d29d53
 WHIRLPOOL 
6725b47e9aeb959e9d7e38608a9eb8c528b674e272982176a84abb41274c20e078096f429714f89d1adbc9ec591eba8909db2d6cdefd0f932863fdcb547d6a8b
+MISC metadata.xml 402 SHA256 
0d54a9356015fce546623e40afe99d762f1a69c0ca19d2344ef5a49acd9ac1f2 SHA512 
365e5b780076080f19c4377606fd39a4c4f321e5383ed41d7a644601e705942a9c5264acd4a5390c2a57bb3d9bfcd5df00ad961bd07c5e7f28e4d5123b1a24f8
 WHIRLPOOL 
aaa7eeab92d759486ed5ef48f36436e66c4e651f3155209a49d90b79259c28e29b2eb26678f02ad284bd806d9ea7b00c07410c79f0bf3911debce6f6bee63b94

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
new file mode 100644
index 000..ff71543
--- /dev/null
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -0,0 +1,64 @@
+#!/sbin/openrc-run
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+   use dns ldap net slapd
+}
+
+checkconfig() {
+   if [ ! -d /var/run/nscd ] ; then
+   mkdir -p /var/run/nscd
+   chmod 755 /var/run/nscd
+   fi
+   if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != 
"755" ] ; then
+   echo ""
+   ewarn "nscd run dir is not world readable, you should reset the 
perms:"
+   ewarn "chmod 755 /var/run/nscd"
+   ewarn "chmod a+rw /var/run/nscd/socket"
+   echo ""
+   ewarn "To disable this warning, set 'NSCD_PERMS_OK' in 
/etc/conf.d/nscd"
+   echo ""
+   fi
+}
+
+start() {
+   checkconfig
+
+   ebegin "Starting Name Service Cache Daemon"
+   local secure=`while read curline ; do
+   table=${curline%:*}
+   entries=${curline##$table:}
+   table=${table%%[^a-z]*}
+   case $table in
+   passwd*|group*|hosts)
+   for entry in $entries ; do
+   case $entry in
+   nisplus*)
+   /usr/sbin/nscd_nischeck $table || \
+   /echo "-S $table,yes"
+   ;;
+   esac
+   done
+   ;;
+   esac
+   done < /etc/nsswitch.conf`
+   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
+   mkdir -p "$(dirname ${pidfile})"
+   save_options pidfile "${pidfile}"
+   start-stop-daemon --start --quiet \
+   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   -- $secure
+   eend $?
+}
+
+stop() {
+   local pidfile=

[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2016-07-25 Thread Daniel Kuehn
commit: 0975334b5b21b0afd0e12632f77fcec65392329b
Author: Daniel Kuehn  kuehn  se>
AuthorDate: Mon Jul 25 20:56:19 2016 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jul 25 21:03:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0975334b

sys-libs/musl-nscd: Added musl-nscd

Added a live ebuild for musl-nscd, a thin Name Service System "wrapper"
for musl libc, highly experimental.

 sys-libs/musl-nscd/Manifest  |  5 +++
 sys-libs/musl-nscd/files/nscd.initd  | 64 
 sys-libs/musl-nscd/files/nscd.service| 15 
 sys-libs/musl-nscd/files/nscd.tmpfilesd  |  4 ++
 sys-libs/musl-nscd/metadata.xml  | 14 +++
 sys-libs/musl-nscd/musl-nscd-.ebuild | 30 +++
 6 files changed, 132 insertions(+)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
new file mode 100644
index 000..4380c29
--- /dev/null
+++ b/sys-libs/musl-nscd/Manifest
@@ -0,0 +1,5 @@
+AUX nscd.initd 1527 SHA256 
70a809ba34959aa9622bda95299e7391d14d84fad8b3cf5012e2284b6324b6cc SHA512 
d25cd0696e4ab2c33fbfe4adeb2f7f9ebe6b77f78d8b4aa79e88aaec21e7aa9c26de724ad0aed5e3e994a8c96bbfa759c48eee99b442f0e4ab9b2c62d177549b
 WHIRLPOOL 
2edef69a468325ac30f8b3f9ea3082f9fc69d887f775f5bed96fc1135bbb675ce1a797a898ce9f744d5d0c3fc0f2156edbca0e39134f08a2d8f41ef3513bf3c6
+AUX nscd.service 337 SHA256 
de7bc9946309d34f0ab44aa22a4d3cf259fe91c57e8000d741cb09ecd3a6caa0 SHA512 
2001100f3b054843c69b6fd2d38852c7c824282aa8998c25a3c0352db993705429d25c70d8ce6cb3579f836b7089644c520acac423ebd69cb1b36e94a77c5bea
 WHIRLPOOL 
f01d191971b0dc45f541c9ebaaa1a40f3497e2cc838cff6a20a7b1828d726c248abbd94322a5a5ff30c33ddb7d9086cd4d2ba3bdc1811fed59ff292ef3983a72
+AUX nscd.tmpfilesd 111 SHA256 
f0f64c4612d2097173854d2ec2e94ecbf4b77c7a6e94d950874e37346aa90d72 SHA512 
53b80b331e1a85d8ee16eb2ce547a7249e944926c3d1cdd4a47a5301a5c842ffc7ec1e3dc0a731542a8facf8261c1c57121802d01741aa89898a3476c09da340
 WHIRLPOOL 
cf1fed1a7e2ac1623a84f1cfa2062645afe3f791da2f4ace3859d12aa05df0e282b4c2e367a460015956ac2a8d01fee4cda84917a3adf2c38561dff200335270
+EBUILD musl-nscd-.ebuild 671 SHA256 
e067d535fe46a681d8a0d10a70b9642b6181e8ecc55f3e2cba9dd7fb6e138db4 SHA512 
4043366b036bfe1815064c5f16941aa7c425cd4d83eb3d3fcee719d4fb542fb455da0ca3b1c35b47697255303060e310a3fd3c82ad48bb9753a4cf8366d29d53
 WHIRLPOOL 
6725b47e9aeb959e9d7e38608a9eb8c528b674e272982176a84abb41274c20e078096f429714f89d1adbc9ec591eba8909db2d6cdefd0f932863fdcb547d6a8b
+MISC metadata.xml 402 SHA256 
0d54a9356015fce546623e40afe99d762f1a69c0ca19d2344ef5a49acd9ac1f2 SHA512 
365e5b780076080f19c4377606fd39a4c4f321e5383ed41d7a644601e705942a9c5264acd4a5390c2a57bb3d9bfcd5df00ad961bd07c5e7f28e4d5123b1a24f8
 WHIRLPOOL 
aaa7eeab92d759486ed5ef48f36436e66c4e651f3155209a49d90b79259c28e29b2eb26678f02ad284bd806d9ea7b00c07410c79f0bf3911debce6f6bee63b94

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
new file mode 100644
index 000..ff71543
--- /dev/null
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -0,0 +1,64 @@
+#!/sbin/openrc-run
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+   use dns ldap net slapd
+}
+
+checkconfig() {
+   if [ ! -d /var/run/nscd ] ; then
+   mkdir -p /var/run/nscd
+   chmod 755 /var/run/nscd
+   fi
+   if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != 
"755" ] ; then
+   echo ""
+   ewarn "nscd run dir is not world readable, you should reset the 
perms:"
+   ewarn "chmod 755 /var/run/nscd"
+   ewarn "chmod a+rw /var/run/nscd/socket"
+   echo ""
+   ewarn "To disable this warning, set 'NSCD_PERMS_OK' in 
/etc/conf.d/nscd"
+   echo ""
+   fi
+}
+
+start() {
+   checkconfig
+
+   ebegin "Starting Name Service Cache Daemon"
+   local secure=`while read curline ; do
+   table=${curline%:*}
+   entries=${curline##$table:}
+   table=${table%%[^a-z]*}
+   case $table in
+   passwd*|group*|hosts)
+   for entry in $entries ; do
+   case $entry in
+   nisplus*)
+   /usr/sbin/nscd_nischeck $table || \
+   /echo "-S $table,yes"
+   ;;
+   esac
+   done
+   ;;
+   esac
+   done < /etc/nsswitch.conf`
+   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
+   mkdir -p "$(dirname ${pidfile})"
+   save_options pidfile "${pidfile}"
+   start-stop-daemon --start --quiet \
+   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   -- $secure
+   eend $?
+}
+
+stop() {
+   local pidfile=

[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2016-07-25 Thread Daniel Kuehn
commit: 0975334b5b21b0afd0e12632f77fcec65392329b
Author: Daniel Kuehn  kuehn  se>
AuthorDate: Mon Jul 25 20:56:19 2016 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jul 25 21:03:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0975334b

sys-libs/musl-nscd: Added musl-nscd

Added a live ebuild for musl-nscd, a thin Name Service System "wrapper"
for musl libc, highly experimental.

 sys-libs/musl-nscd/Manifest  |  5 +++
 sys-libs/musl-nscd/files/nscd.initd  | 64 
 sys-libs/musl-nscd/files/nscd.service| 15 
 sys-libs/musl-nscd/files/nscd.tmpfilesd  |  4 ++
 sys-libs/musl-nscd/metadata.xml  | 14 +++
 sys-libs/musl-nscd/musl-nscd-.ebuild | 30 +++
 6 files changed, 132 insertions(+)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
new file mode 100644
index 000..4380c29
--- /dev/null
+++ b/sys-libs/musl-nscd/Manifest
@@ -0,0 +1,5 @@
+AUX nscd.initd 1527 SHA256 
70a809ba34959aa9622bda95299e7391d14d84fad8b3cf5012e2284b6324b6cc SHA512 
d25cd0696e4ab2c33fbfe4adeb2f7f9ebe6b77f78d8b4aa79e88aaec21e7aa9c26de724ad0aed5e3e994a8c96bbfa759c48eee99b442f0e4ab9b2c62d177549b
 WHIRLPOOL 
2edef69a468325ac30f8b3f9ea3082f9fc69d887f775f5bed96fc1135bbb675ce1a797a898ce9f744d5d0c3fc0f2156edbca0e39134f08a2d8f41ef3513bf3c6
+AUX nscd.service 337 SHA256 
de7bc9946309d34f0ab44aa22a4d3cf259fe91c57e8000d741cb09ecd3a6caa0 SHA512 
2001100f3b054843c69b6fd2d38852c7c824282aa8998c25a3c0352db993705429d25c70d8ce6cb3579f836b7089644c520acac423ebd69cb1b36e94a77c5bea
 WHIRLPOOL 
f01d191971b0dc45f541c9ebaaa1a40f3497e2cc838cff6a20a7b1828d726c248abbd94322a5a5ff30c33ddb7d9086cd4d2ba3bdc1811fed59ff292ef3983a72
+AUX nscd.tmpfilesd 111 SHA256 
f0f64c4612d2097173854d2ec2e94ecbf4b77c7a6e94d950874e37346aa90d72 SHA512 
53b80b331e1a85d8ee16eb2ce547a7249e944926c3d1cdd4a47a5301a5c842ffc7ec1e3dc0a731542a8facf8261c1c57121802d01741aa89898a3476c09da340
 WHIRLPOOL 
cf1fed1a7e2ac1623a84f1cfa2062645afe3f791da2f4ace3859d12aa05df0e282b4c2e367a460015956ac2a8d01fee4cda84917a3adf2c38561dff200335270
+EBUILD musl-nscd-.ebuild 671 SHA256 
e067d535fe46a681d8a0d10a70b9642b6181e8ecc55f3e2cba9dd7fb6e138db4 SHA512 
4043366b036bfe1815064c5f16941aa7c425cd4d83eb3d3fcee719d4fb542fb455da0ca3b1c35b47697255303060e310a3fd3c82ad48bb9753a4cf8366d29d53
 WHIRLPOOL 
6725b47e9aeb959e9d7e38608a9eb8c528b674e272982176a84abb41274c20e078096f429714f89d1adbc9ec591eba8909db2d6cdefd0f932863fdcb547d6a8b
+MISC metadata.xml 402 SHA256 
0d54a9356015fce546623e40afe99d762f1a69c0ca19d2344ef5a49acd9ac1f2 SHA512 
365e5b780076080f19c4377606fd39a4c4f321e5383ed41d7a644601e705942a9c5264acd4a5390c2a57bb3d9bfcd5df00ad961bd07c5e7f28e4d5123b1a24f8
 WHIRLPOOL 
aaa7eeab92d759486ed5ef48f36436e66c4e651f3155209a49d90b79259c28e29b2eb26678f02ad284bd806d9ea7b00c07410c79f0bf3911debce6f6bee63b94

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
new file mode 100644
index 000..ff71543
--- /dev/null
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -0,0 +1,64 @@
+#!/sbin/openrc-run
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+   use dns ldap net slapd
+}
+
+checkconfig() {
+   if [ ! -d /var/run/nscd ] ; then
+   mkdir -p /var/run/nscd
+   chmod 755 /var/run/nscd
+   fi
+   if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != 
"755" ] ; then
+   echo ""
+   ewarn "nscd run dir is not world readable, you should reset the 
perms:"
+   ewarn "chmod 755 /var/run/nscd"
+   ewarn "chmod a+rw /var/run/nscd/socket"
+   echo ""
+   ewarn "To disable this warning, set 'NSCD_PERMS_OK' in 
/etc/conf.d/nscd"
+   echo ""
+   fi
+}
+
+start() {
+   checkconfig
+
+   ebegin "Starting Name Service Cache Daemon"
+   local secure=`while read curline ; do
+   table=${curline%:*}
+   entries=${curline##$table:}
+   table=${table%%[^a-z]*}
+   case $table in
+   passwd*|group*|hosts)
+   for entry in $entries ; do
+   case $entry in
+   nisplus*)
+   /usr/sbin/nscd_nischeck $table || \
+   /echo "-S $table,yes"
+   ;;
+   esac
+   done
+   ;;
+   esac
+   done < /etc/nsswitch.conf`
+   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
+   mkdir -p "$(dirname ${pidfile})"
+   save_options pidfile "${pidfile}"
+   start-stop-daemon --start --quiet \
+   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   -- $secure
+   eend $?
+}
+
+stop() {
+   local pidfile=

[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2020-12-28 Thread David Seifert
commit: 2c78de9033cf97213ddd4983b04df2eef995fc39
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Dec 28 15:17:11 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 28 15:17:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c78de90

sys-libs/musl-nscd: Fix build with gcc-10

Closes: https://github.com/gentoo/gentoo/pull/18635
Closes: https://bugs.gentoo.org/708632
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ++
 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild  |  6 ++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
new file mode 100644
index 000..fce44ecdef7
--- /dev/null
+++ b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
@@ -0,0 +1,36 @@
+--- a/include/modules.h
 b/include/modules.h
+@@ -28,7 +28,7 @@ struct mod_passwd {
+   link_t link;
+ };
+ 
+-list_t passwd_mods;
+-list_t group_mods;
++extern list_t passwd_mods;
++extern list_t group_mods;
+ 
+ #endif
+--- a/src/main.c
 b/src/main.c
+@@ -18,6 +18,9 @@
+ #include "parse.h"
+ #include "util.h"
+ 
++list_t passwd_mods;
++list_t group_mods;
++
+ static void *get_dll(const char *service)
+ {
+   char *path;
+--- a/src/socket_handle.c
 b/src/socket_handle.c
+@@ -19,6 +19,9 @@
+ #include "modules.h"
+ #include "list.h"
+ 
++extern list_t passwd_mods;
++extern list_t group_mods;
++
+ static int return_result(int fd, int swap, uint32_t reqtype, void *key);
+ 
+ struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 6d29e439755..41e38df7180 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -8,7 +8,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} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
EGIT_BRANCH=master
@@ -25,8 +25,10 @@ DEPEND="
!sys-libs/glibc
!sys-libs/uclibc"
 
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
 src_prepare() {
-   eapply_user
+   default
 
sed -i '/LDFLAGS_AUTO=-s/d' configure || die 'Cannot patch configure 
file'
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/, sys-libs/musl-nscd/files/

2022-07-25 Thread Sam James
commit: 2fb298ff1bbdddac5f687a2deddaa554b338bcbc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 04:16:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 04:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb298ff

sys-libs/musl-nscd: drop 1.0.3-r1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/Manifest|  1 -
 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ---
 sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild   | 54 --
 3 files changed, 91 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index e3c2b5382c49..88436bb5a431 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,2 +1 @@
-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/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
deleted file mode 100644
index fce44ecdef7d..
--- a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
+++ /dev/null
@@ -1,36 +0,0 @@
 a/include/modules.h
-+++ b/include/modules.h
-@@ -28,7 +28,7 @@ struct mod_passwd {
-   link_t link;
- };
- 
--list_t passwd_mods;
--list_t group_mods;
-+extern list_t passwd_mods;
-+extern list_t group_mods;
- 
- #endif
 a/src/main.c
-+++ b/src/main.c
-@@ -18,6 +18,9 @@
- #include "parse.h"
- #include "util.h"
- 
-+list_t passwd_mods;
-+list_t group_mods;
-+
- static void *get_dll(const char *service)
- {
-   char *path;
 a/src/socket_handle.c
-+++ b/src/socket_handle.c
-@@ -19,6 +19,9 @@
- #include "modules.h"
- #include "list.h"
- 
-+extern list_t passwd_mods;
-+extern list_t group_mods;
-+
- static int return_result(int fd, int swap, uint32_t reqtype, void *key);
- 
- struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
deleted file mode 100644
index bec1e9b35ef1..
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 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} == * ]] ; 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"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2020-12-28 Thread David Seifert
commit: 2c78de9033cf97213ddd4983b04df2eef995fc39
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Dec 28 15:17:11 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 28 15:17:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c78de90

sys-libs/musl-nscd: Fix build with gcc-10

Closes: https://github.com/gentoo/gentoo/pull/18635
Closes: https://bugs.gentoo.org/708632
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ++
 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild  |  6 ++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
new file mode 100644
index 000..fce44ecdef7
--- /dev/null
+++ b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
@@ -0,0 +1,36 @@
+--- a/include/modules.h
 b/include/modules.h
+@@ -28,7 +28,7 @@ struct mod_passwd {
+   link_t link;
+ };
+ 
+-list_t passwd_mods;
+-list_t group_mods;
++extern list_t passwd_mods;
++extern list_t group_mods;
+ 
+ #endif
+--- a/src/main.c
 b/src/main.c
+@@ -18,6 +18,9 @@
+ #include "parse.h"
+ #include "util.h"
+ 
++list_t passwd_mods;
++list_t group_mods;
++
+ static void *get_dll(const char *service)
+ {
+   char *path;
+--- a/src/socket_handle.c
 b/src/socket_handle.c
+@@ -19,6 +19,9 @@
+ #include "modules.h"
+ #include "list.h"
+ 
++extern list_t passwd_mods;
++extern list_t group_mods;
++
+ static int return_result(int fd, int swap, uint32_t reqtype, void *key);
+ 
+ struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 6d29e439755..41e38df7180 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -8,7 +8,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} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
EGIT_BRANCH=master
@@ -25,8 +25,10 @@ DEPEND="
!sys-libs/glibc
!sys-libs/uclibc"
 
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
 src_prepare() {
-   eapply_user
+   default
 
sed -i '/LDFLAGS_AUTO=-s/d' configure || die 'Cannot patch configure 
file'
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/, sys-libs/musl-nscd/files/

2022-07-25 Thread Sam James
commit: 2fb298ff1bbdddac5f687a2deddaa554b338bcbc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 04:16:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 04:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb298ff

sys-libs/musl-nscd: drop 1.0.3-r1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/Manifest|  1 -
 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ---
 sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild   | 54 --
 3 files changed, 91 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index e3c2b5382c49..88436bb5a431 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,2 +1 @@
-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/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
deleted file mode 100644
index fce44ecdef7d..
--- a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
+++ /dev/null
@@ -1,36 +0,0 @@
 a/include/modules.h
-+++ b/include/modules.h
-@@ -28,7 +28,7 @@ struct mod_passwd {
-   link_t link;
- };
- 
--list_t passwd_mods;
--list_t group_mods;
-+extern list_t passwd_mods;
-+extern list_t group_mods;
- 
- #endif
 a/src/main.c
-+++ b/src/main.c
-@@ -18,6 +18,9 @@
- #include "parse.h"
- #include "util.h"
- 
-+list_t passwd_mods;
-+list_t group_mods;
-+
- static void *get_dll(const char *service)
- {
-   char *path;
 a/src/socket_handle.c
-+++ b/src/socket_handle.c
-@@ -19,6 +19,9 @@
- #include "modules.h"
- #include "list.h"
- 
-+extern list_t passwd_mods;
-+extern list_t group_mods;
-+
- static int return_result(int fd, int swap, uint32_t reqtype, void *key);
- 
- struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
deleted file mode 100644
index bec1e9b35ef1..
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 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} == * ]] ; 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"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2016-07-25 Thread Daniel Kuehn
commit: 0975334b5b21b0afd0e12632f77fcec65392329b
Author: Daniel Kuehn  kuehn  se>
AuthorDate: Mon Jul 25 20:56:19 2016 +
Commit: Daniel Kuehn  gentoo  org>
CommitDate: Mon Jul 25 21:03:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0975334b

sys-libs/musl-nscd: Added musl-nscd

Added a live ebuild for musl-nscd, a thin Name Service System "wrapper"
for musl libc, highly experimental.

 sys-libs/musl-nscd/Manifest  |  5 +++
 sys-libs/musl-nscd/files/nscd.initd  | 64 
 sys-libs/musl-nscd/files/nscd.service| 15 
 sys-libs/musl-nscd/files/nscd.tmpfilesd  |  4 ++
 sys-libs/musl-nscd/metadata.xml  | 14 +++
 sys-libs/musl-nscd/musl-nscd-.ebuild | 30 +++
 6 files changed, 132 insertions(+)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
new file mode 100644
index 000..4380c29
--- /dev/null
+++ b/sys-libs/musl-nscd/Manifest
@@ -0,0 +1,5 @@
+AUX nscd.initd 1527 SHA256 
70a809ba34959aa9622bda95299e7391d14d84fad8b3cf5012e2284b6324b6cc SHA512 
d25cd0696e4ab2c33fbfe4adeb2f7f9ebe6b77f78d8b4aa79e88aaec21e7aa9c26de724ad0aed5e3e994a8c96bbfa759c48eee99b442f0e4ab9b2c62d177549b
 WHIRLPOOL 
2edef69a468325ac30f8b3f9ea3082f9fc69d887f775f5bed96fc1135bbb675ce1a797a898ce9f744d5d0c3fc0f2156edbca0e39134f08a2d8f41ef3513bf3c6
+AUX nscd.service 337 SHA256 
de7bc9946309d34f0ab44aa22a4d3cf259fe91c57e8000d741cb09ecd3a6caa0 SHA512 
2001100f3b054843c69b6fd2d38852c7c824282aa8998c25a3c0352db993705429d25c70d8ce6cb3579f836b7089644c520acac423ebd69cb1b36e94a77c5bea
 WHIRLPOOL 
f01d191971b0dc45f541c9ebaaa1a40f3497e2cc838cff6a20a7b1828d726c248abbd94322a5a5ff30c33ddb7d9086cd4d2ba3bdc1811fed59ff292ef3983a72
+AUX nscd.tmpfilesd 111 SHA256 
f0f64c4612d2097173854d2ec2e94ecbf4b77c7a6e94d950874e37346aa90d72 SHA512 
53b80b331e1a85d8ee16eb2ce547a7249e944926c3d1cdd4a47a5301a5c842ffc7ec1e3dc0a731542a8facf8261c1c57121802d01741aa89898a3476c09da340
 WHIRLPOOL 
cf1fed1a7e2ac1623a84f1cfa2062645afe3f791da2f4ace3859d12aa05df0e282b4c2e367a460015956ac2a8d01fee4cda84917a3adf2c38561dff200335270
+EBUILD musl-nscd-.ebuild 671 SHA256 
e067d535fe46a681d8a0d10a70b9642b6181e8ecc55f3e2cba9dd7fb6e138db4 SHA512 
4043366b036bfe1815064c5f16941aa7c425cd4d83eb3d3fcee719d4fb542fb455da0ca3b1c35b47697255303060e310a3fd3c82ad48bb9753a4cf8366d29d53
 WHIRLPOOL 
6725b47e9aeb959e9d7e38608a9eb8c528b674e272982176a84abb41274c20e078096f429714f89d1adbc9ec591eba8909db2d6cdefd0f932863fdcb547d6a8b
+MISC metadata.xml 402 SHA256 
0d54a9356015fce546623e40afe99d762f1a69c0ca19d2344ef5a49acd9ac1f2 SHA512 
365e5b780076080f19c4377606fd39a4c4f321e5383ed41d7a644601e705942a9c5264acd4a5390c2a57bb3d9bfcd5df00ad961bd07c5e7f28e4d5123b1a24f8
 WHIRLPOOL 
aaa7eeab92d759486ed5ef48f36436e66c4e651f3155209a49d90b79259c28e29b2eb26678f02ad284bd806d9ea7b00c07410c79f0bf3911debce6f6bee63b94

diff --git a/sys-libs/musl-nscd/files/nscd.initd 
b/sys-libs/musl-nscd/files/nscd.initd
new file mode 100644
index 000..ff71543
--- /dev/null
+++ b/sys-libs/musl-nscd/files/nscd.initd
@@ -0,0 +1,64 @@
+#!/sbin/openrc-run
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+   use dns ldap net slapd
+}
+
+checkconfig() {
+   if [ ! -d /var/run/nscd ] ; then
+   mkdir -p /var/run/nscd
+   chmod 755 /var/run/nscd
+   fi
+   if [ -z "${NSCD_PERMS_OK}" ] && [ "$(stat -c %a /var/run/nscd)" != 
"755" ] ; then
+   echo ""
+   ewarn "nscd run dir is not world readable, you should reset the 
perms:"
+   ewarn "chmod 755 /var/run/nscd"
+   ewarn "chmod a+rw /var/run/nscd/socket"
+   echo ""
+   ewarn "To disable this warning, set 'NSCD_PERMS_OK' in 
/etc/conf.d/nscd"
+   echo ""
+   fi
+}
+
+start() {
+   checkconfig
+
+   ebegin "Starting Name Service Cache Daemon"
+   local secure=`while read curline ; do
+   table=${curline%:*}
+   entries=${curline##$table:}
+   table=${table%%[^a-z]*}
+   case $table in
+   passwd*|group*|hosts)
+   for entry in $entries ; do
+   case $entry in
+   nisplus*)
+   /usr/sbin/nscd_nischeck $table || \
+   /echo "-S $table,yes"
+   ;;
+   esac
+   done
+   ;;
+   esac
+   done < /etc/nsswitch.conf`
+   local pidfile="$(strings /usr/sbin/nscd | grep nscd.pid)"
+   mkdir -p "$(dirname ${pidfile})"
+   save_options pidfile "${pidfile}"
+   start-stop-daemon --start --quiet \
+   --exec /usr/sbin/nscd --pidfile "${pidfile}" \
+   -- $secure
+   eend $?
+}
+
+stop() {
+   local pidfile=

[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/files/, sys-libs/musl-nscd/

2020-12-28 Thread David Seifert
commit: 2c78de9033cf97213ddd4983b04df2eef995fc39
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Dec 28 15:17:11 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 28 15:17:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c78de90

sys-libs/musl-nscd: Fix build with gcc-10

Closes: https://github.com/gentoo/gentoo/pull/18635
Closes: https://bugs.gentoo.org/708632
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ++
 sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild  |  6 ++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
new file mode 100644
index 000..fce44ecdef7
--- /dev/null
+++ b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
@@ -0,0 +1,36 @@
+--- a/include/modules.h
 b/include/modules.h
+@@ -28,7 +28,7 @@ struct mod_passwd {
+   link_t link;
+ };
+ 
+-list_t passwd_mods;
+-list_t group_mods;
++extern list_t passwd_mods;
++extern list_t group_mods;
+ 
+ #endif
+--- a/src/main.c
 b/src/main.c
+@@ -18,6 +18,9 @@
+ #include "parse.h"
+ #include "util.h"
+ 
++list_t passwd_mods;
++list_t group_mods;
++
+ static void *get_dll(const char *service)
+ {
+   char *path;
+--- a/src/socket_handle.c
 b/src/socket_handle.c
+@@ -19,6 +19,9 @@
+ #include "modules.h"
+ #include "list.h"
+ 
++extern list_t passwd_mods;
++extern list_t group_mods;
++
+ static int return_result(int fd, int swap, uint32_t reqtype, void *key);
+ 
+ struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
index 6d29e439755..41e38df7180 100644
--- a/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
+++ b/sys-libs/musl-nscd/musl-nscd-1.0.2.ebuild
@@ -8,7 +8,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} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pikhq/musl-nscd";
EGIT_BRANCH=master
@@ -25,8 +25,10 @@ DEPEND="
!sys-libs/glibc
!sys-libs/uclibc"
 
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
 src_prepare() {
-   eapply_user
+   default
 
sed -i '/LDFLAGS_AUTO=-s/d' configure || die 'Cannot patch configure 
file'
 }



[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl-nscd/, sys-libs/musl-nscd/files/

2022-07-25 Thread Sam James
commit: 2fb298ff1bbdddac5f687a2deddaa554b338bcbc
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 04:16:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 04:25:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fb298ff

sys-libs/musl-nscd: drop 1.0.3-r1

Signed-off-by: Sam James  gentoo.org>

 sys-libs/musl-nscd/Manifest|  1 -
 .../files/musl-nscd-1.0.2-fno-common.patch | 36 ---
 sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild   | 54 --
 3 files changed, 91 deletions(-)

diff --git a/sys-libs/musl-nscd/Manifest b/sys-libs/musl-nscd/Manifest
index e3c2b5382c49..88436bb5a431 100644
--- a/sys-libs/musl-nscd/Manifest
+++ b/sys-libs/musl-nscd/Manifest
@@ -1,2 +1 @@
-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/files/musl-nscd-1.0.2-fno-common.patch 
b/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
deleted file mode 100644
index fce44ecdef7d..
--- a/sys-libs/musl-nscd/files/musl-nscd-1.0.2-fno-common.patch
+++ /dev/null
@@ -1,36 +0,0 @@
 a/include/modules.h
-+++ b/include/modules.h
-@@ -28,7 +28,7 @@ struct mod_passwd {
-   link_t link;
- };
- 
--list_t passwd_mods;
--list_t group_mods;
-+extern list_t passwd_mods;
-+extern list_t group_mods;
- 
- #endif
 a/src/main.c
-+++ b/src/main.c
-@@ -18,6 +18,9 @@
- #include "parse.h"
- #include "util.h"
- 
-+list_t passwd_mods;
-+list_t group_mods;
-+
- static void *get_dll(const char *service)
- {
-   char *path;
 a/src/socket_handle.c
-+++ b/src/socket_handle.c
-@@ -19,6 +19,9 @@
- #include "modules.h"
- #include "list.h"
- 
-+extern list_t passwd_mods;
-+extern list_t group_mods;
-+
- static int return_result(int fd, int swap, uint32_t reqtype, void *key);
- 
- struct pthread_args {

diff --git a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild 
b/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
deleted file mode 100644
index bec1e9b35ef1..
--- a/sys-libs/musl-nscd/musl-nscd-1.0.3-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 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} == * ]] ; 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"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.0.2-fno-common.patch )
-
-src_prepare() {
-   default
-
-   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
-}



  1   2   >