From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/
Date: Tue, 15 Aug 2017 14:02:57 +0000 (UTC) [thread overview]
Message-ID: <1502805773.b2dbe930719e9ee2c0d131f774cf1d87b0c86a8a.polynomial-c@gentoo> (raw)
commit: b2dbe930719e9ee2c0d131f774cf1d87b0c86a8a
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 14:02:37 2017 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 14:02:53 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2dbe930
net-fs/nfs-utils: Bump to version 2.1.2_rc5
Package-Manager: Portage-2.3.7, Repoman-2.3.3
net-fs/nfs-utils/Manifest | 1 +
net-fs/nfs-utils/nfs-utils-2.1.2_rc5.ebuild | 190 ++++++++++++++++++++++++++++
2 files changed, 191 insertions(+)
diff --git a/net-fs/nfs-utils/Manifest b/net-fs/nfs-utils/Manifest
index 86af6b300a9..d5798c70b25 100644
--- a/net-fs/nfs-utils/Manifest
+++ b/net-fs/nfs-utils/Manifest
@@ -2,3 +2,4 @@ DIST nfs-utils-1.3.1.tar.bz2 785800 SHA256 748c4afbdfd3e92017fe579f1dd3280a10db1
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_rc3.tar.gz 475356 SHA256 5b379316a2cc49b07f72042b72eadee0bfe7c88e65d7b5baa4798e6cefca5a82 SHA512 2f948994f275b405678240deecc879900cc0e72476adaf552db059364f08f0929722013d751e0bc7913c30eb3f8183d1fc7693709c063fc92e20b71edd24ccef WHIRLPOOL 6a16a9cc3d22d883b6a8aa2d2f01dce81f9a1df03154a80e4aa43ae9bb878a15f0ca37951702f780341283da94d885b7be3656a950285ef79619e09dc465727f
+DIST nfs-utils-2.1.2_rc5.tar.gz 476401 SHA256 52b32896572e0f81dffd5ccd90c367e5d00b5d371b8deef45dc744ee1b7ad2ab SHA512 28670ca993c1bf953632086ab15cec1b6a525fb1b28243e382f246362cfb2629c9d0416f4f65c6a2f2c46202a4c6855d1924a7f8c984395ddb98b6d4f4b0cbcb WHIRLPOOL f2e2f75c0a989402f75740164870e250a12f29f4b3f0eb7102cecf57aea0d647a0a7860798f9333e8bef9efc4af72f516c885c62cd079e89470d108cdaca4b9d
diff --git a/net-fs/nfs-utils/nfs-utils-2.1.2_rc5.ebuild b/net-fs/nfs-utils/nfs-utils-2.1.2_rc5.ebuild
new file mode 100644
index 00000000000..133e06869f0
--- /dev/null
+++ b/net-fs/nfs-utils/nfs-utils-2.1.2_rc5.ebuild
@@ -0,0 +1,190 @@
+# 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/"
+
+if [[ "${PV}" = *_rc* ]] ; then
+ inherit versionator
+ MY_PV="$(replace_all_version_separators -)"
+ SRC_URI="http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=snapshot;h=refs/tags/${PN}-${MY_PV};sf=tgz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${PN}-${MY_PV}"
+else
+ SRC_URI="mirror://sourceforge/nfs/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="caps ipv6 kerberos +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="tcpd? ( sys-apps/tcp-wrappers )
+ caps? ( sys-libs/libcap )
+ sys-libs/e2fsprogs-libs
+ >=net-nds/rpcbind-0.2.4
+ net-libs/libtirpc:=
+ libmount? ( sys-apps/util-linux )
+ nfsdcld? ( >=dev-db/sqlite-3.3 )
+ nfsv4? (
+ dev-libs/libevent:=
+ >=net-libs/libnfsidmap-0.21-r1
+ kerberos? (
+ >=net-libs/libtirpc-0.2.4-r1[kerberos]
+ app-crypt/mit-krb5
+ )
+ nfsidmap? (
+ >=net-libs/libnfsidmap-0.24
+ >=sys-apps/keyutils-1.5.9
+ )
+ )
+ nfsv41? (
+ sys-fs/lvm2
+ )
+ uuid? ( sys-apps/util-linux )"
+RDEPEND="${DEPEND_COMMON}
+ !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-08-15 14:03 UTC|newest]
Thread overview: 197+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-15 14:02 Lars Wendler [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-25 15:08 Thomas Deutschmann
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-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=1502805773.b2dbe930719e9ee2c0d131f774cf1d87b0c86a8a.polynomial-c@gentoo \
--to=polynomial-c@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