public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/autofs/
Date: Mon, 15 Feb 2016 06:43:25 +0000 (UTC)	[thread overview]
Message-ID: <1455518564.80318047dbf958fe5650ac674b1d2ab68d0aa1e9.dlan@gentoo> (raw)

commit:     80318047dbf958fe5650ac674b1d2ab68d0aa1e9
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 15 06:39:27 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 06:42:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80318047

net-fs/autofs: bump upstream patches, fix libtirpc bug

Gentoo-bug: 570884

Package-Manager: portage-2.2.27

 net-fs/autofs/Manifest               |   1 +
 net-fs/autofs/autofs-5.1.1-r1.ebuild | 115 +++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/net-fs/autofs/Manifest b/net-fs/autofs/Manifest
index 84ddb5e..63c62c0 100644
--- a/net-fs/autofs/Manifest
+++ b/net-fs/autofs/Manifest
@@ -4,4 +4,5 @@ DIST autofs-5.0.7.tar.bz2 319117 SHA256 08c4304d8076dc80c14df559bc5fd821b67ef345
 DIST autofs-5.0.8.tar.bz2 328559 SHA256 2e0e42c654b7762b1235ec0131317224c57fdc6757ec00c820b2aa86338c9f7d SHA512 72b01b4a45e70b651ab6f4cd63039bc3d7f389a21fde354a4ba1e0e172b5480abd9b12134b8a9c74284712c2d4ff0d46ad2b47ca1692b510b0d1be5d56bf3335 WHIRLPOOL 4d9cd57819930070d6741d174f61d7c99d00ff6af364e1f9ced3f4dc8eacdf3af4c1d843127e2d8d4e57238389542976379d8c009562fa51e3fdecf7f3db29d0
 DIST autofs-5.0.9.tar.xz 256680 SHA256 81ab99ee1656a10ecaffe7933c26e8fc720f0b639ed47ab52adc66cdd868fd5c SHA512 36ecc38fa5108766069d5bbfcc22b186481d2e8aaa1b101406b389787280ae5e87ee21aab697f7ed0c9c9705278e8cd8b0143aee5fc2affd1becd85535dd9d73 WHIRLPOOL 915486d725e0a3b0d939b28dfd030d79c4fd71b7ff12c3f09bbbe558f00a8560141b9483263a5a04e84cc84eb0f92c90b1bb18df747aa5746046470b0f18bc00
 DIST autofs-5.1.0.tar.xz 288288 SHA256 f4b343797e6df03627a9fd41bda6fd85acb84aa3fdd15694eec03ec90a52bc27 SHA512 a455df8d93bc29aa87c3f928edea5bb3f91ab9c7bd7bbca8eb1370fdcc4c32b3a30d7f2c0d79800f65ac08716634f118c81ede7e816ef567048e4361aafac476 WHIRLPOOL ed265b1a9e697c08e802f0a17c0de482e5f1f292aecf8ab42cd7cf7177a605b0337ff6ab81b72950fc38687d31c47f9c01ff68cd0a8f10952a59b69a590e19ca
+DIST autofs-5.1.1-patches-0.tar.lzma 41178 SHA256 ef9f94aacff845d29d3118c73ca7d08199d40a7de5edae1025d341530e7dc2b4 SHA512 5c3ba26711401b3f9dc8cd36d3a85b1a8efce409621efedfc4f1caf2a15536646f6f89a79b8e12c703d3b3a4627ecda8c800386ebff34e20fdfad39041d91aa4 WHIRLPOOL d3d91c432e643911a4d8b5463e056aa50c717c08287e6ccf75bf1d6ca071460cc709aa32387f53cbe763de27b86eef1e26ab75a2fd334c783fd024b9f1d47ba3
 DIST autofs-5.1.1.tar.xz 290300 SHA256 e08ff0ef9ff365d87b6c33dca136d20e4e07675197a324f2816894cb437021c3 SHA512 37c0f10ee06bbfc76059ff9ae54d9b462f1c2bc39e8779e96dd5bfc2b07055606c0710f1c3de95e6f099edd2c5bb5a6f8a341be989d7554bf80011bfbe90c905 WHIRLPOOL 063e7bcabb3e93a17e8e7da75e6b42af59769e794e3b31240762a4617cc2ac626b4b4985a38455bdca56753fb897fed1a3173c633f1f9a594e79f891dc41f523

diff --git a/net-fs/autofs/autofs-5.1.1-r1.ebuild b/net-fs/autofs/autofs-5.1.1-r1.ebuild
new file mode 100644
index 0000000..57ee11a
--- /dev/null
+++ b/net-fs/autofs/autofs-5.1.1-r1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+AUTOTOOLS_IN_SOURCE_BUILD=true
+
+inherit autotools-utils linux-info multilib systemd toolchain-funcs
+
+PATCH_VER=0
+[[ -n ${PATCH_VER} ]] && \
+	PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-patches-${PATCH_VER}.tar.lzma"
+
+DESCRIPTION="Kernel based automounter"
+HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
+SRC_URI="
+	mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.xz
+	${PATCHSET_URI}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="-dmalloc hesiod ldap +libtirpc mount-locking sasl"
+
+# USE="sasl" adds SASL support to the LDAP module which will not be build. If
+# SASL support should be available, please add "ldap" to the USE flags.
+REQUIRED_USE="sasl? ( ldap )"
+
+# currently, sasl code assumes the presence of kerberosV
+RDEPEND=">=sys-apps/util-linux-2.20
+	dmalloc? ( dev-libs/dmalloc[threads] )
+	hesiod? ( net-dns/hesiod )
+	ldap? ( >=net-nds/openldap-2.0
+		sasl? (
+			dev-libs/cyrus-sasl
+			dev-libs/libxml2
+			virtual/krb5
+		)
+	)
+	libtirpc? ( net-libs/libtirpc )"
+
+DEPEND="${RDEPEND}
+	sys-devel/flex
+	virtual/yacc"
+
+CONFIG_CHECK="~AUTOFS4_FS"
+
+src_prepare() {
+	# Upstream's patchset
+	if [[ -n ${PATCH_VER} ]]; then
+		EPATCH_SUFFIX="patch" \
+			epatch "${WORKDIR}"/patches
+	fi
+
+	sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die #bug #479492
+	autotools-utils_src_prepare
+}
+
+src_configure() {
+	# bug #483716
+	tc-export AR
+	# --with-confdir is for bug #361481
+	# --with-mapdir is for bug #385113
+	local myeconfargs=(
+		--with-confdir=/etc/conf.d
+		--with-mapdir=/etc/autofs
+		$(use_with dmalloc)
+		$(use_with ldap openldap)
+		$(use_with libtirpc)
+		$(use_with sasl)
+		$(use_with hesiod)
+		$(use_enable mount-locking)
+		--disable-ext-env
+		--enable-sloppy-mount # bug #453778
+		--enable-force-shutdown
+		--enable-ignore-busy
+		--with-systemd="$(systemd_get_unitdir)" #bug #479492
+		RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716
+	)
+	autotools-utils_src_configure
+}
+
+src_compile() {
+	autotools-utils_src_compile DONTSTRIP=1
+}
+
+src_install() {
+	autotools-utils_src_install
+
+	if kernel_is -lt 2 6 30; then
+		# kernel patches
+		docinto patches
+		dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch
+	fi
+	newinitd "${FILESDIR}"/autofs5.initd autofs
+	insinto etc/autofs
+	newins "${FILESDIR}"/autofs5-auto.master auto.master
+}
+
+pkg_postinst() {
+	if kernel_is -lt 2 6 30; then
+		elog "This version of ${PN} requires a kernel with autofs4 supporting"
+		elog "protocol version 5.00. Patches for kernels older than 2.6.30 have"
+		elog "been installed into"
+		elog "${EROOT}usr/share/doc/${P}/patches."
+		elog "For further instructions how to patch the kernel, please refer to"
+		elog "${EROOT}usr/share/doc/${P}/INSTALL."
+		elog
+	fi
+	elog "If you plan on using autofs for automounting remote NFS mounts,"
+	elog "please check that both portmap (or rpcbind) and rpc.statd/lockd"
+	elog "are running."
+}


             reply	other threads:[~2016-02-15  6:43 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15  6:43 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-15  6:43 [gentoo-commits] repo/gentoo:master commit in: net-fs/autofs/ Yixun Lan
2016-06-15  6:12 Yixun Lan
2016-06-15  7:48 Tobias Klausmann
2016-06-16 22:40 Yixun Lan
2016-06-17  1:19 Yixun Lan
2016-06-21 18:39 Markus Meier
2016-08-03 10:09 Yixun Lan
2016-08-13  8:27 Jeroen Roovers
2016-08-18 19:39 Markus Meier
2016-09-04 10:21 Tobias Klausmann
2016-10-12  5:08 Jeroen Roovers
2017-01-11 10:35 Agostino Sarubbo
2017-01-15 15:50 Agostino Sarubbo
2017-01-17 14:24 Agostino Sarubbo
2017-07-17 13:54 Yixun Lan
2017-09-25 10:12 Andreas Hüttel
2017-11-15 22:41 Andreas Hüttel
2017-11-15 22:41 Andreas Hüttel
2017-11-26 23:11 David Seifert
2017-12-09 17:10 Mike Gilbert
2018-01-30 14:11 Yixun Lan
2018-01-30 14:11 Yixun Lan
2018-01-30 14:11 Yixun Lan
2018-01-30 14:11 Yixun Lan
2019-02-13  8:07 Yixun Lan
2019-02-14  4:25 Yixun Lan
2019-08-05 22:03 Matt Turner
2019-08-11 11:20 David Seifert
2019-08-12 21:52 Matt Turner
2019-08-16 22:38 Thomas Deutschmann
2019-08-17 20:17 Sergei Trofimovich
2019-08-17 20:22 Sergei Trofimovich
2019-08-17 20:33 Sergei Trofimovich
2019-08-17 20:41 Sergei Trofimovich
2019-08-18  8:29 Sergei Trofimovich
2019-08-18 17:29 Matt Turner
2019-08-18 17:29 Matt Turner
2019-08-18 17:29 Matt Turner
2019-10-11  3:26 Matt Turner
2020-03-04  8:34 Agostino Sarubbo
2020-03-04 13:01 Agostino Sarubbo
2020-03-04 13:01 Agostino Sarubbo
2020-03-04 13:02 Agostino Sarubbo
2020-03-04 13:03 Agostino Sarubbo
2020-03-04 13:05 Agostino Sarubbo
2020-03-05  8:19 Sergei Trofimovich
2020-03-05  9:23 Agostino Sarubbo
2020-05-04 17:36 Thomas Deutschmann
2020-05-29  9:11 Yixun Lan
2020-06-06 13:55 Yixun Lan
2020-06-08 10:03 Yixun Lan
2020-09-29 11:40 Sam James
2020-12-27  4:09 Sam James
2020-12-27  4:54 Sam James
2020-12-27 11:38 Sergei Trofimovich
2020-12-27 12:28 Sergei Trofimovich
2020-12-27 12:32 Sergei Trofimovich
2020-12-27 12:51 Sergei Trofimovich
2021-01-28  6:47 Yixun Lan
2021-02-25  4:29 Matt Turner
2021-06-03 19:15 Sam James
2021-08-18 10:26 David Seifert
2021-11-24 10:20 Yixun Lan
2021-12-22 13:44 Yixun Lan
2021-12-23  7:06 Yixun Lan
2022-01-06  1:43 Yixun Lan
2022-01-10 19:20 Arthur Zamarin
2022-01-10 19:21 Arthur Zamarin
2022-01-10 19:21 Arthur Zamarin
2022-01-10 19:28 Arthur Zamarin
2022-01-10 20:05 Jakov Smolić
2022-01-10 20:05 Jakov Smolić
2022-01-12  8:22 Yixun Lan
2022-08-30 20:41 Sam James
2023-06-28  7:55 Sam James
2023-11-23 11:57 Yixun Lan
2024-07-10 11:38 Jakov Smolić
2024-07-10 11:38 Jakov Smolić
2024-07-10 12:31 Sam James
2024-07-10 12:31 Sam James
2024-07-10 12:31 Sam James
2024-07-10 12:32 Sam James
2024-12-31 14:23 Sam James

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=1455518564.80318047dbf958fe5650ac674b1d2ab68d0aa1e9.dlan@gentoo \
    --to=dlan@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