From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/
Date: Sat, 25 Nov 2017 15:08:16 +0000 (UTC) [thread overview]
Message-ID: <1511622481.5d41ae904f07dbcfb8d041c14fc253efe9b22dbd.whissi@gentoo> (raw)
commit: 5d41ae904f07dbcfb8d041c14fc253efe9b22dbd
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 15:08:01 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 15:08:01 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d41ae90
net-fs/nfs-utils: Added snapshot release
Fixes "nfsidmap.h: No such file or directory" error (bug #636818) and restores
ABI compat with pre-merge libnfsidmap.
Doing a snapshot release because of patch size.
Closes: https://bugs.gentoo.org/636818
Package-Manager: Portage-2.3.16, Repoman-2.3.6
net-fs/nfs-utils/Manifest | 3 +-
.../nfs-utils/nfs-utils-2.2.2_rc1_p20171107.ebuild | 184 +++++++++++++++++++++
2 files changed, 186 insertions(+), 1 deletion(-)
diff --git a/net-fs/nfs-utils/Manifest b/net-fs/nfs-utils/Manifest
index a9615bafe05..278231c50a0 100644
--- a/net-fs/nfs-utils/Manifest
+++ b/net-fs/nfs-utils/Manifest
@@ -1,5 +1,6 @@
DIST nfs-utils-1.3.4.tar.bz2 814545 SHA256 c529c82a82320daae811f3d3a143f83d2714d7e7a43beadd42fcd6022c17d590 SHA512 765c0bc55a9a0bdb2c25d8fb7189a9054fb9f2dd51726eda29f44e5d5c423e245b02307dfcfab9239276d8f44869a72732416f6e9ef5a1f80753d9243ba1b38c WHIRLPOOL 6dc556ef7d00a583c222eb62a600b0d83c6f91ad65d89ca14e1fb3c8aaacf4fbae492e6f0ca3fb0821e2b666f0806ad5fddec041a1124b86b9941540cdfb08b4
DIST nfs-utils-2.1.1.tar.bz2 820083 SHA256 0a28416948516c26f3bfe90425b0de09b79364dc1f508bf1dda8de66e1edbb09 SHA512 ed358280b7e124154632040bf747f6e4c3c6e4156bf90e82ff6915b1488f1c0dd65251a3a0f9b7ca96b9664d64e24b379828da9b524e64a3c769a44f4c930448 WHIRLPOOL bb28ae312b64c3493a1393a5b41eda457367594a71e230379ec04ffea3eb29d60ab8254e4981b0aa9cbe778dc1fbe9b08dc8615184a35cdb22bf4e5e04e56a6c
DIST nfs-utils-2.1.2_rc6.tar.gz 476695 SHA256 a88b499210eec4fb41414f9ba653570d1845981e414f5de6ae90ecaf14205977 SHA512 d7c054074e2ea4370a5e47922785fa2a0cf595623d0222cb16f910c4946ed7f3d6f093b471557ce139c85ad0dd321bed0222f5c5aa5b7bca04b31d422eb35f75 WHIRLPOOL 6dfec79baa7b37f57a162296b7e5acb07da9144d677cf1f7ec515fc220a844d9a0d7e935ac0f4b9a1db9eaa2816d5d1ea089141f11f6ae9e6ec8bd77d24be0b5
-DIST nfs-utils-2.2.1.tar.bz2 853812 SHA256 0d819d8da358bea6e005e1a6cf0f6fa0c5507a78747d36bc87a0182e6af14291 SHA512 05e2aa4f413a4a4927995847211680baf87f956a435d0d903dd7b6239f72e66a15a089758d41874c05c2137e0626d72c1714010c2a9ce854943fef7798db9a24 WHIRLPOOL 8cd39c83e0a761c3cc846f81184ec6cbe68289b2648c5605ba68a31379f86afafe67f6808f348b30875730a1ee1656d65738b74dd0863a70b48250a3d325f1fc
+DIST nfs-utils-2.2.1.tar.bz2 853812 BLAKE2B bc973f8fe781f7658161d0d5895bc32ffeeab7a06276aed827926304f8e3b82287804aaa7e49c458d9b69992193c6c733fb6ae359063c076cfd15bd21185c432 SHA512 05e2aa4f413a4a4927995847211680baf87f956a435d0d903dd7b6239f72e66a15a089758d41874c05c2137e0626d72c1714010c2a9ce854943fef7798db9a24
DIST nfs-utils-2.2.2_rc1.tar.gz 509381 SHA256 5ed5c50ef20c49a9b96c99bd288d25dc94ecbdb4b314f5d885576692e89345bc SHA512 5cc9a19e1ebf1831f1914419c0e7f12ff12037caa35e5866dfba8bf30c5355dcf2e039928b9b336c6755df856549ccac6ea646d61b57c68f96fd586d21a27f1a WHIRLPOOL 407b721b43308b96ae48553169dfeafb2844dedbce3060860549d85322aea074539bac82bb5579a17d74b2fcc212156d1450feb8a5340570f3d33c763b8fed29
+DIST nfs-utils-2.2.2_rc1_p20171107.tar.gz 509543 BLAKE2B 44c5bf63b16b7727f6cdba0d1051929f6e132b87fcb8e9e18a0ad699dfeec1b26f9988fc7b5db5dbcc1dd3c04f1dd30fa0f89616fe86cbfd4dbb36f0d8aed08b SHA512 27e38fe3ff2d94aa45a526343c88c781b39db4f85b2fd50b632516be609f7a05dced115e26f73176ba28409cd38a3c7db6ddb8370ab75071150b1cf3fba46e43
diff --git a/net-fs/nfs-utils/nfs-utils-2.2.2_rc1_p20171107.ebuild b/net-fs/nfs-utils/nfs-utils-2.2.2_rc1_p20171107.ebuild
new file mode 100644
index 00000000000..5d3eb99b353
--- /dev/null
+++ b/net-fs/nfs-utils/nfs-utils-2.2.2_rc1_p20171107.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic multilib systemd
+
+DESCRIPTION="NFS client and server daemons"
+HOMEPAGE="http://linux-nfs.org/"
+
+MY_COMMIT="8d9bf479441d9d7a44a86b69026a7e9d431d3ade"
+SRC_URI="http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=snapshot;h=${MY_COMMIT};sf=tgz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_COMMIT:0:7}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps ipv6 kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 selinux tcpd +uuid"
+REQUIRED_USE="kerberos? ( nfsv4 )"
+RESTRICT="test" #315573
+
+# kth-krb doesn't provide the right include
+# files, and nfs-utils doesn't build against heimdal either,
+# so don't depend on virtual/krb.
+# (04 Feb 2005 agriffis)
+DEPEND_COMMON="
+ net-libs/libtirpc:=
+ >=net-nds/rpcbind-0.2.4
+ sys-libs/e2fsprogs-libs
+ caps? ( sys-libs/libcap )
+ ldap? ( net-nds/openldap )
+ libmount? ( sys-apps/util-linux )
+ nfsdcld? ( >=dev-db/sqlite-3.3 )
+ nfsv4? (
+ dev-libs/libevent:=
+ >=sys-apps/keyutils-1.5.9
+ kerberos? (
+ >=net-libs/libtirpc-0.2.4-r1[kerberos]
+ app-crypt/mit-krb5
+ )
+ )
+ nfsv41? (
+ sys-fs/lvm2
+ )
+ tcpd? ( sys-apps/tcp-wrappers )
+ uuid? ( sys-apps/util-linux )"
+RDEPEND="${DEPEND_COMMON}
+ !net-libs/libnfsidmap
+ !net-nds/portmap
+ !<sys-apps/openrc-0.13.9
+ selinux? (
+ sec-policy/selinux-rpc
+ sec-policy/selinux-rpcbind
+ )
+"
+DEPEND="${DEPEND_COMMON}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch
+ "${FILESDIR}"/${PN}-1.2.8-cross-build.patch
+)
+
+src_prepare() {
+ default
+
+ sed \
+ -e "/^sbindir/s:= := \"${EPREFIX}\":g" \
+ -i utils/*/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ export libsqlite3_cv_is_recent=yes # Our DEPEND forces this.
+ export ac_cv_header_keyutils_h=$(usex nfsidmap)
+ local myeconfargs=(
+ --with-statedir="${EPREFIX}"/var/lib/nfs
+ --enable-tirpc
+ --with-tirpcinclude="${EPREFIX}"/usr/include/tirpc/
+ $(use_enable libmount libmount-mount)
+ $(use_with tcpd tcp-wrappers)
+ $(use_enable nfsdcld nfsdcltrack)
+ $(use_enable nfsv4)
+ $(use_enable nfsv41)
+ $(use_enable ipv6)
+ $(use_enable caps)
+ $(use_enable uuid)
+ $(use_enable kerberos gss)
+ $(use_enable kerberos svcgss)
+ --without-gssglue
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile(){
+ # remove compiled files bundled in the tarball
+ emake clean
+ default
+}
+
+src_install() {
+ default
+ rm linux-nfs/Makefile* || die
+ dodoc -r linux-nfs README
+
+ # Don't overwrite existing xtab/etab, install the original
+ # versions somewhere safe... more info in pkg_postinst
+ keepdir /var/lib/nfs/{,sm,sm.bak}
+ mv "${ED%/}"/var/lib "${ED%/}"/usr/$(get_libdir) || die
+
+ # Install some client-side binaries in /sbin
+ dodir /sbin
+ mv "${ED%/}"/usr/sbin/rpc.statd "${ED%/}"/sbin/ || die
+
+ if use nfsv4 && use nfsidmap ; then
+ # Install a config file for idmappers in newer kernels. #415625
+ insinto /etc/request-key.d
+ echo 'create id_resolver * * /usr/sbin/nfsidmap -t 600 %k %d' > id_resolver.conf
+ doins id_resolver.conf
+ fi
+
+ insinto /etc
+ doins "${FILESDIR}"/exports
+ keepdir /etc/exports.d
+
+ local f list=() opt_need=""
+ if use nfsv4 ; then
+ opt_need="rpc.idmapd"
+ list+=( rpc.idmapd rpc.pipefs )
+ use kerberos && list+=( rpc.gssd rpc.svcgssd )
+ fi
+ for f in nfs nfsclient rpc.statd "${list[@]}" ; do
+ newinitd "${FILESDIR}"/${f}.initd ${f}
+ done
+ newinitd "${FILESDIR}"/nfsmount.initd-1.3.1 nfsmount # Nuke after 2015/08/01
+ for f in nfs nfsclient ; do
+ newconfd "${FILESDIR}"/${f}.confd ${f}
+ done
+ sed -i \
+ -e "/^NFS_NEEDED_SERVICES=/s:=.*:=\"${opt_need}\":" \
+ "${ED%/}"/etc/conf.d/nfs || die #234132
+
+ local systemd_systemunitdir="$(systemd_get_systemunitdir)"
+ systemd_dounit systemd/*.{mount,service,target}
+ if ! use nfsv4 || ! use kerberos ; then
+ rm "${ED%/}${systemd_systemunitdir}"/rpc-{gssd,svcgssd}.service || die
+ fi
+ if ! use nfsv41 ; then
+ rm "${ED%/}${systemd_systemunitdir}"/nfs-blkmap.* || die
+ fi
+ sed -i \
+ -e 's:/usr/sbin/rpc.statd:/sbin/rpc.statd:' \
+ "${ED%/}${systemd_systemunitdir}"/* || die
+
+ keepdir /var/lib/nfs #368505
+ keepdir /var/lib/nfs/v4recovery #603628
+
+}
+
+pkg_postinst() {
+ # Install default xtab and friends if there's none existing. In
+ # src_install we put them in /usr/lib/nfs for safe-keeping, but
+ # the daemons actually use the files in /var/lib/nfs. #30486
+ local f
+ for f in "${EROOT%/}"/usr/$(get_libdir)/nfs/*; do
+ [[ -e ${EROOT%/}/var/lib/nfs/${f##*/} ]] && continue
+ einfo "Copying default ${f##*/} from ${EPREFIX}/usr/$(get_libdir)/nfs to ${EPREFIX}/var/lib/nfs"
+ cp -pPR "${f}" "${EROOT%/}"/var/lib/nfs/
+ done
+
+ if systemd_is_booted; then
+ if [[ ${REPLACING_VERSIONS} < 1.3.0 ]]; then
+ ewarn "We have switched to upstream systemd unit files. Since"
+ ewarn "they got renamed, you should probably enable the new ones."
+ ewarn "You can run 'equery files nfs-utils | grep systemd'"
+ ewarn "to know what services you need to enable now."
+ fi
+ else
+ ewarn "If you use OpenRC, the nfsmount service has been replaced with nfsclient."
+ ewarn "If you were using nfsmount, please add nfsclient and netmount to the"
+ ewarn "same runlevel as nfsmount."
+ fi
+}
next reply other threads:[~2017-11-25 15:08 UTC|newest]
Thread overview: 197+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-25 15:08 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-03 21:11 [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/ Andreas Sturmlechner
2024-11-02 7:52 Sam James
2024-10-18 16:12 Arthur Zamarin
2024-10-17 7:24 Sam James
2024-10-17 7:19 Sam James
2024-10-17 7:12 Sam James
2024-10-17 7:10 Sam James
2024-08-30 16:36 Sam James
2024-08-29 2:10 Sam James
2024-08-06 15:42 James Le Cuirot
2024-02-26 10:36 David Seifert
2024-02-24 14:01 Sam James
2024-02-24 14:01 Sam James
2024-02-24 7:08 Sam James
2024-02-20 23:38 Sam James
2024-02-20 23:38 Sam James
2024-02-20 23:38 Sam James
2024-02-20 14:06 Jakov Smolić
2024-02-20 14:06 Jakov Smolić
2024-02-20 9:49 David Seifert
2024-02-14 16:48 Sam James
2024-01-25 13:26 David Seifert
2024-01-25 11:08 David Seifert
2024-01-23 14:45 David Seifert
2024-01-18 0:28 Sam James
2024-01-17 6:34 Sam James
2024-01-17 6:30 Arthur Zamarin
2024-01-17 5:50 Sam James
2024-01-17 5:50 Sam James
2023-11-30 3:49 Sam James
2023-08-20 16:32 James Le Cuirot
2023-06-25 17:40 Arthur Zamarin
2023-06-25 17:40 Arthur Zamarin
2023-06-06 21:07 Sam James
2023-06-01 3:34 Sam James
2023-06-01 3:34 Sam James
2023-06-01 3:34 Sam James
2023-06-01 3:32 Sam James
2023-06-01 3:29 Sam James
2023-06-01 3:29 Sam James
2023-04-20 5:01 Sam James
2022-11-25 9:45 Arthur Zamarin
2022-11-25 7:54 Sam James
2022-11-25 6:39 Arthur Zamarin
2022-11-25 5:15 Sam James
2022-11-25 5:15 Sam James
2022-11-25 5:15 Sam James
2022-11-25 5:07 Sam James
2022-11-25 5:06 Sam James
2022-10-20 3:50 Sam James
2022-09-23 2:14 Sam James
2022-08-28 6:30 WANG Xuerui
2022-08-12 18:16 Sam James
2022-08-10 4:48 Sam James
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:08 Arthur Zamarin
2022-05-07 18:05 Arthur Zamarin
2022-05-07 17:45 Jakov Smolić
2022-05-07 17:45 Jakov Smolić
2022-03-27 6:00 Matt Turner
2022-03-27 3:26 Matt Turner
2022-03-08 9:43 David Seifert
2021-11-30 10:45 David Seifert
2021-11-28 1:33 Mike Gilbert
2021-10-14 7:03 Sam James
2021-10-14 7:03 Sam James
2021-10-03 21:57 David Seifert
2021-10-03 21:57 David Seifert
2021-09-23 1:07 Matt Turner
2021-09-13 20:30 David Seifert
2021-08-15 19:46 Sam James
2021-08-11 23:10 Sam James
2021-08-11 0:24 Sam James
2021-08-11 0:12 Sam James
2021-08-11 0:02 Sam James
2021-08-10 15:36 Agostino Sarubbo
2021-06-17 23:20 Thomas Deutschmann
2021-05-13 13:55 David Seifert
2021-04-09 22:20 Sam James
2021-04-07 22:45 Sam James
2021-04-07 22:44 Sam James
2021-04-06 19:53 Sam James
2021-04-06 19:53 Sam James
2021-04-06 15:42 Sergei Trofimovich
2021-04-05 19:01 Thomas Deutschmann
2021-03-26 22:34 David Seifert
2021-02-21 17:51 Lars Wendler
2020-12-13 23:23 Sam James
2020-09-07 2:13 Sam James
2020-08-29 17:57 Thomas Deutschmann
2020-08-25 17:48 Sergei Trofimovich
2020-08-24 17:33 Sergei Trofimovich
2020-08-23 6:52 Sam James
2020-08-22 5:43 Agostino Sarubbo
2020-08-21 18:20 Agostino Sarubbo
2020-08-01 7:55 Sergei Trofimovich
2020-07-17 7:21 Agostino Sarubbo
2020-07-08 19:46 Sam James
2020-07-07 6:58 Sergei Trofimovich
2020-07-06 7:22 Sergei Trofimovich
2020-07-06 7:02 Sergei Trofimovich
2020-07-04 21:55 Mart Raudsepp
2020-06-23 7:46 Lars Wendler
2020-06-23 7:46 Lars Wendler
2020-02-11 10:30 Lars Wendler
2019-11-20 12:55 Thomas Deutschmann
2019-11-20 12:55 Thomas Deutschmann
2019-11-20 12:55 Thomas Deutschmann
2019-09-28 14:53 Thomas Deutschmann
2019-09-21 5:20 Matt Turner
2019-09-20 6:39 Sergei Trofimovich
2019-09-13 12:04 Agostino Sarubbo
2019-09-09 6:02 Agostino Sarubbo
2019-09-09 5:54 Agostino Sarubbo
2019-09-09 3:59 Matt Turner
2019-09-08 22:29 Aaron Bauman
2019-09-08 18:30 Sergei Trofimovich
2019-09-08 18:26 Sergei Trofimovich
2019-09-08 10:22 Agostino Sarubbo
2019-09-08 1:13 Thomas Deutschmann
2019-09-02 7:08 Matt Turner
2019-09-02 7:08 Matt Turner
2019-09-02 7:08 Matt Turner
2019-09-02 7:08 Matt Turner
2019-06-11 11:12 Lars Wendler
2019-05-13 8:06 Lars Wendler
2019-05-12 10:20 Lars Wendler
2019-01-18 8:10 Mikle Kolyada
2019-01-18 8:10 Mikle Kolyada
2019-01-16 21:37 Mart Raudsepp
2018-12-30 19:15 Matt Turner
2018-12-02 17:55 Mikle Kolyada
2018-12-01 14:51 Sergei Trofimovich
2018-11-28 12:15 Tobias Klausmann
2018-11-18 9:24 Mikle Kolyada
2018-11-05 7:51 Sergei Trofimovich
2018-11-05 7:51 Sergei Trofimovich
2018-11-05 7:23 Sergei Trofimovich
2018-11-04 19:14 Thomas Deutschmann
2018-11-04 7:31 Mikle Kolyada
2018-09-10 13:11 Lars Wendler
2018-07-15 22:00 Mikle Kolyada
2018-07-15 22:00 Mikle Kolyada
2018-06-03 17:16 Mikle Kolyada
2018-05-28 21:48 Mike Gilbert
2018-05-28 10:35 Lars Wendler
2018-03-28 20:53 Mart Raudsepp
2018-03-17 15:42 Thomas Deutschmann
2018-03-15 15:52 Mikle Kolyada
2018-03-11 6:08 Matt Turner
2018-03-02 15:59 Tobias Klausmann
2018-02-28 22:18 Sergei Trofimovich
2018-02-25 10:35 Sergei Trofimovich
2018-02-19 7:50 Jason Zaman
2018-02-18 21:48 Thomas Deutschmann
2018-02-18 19:48 Sergei Trofimovich
2018-02-15 13:26 Lars Wendler
2018-02-15 13:26 Lars Wendler
2018-01-10 4:28 Mike Frysinger
2017-12-28 15:57 Lars Wendler
2017-12-20 20:37 Lars Wendler
2017-11-12 21:08 Justin Lecher
2017-11-09 9:51 Lars Wendler
2017-11-07 12:11 Lars Wendler
2017-11-07 10:00 Lars Wendler
2017-11-07 8:48 Lars Wendler
2017-11-07 8:48 Lars Wendler
2017-10-10 0:07 Thomas Deutschmann
2017-09-11 9:03 Jeroen Roovers
2017-08-15 14:02 Lars Wendler
2017-08-15 14:02 Lars Wendler
2017-06-18 23:22 Lars Wendler
2017-06-14 21:32 Lars Wendler
2017-06-08 20:12 Lars Wendler
2017-05-16 8:34 Lars Wendler
2017-05-16 7:48 Lars Wendler
2017-05-15 13:15 Lars Wendler
2017-05-11 8:45 Lars Wendler
2017-05-11 8:39 Lars Wendler
2017-04-15 8:59 Jeroen Roovers
2017-03-30 2:39 Matt Turner
2017-03-30 2:39 Matt Turner
2017-03-15 5:44 Jeroen Roovers
2017-03-07 10:03 Michael Weber
2017-03-03 19:06 Markus Meier
2017-02-20 7:53 Lars Wendler
2017-02-15 13:49 Tobias Klausmann
2017-02-11 11:40 Lars Wendler
2016-12-19 8:44 Lars Wendler
2016-08-07 19:15 Lars Wendler
2016-01-22 8:56 Michael Palimaka
2015-11-03 15:08 Mike Frysinger
2015-10-21 10:05 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1511622481.5d41ae904f07dbcfb8d041c14fc253efe9b22dbd.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox