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: Wed, 15 Jun 2016 06:12:23 +0000 (UTC)	[thread overview]
Message-ID: <1465971052.79280cb8c15305edfe9353d20d17ad6310cba055.dlan@gentoo> (raw)

commit:     79280cb8c15305edfe9353d20d17ad6310cba055
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 06:03:22 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 06:10:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79280cb8

net-fs/autofs: version bump 5.1.2

Package-Manager: portage-2.3.0_rc1

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

diff --git a/net-fs/autofs/Manifest b/net-fs/autofs/Manifest
index 01b5e44..f8aa7c3 100644
--- a/net-fs/autofs/Manifest
+++ b/net-fs/autofs/Manifest
@@ -4,3 +4,4 @@ DIST autofs-5.0.7.tar.bz2 319117 SHA256 08c4304d8076dc80c14df559bc5fd821b67ef345
 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
+DIST autofs-5.1.2.tar.xz 294792 SHA256 88b7de39088aead983e02072a7b753d5ee52ce419c8913f7a3d4ff5521313f0c SHA512 435bcb41c9d467947c194d879e46692b5976131b8e923793bdeac34f70420ede740c4d70ec393413fff0b1010495ac7fe5fa8b45a59d15a2430ecae9ec3fe7e1 WHIRLPOOL d0e53d1d41bf31c8bf6358053b1a0668dcc0a84ee92ff69ade86a6731bfb0945f41cab5b2dd62d7c086219095c20db43c91a074ce321fd5db870a5f16af7bce0

diff --git a/net-fs/autofs/autofs-5.1.2.ebuild b/net-fs/autofs/autofs-5.1.2.ebuild
new file mode 100644
index 0000000..685e0bb
--- /dev/null
+++ b/net-fs/autofs/autofs-5.1.2.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=
+[[ -n ${PATCH_VER} ]] && \
+	PATCHSET_URI="https://dev.gentoo.org/~jlec/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-06-15  6:12 UTC|newest]

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

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=1465971052.79280cb8c15305edfe9353d20d17ad6310cba055.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