[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 86243ebae528a9014ef2a3fefa0eb30b5a9ff8dc Author: Ben Kohler gentoo org> AuthorDate: Tue Apr 16 16:46:47 2024 + Commit: Ben Kohler gentoo org> CommitDate: Tue Apr 16 18:07:20 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86243eba net-fs/cifs-utils: drop 6.15-r1 Signed-off-by: Ben Kohler gentoo.org> net-fs/cifs-utils/Manifest | 1 - net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 145 2 files changed, 146 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index e5ae19ed0795..16707337f470 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,2 +1 @@ -DIST cifs-utils-6.15.tar.bz2 416592 BLAKE2B 8af926bf255c5b3a66bf52ccca99632aacb9ed1c83ad7db5543b32df2f3bcd4be9a9cd17b744ec115d1568d07084e2bd2d03849aa9ab97cff2862f39bcf137b8 SHA512 eedb8066563db584595a8ba7cb7a603e6b763ac2c1261430d605c327fcc5a831acd48b58ea55dd243af778dfdc827ab8c6daf4015764ff550dcffc2182773510 DIST cifs-utils-7.0.tar.bz2 418638 BLAKE2B 514d35f243d0ef7b866068a9a53a4b1704d2856d491d56aa469e8e3919b4030cb920a7f60d08851b0a23d28a020d1ddf7daa8b9ac412f1567a0a60d2f6ee6774 SHA512 4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild deleted file mode 100644 index 469484d3dbd1.. --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam +python systemd" - -RDEPEND=" - ads? ( - sys-apps/keyutils:= - sys-libs/talloc - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - creds? ( sys-apps/keyutils:= ) - pam? ( - sys-apps/keyutils:= - sys-libs/pam - ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE=" - acl? ( ads ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( - "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 - "${FILESDIR}/${PN}-6.15-musl.patch" -) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - # bug #927809 - filter-flags -fno-semantic-interposition - - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - $(use_enable python pythontools) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then -
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 2295925e80baeb4409bf01dc226fc6004c9ff365 Author: Ben Kohler gentoo org> AuthorDate: Tue Apr 16 16:45:27 2024 + Commit: Ben Kohler gentoo org> CommitDate: Tue Apr 16 18:07:19 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2295925e net-fs/cifs-utils: enable py3.12 Closes: https://bugs.gentoo.org/929694 Signed-off-by: Ben Kohler gentoo.org> net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild | 2 +- net-fs/cifs-utils/cifs-utils-7.0.ebuild| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild index 6e303af03995..aa0f9fee761f 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index 469484d3dbd1..95cf49c09822 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 439aab063e55bdce069419774ead6966be2fd14e Author: Matoro Mahri matoro tk> AuthorDate: Thu Apr 11 22:27:01 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 12 06:25:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=439aab06 net-fs/cifs-utils: remove REQUIRED_USE="acl? ( ads )" No longer seems to be accurate. Build and runtime tested. Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild index 8720d8f3a066..6e303af03995 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild @@ -37,7 +37,6 @@ PDEPEND=" " REQUIRED_USE=" - acl? ( ads ) python? ( ${PYTHON_REQUIRED_USE} ) "
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 1c956177bce251cc4157fbd0948dfffe085b7ceb Author: Sam James gentoo org> AuthorDate: Mon Mar 25 15:05:37 2024 + Commit: Sam James gentoo org> CommitDate: Mon Mar 25 15:06:24 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c956177 net-fs/cifs-utils: filter -fno-semantic-interposition With >=glibc-2.38, it uses that strlcpy. Closes: https://bugs.gentoo.org/927809 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 7 +-- net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild | 7 +-- net-fs/cifs-utils/cifs-utils-7.0.ebuild | 7 +-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index 9e39096264da..469484d3dbd1 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit autotools bash-completion-r1 linux-info pam python-single-r1 +inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; @@ -77,6 +77,9 @@ src_prepare() { } src_configure() { + # bug #927809 + filter-flags -fno-semantic-interposition + local myeconfargs=( --enable-man --enable-smbinfo diff --git a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild index 0dc48d00b48e..8720d8f3a066 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit autotools bash-completion-r1 linux-info pam python-single-r1 +inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; @@ -78,6 +78,9 @@ src_prepare() { } src_configure() { + # bug #927809 + filter-flags -fno-semantic-interposition + local myeconfargs=( --enable-man --enable-smbinfo diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index 9e39096264da..469484d3dbd1 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit autotools bash-completion-r1 linux-info pam python-single-r1 +inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; @@ -77,6 +77,9 @@ src_prepare() { } src_configure() { + # bug #927809 + filter-flags -fno-semantic-interposition + local myeconfargs=( --enable-man --enable-smbinfo
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/, net-fs/cifs-utils/files/
commit: 79853c374d5f3e0cf1a73a17fec44912739b7012 Author: Sam James gentoo org> AuthorDate: Wed Oct 4 16:58:25 2023 + Commit: Sam James gentoo org> CommitDate: Wed Oct 4 16:58:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79853c37 net-fs/cifs-utils: don't redefine _FORTIFY_SOURCE Closes: https://bugs.gentoo.org/890278 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild | 143 + .../cifs-utils-7.0-no-clobber-fortify-source.patch | 11 ++ 2 files changed, 154 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild new file mode 100644 index ..0dc48d00b48e --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit autotools bash-completion-r1 linux-info pam python-single-r1 + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam +python systemd" + +RDEPEND=" + ads? ( + sys-apps/keyutils:= + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + creds? ( sys-apps/keyutils:= ) + pam? ( + sys-apps/keyutils:= + sys-libs/pam + ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE=" + acl? ( ads ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS="doc/linux-cifs-client-guide.odt" + +PATCHES=( + "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 + "${FILESDIR}/${PN}-6.15-musl.patch" + "${FILESDIR}/${PN}-7.0-no-clobber-fortify-source.patch" +) + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + $(use_enable python pythontools) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi + + dobashcomp bash-completion/smbinfo + use python && python_fix_shebang "${ED}" +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ;
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: e55d5a7e7360f326589e660fbef2a69df16547e8 Author: Sam James gentoo org> AuthorDate: Wed Aug 9 05:56:57 2023 + Commit: Sam James gentoo org> CommitDate: Wed Aug 9 05:56:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55d5a7e net-fs/cifs-utils: Stabilize 7.0 amd64, #911942 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index cbce71d063db..1f8e8c110929 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 56f1c93a534a82cd68fea3f31e37e34529f2524c Author: Sam James gentoo org> AuthorDate: Wed Aug 9 05:56:58 2023 + Commit: Sam James gentoo org> CommitDate: Wed Aug 9 05:56:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f1c93a net-fs/cifs-utils: Stabilize 7.0 x86, #911942 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index 1f8e8c110929..9e39096264da 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: ce1392ad7d7e2bafe09390325ec1dd1f39b675ca Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 9 05:16:48 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 9 05:16:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1392ad net-fs/cifs-utils: Stabilize 7.0 arm, #911942 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index 4b0665022b94..39bc967aa8d0 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 502f7330e90952dc48ca534194e898f0113a1313 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 9 05:16:50 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 9 05:16:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502f7330 net-fs/cifs-utils: Stabilize 7.0 arm64, #911942 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index 39bc967aa8d0..cbce71d063db 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 2cd7731b5d5de4b6bdb69ac3e9cbb46f44aef1a3 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 9 04:52:19 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 9 04:52:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cd7731b net-fs/cifs-utils: Stabilize 7.0 ppc64, #911942 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild index 5cd601f109ec..4b0665022b94 100644 --- a/net-fs/cifs-utils/cifs-utils-7.0.ebuild +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 3e763aceda26622b80b03d0404157e1ac8eec1c2 Author: Sam James gentoo org> AuthorDate: Mon May 1 13:34:01 2023 + Commit: Sam James gentoo org> CommitDate: Mon May 1 13:34:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e763ace net-fs/cifs-utils: drop 6.15 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 138 --- 1 file changed, 138 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild deleted file mode 100644 index bf70cf7a963e.. --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit autotools bash-completion-r1 linux-info pam python-single-r1 - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam +python systemd" - -RDEPEND=" - sys-apps/keyutils:= - ads? ( - sys-libs/talloc - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - pam? ( sys-libs/pam ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE=" - acl? ( ads ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( - "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 - "${FILESDIR}/${PN}-6.15-musl.patch" -) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - $(use_enable python pythontools) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi - - dobashcomp bash-completion/smbinfo - use python && python_fix_shebang "${ED}" -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" -
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: ea0a944c6571ebf7ddac7b6221e7b07b1208e4c0 Author: kochera google com> AuthorDate: Fri Oct 28 19:40:44 2022 + Commit: Sam James gentoo org> CommitDate: Fri Oct 28 20:58:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0a944c net-fs/cifs-utils: Add cpe_uri for cifs-utils package. Signed-off-by: Michael Kochera google.com> Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-fs/cifs-utils/metadata.xml b/net-fs/cifs-utils/metadata.xml index 1f04d52ef8c9..8ae7e581 100644 --- a/net-fs/cifs-utils/metadata.xml +++ b/net-fs/cifs-utils/metadata.xml @@ -13,6 +13,9 @@ part of Samba was problematic and it was deemed better to split them off into their own package + + cpe:/a:samba:cifs-utils + Enable Active Directory support and create cifs.idmap binary - idmap support Enable sys-libs/libcap-ng support
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: cce7da3c8e02fb9aa620c9a1e52365b11de1e909 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 30 11:50:41 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 30 11:50:41 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cce7da3c net-fs/cifs-utils: Stabilize 6.15-r1 x86, #873577 Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index bbd1f21cbd39..9e2054bc08b2 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 5e6e301c6ef45104df9b54bc8a837cc32c6e4921 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 30 11:49:38 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 30 11:49:38 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6e301c net-fs/cifs-utils: Stabilize 6.15-r1 ppc64, #873577 Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index bd1782323014..bbd1f21cbd39 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: b529073fbb7fe7199067f39595598c822fefe9ca Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 30 11:47:49 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 30 11:47:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b529073f net-fs/cifs-utils: Stabilize 6.15-r1 arm64, #873577 Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index 9cb0a3e8fbc6..bd1782323014 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 4e9484505fe7a165cd4b4f33a958a74f91206ef9 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 30 11:46:14 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 30 11:46:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e948450 net-fs/cifs-utils: Stabilize 6.15-r1 amd64, #873577 Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index 521a23c9272a..9cb0a3e8fbc6 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 9ec06b4a7293120895291882615efd79ac64e6d3 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 30 07:01:13 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 30 07:01:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec06b4a net-fs/cifs-utils: Stabilize 6.15-r1 arm, #873577 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index a40518d230cb..521a23c9272a 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 1237daecd5c1659acd76c499b73f904c4e8ce0dd Author: Sam James gentoo org> AuthorDate: Fri Sep 30 03:02:55 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 30 03:02:55 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1237daec net-fs/cifs-utils: add 7.0 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-7.0.ebuild | 142 2 files changed, 143 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 65f68915c06c..8fcb81da726c 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,4 @@ DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de DIST cifs-utils-6.15.tar.bz2 416592 BLAKE2B 8af926bf255c5b3a66bf52ccca99632aacb9ed1c83ad7db5543b32df2f3bcd4be9a9cd17b744ec115d1568d07084e2bd2d03849aa9ab97cff2862f39bcf137b8 SHA512 eedb8066563db584595a8ba7cb7a603e6b763ac2c1261430d605c327fcc5a831acd48b58ea55dd243af778dfdc827ab8c6daf4015764ff550dcffc2182773510 +DIST cifs-utils-7.0.tar.bz2 418638 BLAKE2B 514d35f243d0ef7b866068a9a53a4b1704d2856d491d56aa469e8e3919b4030cb920a7f60d08851b0a23d28a020d1ddf7daa8b9ac412f1567a0a60d2f6ee6774 SHA512 4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb diff --git a/net-fs/cifs-utils/cifs-utils-7.0.ebuild b/net-fs/cifs-utils/cifs-utils-7.0.ebuild new file mode 100644 index ..a40518d230cb --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-7.0.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools bash-completion-r1 linux-info pam python-single-r1 + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam +python systemd" + +RDEPEND=" + ads? ( + sys-apps/keyutils:= + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + creds? ( sys-apps/keyutils:= ) + pam? ( + sys-apps/keyutils:= + sys-libs/pam + ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE=" + acl? ( ads ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS="doc/linux-cifs-client-guide.odt" + +PATCHES=( + "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 + "${FILESDIR}/${PN}-6.15-musl.patch" +) + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + $(use_enable python pythontools) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconf
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: ede0964749963f076247c21fbf1284463f6a51c4 Author: Sam James gentoo org> AuthorDate: Fri Sep 30 03:03:21 2022 + Commit: Sam James gentoo org> CommitDate: Fri Sep 30 03:03:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede09647 net-fs/cifs-utils: drop 6.13-r1 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/Manifest | 2 - net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 141 2 files changed, 143 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 8fcb81da726c..e5ae19ed0795 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,4 +1,2 @@ -DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e -DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de DIST cifs-utils-6.15.tar.bz2 416592 BLAKE2B 8af926bf255c5b3a66bf52ccca99632aacb9ed1c83ad7db5543b32df2f3bcd4be9a9cd17b744ec115d1568d07084e2bd2d03849aa9ab97cff2862f39bcf137b8 SHA512 eedb8066563db584595a8ba7cb7a603e6b763ac2c1261430d605c327fcc5a831acd48b58ea55dd243af778dfdc827ab8c6daf4015764ff550dcffc2182773510 DIST cifs-utils-7.0.tar.bz2 418638 BLAKE2B 514d35f243d0ef7b866068a9a53a4b1704d2856d491d56aa469e8e3919b4030cb920a7f60d08851b0a23d28a020d1ddf7daa8b9ac412f1567a0a60d2f6ee6774 SHA512 4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild deleted file mode 100644 index 49a473b376ae.. --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1 - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_fix.patch.xz"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam +python systemd" - -RDEPEND=" - !net-fs/mount-cifs - sys-apps/keyutils:= - ads? ( - sys-libs/talloc - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - pam? ( sys-libs/pam ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE=" - acl? ( ads ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( - "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 - "${WORKDIR}/${P}-kerberos_mount_regression_fix.patch" #809023 -) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - $(use_enable python pythontools) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 448ede061732ecdbe2468573a64f9446c4628103 Author: WANG Xuerui gentoo org> AuthorDate: Tue Aug 30 16:38:43 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Tue Aug 30 16:46:51 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448ede06 net-fs/cifs-utils: keyword 6.15-r1 for ~loong Signed-off-by: WANG Xuerui gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index 42cecd45dbaf..a40518d230cb 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: b3c8f0d2ced959cef9cb01d5211e07eec7dc3422 Author: Sam James gentoo org> AuthorDate: Fri Aug 19 03:24:13 2022 + Commit: Sam James gentoo org> CommitDate: Fri Aug 19 03:35:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c8f0d2 net-fs/cifs-utils: update HOMEPAGE Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild index cb09a6056c8e..42cecd45dbaf 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{8..11} ) inherit autotools bash-completion-r1 linux-info pam python-single-r1 DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git"; SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 03369cd396fa27bebdc06e62f17930a8bb7e6c06 Author: Ben Kohler gentoo org> AuthorDate: Thu Jul 28 18:57:52 2022 + Commit: Ben Kohler gentoo org> CommitDate: Thu Jul 28 19:04:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03369cd3 net-fs/cifs-utils: only require keyutils for USE ads, creds, or pam Closes: https://bugs.gentoo.org/600832 Closes: https://bugs.gentoo.org/784833 Signed-off-by: Ben Kohler gentoo.org> net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild | 142 1 file changed, 142 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild new file mode 100644 index ..cb09a6056c8e --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.15-r1.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools bash-completion-r1 linux-info pam python-single-r1 + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam +python systemd" + +RDEPEND=" + ads? ( + sys-apps/keyutils:= + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + creds? ( sys-apps/keyutils:= ) + pam? ( + sys-apps/keyutils:= + sys-libs/pam + ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE=" + acl? ( ads ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS="doc/linux-cifs-client-guide.odt" + +PATCHES=( + "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 + "${FILESDIR}/${PN}-6.15-musl.patch" +) + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + $(use_enable python pythontools) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi + + dobashcomp bash-completion/smbinfo + use python && python_fix_shebang "${ED}" +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ; then + einfo "The cifs.idmap utility has been enabled by creating the" + einfo "configuration fil
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 170f765a928fbe04570d5a0615e870c45bef4b94 Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jul 16 08:59:05 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jul 16 08:59:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170f765a net-fs/cifs-utils: x86 stable wrt bug #858137 Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index 8eb0f43391be..f613e4206fe3 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 4f003b8134bf458a73ef13018977518e6fef7573 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 18:46:11 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 18:46:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f003b81 net-fs/cifs-utils: Stabilize 6.15 ppc64, #858137 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index 7c0736dbfbe4..8eb0f43391be 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: cc8f429ed34c6a47289de4c566d5a2b84cc5e31d Author: Sam James gentoo org> AuthorDate: Fri Jul 15 12:13:41 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jul 15 12:14:12 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8f429e net-fs/cifs-utils: Stabilize 6.15 amd64, #858137 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index de5192dd712e..7c0736dbfbe4 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: efb8da53e5c7eef0a084b9d1f460ad45a7b7e1ec Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 10:02:53 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 10:02:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb8da53 net-fs/cifs-utils: Stabilize 6.15 arm64, #858137 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index b6f5a1331142..de5192dd712e 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: b406f29fa1ae9f848d9958302e19e6370a0e30b1 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 15 09:40:53 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 15 09:40:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b406f29f net-fs/cifs-utils: Stabilize 6.15 arm, #858137 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index c29aa577860b..b6f5a1331142 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 2ae6c02503ce15d5dcf4a595b5a6d65c420b77f9 Author: Sam James gentoo org> AuthorDate: Thu Jul 7 05:20:04 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jul 7 05:20:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae6c025 net-fs/cifs-utils: fix build (more) w/ USE=-python Bug: https://bugs.gentoo.org/856763 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- net-fs/cifs-utils/cifs-utils-6.15.ebuild| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index c77450fbc8b1..49a473b376ae 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -117,7 +117,7 @@ src_install() { fi dobashcomp bash-completion/smbinfo - python_fix_shebang "${ED}" + use python && python_fix_shebang "${ED}" } pkg_postinst() { diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index 326d18024bb3..c29aa577860b 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -114,7 +114,7 @@ src_install() { fi dobashcomp bash-completion/smbinfo - python_fix_shebang "${ED}" + use python && python_fix_shebang "${ED}" } pkg_postinst() {
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: bf90ad3e2a8b96376951d24fb7855838d6cc59a9 Author: Sam James gentoo org> AuthorDate: Thu Jul 7 05:08:25 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jul 7 05:08:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf90ad3e net-fs/cifs-utils: fix build w/ USE=-python Closes: https://bugs.gentoo.org/856763 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- net-fs/cifs-utils/cifs-utils-6.15.ebuild| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 7f3d0595c8eb..c77450fbc8b1 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -61,7 +61,7 @@ pkg_setup() { ewarn "and recompile your kernel ..." fi - python-single-r1_pkg_setup + use python && python-single-r1_pkg_setup } src_prepare() { diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index 47128fb754a5..326d18024bb3 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -58,7 +58,7 @@ pkg_setup() { ewarn "and recompile your kernel ..." fi - python-single-r1_pkg_setup + use python && python-single-r1_pkg_setup } src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: c1515cb2fdfbf0ea5785afcbf17a78baf5f5b3e5 Author: Sayan Chowdhury microsoft com> AuthorDate: Fri Jun 17 10:07:58 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jun 24 05:26:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1515cb2 net-fs/cifs-utils: version bump to 6.15 Bug: https://bugs.gentoo.org/842234 Acked-by: David Seifert gentoo.org> Signed-off-by: Sayan Chowdhury microsoft.com> Closes: https://github.com/gentoo/gentoo/pull/25937 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.15.ebuild | 138 +++ 2 files changed, 139 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 5b29ea38e8f0..65f68915c06c 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,2 +1,3 @@ DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de +DIST cifs-utils-6.15.tar.bz2 416592 BLAKE2B 8af926bf255c5b3a66bf52ccca99632aacb9ed1c83ad7db5543b32df2f3bcd4be9a9cd17b744ec115d1568d07084e2bd2d03849aa9ab97cff2862f39bcf137b8 SHA512 eedb8066563db584595a8ba7cb7a603e6b763ac2c1261430d605c327fcc5a831acd48b58ea55dd243af778dfdc827ab8c6daf4015764ff550dcffc2182773510 diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild new file mode 100644 index ..3ae6b5fd6284 --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1 + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam +python systemd" + +RDEPEND=" + !net-fs/mount-cifs + sys-apps/keyutils:= + ads? ( + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + pam? ( sys-libs/pam ) + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE=" + acl? ( ads ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +DOCS="doc/linux-cifs-client-guide.odt" + +PATCHES=( + "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 +) + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi + + python-single-r1_pkg_setup +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + $(use_enable python pythontools) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 79d54106ed9266c3f915da149d6a4d8b264e0427 Author: Sam James gentoo org> AuthorDate: Fri Jun 24 05:25:59 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jun 24 05:26:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d54106 net-fs/cifs-utils: EAPI 8, drop unused inherit Acked-by: David Seifert gentoo.org> Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index c4415d563b2e..47128fb754a5 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1 +inherit autotools bash-completion-r1 linux-info pam python-single-r1 DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; @@ -17,7 +17,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~ IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND=" - !net-fs/mount-cifs sys-apps/keyutils:= ads? ( sys-libs/talloc
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/, net-fs/cifs-utils/files/
commit: fa0dfbb6b2c16007e97457e3bda1ca88b85860fe Author: Sam James gentoo org> AuthorDate: Fri Jun 24 05:03:51 2022 + Commit: Sam James gentoo org> CommitDate: Fri Jun 24 05:26:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0dfbb6 net-fs/cifs-utils: fix build on musl Closes: https://bugs.gentoo.org/842195 Acked-by: David Seifert gentoo.org> Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.15.ebuild | 1 + net-fs/cifs-utils/files/cifs-utils-6.15-musl.patch | 80 ++ 2 files changed, 81 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.15.ebuild b/net-fs/cifs-utils/cifs-utils-6.15.ebuild index 3ae6b5fd6284..c4415d563b2e 100644 --- a/net-fs/cifs-utils/cifs-utils-6.15.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.15.ebuild @@ -42,6 +42,7 @@ DOCS="doc/linux-cifs-client-guide.odt" PATCHES=( "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 + "${FILESDIR}/${PN}-6.15-musl.patch" ) pkg_setup() { diff --git a/net-fs/cifs-utils/files/cifs-utils-6.15-musl.patch b/net-fs/cifs-utils/files/cifs-utils-6.15-musl.patch new file mode 100644 index ..f17cc68bdaca --- /dev/null +++ b/net-fs/cifs-utils/files/cifs-utils-6.15-musl.patch @@ -0,0 +1,80 @@ +https://marc.info/?l=linux-cifs&m=165604639613381&w=2 + +From c267ecf6a1c2152e640897d30cc0e8f637a8ef76 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 24 Jun 2022 05:25:23 +0100 +Subject: [PATCH 1/2] getcifsacl, setcifsacl: add missing + include for XATTR_SIZE_MAX + +Needed to build on musl. It only works on glibc because of transitive includes +(which could break in future). + +Example failure: +``` +getcifsacl.c: In function 'getcifsacl': +getcifsacl.c:429:24: error: 'XATTR_SIZE_MAX' undeclared (first use in this function) + 429 | if (bufsize >= XATTR_SIZE_MAX) { + |^~ +``` + +Bug: https://bugs.gentoo.org/842195 +Signed-off-by: Sam James +--- a/getcifsacl.c b/getcifsacl.c +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include + #include "cifsacl.h" + #include "idmap_plugin.h" +--- a/setcifsacl.c b/setcifsacl.c +@@ -48,6 +48,7 @@ + #include + #include + #include ++#include + #include + + #include "cifsacl.h" +From d1a36cc4caa541d1f0f9a3426a5202b680cf7ff8 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Fri, 24 Jun 2022 05:26:54 +0100 +Subject: [PATCH 2/2] getcifsacl, setcifsacl: add missing include + for le32toh + +Needed to fix build on musl libc. It only works by chance on glibc +because of transitive includes (which could break at any time). + +Example failure: +``` +getcifsacl.c: In function 'print_ace': +getcifsacl.c:284:16: warning: implicit declaration of function 'le16toh' [-Wimplicit-function-declaration] + 284 | size = le16toh(pace->size); + |^~~ +``` + +Bug: https://bugs.gentoo.org/842195 +Signed-off-by: Sam James +--- a/getcifsacl.c b/getcifsacl.c +@@ -23,6 +23,7 @@ + #include "config.h" + #endif /* HAVE_CONFIG_H */ + ++#include + #include + #include + #include +--- a/setcifsacl.c b/setcifsacl.c +@@ -38,6 +38,7 @@ + #include "config.h" + #endif /* HAVE_CONFIG_H */ + ++#include + #include + #include + #include
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: d17ff82fcfaefc4f88c7c86d177f78a1bfbd2cf4 Author: Sam James gentoo org> AuthorDate: Tue May 10 17:53:21 2022 + Commit: Sam James gentoo org> CommitDate: Wed May 11 00:49:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17ff82f net-fs/cifs-utils: drop to ~sparc Needed to drop keyutils to ~sparc Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index ce1c52b8b9f1..7f3d0595c8eb 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 901ab70e8fdcac668ae7c161b70988b3c49c5e48 Author: Sam James gentoo org> AuthorDate: Tue May 10 17:53:10 2022 + Commit: Sam James gentoo org> CommitDate: Wed May 11 00:49:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901ab70e net-fs/cifs-utils: drop to ~ppc Needed to drop keyutils to ~ppc Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index dd617aa95bdf..ce1c52b8b9f1 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 5c9af4eb4146932401aa9307f5129e9fb5d3c031 Author: Dongsu Park linux microsoft com> AuthorDate: Tue Feb 15 14:39:51 2022 + Commit: David Seifert gentoo org> CommitDate: Tue Feb 15 14:39:51 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9af4eb net-fs/cifs-utils: introduce python USE flag To prevent cifs-utils from pulling in unnecessary python libs, we need to introduce a new USE flag `python`. Doing that, `--enable-pythontools` will be enabled only if the python flag is turned on. So we can disable pythontools when the flag is turned off. Closes: https://github.com/gentoo/gentoo/pull/24196 Signed-off-by: Dongsu Park linux.microsoft.com> Signed-off-by: David Seifert gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 7 --- net-fs/cifs-utils/metadata.xml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 89c9623e16ce..dd617aa95bdf 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -16,10 +16,9 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam systemd" +IUSE="+acl +ads +caps creds pam +python systemd" RDEPEND=" - ${PYTHON_DEPS} !net-fs/mount-cifs sys-apps/keyutils:= ads? ( @@ -28,6 +27,7 @@ RDEPEND=" ) caps? ( sys-libs/libcap-ng ) pam? ( sys-libs/pam ) + python? ( ${PYTHON_DEPS} ) " DEPEND="${RDEPEND}" BDEPEND="dev-python/docutils" @@ -37,7 +37,7 @@ PDEPEND=" REQUIRED_USE=" acl? ( ads ) - ${PYTHON_REQUIRED_USE} + python? ( ${PYTHON_REQUIRED_USE} ) " DOCS="doc/linux-cifs-client-guide.odt" @@ -85,6 +85,7 @@ src_configure() { $(use_enable creds cifscreds) $(use_enable pam) $(use_with pam pamdir $(getpam_mod_dir)) + $(use_enable python pythontools) # mount.cifs can get passwords from systemd $(use_enable systemd) ) diff --git a/net-fs/cifs-utils/metadata.xml b/net-fs/cifs-utils/metadata.xml index ee0a0863fcf7..1f04d52ef8c9 100644 --- a/net-fs/cifs-utils/metadata.xml +++ b/net-fs/cifs-utils/metadata.xml @@ -17,5 +17,6 @@ Enable Active Directory support and create cifs.idmap binary - idmap support Enable sys-libs/libcap-ng support cifs credentials support + Enable support for python and install python tools
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: e7dc591ef3d82cad1f7e39ed593d15673344a953 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Nov 1 07:39:55 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Nov 1 07:42:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7dc591e net-fs/cifs-utils: enable py3.10 Signed-off-by: Arthur Zamarin gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 559bfa43ea7..89c9623e16c 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/files/, net-fs/cifs-utils/
commit: 6db255a92e559a77f390c196c0532a811ac12b60 Author: Lars Wendler gentoo org> AuthorDate: Sun Aug 22 16:05:43 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sun Aug 22 16:05:43 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db255a9 net-fs/cifs-utils: Removed old Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 - net-fs/cifs-utils/cifs-utils-6.11.ebuild | 126 - .../files/cifs-utils-6.10-ln_in_destdir.patch | 26 - 3 files changed, 153 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 5068f96d567..5b29ea38e8f 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,2 @@ -DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild deleted file mode 100644 index d33b983c63a..000 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 linux-info multilib pam - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam systemd" - -RDEPEND=" - !net-fs/mount-cifs - sys-apps/keyutils:= - ads? ( - sys-libs/talloc - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - pam? ( sys-libs/pam ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE="acl? ( ads )" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( "${FILESDIR}/${PN}-6.10-ln_in_destdir.patch" ) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ -
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: d9d0a3cc4393e394179d377e654da178595b16ce Author: Sam James gentoo org> AuthorDate: Sun Aug 22 03:42:17 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 22 03:42:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d0a3cc net-fs/cifs-utils: Stabilize 6.13-r1 arm64, #808851 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 8dfbd2c22bc..559bfa43ea7 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: cb16cff4496c943ffc4b01c70903b4599933ea26 Author: Sam James gentoo org> AuthorDate: Sun Aug 22 03:40:20 2021 + Commit: Sam James gentoo org> CommitDate: Sun Aug 22 03:40:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb16cff4 net-fs/cifs-utils: Stabilize 6.13-r1 x86, #808851 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 1e022fd166e..8dfbd2c22bc 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: f0d4014bc0077939482aac4e6caf10f5f66c27f9 Author: Sam James gentoo org> AuthorDate: Fri Aug 20 23:49:35 2021 + Commit: Sam James gentoo org> CommitDate: Fri Aug 20 23:51:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0d4014b net-fs/cifs-utils: Stabilize 6.13-r1 arm, #808851 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index db149b9b4b8..1e022fd166e 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_f LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 65c4422ceba89732ef0a2ed87b69fe021c2983cb Author: Lars Wendler gentoo org> AuthorDate: Thu Aug 19 08:59:33 2021 + Commit: Lars Wendler gentoo org> CommitDate: Thu Aug 19 09:04:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c4422c net-fs/cifs-utils: Removed old Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 - net-fs/cifs-utils/cifs-utils-6.12.ebuild | 137 --- 2 files changed, 138 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index e7e62188270..4ba50d8044e 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,2 @@ DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e -DIST cifs-utils-6.12.tar.bz2 413393 BLAKE2B 54d9f8cc5c7aac8157baac4bd0f742fea27f7141adc183a99ba276888b6aa8ec87150983cfa677ebd96bcfe8a019038199fef8dfe464c82bbdbaf07c0a7b35dd SHA512 2f2e1cba8d56c9039fc28236fa63812a09f07f14931c3bd7bd5ae3e6aeb372130c5a059569d8714fb973bea87eba394fd30228fbaeabe700961bba400dd01ca6 DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de diff --git a/net-fs/cifs-utils/cifs-utils-6.12.ebuild b/net-fs/cifs-utils/cifs-utils-6.12.ebuild deleted file mode 100644 index da0c06f1d4f..000 --- a/net-fs/cifs-utils/cifs-utils-6.12.ebuild +++ /dev/null @@ -1,137 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1 - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam systemd" - -RDEPEND=" - ${PYTHON_DEPS} - !net-fs/mount-cifs - sys-apps/keyutils:= - ads? ( - sys-libs/talloc - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - pam? ( sys-libs/pam ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE=" - acl? ( ads ) - ${PYTHON_REQUIRED_USE} -" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( - "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 -) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi - - python-single-r1_pkg_setup -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d -
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 75552f491a85395c574577e9dbdb5fdb4e1131cc Author: Lars Wendler gentoo org> AuthorDate: Thu Aug 19 09:03:46 2021 + Commit: Lars Wendler gentoo org> CommitDate: Thu Aug 19 09:04:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75552f49 net-fs/cifs-utils: Revbump to fix kerberos mount regression Thanks-to: Bernd Feige gmx.net> Closes: https://bugs.gentoo.org/809023 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 + .../cifs-utils/{cifs-utils-6.13.ebuild => cifs-utils-6.13-r1.ebuild} | 3 +++ 2 files changed, 4 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 4ba50d8044e..5068f96d567 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,2 +1,3 @@ DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e +DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de diff --git a/net-fs/cifs-utils/cifs-utils-6.13.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild similarity index 95% rename from net-fs/cifs-utils/cifs-utils-6.13.ebuild rename to net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild index 18941f359b9..db149b9b4b8 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild @@ -11,6 +11,8 @@ DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; +SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_fix.patch.xz"; + LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux" @@ -42,6 +44,7 @@ DOCS="doc/linux-cifs-client-guide.odt" PATCHES=( "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 + "${WORKDIR}/${P}-kerberos_mount_regression_fix.patch" #809023 ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: a86b6f648abae8c2930d735e763b57b1e875f6b9 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Aug 19 01:27:56 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Aug 19 01:27:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86b6f64 net-fs/cifs-utils: sparc stable wrt bug #808851 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13.ebuild b/net-fs/cifs-utils/cifs-utils-6.13.ebuild index 08574e12a81..18941f359b9 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 42ba303388b1a9fb6c462be52c0c50f650f64d32 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Aug 19 01:27:19 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Aug 19 01:27:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ba3033 net-fs/cifs-utils: ppc64 stable wrt bug #808851 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13.ebuild b/net-fs/cifs-utils/cifs-utils-6.13.ebuild index 259d2e0f622..08574e12a81 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: d5743439ecdde3d66639c5a5d5018373b0179862 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Aug 19 01:26:50 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Aug 19 01:26:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5743439 net-fs/cifs-utils: ppc stable wrt bug #808851 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13.ebuild b/net-fs/cifs-utils/cifs-utils-6.13.ebuild index b8bb90ac654..259d2e0f622 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: a91dff2c5389b3f69b1f29d361a82165fb294f7b Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Aug 18 12:46:34 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Aug 18 12:46:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a91dff2c net-fs/cifs-utils: amd64 stable wrt bug #808851 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.13.ebuild b/net-fs/cifs-utils/cifs-utils-6.13.ebuild index da0c06f1d4f..b8bb90ac654 100644 --- a/net-fs/cifs-utils/cifs-utils-6.13.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.13.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 53165d221d3f9c27e38649c83e17f6e4cbc0f084 Author: Lars Wendler gentoo org> AuthorDate: Wed Aug 18 08:58:45 2021 + Commit: Lars Wendler gentoo org> CommitDate: Wed Aug 18 09:09:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53165d22 net-fs/cifs-utils: Bump to version 6.13 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.13.ebuild | 137 +++ 2 files changed, 138 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index cf59e8b644c..e7e62188270 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,2 +1,3 @@ DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e DIST cifs-utils-6.12.tar.bz2 413393 BLAKE2B 54d9f8cc5c7aac8157baac4bd0f742fea27f7141adc183a99ba276888b6aa8ec87150983cfa677ebd96bcfe8a019038199fef8dfe464c82bbdbaf07c0a7b35dd SHA512 2f2e1cba8d56c9039fc28236fa63812a09f07f14931c3bd7bd5ae3e6aeb372130c5a059569d8714fb973bea87eba394fd30228fbaeabe700961bba400dd01ca6 +DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de diff --git a/net-fs/cifs-utils/cifs-utils-6.13.ebuild b/net-fs/cifs-utils/cifs-utils-6.13.ebuild new file mode 100644 index 000..da0c06f1d4f --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.13.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1 + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam systemd" + +RDEPEND=" + ${PYTHON_DEPS} + !net-fs/mount-cifs + sys-apps/keyutils:= + ads? ( + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + pam? ( sys-libs/pam ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE=" + acl? ( ads ) + ${PYTHON_REQUIRED_USE} +" + +DOCS="doc/linux-cifs-client-guide.odt" + +PATCHES=( + "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 +) + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi + + python-single-r1_pkg_setup +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d +
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/, net-fs/cifs-utils/files/
commit: 7ef432c0c5c51667cf0f2c70e1ef62ec4279aa94 Author: Lars Wendler gentoo org> AuthorDate: Sat Jan 23 14:26:11 2021 + Commit: Lars Wendler gentoo org> CommitDate: Sat Jan 23 14:26:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef432c0 net-fs/cifs-utils: Fixed installation with MAKEOPTS="-j1" (again) Closes: https://bugs.gentoo.org/766594 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/cifs-utils-6.12.ebuild | 8 +++- .../files/cifs-utils-6.12-ln_in_destdir.patch | 22 ++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.12.ebuild b/net-fs/cifs-utils/cifs-utils-6.12.ebuild index f7fa30ad0e4..c93c1869917 100644 --- a/net-fs/cifs-utils/cifs-utils-6.12.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.12.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6..9} ) -inherit bash-completion-r1 linux-info multilib pam python-single-r1 +inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1 DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; @@ -40,6 +40,10 @@ REQUIRED_USE=" DOCS="doc/linux-cifs-client-guide.odt" +PATCHES=( + "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 +) + pkg_setup() { linux-info_pkg_setup @@ -64,6 +68,8 @@ src_prepare() { # https://bugs.gentoo.org/612584 eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" fi + + eautoreconf } src_configure() { diff --git a/net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch b/net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch new file mode 100644 index 000..a5f7be668ac --- /dev/null +++ b/net-fs/cifs-utils/files/cifs-utils-6.12-ln_in_destdir.patch @@ -0,0 +1,22 @@ +Fixed an inverted race condition when installing with MAKEOPTS="-j1" + +jer found this: + install-root_sbinPROGRAMS is called from install-data-am but + install-exec-hook is called from install-exec-am + +So moving the failing ln call into install-data-hook for now... + +--- cifs-utils-6.12/Makefile.am cifs-utils-6.12/Makefile.am +@@ -117,10 +117,8 @@ + + SUBDIRS = contrib + +-install-exec-hook: install-sbinPROGRAMS ++install-data-hook: install-sbinPROGRAMS + (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) +- +-install-data-hook: + if CONFIG_MAN + ( cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) + endif
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 8d903fade31bbefd40e8a40f5192ee0068e7d987 Author: Lars Wendler gentoo org> AuthorDate: Wed Jan 20 13:23:10 2021 + Commit: Lars Wendler gentoo org> CommitDate: Wed Jan 20 13:23:49 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d903fad net-fs/cifs-utils: Bump to version 6.12 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.12.ebuild | 131 +++ 2 files changed, 132 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 90318ccb282..cf59e8b644c 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1 +1,2 @@ DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e +DIST cifs-utils-6.12.tar.bz2 413393 BLAKE2B 54d9f8cc5c7aac8157baac4bd0f742fea27f7141adc183a99ba276888b6aa8ec87150983cfa677ebd96bcfe8a019038199fef8dfe464c82bbdbaf07c0a7b35dd SHA512 2f2e1cba8d56c9039fc28236fa63812a09f07f14931c3bd7bd5ae3e6aeb372130c5a059569d8714fb973bea87eba394fd30228fbaeabe700961bba400dd01ca6 diff --git a/net-fs/cifs-utils/cifs-utils-6.12.ebuild b/net-fs/cifs-utils/cifs-utils-6.12.ebuild new file mode 100644 index 000..f7fa30ad0e4 --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.12.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit bash-completion-r1 linux-info multilib pam python-single-r1 + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam systemd" + +RDEPEND=" + ${PYTHON_DEPS} + !net-fs/mount-cifs + sys-apps/keyutils:= + ads? ( + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + pam? ( sys-libs/pam ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE=" + acl? ( ads ) + ${PYTHON_REQUIRED_USE} +" + +DOCS="doc/linux-cifs-client-guide.odt" + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi + + python-single-r1_pkg_setup +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi + + dobashcomp bash-completion/smbinfo + python_fix_shebang "${ED}" +} + +pkg_postin
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 1ad1ab37dc2746bb2a0dd1e46ed1f9132879d93e Author: Lars Wendler gentoo org> AuthorDate: Mon Sep 28 07:26:03 2020 + Commit: Lars Wendler gentoo org> CommitDate: Mon Sep 28 07:26:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ad1ab37 net-fs/cifs-utils: Security cleanup Bug: https://bugs.gentoo.org/743211 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 2 - net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild | 124 net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 119 -- 3 files changed, 245 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 91cd6be06ba..90318ccb282 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1 @@ -DIST cifs-utils-6.10.tar.bz2 364221 BLAKE2B 45b692fb85217a25b7042fbe7e40cc8c4fe0d6cc9c905acde2c6fc9c3048343064e376f47128bcacba88f745452148040ad3f5e8ca15e297531f0dc868e1b75b SHA512 e19ca69b7948f01c1fd6a4ed069e00511588b903a5b8b0dc35ac1e00743170b9ca180b747c47d56cfacf273b296da21df60e1957404f26ebf2ba80bfa7e275cc DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e -DIST cifs-utils-6.9.tar.bz2 400430 BLAKE2B fc8cc55fae54d84fc1f1d4a14a9d666d87a3da78d1502f0d72ac9cb44ff1424ca2c5b15b0be510579d4c9f5181980627efedd00e0e5cfb1b3e47188ba307ad28 SHA512 b92e4e39eeed1032bb175659296cde034703fb3ca63aae00419d46a33dadf821fedaf03734128112c164c84bcbb48d92d03cdc275c4a7cba26f984aeca40a40a diff --git a/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild deleted file mode 100644 index d9225eafc90..000 --- a/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools bash-completion-r1 linux-info multilib pam - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" -IUSE="+acl +ads +caps creds pam" - -RDEPEND=" - !net-fs/mount-cifs - !https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi - - dobashcomp bash-completion/smbinfo -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.upcall.conf" - einfo "This enables you to mount DFS shares." - fi -} diff
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: d388d4cf0f13bbbac1b8db38a4e249074f7f95e8 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Sep 23 10:26:57 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Sep 23 10:29:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d388d4cf net-fs/cifs-utils: ppc64 stable wrt bug #743211 Package-Manager: Portage-2.3.103, Repoman-2.3.23 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index 19c1f928eaa..d33b983c63a 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 932697abbcd559df4025dd6e6a09dcb724422938 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Sep 21 18:09:02 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Sep 21 18:53:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932697ab net-fs/cifs-utils: stable 6.11 for sparc, bug #743211 Package-Manager: Portage-3.0.4, Repoman-3.0.1 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index 4f9efe4bd05..19c1f928eaa 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 3462cc1954228e716f1136ffe783a22d233a6298 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Sep 20 16:27:07 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Sep 20 16:27:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3462cc19 net-fs/cifs-utils: x86 stable (bug #743211) Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index 5e99655ef66..4f9efe4bd05 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 91785c05ce6c80430ab2264d832b10cbb85be674 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 20 08:41:52 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 20 08:41:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91785c05 net-fs/cifs-utils: stable 6.11 for ppc stable wrt bug ##743211 Package-Manager: Portage-3.0.7, Repoman-3.0.1 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index e987e875970..5e99655ef66 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 18c2ebda4f3548359d32757ba627f6f6dc262060 Author: Sam James gentoo org> AuthorDate: Sat Sep 19 22:05:22 2020 + Commit: Sam James gentoo org> CommitDate: Sat Sep 19 22:05:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18c2ebda net-fs/cifs-utils: Stabilize 6.11 amd64, #743211 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index 60fc8318687..e987e875970 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: a04a300f3f8630059fae99cff394939e5628894a Author: Sam James gentoo org> AuthorDate: Sat Sep 19 02:13:57 2020 + Commit: Sam James gentoo org> CommitDate: Sat Sep 19 02:13:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04a300f net-fs/cifs-utils: Stabilize 6.11 arm, #743211 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index 6ce0b715055..60fc8318687 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: e5efd3f410ef0be819ea5304d77497b2eccdd06d Author: Sam James gentoo org> AuthorDate: Fri Sep 18 23:29:29 2020 + Commit: Sam James gentoo org> CommitDate: Fri Sep 18 23:29:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5efd3f4 net-fs/cifs-utils: Stabilize 6.11 arm64, #743211 Signed-off-by: Sam James gentoo.org> net-fs/cifs-utils/cifs-utils-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild index 18fc41eaf8c..6ce0b715055 100644 --- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam systemd" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 6bbef22015f3243fc012becd396e145981eb6c05 Author: Lars Wendler gentoo org> AuthorDate: Fri Sep 18 06:09:20 2020 + Commit: Lars Wendler gentoo org> CommitDate: Fri Sep 18 06:09:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bbef220 net-fs/cifs-utils: Security bump to version 6.11 Bug: https://bugs.gentoo.org/743211 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.11.ebuild | 126 +++ 2 files changed, 127 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 6571c0d3ac2..91cd6be06ba 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,2 +1,3 @@ DIST cifs-utils-6.10.tar.bz2 364221 BLAKE2B 45b692fb85217a25b7042fbe7e40cc8c4fe0d6cc9c905acde2c6fc9c3048343064e376f47128bcacba88f745452148040ad3f5e8ca15e297531f0dc868e1b75b SHA512 e19ca69b7948f01c1fd6a4ed069e00511588b903a5b8b0dc35ac1e00743170b9ca180b747c47d56cfacf273b296da21df60e1957404f26ebf2ba80bfa7e275cc +DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e DIST cifs-utils-6.9.tar.bz2 400430 BLAKE2B fc8cc55fae54d84fc1f1d4a14a9d666d87a3da78d1502f0d72ac9cb44ff1424ca2c5b15b0be510579d4c9f5181980627efedd00e0e5cfb1b3e47188ba307ad28 SHA512 b92e4e39eeed1032bb175659296cde034703fb3ca63aae00419d46a33dadf821fedaf03734128112c164c84bcbb48d92d03cdc275c4a7cba26f984aeca40a40a diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild new file mode 100644 index 000..18fc41eaf8c --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.11.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools bash-completion-r1 linux-info multilib pam + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam systemd" + +RDEPEND=" + !net-fs/mount-cifs + sys-apps/keyutils:= + ads? ( + sys-libs/talloc + virtual/krb5 + ) + caps? ( sys-libs/libcap-ng ) + pam? ( sys-libs/pam ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" +PDEPEND=" + acl? ( >=net-fs/samba-4.0.0_alpha1 ) +" + +REQUIRED_USE="acl? ( ads )" + +DOCS="doc/linux-cifs-client-guide.odt" + +PATCHES=( "${FILESDIR}/${PN}-6.10-ln_in_destdir.patch" ) + +pkg_setup() { + linux-info_pkg_setup + + if ! linux_config_exists || ! linux_chkconfig_present CIFS; then + ewarn "You must enable CIFS support in your kernel config, " + ewarn "to be able to mount samba shares. You can find it at" + ewarn + ewarn " File systems" + ewarn " Network File Systems" + ewarn " CIFS support" + ewarn + ewarn "and recompile your kernel ..." + fi +} + +src_prepare() { + default + + if has_version app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-man + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + # mount.cifs can get passwords from systemd + $(use_enable systemd) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ +
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: e650803785dcb6c9365d9356ebc64eea058f9d9f Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Apr 16 09:00:28 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Apr 16 18:05:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6508037 net-fs/cifs-utils: drop to ~hppa Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index dfb877e4d7c..121a2f96109 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 782a81116f7e86a5fd1060df11c7a9a2912725c6 Author: Lars Wendler gentoo org> AuthorDate: Thu Apr 9 10:04:37 2020 + Commit: Lars Wendler gentoo org> CommitDate: Thu Apr 9 10:04:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782a8111 net-fs/cifs-utils: Added dev-python/docutils to BDEPEND Thanks-to: Holger gmail.com> Closes: https://bugs.gentoo.org/716686 Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild index 2e5391aa6cd..d9225eafc90 100644 --- a/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild @@ -26,6 +26,7 @@ RDEPEND=" pam? ( sys-libs/pam ) " DEPEND="${RDEPEND}" +BDEPEND="dev-python/docutils" PDEPEND=" acl? ( >=net-fs/samba-4.0.0_alpha1 ) "
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/files/
commit: 57ef578123d8e9d07e20a4649763549a89f66a71 Author: Lars Wendler gentoo org> AuthorDate: Wed Apr 8 07:00:25 2020 + Commit: Lars Wendler gentoo org> CommitDate: Wed Apr 8 07:06:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ef5781 net-fs/cifs-utils: Fixed installation with MAKEOPTS="-j1" which has a somewhat inverted race condition. Reported-by: Jeroen Roovers gentoo.org> Tested-by: Jeroen Roovers gentoo.org> Closes: https://bugs.gentoo.org/716648 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> .../files/cifs-utils-6.10-ln_in_destdir.patch | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/net-fs/cifs-utils/files/cifs-utils-6.10-ln_in_destdir.patch b/net-fs/cifs-utils/files/cifs-utils-6.10-ln_in_destdir.patch index b2c00bf500d..6952d72cf5c 100644 --- a/net-fs/cifs-utils/files/cifs-utils-6.10-ln_in_destdir.patch +++ b/net-fs/cifs-utils/files/cifs-utils-6.10-ln_in_destdir.patch @@ -1,14 +1,25 @@ +Fix sandbox violation caused by calling ln in /sbin instead of $(DESTDIR)/sbin + +Also fixed an inverted race condition when installing with MAKEOPTS="-j1" + +jer found this: + install-root_sbinPROGRAMS is called from install-data-am but + install-exec-hook is called from install-exec-am + +So moving the failing ln call into install-data-hook for now... + --- cifs-utils-6.10/Makefile.am +++ cifs-utils-6.10/Makefile.am -@@ -119,10 +119,10 @@ +@@ -118,11 +118,9 @@ + SUBDIRS = contrib - install-exec-hook: +-install-exec-hook: - (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) -+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) - +- install-data-hook: - (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) ++ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) + (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) uninstall-hook:
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 58503ffc86e532ffa591632eb56f1b2f024179a7 Author: Lars Wendler gentoo org> AuthorDate: Wed Apr 8 07:06:02 2020 + Commit: Lars Wendler gentoo org> CommitDate: Wed Apr 8 07:06:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58503ffc net-fs/cifs-utils: Revbump to install smbinfo bash-completion file Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> .../cifs-utils/{cifs-utils-6.10.ebuild => cifs-utils-6.10-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.10.ebuild b/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild similarity index 96% rename from net-fs/cifs-utils/cifs-utils-6.10.ebuild rename to net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild index 63cd03fbe6d..2e5391aa6cd 100644 --- a/net-fs/cifs-utils/cifs-utils-6.10.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.10-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools linux-info multilib pam +inherit autotools bash-completion-r1 linux-info multilib pam DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; @@ -98,6 +98,8 @@ src_install() { echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ > "${ED}/etc/request-key.d/cifs.spnego.conf" fi + + dobashcomp bash-completion/smbinfo } pkg_postinst() {
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/, net-fs/cifs-utils/files/
commit: b58d5ee0855300ba790563f55b3d6f51aea44280 Author: Lars Wendler gentoo org> AuthorDate: Tue Apr 7 18:18:07 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Apr 7 18:24:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58d5ee0 net-fs/cifs-utils: Bump to version 6.10 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.10.ebuild | 121 + .../files/cifs-utils-6.10-ln_in_destdir.patch | 15 +++ 3 files changed, 137 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index dbd5aeb88d8..a95c5f03d97 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,4 @@ +DIST cifs-utils-6.10.tar.bz2 364221 BLAKE2B 45b692fb85217a25b7042fbe7e40cc8c4fe0d6cc9c905acde2c6fc9c3048343064e376f47128bcacba88f745452148040ad3f5e8ca15e297531f0dc868e1b75b SHA512 e19ca69b7948f01c1fd6a4ed069e00511588b903a5b8b0dc35ac1e00743170b9ca180b747c47d56cfacf273b296da21df60e1957404f26ebf2ba80bfa7e275cc DIST cifs-utils-6.7.tar.bz2 363647 BLAKE2B 692c4b7de92c2cc5cb88591fb5b5b01ca7d925b105d10f7149e350d1b1661bb6447e71e0ca86095a9e294637d80126e54295413a685786b62c8e70cf26f893d0 SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e DIST cifs-utils-6.8.tar.bz2 384426 BLAKE2B 002518f44489aefc94c47a23438b176a4056ff4d995b3ed9f25a6c6c8d4c8d7437a3158d5c592d16cb6bfcd289b937d6ac1ef0573c346993d576a88aa1fcb118 SHA512 54a094f78c9e07acc997adfe0c8d4c2fb8e15c18adcc1805450e2180f8539aaec8619e781e985b289e097932637e2de3e6815e32f59ec2fc06cfc3762b832e13 DIST cifs-utils-6.9.tar.bz2 400430 BLAKE2B fc8cc55fae54d84fc1f1d4a14a9d666d87a3da78d1502f0d72ac9cb44ff1424ca2c5b15b0be510579d4c9f5181980627efedd00e0e5cfb1b3e47188ba307ad28 SHA512 b92e4e39eeed1032bb175659296cde034703fb3ca63aae00419d46a33dadf821fedaf03734128112c164c84bcbb48d92d03cdc275c4a7cba26f984aeca40a40a diff --git a/net-fs/cifs-utils/cifs-utils-6.10.ebuild b/net-fs/cifs-utils/cifs-utils-6.10.ebuild new file mode 100644 index 000..63cd03fbe6d --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.10.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info multilib pam + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam" + +RDEPEND=" + !net-fs/mount-cifs + !https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ; then + einfo "The cifs.idmap utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.idmap.conf" + einfo "This enables you to get and set CIFS acls." + fi + + if use ads ; then + einfo "The cifs.upcall utili
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/files/, net-fs/cifs-utils/
commit: 2b49e9ce6a55e55611420846b7e48ccb5ef13427 Author: Lars Wendler gentoo org> AuthorDate: Tue Apr 7 18:22:14 2020 + Commit: Lars Wendler gentoo org> CommitDate: Tue Apr 7 18:24:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b49e9ce net-fs/cifs-utils: Removed old Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 2 - net-fs/cifs-utils/cifs-utils-6.7.ebuild| 123 - net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild | 119 .../cifs-utils/files/cifs-utils-6.7-talloc.patch | 29 - net-fs/cifs-utils/metadata.xml | 12 +- 5 files changed, 9 insertions(+), 276 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index a95c5f03d97..6571c0d3ac2 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,4 +1,2 @@ DIST cifs-utils-6.10.tar.bz2 364221 BLAKE2B 45b692fb85217a25b7042fbe7e40cc8c4fe0d6cc9c905acde2c6fc9c3048343064e376f47128bcacba88f745452148040ad3f5e8ca15e297531f0dc868e1b75b SHA512 e19ca69b7948f01c1fd6a4ed069e00511588b903a5b8b0dc35ac1e00743170b9ca180b747c47d56cfacf273b296da21df60e1957404f26ebf2ba80bfa7e275cc -DIST cifs-utils-6.7.tar.bz2 363647 BLAKE2B 692c4b7de92c2cc5cb88591fb5b5b01ca7d925b105d10f7149e350d1b1661bb6447e71e0ca86095a9e294637d80126e54295413a685786b62c8e70cf26f893d0 SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e -DIST cifs-utils-6.8.tar.bz2 384426 BLAKE2B 002518f44489aefc94c47a23438b176a4056ff4d995b3ed9f25a6c6c8d4c8d7437a3158d5c592d16cb6bfcd289b937d6ac1ef0573c346993d576a88aa1fcb118 SHA512 54a094f78c9e07acc997adfe0c8d4c2fb8e15c18adcc1805450e2180f8539aaec8619e781e985b289e097932637e2de3e6815e32f59ec2fc06cfc3762b832e13 DIST cifs-utils-6.9.tar.bz2 400430 BLAKE2B fc8cc55fae54d84fc1f1d4a14a9d666d87a3da78d1502f0d72ac9cb44ff1424ca2c5b15b0be510579d4c9f5181980627efedd00e0e5cfb1b3e47188ba307ad28 SHA512 b92e4e39eeed1032bb175659296cde034703fb3ca63aae00419d46a33dadf821fedaf03734128112c164c84bcbb48d92d03cdc275c4a7cba26f984aeca40a40a diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild deleted file mode 100644 index b6230ed3b39..000 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils linux-info multilib pam - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x86-linux" -IUSE="+acl +ads +caps +caps-ng creds pam" - -RDEPEND=" - !net-fs/mount-cifs - !https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf \ - $(use_enable acl cifsacl cifsidmap) \ - $(use_enable ads cifsupcall) \ - $(use caps && use_with !caps-ng libcap || echo --without-libcap) \ - $(use caps && use_with caps-ng libcap-ng || echo --without-libcap-ng) \ - $(use_enable creds cifscreds) \ - $(use_enable pam) \ - $(use_with pam pamdir $(getpam_mod_dir)) -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -print0 | xargs --null rmdir \ - --ignore-fail-on-non-empty &>/dev/null - - if use acl ; then - dodir /etc/cifs-utils - dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 4296f536ed96ea1f8cb21c3c4a274dbc6b76cb79 Author: Mikle Kolyada gentoo org> AuthorDate: Sat Oct 12 20:47:00 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat Oct 12 20:47:00 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4296f536 net-fs/cifs-utils: migrate to sys-libs/pam Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> net-fs/cifs-utils/cifs-utils-6.7.ebuild| 4 ++-- net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild | 2 +- net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index 48c64bc1af5..49bf00f123c 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -24,7 +24,7 @@ RDEPEND=" ) caps? ( !caps-ng? ( sys-libs/libcap ) ) caps? ( caps-ng? ( sys-libs/libcap-ng ) ) - pam? ( virtual/pam ) + pam? ( sys-libs/pam ) " DEPEND="${RDEPEND}" PDEPEND=" diff --git a/net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild index 15032dc76fb..9e5e310b652 100644 --- a/net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild @@ -23,7 +23,7 @@ RDEPEND=" virtual/krb5 ) caps? ( sys-libs/libcap-ng ) - pam? ( virtual/pam ) + pam? ( sys-libs/pam ) " DEPEND="${RDEPEND}" PDEPEND=" diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 299c2a378e6..1026905b7a1 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -23,7 +23,7 @@ RDEPEND=" virtual/krb5 ) caps? ( sys-libs/libcap-ng ) - pam? ( virtual/pam ) + pam? ( sys-libs/pam ) " DEPEND="${RDEPEND}" PDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 5d0e0149478137cc6b90525525fb12d53cdae08a Author: Matt Turner gentoo org> AuthorDate: Sat Sep 21 01:06:39 2019 + Commit: Matt Turner gentoo org> CommitDate: Sat Sep 21 01:06:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d0e0149 net-fs/cifs-utils-6.9-r1: alpha stable, bug 693852 Signed-off-by: Matt Turner gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index eb8e74b07c4..299c2a378e6 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-linux" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 1afd7e776b32c2cd80d5e114b9948a1924654ba4 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Sep 16 06:52:22 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Sep 16 06:52:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1afd7e77 net-fs/cifs-utils: sparc stable wrt bug #693852 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index e23f23150c1..eb8e74b07c4 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 62f56a96052463d192d0e96ccdb3d9f08a36746a Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Sep 14 16:36:32 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 14 23:27:37 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62f56a96 net-fs/cifs-utils: stable 6.9-r1 for hppa, bug #693852 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 50f63dbd7e9..e23f23150c1 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 67e139562d3e8929866627373dba84bc14b62b81 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Sep 13 18:00:45 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Sep 13 18:00:45 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e13956 net-fs/cifs-utils: arm stable wrt bug #693852 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 02b9fc4570d..50f63dbd7e9 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 2a014f305a582beb370d1e1e953a94ea3e1b1913 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 13 17:27:21 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 13 17:27:30 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a014f30 net-fs/cifs-utils: ia64 stable wrt bug #693852 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 588254fd776..02b9fc4570d 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: a3a05836ba0c83447288e12a1ccffcb7db46ae23 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Sep 10 07:09:00 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Sep 10 07:09:00 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a05836 net-fs/cifs-utils: x86 stable wrt bug #693852 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index f93072b1936..588254fd776 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: cbabdadca5ca5bbbfd5416b5d135d696e8a0680e Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Sep 10 07:00:28 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Sep 10 07:00:28 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbabdadc net-fs/cifs-utils: stable 6.9-r1 for ppc64, bug #693852 Package-Manager: Portage-2.3.75, Repoman-2.3.17 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 4fd8e3829a5..f93072b1936 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: c0387744eae2eecf8345a068110fd2fd49aa2291 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Sep 10 06:54:57 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Sep 10 06:54:57 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0387744 net-fs/cifs-utils: stable 6.9-r1 for ppc, bug #693852 Package-Manager: Portage-2.3.75, Repoman-2.3.17 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 2403c25517e..4fd8e3829a5 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 19688203abedfb6cf3be99ad58d518814fc8ad03 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Sep 9 17:43:21 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Sep 9 17:43:21 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19688203 net-fs/cifs-utils: amd64 stable wrt bug #693852 Signed-off-by: Agostino Sarubbo gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index 622260bab9e..2403c25517e 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" IUSE="+acl +ads +caps creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 2be7377be1f61b42b1662796c40f081ff4aa8940 Author: Matt Turner gentoo org> AuthorDate: Mon Sep 9 02:34:45 2019 + Commit: Matt Turner gentoo org> CommitDate: Mon Sep 9 02:35:05 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be7377b net-fs/cifs-utils: Use slot operator for sys-apps/keyutils Signed-off-by: Matt Turner gentoo.org> net-fs/cifs-utils/{cifs-utils-6.9.ebuild => cifs-utils-6.9-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.9.ebuild b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild similarity index 99% rename from net-fs/cifs-utils/cifs-utils-6.9.ebuild rename to net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild index c757b0aed04..622260bab9e 100644 --- a/net-fs/cifs-utils/cifs-utils-6.9.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.9-r1.ebuild @@ -17,7 +17,7 @@ IUSE="+acl +ads +caps creds pam" RDEPEND=" !net-fs/mount-cifs !
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 2e603db497a2d4bdfdbcfaf62353acb756f7c47c Author: Lars Wendler gentoo org> AuthorDate: Mon May 13 07:23:26 2019 + Commit: Lars Wendler gentoo org> CommitDate: Mon May 13 07:44:00 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e603db4 net-fs/cifs-utils: Bump to version 6.9 Closes: https://bugs.gentoo.org/685742 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.9.ebuild | 119 2 files changed, 120 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 7adcd937b27..dbd5aeb88d8 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,2 +1,3 @@ DIST cifs-utils-6.7.tar.bz2 363647 BLAKE2B 692c4b7de92c2cc5cb88591fb5b5b01ca7d925b105d10f7149e350d1b1661bb6447e71e0ca86095a9e294637d80126e54295413a685786b62c8e70cf26f893d0 SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e DIST cifs-utils-6.8.tar.bz2 384426 BLAKE2B 002518f44489aefc94c47a23438b176a4056ff4d995b3ed9f25a6c6c8d4c8d7437a3158d5c592d16cb6bfcd289b937d6ac1ef0573c346993d576a88aa1fcb118 SHA512 54a094f78c9e07acc997adfe0c8d4c2fb8e15c18adcc1805450e2180f8539aaec8619e781e985b289e097932637e2de3e6815e32f59ec2fc06cfc3762b832e13 +DIST cifs-utils-6.9.tar.bz2 400430 BLAKE2B fc8cc55fae54d84fc1f1d4a14a9d666d87a3da78d1502f0d72ac9cb44ff1424ca2c5b15b0be510579d4c9f5181980627efedd00e0e5cfb1b3e47188ba307ad28 SHA512 b92e4e39eeed1032bb175659296cde034703fb3ca63aae00419d46a33dadf821fedaf03734128112c164c84bcbb48d92d03cdc275c4a7cba26f984aeca40a40a diff --git a/net-fs/cifs-utils/cifs-utils-6.9.ebuild b/net-fs/cifs-utils/cifs-utils-6.9.ebuild new file mode 100644 index 000..637be0df71f --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.9.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools linux-info multilib pam + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" +IUSE="+acl +ads +caps creds pam" + +RDEPEND=" + !net-fs/mount-cifs + !https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-smbinfo + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use_with caps libcap) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -empty -delete || die + + if use acl ; then + dodir /etc/cifs-utils + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ; then + einfo "The cifs.idmap utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.idmap.conf" + einfo "This enables you to get and set CIFS acls." + fi + + if use ads ; then + einfo "The cifs.upcall utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.upcall.conf" + einfo "This enables you to mount DFS shares." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 7a27e9a74e2ca928634cfeae40dddcf481514424 Author: Lars Wendler gentoo org> AuthorDate: Wed Jan 23 14:09:25 2019 + Commit: Lars Wendler gentoo org> CommitDate: Wed Jan 23 14:10:37 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a27e9a7 net-fs/cifs-utils: EAPI-7 revbump. Removed old. -Fixed unrecognized configure option -Minor ebuild adjustments Closes: https://bugs.gentoo.org/675238 Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> .../{cifs-utils-6.8.ebuild => cifs-utils-6.8-r1.ebuild} | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.8.ebuild b/net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild similarity index 87% rename from net-fs/cifs-utils/cifs-utils-6.8.ebuild rename to net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild index 468b831d74d..15032dc76fb 100644 --- a/net-fs/cifs-utils/cifs-utils-6.8.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.8-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit autotools eutils linux-info multilib pam +inherit autotools linux-info multilib pam DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; @@ -12,7 +12,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux" -IUSE="+acl +ads +caps +caps-ng creds pam" +IUSE="+acl +ads +caps creds pam" RDEPEND=" !net-fs/mount-cifs @@ -22,8 +22,7 @@ RDEPEND=" sys-libs/talloc virtual/krb5 ) - caps? ( !caps-ng? ( sys-libs/libcap ) ) - caps? ( caps-ng? ( sys-libs/libcap-ng ) ) + caps? ( sys-libs/libcap-ng ) pam? ( virtual/pam ) " DEPEND="${RDEPEND}" @@ -65,8 +64,7 @@ src_configure() { local myeconfargs=( $(use_enable acl cifsacl cifsidmap) $(use_enable ads cifsupcall) - $(use caps && use_with !caps-ng libcap || echo --without-libcap) - $(use caps && use_with caps-ng libcap-ng || echo --without-libcap-ng) + $(use_with caps libcap) $(use_enable creds cifscreds) $(use_enable pam) $(use_with pam pamdir $(getpam_mod_dir)) @@ -84,7 +82,7 @@ src_install() { if use acl ; then dodir /etc/cifs-utils - dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ + dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ /etc/cifs-utils/idmap-plugin dodir /etc/request-key.d echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 3ef74960a01d42c56e66ceee08ab30a5dbba92a1 Author: Matt Turner gentoo org> AuthorDate: Wed Sep 26 22:54:34 2018 + Commit: Matt Turner gentoo org> CommitDate: Wed Sep 26 22:54:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef74960 net-fs/cifs-utils-6.7: hppa stable net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index d80a4adca13..48c64bc1af5 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-linux" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 11bdc4c0364c7274ceff49554c3ddb4b31db508c Author: Lars Wendler gentoo org> AuthorDate: Sun Aug 26 18:02:55 2018 + Commit: Lars Wendler gentoo org> CommitDate: Sun Aug 26 18:02:55 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11bdc4c0 net-fs/cifs-utils: Removed old. Package-Manager: Portage-2.3.48, Repoman-2.3.10 net-fs/cifs-utils/Manifest | 1 - net-fs/cifs-utils/cifs-utils-6.4.ebuild | 103 2 files changed, 104 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 0cf113bf1c2..7adcd937b27 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,2 @@ -DIST cifs-utils-6.4.tar.bz2 392809 BLAKE2B 90d59cbc49e6d3cf427a43fd9deedc8ea8150e6c8a3ed93ff815445897e4a524785dd342e0547a651bd67de4495e09c6384d6b36c3ed01f9d532c6d533c9efd1 SHA512 05860ceed1e83b4f4da689d2fc1c1b48fddc0ca53ba52fc6cf26a277d6a884f5780060725c5df1401a665ac35ec5a170262ee62f61095e4a8d7634182614 DIST cifs-utils-6.7.tar.bz2 363647 BLAKE2B 692c4b7de92c2cc5cb88591fb5b5b01ca7d925b105d10f7149e350d1b1661bb6447e71e0ca86095a9e294637d80126e54295413a685786b62c8e70cf26f893d0 SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e DIST cifs-utils-6.8.tar.bz2 384426 BLAKE2B 002518f44489aefc94c47a23438b176a4056ff4d995b3ed9f25a6c6c8d4c8d7437a3158d5c592d16cb6bfcd289b937d6ac1ef0573c346993d576a88aa1fcb118 SHA512 54a094f78c9e07acc997adfe0c8d4c2fb8e15c18adcc1805450e2180f8539aaec8619e781e985b289e097932637e2de3e6815e32f59ec2fc06cfc3762b832e13 diff --git a/net-fs/cifs-utils/cifs-utils-6.4.ebuild b/net-fs/cifs-utils/cifs-utils-6.4.ebuild deleted file mode 100644 index fa0b3b356b8..000 --- a/net-fs/cifs-utils/cifs-utils-6.4.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils linux-info multilib - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://www.samba.org/ftp/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" -IUSE="+acl +ads +caps +caps-ng creds" - -DEPEND="!net-fs/mount-cifs - !/dev/null - - if use acl ; then - dodir /etc/cifs-utils - dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.upcall.conf" - einfo "This enables you to mount DFS shares." - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 482f83c26ca0345351137c9c03303119f848d485 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 26 17:01:47 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 26 17:01:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482f83c2 net-fs/cifs-utils: Remove support for non-existent deps net-fs/cifs-utils/cifs-utils-6.4.ebuild | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.4.ebuild b/net-fs/cifs-utils/cifs-utils-6.4.ebuild index fcce7f6b93b..fa0b3b356b8 100644 --- a/net-fs/cifs-utils/cifs-utils-6.4.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -25,10 +25,7 @@ DEPEND="!net-fs/mount-cifs caps? ( caps-ng? ( sys-libs/libcap-ng ) ) creds? ( sys-apps/keyutils )" PDEPEND="${DEPEND} - acl? ( || ( - =net-fs/samba-3.6*[winbind] - >=net-fs/samba-4.0.0_alpha1 - ) ) + acl? ( >=net-fs/samba-4.0.0_alpha1 ) " REQUIRED_USE="acl? ( ads )"
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: cd15ace87f6e9f8a2314b2c01c0a3667d1b96b9b Author: Mikle Kolyada gentoo org> AuthorDate: Sat May 26 09:32:33 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat May 26 09:32:56 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd15ace8 net-fs/cifs-utils: ppc stable wrt bug #650756 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index b7b7e849783..db70c62afe7 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 94a7315817b61c06b0776aac256c2178ecc7af24 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Apr 30 14:29:07 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Apr 30 14:29:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a73158 net-fs/cifs-utils: arm stable wrt bug #650756 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index ec398377a12..b7b7e849783 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 5dbf4349baf8ff602d0e5cc2498928b27b8c12ec Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Apr 18 20:40:35 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Apr 18 20:40:35 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbf4349 net-fs/cifs-utils: stable 6.7 for ppc64, bug #650756 Bug: https://bugs.gentoo.org/650756 Package-Manager: Portage-2.3.28, Repoman-2.3.9 RepoMan-Options: --include-arches="ppc64" net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index 09b1858cb90..ec398377a12 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: d6415688683ec79950825a1418e9376228bd5c44 Author: Tobias Klausmann gentoo org> AuthorDate: Sun Apr 1 10:00:06 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Sun Apr 1 10:00:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6415688 net-fs/cifs-utils-6.7-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/650756 net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index f4dfbb774f7..09b1858cb90 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 1a22291e120f8cfecbdbc9df5e763c32ed9246ca Author: Rolf Eike Beer sf-mail de> AuthorDate: Sun Mar 18 18:49:03 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Mar 18 19:00:38 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a22291e net-fs/cifs-utils: stable 6.7 for sparc, bug #650756 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc" net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index ff7df9f4467..f4dfbb774f7 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: e7daddb3c431fb4a0a123c7a5b24431b2b4b3202 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Mar 18 12:20:00 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Mar 18 12:20:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7daddb3 net-fs/cifs-utils: amd64 stable wrt bug #650756 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index ee82e452772..ff7df9f4467 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: c00ee8c8645f20ad219a61cf0b7b514e612de969 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Mar 18 11:15:17 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Mar 18 11:15:17 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00ee8c8 net-fs/cifs-utils: stable 6.7 for ia64, bug #650756 Package-Manager: Portage-2.3.24, Repoman-2.3.6 RepoMan-Options: --include-arches="ia64" net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index d85c22702a2..ee82e452772 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~arm-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 0df421b87a4ba6088a7ab4bbec2e304cf5fd937b Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Mar 18 00:54:54 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Mar 18 00:54:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0df421b8 net-fs/cifs-utils: x86 stable (bug #650756) Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/cifs-utils/cifs-utils-6.7.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index 8572921b389..d85c22702a2 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~arm-linux ~x86-linux" IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 40a025ff662a8266c051ea08b539c409780a1006 Author: Lars Wendler gentoo org> AuthorDate: Sat Mar 17 21:29:42 2018 + Commit: Lars Wendler gentoo org> CommitDate: Sat Mar 17 21:34:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a025ff net-fs/cifs-utils: Bump to version 6.8 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.8.ebuild | 121 2 files changed, 122 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 0ab7895c703..43f1a41edbe 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,4 @@ DIST cifs-utils-6.4.tar.bz2 392809 BLAKE2B 90d59cbc49e6d3cf427a43fd9deedc8ea8150e6c8a3ed93ff815445897e4a524785dd342e0547a651bd67de4495e09c6384d6b36c3ed01f9d532c6d533c9efd1 SHA512 05860ceed1e83b4f4da689d2fc1c1b48fddc0ca53ba52fc6cf26a277d6a884f5780060725c5df1401a665ac35ec5a170262ee62f61095e4a8d7634182614 DIST cifs-utils-6.6.tar.bz2 401831 BLAKE2B 6a073d35911b74ea36ffda32dd3f5d6032c3d46d846419b641312d1571ac448777ab5f70fe8dcb7582ab782014f0cb52ab620e60239f2cbd5d05284620cd18ab SHA512 0059c85a9faeff4bba052a9bfc672baa658a923e03304dfb0c51f427079afc6effb2f83d7d09cdcacb2c8a30cdfccd3946957b1616790f5ad3ae2300f161458f DIST cifs-utils-6.7.tar.bz2 363647 BLAKE2B 692c4b7de92c2cc5cb88591fb5b5b01ca7d925b105d10f7149e350d1b1661bb6447e71e0ca86095a9e294637d80126e54295413a685786b62c8e70cf26f893d0 SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e +DIST cifs-utils-6.8.tar.bz2 384426 BLAKE2B 002518f44489aefc94c47a23438b176a4056ff4d995b3ed9f25a6c6c8d4c8d7437a3158d5c592d16cb6bfcd289b937d6ac1ef0573c346993d576a88aa1fcb118 SHA512 54a094f78c9e07acc997adfe0c8d4c2fb8e15c18adcc1805450e2180f8539aaec8619e781e985b289e097932637e2de3e6815e32f59ec2fc06cfc3762b832e13 diff --git a/net-fs/cifs-utils/cifs-utils-6.8.ebuild b/net-fs/cifs-utils/cifs-utils-6.8.ebuild new file mode 100644 index 000..63b3e7afe46 --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.8.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils linux-info multilib pam + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux" +IUSE="+acl +ads +caps +caps-ng creds pam" + +RDEPEND=" + !net-fs/mount-cifs + !https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable acl cifsacl cifsidmap) + $(use_enable ads cifsupcall) + $(use caps && use_with !caps-ng libcap || echo --without-libcap) + $(use caps && use_with caps-ng libcap-ng || echo --without-libcap-ng) + $(use_enable creds cifscreds) + $(use_enable pam) + $(use_with pam pamdir $(getpam_mod_dir)) + ) + ROOTSBINDIR="${EPREFIX}"/sbin \ + econf "${myeconfargs[@]}" +} + +src_install() { + default + + # remove empty directories + find "${ED}" -type d -print0 | xargs --null rmdir \ + --ignore-fail-on-non-empty &>/dev/null + + if use acl ; then + dodir /etc/cifs-utils + dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ; then + einfo "The cifs.idmap utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.idmap.conf" + einfo "This enables you to get and set CIFS acls." + fi + +
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: c41df71ac8fb6d12b964969290e8a651eb2d5a60 Author: Lars Wendler gentoo org> AuthorDate: Sat Mar 17 21:33:58 2018 + Commit: Lars Wendler gentoo org> CommitDate: Sat Mar 17 21:34:14 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c41df71a net-fs/cifs-utils: Removed old. Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/cifs-utils/Manifest | 1 - net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild | 112 - 2 files changed, 113 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 43f1a41edbe..0cf113bf1c2 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,4 +1,3 @@ DIST cifs-utils-6.4.tar.bz2 392809 BLAKE2B 90d59cbc49e6d3cf427a43fd9deedc8ea8150e6c8a3ed93ff815445897e4a524785dd342e0547a651bd67de4495e09c6384d6b36c3ed01f9d532c6d533c9efd1 SHA512 05860ceed1e83b4f4da689d2fc1c1b48fddc0ca53ba52fc6cf26a277d6a884f5780060725c5df1401a665ac35ec5a170262ee62f61095e4a8d7634182614 -DIST cifs-utils-6.6.tar.bz2 401831 BLAKE2B 6a073d35911b74ea36ffda32dd3f5d6032c3d46d846419b641312d1571ac448777ab5f70fe8dcb7582ab782014f0cb52ab620e60239f2cbd5d05284620cd18ab SHA512 0059c85a9faeff4bba052a9bfc672baa658a923e03304dfb0c51f427079afc6effb2f83d7d09cdcacb2c8a30cdfccd3946957b1616790f5ad3ae2300f161458f DIST cifs-utils-6.7.tar.bz2 363647 BLAKE2B 692c4b7de92c2cc5cb88591fb5b5b01ca7d925b105d10f7149e350d1b1661bb6447e71e0ca86095a9e294637d80126e54295413a685786b62c8e70cf26f893d0 SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e DIST cifs-utils-6.8.tar.bz2 384426 BLAKE2B 002518f44489aefc94c47a23438b176a4056ff4d995b3ed9f25a6c6c8d4c8d7437a3158d5c592d16cb6bfcd289b937d6ac1ef0573c346993d576a88aa1fcb118 SHA512 54a094f78c9e07acc997adfe0c8d4c2fb8e15c18adcc1805450e2180f8539aaec8619e781e985b289e097932637e2de3e6815e32f59ec2fc06cfc3762b832e13 diff --git a/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild deleted file mode 100644 index 0751c696946..000 --- a/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils linux-info multilib pam - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux" -IUSE="+acl +ads +caps +caps-ng creds pam" - -RDEPEND=" - !net-fs/mount-cifs - !/dev/null - - if use acl ; then - dodir /etc/cifs-utils - dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.upcall.conf" - einfo "This enables you to mount DFS shares." - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 082b7f3abdd6c0c9aa899036ed7d6deb4ab0ed27 Author: Francesco Turco fastmail fm> AuthorDate: Sat Sep 9 15:36:03 2017 + Commit: Mike Gilbert gentoo org> CommitDate: Thu Nov 9 22:03:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=082b7f3a net-fs/cifs-utils: use HTTPS for links to samba.org (bug #636916) net-fs/cifs-utils/cifs-utils-6.4.ebuild| 6 +++--- net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild | 4 ++-- net-fs/cifs-utils/cifs-utils-6.7.ebuild| 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.4.ebuild b/net-fs/cifs-utils/cifs-utils-6.4.ebuild index 6789aead638..fcce7f6b93b 100644 --- a/net-fs/cifs-utils/cifs-utils-6.4.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -6,8 +6,8 @@ EAPI=5 inherit eutils linux-info multilib DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://www.samba.org/ftp/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" SLOT="0" diff --git a/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild index 8076f0fb304..0751c696946 100644 --- a/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -6,7 +6,7 @@ EAPI=6 inherit eutils linux-info multilib pam DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3" diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index b18e773d460..8572921b389 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -6,7 +6,7 @@ EAPI=6 inherit autotools eutils linux-info multilib pam DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; +HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"; SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; LICENSE="GPL-3"
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/, net-fs/cifs-utils/files/
commit: 82fd27bd179c57ee98732718805eeb11df55b16c Author: Austin English gentoo org> AuthorDate: Tue Aug 8 19:08:40 2017 + Commit: Austin English gentoo org> CommitDate: Wed Aug 9 18:50:26 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fd27bd net-fs/cifs-utils: add patch to fix building when talloc is not installed Gentoo-Bug: https://bugs.gentoo.org/612018 Acked-By: axs gentoo.org Package-Manager: Portage-2.3.6, Repoman-2.3.2 net-fs/cifs-utils/cifs-utils-6.7.ebuild| 4 +++ .../cifs-utils/files/cifs-utils-6.7-talloc.patch | 29 ++ 2 files changed, 33 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index e312ad6cd2b..b18e773d460 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -35,6 +35,10 @@ REQUIRED_USE="acl? ( ads )" DOCS="doc/linux-cifs-client-guide.odt" +PATCHES=( + "${FILESDIR}/${P}-talloc.patch" +) + pkg_setup() { linux-info_pkg_setup diff --git a/net-fs/cifs-utils/files/cifs-utils-6.7-talloc.patch b/net-fs/cifs-utils/files/cifs-utils-6.7-talloc.patch new file mode 100644 index 000..7e3418631bd --- /dev/null +++ b/net-fs/cifs-utils/files/cifs-utils-6.7-talloc.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/show_bug.cgi?id=612018 + +From: Thomas Witt +Date: Wed, 15 Mar 2017 20:20:44 + (+) +Subject: mount.cifs: Remove data_blob.h include +X-Git-Url: https://git.samba.org/?p=cifs-utils.git;a=commitdiff_plain;h=272d523a57a4e8791d625a479128613be5e401f5 + +mount.cifs: Remove data_blob.h include + +data_blob.h includes talloc.h from libtalloc, but that is only marked as +a dependency for cifs.upcall. No symbols from that header are used by +cifs.mount, so remove it to avoid the libtalloc dependency + +Signed-off-by: Thomas Witt +--- + +diff --git a/mount.cifs.c b/mount.cifs.c +index 13b71ef..2612feb 100644 +--- a/mount.cifs.c b/mount.cifs.c +@@ -61,7 +61,6 @@ + #include "mount.h" + #include "util.h" + #include "resolve_host.h" +-#include "data_blob.h" + + #ifndef MS_MOVE + #define MS_MOVE 8192 +
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: ecec91ff714497218ecac99b3847a0aba221c180 Author: Zhao Yongming gmail com> AuthorDate: Fri Mar 31 01:06:31 2017 + Commit: Lars Wendler gentoo org> CommitDate: Fri Mar 31 08:46:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecec91ff cifs-utils-6.7 fix heimdal testing Closes: https://github.com/gentoo/gentoo/pull/4332 net-fs/cifs-utils/cifs-utils-6.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index d008076005a..e312ad6cd2b 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -53,7 +53,7 @@ pkg_setup() { src_prepare() { default - if has app-crypt/heimdal ; then + if has_version app-crypt/heimdal ; then # https://bugs.gentoo.org/612584 eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" fi
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/files/, net-fs/cifs-utils/
commit: af61a8bd9c0484d04fafc560236c8eacc890c2fa Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 27 07:57:57 2017 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 27 07:58:11 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af61a8bd net-fs/cifs-utils: Fixed compilation with app-crypt/heimdal (# 612584). Thanks to Igor Poboiko for providing a patch. Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-fs/cifs-utils/cifs-utils-6.7.ebuild| 6 + .../cifs-utils/files/cifs-utils-6.7-heimdal.patch | 27 ++ 2 files changed, 33 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild index ee8b16e1ecd..d008076005a 100644 --- a/net-fs/cifs-utils/cifs-utils-6.7.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -52,6 +52,12 @@ pkg_setup() { src_prepare() { default + + if has app-crypt/heimdal ; then + # https://bugs.gentoo.org/612584 + eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" + fi + eautoreconf } diff --git a/net-fs/cifs-utils/files/cifs-utils-6.7-heimdal.patch b/net-fs/cifs-utils/files/cifs-utils-6.7-heimdal.patch new file mode 100644 index 000..f8fea48fb4b --- /dev/null +++ b/net-fs/cifs-utils/files/cifs-utils-6.7-heimdal.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/612584 + +--- cifs-utils-6.7/cifs.upcall.c cifs-utils-6.7/cifs.upcall.c +@@ -75,11 +75,13 @@ + #define KRB5_KEY_LENGTH(k) ((k)->keyvalue.length) + #define KRB5_KEY_DATA(k)((k)->keyvalue.data) + #define KRB5_KEY_DATA_CAST void ++#define KRB5_FREE_STRING(c,k) krb5_xfree(k) + #else /* MIT */ + #define KRB5_KEY_TYPE(k)((k)->enctype) + #define KRB5_KEY_LENGTH(k) ((k)->length) + #define KRB5_KEY_DATA(k)((k)->contents) + #define KRB5_KEY_DATA_CAST krb5_octet ++#define KRB5_FREE_STRING(c,k) krb5_free_string(c,k) + #endif + + #ifdef HAVE_LIBCAP_NG +@@ -358,7 +360,7 @@ + syslog(LOG_DEBUG, "%s: krb5_cc_get_full_name failed: %d\n", __func__, ret); + } else { + syslog(LOG_DEBUG, "%s: default ccache is %s\n", __func__, cachename); +- krb5_free_string(context, cachename); ++ KRB5_FREE_STRING(context, cachename); + } + + if (!get_tgt_time(cc)) {
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 76f7bbc4ab4847bffb0177cc50d49b1b1d746b21 Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 6 11:53:14 2017 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 6 11:54:22 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f7bbc4 net-fs/cifs-utils: Bump to version 6.7 Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-fs/cifs-utils/Manifest | 1 + net-fs/cifs-utils/cifs-utils-6.7.ebuild | 113 2 files changed, 114 insertions(+) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 1645ad2f97d..53632e433f4 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,3 +1,4 @@ DIST cifs-utils-6.4.tar.bz2 392809 SHA256 38fc63926af435dae4ebcf4406275580a692d9fb9ee3e32170317cf2ba68e6e3 SHA512 05860ceed1e83b4f4da689d2fc1c1b48fddc0ca53ba52fc6cf26a277d6a884f5780060725c5df1401a665ac35ec5a170262ee62f61095e4a8d7634182614 WHIRLPOOL 335262eb329860318750fcd081dc2c082f36c75a32e5e596a45b51e73b08be7ee66133c2e4e2bc3089631d3909018abd9c2f36f79d82cd9ea7f6fe2530900f72 DIST cifs-utils-6.5.tar.bz2 402158 SHA256 e2776578b8267c6dc0862897f5e10f87f10f8337fca9ca6a9118f5eb30cf49f7 SHA512 c5eea97d2be455ad676a3ff693641512d5c1d81d75eb1d7d08e4274b6844a1353b6791aa3ced4d8d656ed4a09b3c17ae80f289a90a3d429a8a94210e15f3e90e WHIRLPOOL 880b3c5762e791317140213fea008759b9d2599ddefb08319877ba6a5ced517fd6e0246050975ad01b74110b20f2233bb6cb505ecf3b2e05dca014ae378eaba5 DIST cifs-utils-6.6.tar.bz2 401831 SHA256 d07152a807de6840566bbcc69a97ff6fa17fca4e09ceb4641d74882a83e67125 SHA512 0059c85a9faeff4bba052a9bfc672baa658a923e03304dfb0c51f427079afc6effb2f83d7d09cdcacb2c8a30cdfccd3946957b1616790f5ad3ae2300f161458f WHIRLPOOL 340b8ac0bcc42d83e757a1fd747444afb36d1b252b36ca77896d02e384c9c016a45f7cd5d1fa40a1f90163f652a4fc43c90818cb56c33b263f4d2a9b49cc62c7 +DIST cifs-utils-6.7.tar.bz2 363647 SHA256 b2f21612474ab012e75accd167aab607a0614ff67efb56ea0f36789fa785cfab SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e WHIRLPOOL 4fe0f0d73f69001e97e25b665134a76cdfb4779006a192188e066d8c63cb82ef487ac5a5e3f0722f54c2843032391411c2863497e420c83521d6bad08db18d47 diff --git a/net-fs/cifs-utils/cifs-utils-6.7.ebuild b/net-fs/cifs-utils/cifs-utils-6.7.ebuild new file mode 100644 index 000..ee8b16e1ecd --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.7.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils linux-info multilib pam + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux" +IUSE="+acl +ads +caps +caps-ng creds pam" + +RDEPEND=" + !net-fs/mount-cifs + !/dev/null + + if use acl ; then + dodir /etc/cifs-utils + dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ; then + einfo "The cifs.idmap utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.idmap.conf" + einfo "This enables you to get and set CIFS acls." + fi + + if use ads ; then + einfo "The cifs.upcall utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.upcall.conf" + einfo "This enables you to mount DFS shares." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 9a4c001eb61878f63d1c32ce11ab0faf54d38cd9 Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 6 11:54:00 2017 + Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 6 11:54:24 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a4c001e net-fs/cifs-utils: Removed old. Package-Manager: Portage-2.3.4, Repoman-2.3.2 net-fs/cifs-utils/Manifest | 1 - net-fs/cifs-utils/cifs-utils-6.5.ebuild | 106 net-fs/cifs-utils/cifs-utils-6.6.ebuild | 106 3 files changed, 213 deletions(-) diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest index 53632e433f4..8aeb7c0e4d2 100644 --- a/net-fs/cifs-utils/Manifest +++ b/net-fs/cifs-utils/Manifest @@ -1,4 +1,3 @@ DIST cifs-utils-6.4.tar.bz2 392809 SHA256 38fc63926af435dae4ebcf4406275580a692d9fb9ee3e32170317cf2ba68e6e3 SHA512 05860ceed1e83b4f4da689d2fc1c1b48fddc0ca53ba52fc6cf26a277d6a884f5780060725c5df1401a665ac35ec5a170262ee62f61095e4a8d7634182614 WHIRLPOOL 335262eb329860318750fcd081dc2c082f36c75a32e5e596a45b51e73b08be7ee66133c2e4e2bc3089631d3909018abd9c2f36f79d82cd9ea7f6fe2530900f72 -DIST cifs-utils-6.5.tar.bz2 402158 SHA256 e2776578b8267c6dc0862897f5e10f87f10f8337fca9ca6a9118f5eb30cf49f7 SHA512 c5eea97d2be455ad676a3ff693641512d5c1d81d75eb1d7d08e4274b6844a1353b6791aa3ced4d8d656ed4a09b3c17ae80f289a90a3d429a8a94210e15f3e90e WHIRLPOOL 880b3c5762e791317140213fea008759b9d2599ddefb08319877ba6a5ced517fd6e0246050975ad01b74110b20f2233bb6cb505ecf3b2e05dca014ae378eaba5 DIST cifs-utils-6.6.tar.bz2 401831 SHA256 d07152a807de6840566bbcc69a97ff6fa17fca4e09ceb4641d74882a83e67125 SHA512 0059c85a9faeff4bba052a9bfc672baa658a923e03304dfb0c51f427079afc6effb2f83d7d09cdcacb2c8a30cdfccd3946957b1616790f5ad3ae2300f161458f WHIRLPOOL 340b8ac0bcc42d83e757a1fd747444afb36d1b252b36ca77896d02e384c9c016a45f7cd5d1fa40a1f90163f652a4fc43c90818cb56c33b263f4d2a9b49cc62c7 DIST cifs-utils-6.7.tar.bz2 363647 SHA256 b2f21612474ab012e75accd167aab607a0614ff67efb56ea0f36789fa785cfab SHA512 ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e WHIRLPOOL 4fe0f0d73f69001e97e25b665134a76cdfb4779006a192188e066d8c63cb82ef487ac5a5e3f0722f54c2843032391411c2863497e420c83521d6bad08db18d47 diff --git a/net-fs/cifs-utils/cifs-utils-6.5.ebuild b/net-fs/cifs-utils/cifs-utils-6.5.ebuild deleted file mode 100644 index 219c329da33..000 --- a/net-fs/cifs-utils/cifs-utils-6.5.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils linux-info multilib - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux" -IUSE="+acl +ads +caps +caps-ng creds" - -DEPEND="!net-fs/mount-cifs - !/dev/null - - if use acl ; then - dodir /etc/cifs-utils - dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.upcall.conf" - einfo "This enables you to mount DFS shares." - fi -} diff --git a/net-fs/cifs-utils/cifs-utils-6.6.ebuild b/net-fs/cifs-utils/cifs-utils-6.6.ebuild deleted file mode 100644 index 219c329da33..000 --- a/net-fs/cifs-utils/cifs-utils-6.6.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Cop
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 9bd5c23e4f377a62b9c448ffb3aa305e34373321 Author: Lars Wendler gentoo org> AuthorDate: Fri Nov 25 22:00:22 2016 + Commit: Lars Wendler gentoo org> CommitDate: Fri Nov 25 22:00:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd5c23e net-fs/cifs-utils: Make dependency on sys-apps/keyutils unconditional. This fixes bug #600832 Package-Manager: portage-2.3.2 net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild index 2e97843..0fe4a46 100644 --- a/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild @@ -18,8 +18,8 @@ IUSE="+acl +ads +caps +caps-ng creds pam" RDEPEND=" !net-fs/mount-cifs !
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 443070862fc33927b603758a057c6393c8986f02 Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 21 15:34:36 2016 + Commit: Lars Wendler gentoo org> CommitDate: Mon Nov 21 15:35:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44307086 net-fs/cifs-utils: Another revbump to fix incomplete USE="pam" support. Removed cifs-utils-6.6-r1 Thanks to Joakim Tjernlund for bringing that to my attention. Package-Manager: portage-2.3.2 .../{cifs-utils-6.6-r1.ebuild => cifs-utils-6.6-r2.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild similarity index 96% rename from net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild rename to net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild index 803027c..2e97843 100644 --- a/net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.6-r2.ebuild @@ -4,7 +4,7 @@ EAPI=6 -inherit eutils linux-info multilib +inherit eutils linux-info multilib pam DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; @@ -63,7 +63,8 @@ src_configure() { $(use caps && use_with !caps-ng libcap || echo --without-libcap) \ $(use caps && use_with caps-ng libcap-ng || echo --without-libcap-ng) \ $(use_enable creds cifscreds) \ - $(usex pam '--with-pamdir=/lib/security' '') + $(use_enable pam) \ + $(use_with pam pamdir $(getpam_mod_dir)) } src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: fb1d336c715d9b0a6c6374330f9998fee70e7633 Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 21 13:26:32 2016 + Commit: Lars Wendler gentoo org> CommitDate: Mon Nov 21 13:26:45 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1d336c net-fs/cifs-utils: Added pam USE flag (bug #599760). Package-Manager: portage-2.3.2 net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild | 112 + 1 file changed, 112 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild new file mode 100644 index ..803027c --- /dev/null +++ b/net-fs/cifs-utils/cifs-utils-6.6-r1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils linux-info multilib + +DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" +HOMEPAGE="http://wiki.samba.org/index.php/LinuxCIFS_utils"; +SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"; + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~arm-linux ~x86-linux" +IUSE="+acl +ads +caps +caps-ng creds pam" + +RDEPEND=" + !net-fs/mount-cifs + !/dev/null + + if use acl ; then + dodir /etc/cifs-utils + dosym /usr/$(get_libdir)/cifs-utils/idmapwb.so \ + /etc/cifs-utils/idmap-plugin + dodir /etc/request-key.d + echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ + > "${ED}/etc/request-key.d/cifs.idmap.conf" + fi + + if use ads ; then + dodir /etc/request-key.d + echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" + fi +} + +pkg_postinst() { + # Inform about set-user-ID bit of mount.cifs + ewarn "setuid use flag was dropped due to multiple security implications" + ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" + ewarn "You are free to set setuid flags by yourself" + + # Inform about upcall usage + if use acl ; then + einfo "The cifs.idmap utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.idmap.conf" + einfo "This enables you to get and set CIFS acls." + fi + + if use ads ; then + einfo "The cifs.upcall utility has been enabled by creating the" + einfo "configuration file /etc/request-key.d/cifs.upcall.conf" + einfo "This enables you to mount DFS shares." + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
commit: 1b882c9185ec747bfba63f8fb828034e85bd5b4f Author: Nicolas Riebesel gmx com> AuthorDate: Thu Sep 8 09:30:47 2016 + Commit: Lars Wendler gentoo org> CommitDate: Fri Sep 9 08:04:29 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b882c91 net-fs/cifs-utils: Fix krb5 support * Cifs mounts with sec=krb5 are now working * Official documentation: https://www.samba.org/samba/docs/man/manpages-3/cifs.upcall.8.html Closes: https://github.com/gentoo/gentoo/pull/2274 Signed-off-by: Lars Wendler gentoo.org> net-fs/cifs-utils/cifs-utils-6.4.ebuild | 2 ++ net-fs/cifs-utils/cifs-utils-6.5.ebuild | 2 ++ net-fs/cifs-utils/cifs-utils-6.6.ebuild | 2 ++ 3 files changed, 6 insertions(+) diff --git a/net-fs/cifs-utils/cifs-utils-6.4.ebuild b/net-fs/cifs-utils/cifs-utils-6.4.ebuild index 160e2ff..380ef4f 100644 --- a/net-fs/cifs-utils/cifs-utils-6.4.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.4.ebuild @@ -81,6 +81,8 @@ src_install() { dodir /etc/request-key.d echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" fi } diff --git a/net-fs/cifs-utils/cifs-utils-6.5.ebuild b/net-fs/cifs-utils/cifs-utils-6.5.ebuild index 02edf08..496cd61 100644 --- a/net-fs/cifs-utils/cifs-utils-6.5.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.5.ebuild @@ -81,6 +81,8 @@ src_install() { dodir /etc/request-key.d echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" fi } diff --git a/net-fs/cifs-utils/cifs-utils-6.6.ebuild b/net-fs/cifs-utils/cifs-utils-6.6.ebuild index 02edf08..496cd61 100644 --- a/net-fs/cifs-utils/cifs-utils-6.6.ebuild +++ b/net-fs/cifs-utils/cifs-utils-6.6.ebuild @@ -81,6 +81,8 @@ src_install() { dodir /etc/request-key.d echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ > "${ED}/etc/request-key.d/cifs.upcall.conf" + echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ + > "${ED}/etc/request-key.d/cifs.spnego.conf" fi }