Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: sys-auth/nss-myhostname/
Date: Thu, 17 Sep 2020 15:51:28
Message-Id: 1600357877.4775f05d57650709d2760c03a55efa88467ebcd5.anarchy@gentoo
1 commit: 4775f05d57650709d2760c03a55efa88467ebcd5
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 15:51:17 2020 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 15:51:17 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=4775f05d
7
8 sys-auth/nss-myhostname: Sync EAPI=7 changes
9
10 Package-Manager: Portage-3.0.7, Repoman-3.0.1
11 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
12
13 sys-auth/nss-myhostname/Manifest | 2 +-
14 ...yhostname-0.3.ebuild => nss-myhostname-0.3-r1.ebuild} | 16 ++++++++--------
15 2 files changed, 9 insertions(+), 9 deletions(-)
16
17 diff --git a/sys-auth/nss-myhostname/Manifest b/sys-auth/nss-myhostname/Manifest
18 index a0a0812..8672af1 100644
19 --- a/sys-auth/nss-myhostname/Manifest
20 +++ b/sys-auth/nss-myhostname/Manifest
21 @@ -1 +1 @@
22 -DIST nss-myhostname-0.3.tar.gz 330031 SHA256 2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2 SHA512 8f14091f887991532bc3cedcdee607c89f403c7869063919c299cdd7ee8207a9759ab9105093bae151a79e08944053598104a59e9987949ee146d742a12e8c34 WHIRLPOOL 9161372c1e5dea6ea925f96fadfbb955786e812a079fea621b3c212bafe6fcbb6a20f6979d3cb474ccba73ce9e2ebdd7d51ef7f994413dcdc20fb0f1572f6d9d
23 +DIST nss-myhostname-0.3.tar.gz 330031 BLAKE2B 99b9cc42c8dc5a73afe9dddfad6c05d175246ffb7985fb90b3f1bab96c8b5afde012e41f5770d2671eefd1f86be81b576637994bffb5e00adab7ac2c986c09b7 SHA512 8f14091f887991532bc3cedcdee607c89f403c7869063919c299cdd7ee8207a9759ab9105093bae151a79e08944053598104a59e9987949ee146d742a12e8c34
24
25 diff --git a/sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild b/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
26 similarity index 71%
27 rename from sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild
28 rename to sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
29 index 8136c8e..1198a95 100644
30 --- a/sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild
31 +++ b/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
32 @@ -1,17 +1,15 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 +# Copyright 1999-2020 Gentoo Authors
35 # Distributed under the terms of the GNU General Public License v2
36
37 -EAPI="4"
38 -
39 -inherit eutils
40 +EAPI="7"
41
42 DESCRIPTION="Name Service Switch module for resolving the local hostname"
43 -HOMEPAGE="http://0pointer.de/lennart/projects/nss-myhostname/"
44 -SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
45 +HOMEPAGE="https://0pointer.de/lennart/projects/nss-myhostname/"
46 +SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
47
48 LICENSE="LGPL-2.1+"
49 SLOT="0"
50 -KEYWORDS="amd64 arm arm64 ppc x86"
51 +KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86"
52 IUSE=""
53
54 COMMON_DEPEND=""
55 @@ -19,11 +17,13 @@ RDEPEND="${COMMON_DEPEND}
56 !>=sys-apps/systemd-197"
57 DEPEND="${COMMON_DEPEND}"
58
59 +PATCHES=( "${FILESDIR}"/0001-nss-myhostname-Check-for-nss.h-presense-before-use.patch )
60 +
61 src_prepare() {
62 # The documentation in doc/ is just the README file in other formats
63 sed -e 's:SUBDIRS *= *doc:SUBDIRS =:' -i Makefile.{am,in} ||
64 die "sed failed"
65 - epatch "${FILESDIR}"/0001-nss-myhostname-Check-for-nss.h-presense-before-use.patch
66 + default
67 }
68
69 src_configure() {