Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/cifs-utils/
Date: Fri, 30 Sep 2022 03:04:20
Message-Id: 1664507001.ede0964749963f076247c21fbf1284463f6a51c4.sam@gentoo
1 commit: ede0964749963f076247c21fbf1284463f6a51c4
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 03:03:21 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 03:03:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede09647
7
8 net-fs/cifs-utils: drop 6.13-r1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-fs/cifs-utils/Manifest | 2 -
13 net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild | 141 ----------------------------
14 2 files changed, 143 deletions(-)
15
16 diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest
17 index 8fcb81da726c..e5ae19ed0795 100644
18 --- a/net-fs/cifs-utils/Manifest
19 +++ b/net-fs/cifs-utils/Manifest
20 @@ -1,4 +1,2 @@
21 -DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e
22 -DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de
23 DIST cifs-utils-6.15.tar.bz2 416592 BLAKE2B 8af926bf255c5b3a66bf52ccca99632aacb9ed1c83ad7db5543b32df2f3bcd4be9a9cd17b744ec115d1568d07084e2bd2d03849aa9ab97cff2862f39bcf137b8 SHA512 eedb8066563db584595a8ba7cb7a603e6b763ac2c1261430d605c327fcc5a831acd48b58ea55dd243af778dfdc827ab8c6daf4015764ff550dcffc2182773510
24 DIST cifs-utils-7.0.tar.bz2 418638 BLAKE2B 514d35f243d0ef7b866068a9a53a4b1704d2856d491d56aa469e8e3919b4030cb920a7f60d08851b0a23d28a020d1ddf7daa8b9ac412f1567a0a60d2f6ee6774 SHA512 4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb
25
26 diff --git a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild b/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild
27 deleted file mode 100644
28 index 49a473b376ae..000000000000
29 --- a/net-fs/cifs-utils/cifs-utils-6.13-r1.ebuild
30 +++ /dev/null
31 @@ -1,141 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -
39 -inherit autotools bash-completion-r1 linux-info multilib pam python-single-r1
40 -
41 -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems"
42 -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
43 -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"
44 -
45 -SRC_URI+=" https://dev.gentoo.org/~polynomial-c/${P}-kerberos_mount_regression_fix.patch.xz"
46 -
47 -LICENSE="GPL-3"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x86-linux"
50 -IUSE="+acl +ads +caps creds pam +python systemd"
51 -
52 -RDEPEND="
53 - !net-fs/mount-cifs
54 - sys-apps/keyutils:=
55 - ads? (
56 - sys-libs/talloc
57 - virtual/krb5
58 - )
59 - caps? ( sys-libs/libcap-ng )
60 - pam? ( sys-libs/pam )
61 - python? ( ${PYTHON_DEPS} )
62 -"
63 -DEPEND="${RDEPEND}"
64 -BDEPEND="dev-python/docutils"
65 -PDEPEND="
66 - acl? ( >=net-fs/samba-4.0.0_alpha1 )
67 -"
68 -
69 -REQUIRED_USE="
70 - acl? ( ads )
71 - python? ( ${PYTHON_REQUIRED_USE} )
72 -"
73 -
74 -DOCS="doc/linux-cifs-client-guide.odt"
75 -
76 -PATCHES=(
77 - "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594
78 - "${WORKDIR}/${P}-kerberos_mount_regression_fix.patch" #809023
79 -)
80 -
81 -pkg_setup() {
82 - linux-info_pkg_setup
83 -
84 - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then
85 - ewarn "You must enable CIFS support in your kernel config, "
86 - ewarn "to be able to mount samba shares. You can find it at"
87 - ewarn
88 - ewarn " File systems"
89 - ewarn " Network File Systems"
90 - ewarn " CIFS support"
91 - ewarn
92 - ewarn "and recompile your kernel ..."
93 - fi
94 -
95 - use python && python-single-r1_pkg_setup
96 -}
97 -
98 -src_prepare() {
99 - default
100 -
101 - if has_version app-crypt/heimdal ; then
102 - # https://bugs.gentoo.org/612584
103 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch"
104 - fi
105 -
106 - eautoreconf
107 -}
108 -
109 -src_configure() {
110 - local myeconfargs=(
111 - --enable-man
112 - --enable-smbinfo
113 - $(use_enable acl cifsacl cifsidmap)
114 - $(use_enable ads cifsupcall)
115 - $(use_with caps libcap)
116 - $(use_enable creds cifscreds)
117 - $(use_enable pam)
118 - $(use_with pam pamdir $(getpam_mod_dir))
119 - $(use_enable python pythontools)
120 - # mount.cifs can get passwords from systemd
121 - $(use_enable systemd)
122 - )
123 - ROOTSBINDIR="${EPREFIX}"/sbin \
124 - econf "${myeconfargs[@]}"
125 -}
126 -
127 -src_install() {
128 - default
129 -
130 - # remove empty directories
131 - find "${ED}" -type d -empty -delete || die
132 -
133 - if use acl ; then
134 - dodir /etc/cifs-utils
135 - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \
136 - /etc/cifs-utils/idmap-plugin
137 - dodir /etc/request-key.d
138 - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \
139 - > "${ED}/etc/request-key.d/cifs.idmap.conf"
140 - fi
141 -
142 - if use ads ; then
143 - dodir /etc/request-key.d
144 - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \
145 - > "${ED}/etc/request-key.d/cifs.upcall.conf"
146 - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \
147 - > "${ED}/etc/request-key.d/cifs.spnego.conf"
148 - fi
149 -
150 - dobashcomp bash-completion/smbinfo
151 - use python && python_fix_shebang "${ED}"
152 -}
153 -
154 -pkg_postinst() {
155 - # Inform about set-user-ID bit of mount.cifs
156 - ewarn "setuid use flag was dropped due to multiple security implications"
157 - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586"
158 - ewarn "You are free to set setuid flags by yourself"
159 -
160 - # Inform about upcall usage
161 - if use acl ; then
162 - einfo "The cifs.idmap utility has been enabled by creating the"
163 - einfo "configuration file /etc/request-key.d/cifs.idmap.conf"
164 - einfo "This enables you to get and set CIFS acls."
165 - fi
166 -
167 - if use ads ; then
168 - einfo "The cifs.upcall utility has been enabled by creating the"
169 - einfo "configuration file /etc/request-key.d/cifs.upcall.conf"
170 - einfo "This enables you to mount DFS shares."
171 - fi
172 -}