Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/yp-tools/
Date: Thu, 06 Dec 2018 00:18:01
Message-Id: 1544055458.e5b8e55366a2ea91ac13142a9a21a7db1e77dbeb.soap@gentoo
1 commit: e5b8e55366a2ea91ac13142a9a21a7db1e77dbeb
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 6 00:16:40 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 6 00:17:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b8e553
7
8 net-nds/yp-tools: Bump to 4.2.3
9
10 * EAPI 7
11 * Fix for building with GCC 8
12
13 Closes: https://bugs.gentoo.org/664208
14 Package-Manager: Portage-2.3.52, Repoman-2.3.12
15 Signed-off-by: David Seifert <soap <AT> gentoo.org>
16
17 net-nds/yp-tools/Manifest | 1 +
18 net-nds/yp-tools/yp-tools-4.2.3.ebuild | 43 ++++++++++++++++++++++++++++++++++
19 2 files changed, 44 insertions(+)
20
21 diff --git a/net-nds/yp-tools/Manifest b/net-nds/yp-tools/Manifest
22 index 730b14b6cf9..d6858d41f5a 100644
23 --- a/net-nds/yp-tools/Manifest
24 +++ b/net-nds/yp-tools/Manifest
25 @@ -1 +1,2 @@
26 DIST yp-tools-4.2.2.tar.bz2 368673 BLAKE2B ddc0e6ff81042a632713afc201e8195f42346dd557e44770f8e0d48d2d510a5df1b51d9229912214cb6840a6cc97c6bbf8bbbfcac2eac5dbe06596a4fbd875be SHA512 e2856465e650823de87fcf0e7f18c4875b0540f271b3e564b3afe07d0df35dded7f09ecdf2494d099b31a15e098fc5e9065339f19df45c0489ca91a736c3eac9
27 +DIST yp-tools-4.2.3.tar.gz 195247 BLAKE2B 5e068f6856876dbf55c25030730195222fd331a06b8d57aa8a797a42c90538289a61ea8de1a2fee2d173e3444f76f82d111fc1120c287f90b7dbad1a2be23313 SHA512 2fcdaaeb8af4c3f62aa571a488c04561356681fc18b919ef728cfc1941578870cce74b136959f49e4ab04f988a79252163c1abe30b357788cb0b5faca7b5d147
28
29 diff --git a/net-nds/yp-tools/yp-tools-4.2.3.ebuild b/net-nds/yp-tools/yp-tools-4.2.3.ebuild
30 new file mode 100644
31 index 00000000000..25fa5017266
32 --- /dev/null
33 +++ b/net-nds/yp-tools/yp-tools-4.2.3.ebuild
34 @@ -0,0 +1,43 @@
35 +# Copyright 1999-2018 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit autotools systemd
41 +
42 +DESCRIPTION="Network Information Service tools"
43 +HOMEPAGE="https://www.thkukuk.de/nis/"
44 +SRC_URI="https://github.com/thkukuk/yp-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
49 +IUSE="nls"
50 +
51 +DEPEND="
52 + net-libs/libtirpc:=
53 + >=net-libs/libnsl-1.2.0:0="
54 +RDEPEND="${DEPEND}"
55 +# always uses libtirpc if present
56 +
57 +src_prepare() {
58 + default
59 + eautoreconf
60 +}
61 +
62 +src_configure () {
63 + econf \
64 + --disable-static \
65 + --sysconfdir="${EPREFIX}"/etc/yp \
66 + $(use_enable nls)
67 +}
68 +
69 +src_install() {
70 + default
71 +
72 + insinto /etc/yp
73 + doins etc/nicknames
74 +
75 + systemd_dounit "${FILESDIR}"/domainname.service
76 + systemd_install_serviced "${FILESDIR}"/domainname.service.conf
77 +}