aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2020-09-17 10:51:17 -0500
committerJory Pratt <anarchy@gentoo.org>2020-09-17 10:51:17 -0500
commit4775f05d57650709d2760c03a55efa88467ebcd5 (patch)
tree31e07cffbd63ba5a36b4d921cb46efea67b66506
parentsys-auth/polkit: remove obsolete patch (diff)
downloadmusl-4775f05d.tar.gz
musl-4775f05d.tar.bz2
musl-4775f05d.zip
sys-auth/nss-myhostname: Sync EAPI=7 changes
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
-rw-r--r--sys-auth/nss-myhostname/Manifest2
-rw-r--r--sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild (renamed from sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild)16
2 files changed, 9 insertions, 9 deletions
diff --git a/sys-auth/nss-myhostname/Manifest b/sys-auth/nss-myhostname/Manifest
index a0a0812e..8672af19 100644
--- a/sys-auth/nss-myhostname/Manifest
+++ b/sys-auth/nss-myhostname/Manifest
@@ -1 +1 @@
-DIST nss-myhostname-0.3.tar.gz 330031 SHA256 2ba744ea8d578d1c57c85884e94a3042ee17843a5294434d3a7f6c4d67e7caf2 SHA512 8f14091f887991532bc3cedcdee607c89f403c7869063919c299cdd7ee8207a9759ab9105093bae151a79e08944053598104a59e9987949ee146d742a12e8c34 WHIRLPOOL 9161372c1e5dea6ea925f96fadfbb955786e812a079fea621b3c212bafe6fcbb6a20f6979d3cb474ccba73ce9e2ebdd7d51ef7f994413dcdc20fb0f1572f6d9d
+DIST nss-myhostname-0.3.tar.gz 330031 BLAKE2B 99b9cc42c8dc5a73afe9dddfad6c05d175246ffb7985fb90b3f1bab96c8b5afde012e41f5770d2671eefd1f86be81b576637994bffb5e00adab7ac2c986c09b7 SHA512 8f14091f887991532bc3cedcdee607c89f403c7869063919c299cdd7ee8207a9759ab9105093bae151a79e08944053598104a59e9987949ee146d742a12e8c34
diff --git a/sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild b/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
index 8136c8e2..1198a951 100644
--- a/sys-auth/nss-myhostname/nss-myhostname-0.3.ebuild
+++ b/sys-auth/nss-myhostname/nss-myhostname-0.3-r1.ebuild
@@ -1,17 +1,15 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
-
-inherit eutils
+EAPI="7"
DESCRIPTION="Name Service Switch module for resolving the local hostname"
-HOMEPAGE="http://0pointer.de/lennart/projects/nss-myhostname/"
-SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
+HOMEPAGE="https://0pointer.de/lennart/projects/nss-myhostname/"
+SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc x86"
+KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86"
IUSE=""
COMMON_DEPEND=""
@@ -19,11 +17,13 @@ RDEPEND="${COMMON_DEPEND}
!>=sys-apps/systemd-197"
DEPEND="${COMMON_DEPEND}"
+PATCHES=( "${FILESDIR}"/0001-nss-myhostname-Check-for-nss.h-presense-before-use.patch )
+
src_prepare() {
# The documentation in doc/ is just the README file in other formats
sed -e 's:SUBDIRS *= *doc:SUBDIRS =:' -i Makefile.{am,in} ||
die "sed failed"
- epatch "${FILESDIR}"/0001-nss-myhostname-Check-for-nss.h-presense-before-use.patch
+ default
}
src_configure() {