1 |
commit: 6db255a92e559a77f390c196c0532a811ac12b60 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 22 16:05:43 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 22 16:05:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db255a9 |
7 |
|
8 |
net-fs/cifs-utils: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
net-fs/cifs-utils/Manifest | 1 - |
13 |
net-fs/cifs-utils/cifs-utils-6.11.ebuild | 126 --------------------- |
14 |
.../files/cifs-utils-6.10-ln_in_destdir.patch | 26 ----- |
15 |
3 files changed, 153 deletions(-) |
16 |
|
17 |
diff --git a/net-fs/cifs-utils/Manifest b/net-fs/cifs-utils/Manifest |
18 |
index 5068f96d567..5b29ea38e8f 100644 |
19 |
--- a/net-fs/cifs-utils/Manifest |
20 |
+++ b/net-fs/cifs-utils/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST cifs-utils-6.11.tar.bz2 408903 BLAKE2B 5ee7cd87b54a266750bf938396ee90b3f20c2a3446aca295ccb58cb667fbfb68be9aa0e2bbc20aa5e18ffd7f1fcd5fbb0aef3bc25fd13bb96abc5a57a0b45b4b SHA512 064c0ac75572fb44908390508462e4fdfe0686751149fd8b656a209dd961a5a24a7d9774c38c0e72fa5f9875b43aea7bf2de038c4e4a63a11664e71d9003100e |
23 |
DIST cifs-utils-6.13-kerberos_mount_regression_fix.patch.xz 4336 BLAKE2B de268f815ee4fbb750bf8b7d7110a69a808682c239a7c9196468ecc4d55a26eed3b63f8d8539569e16131060f57de389ef92e1063283eb2f41e65be00ed21bb1 SHA512 13d1fb8ff7c31100bfa481e647e9d3b90d61633173b3a71683246d7bb4b68c7e147d21697a17b7ad60e1ac8da2d48d6f4b51762370536a32d14da6c9a6db7e5e |
24 |
DIST cifs-utils-6.13.tar.bz2 414584 BLAKE2B 5133ea39fc65acaf2a9791f8ac97dee681dd12f509e0abd095542ce663e7c62002b033dcf35f0a8eec214cb9940597fb568fd50d4cfe5271ca4e433afbe1a7bc SHA512 1337ac4b69f0c3e8d0241eb608207ba81dfa35f84c661649d25da78637882c4d73467b0f632be0bd120362e0b786e40eb340bffcf21c8a09629c441100fd10de |
25 |
|
26 |
diff --git a/net-fs/cifs-utils/cifs-utils-6.11.ebuild b/net-fs/cifs-utils/cifs-utils-6.11.ebuild |
27 |
deleted file mode 100644 |
28 |
index d33b983c63a..00000000000 |
29 |
--- a/net-fs/cifs-utils/cifs-utils-6.11.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,126 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit autotools bash-completion-r1 linux-info multilib pam |
38 |
- |
39 |
-DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" |
40 |
-HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils" |
41 |
-SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2" |
42 |
- |
43 |
-LICENSE="GPL-3" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x86-linux" |
46 |
-IUSE="+acl +ads +caps creds pam systemd" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- !net-fs/mount-cifs |
50 |
- sys-apps/keyutils:= |
51 |
- ads? ( |
52 |
- sys-libs/talloc |
53 |
- virtual/krb5 |
54 |
- ) |
55 |
- caps? ( sys-libs/libcap-ng ) |
56 |
- pam? ( sys-libs/pam ) |
57 |
-" |
58 |
-DEPEND="${RDEPEND}" |
59 |
-BDEPEND="dev-python/docutils" |
60 |
-PDEPEND=" |
61 |
- acl? ( >=net-fs/samba-4.0.0_alpha1 ) |
62 |
-" |
63 |
- |
64 |
-REQUIRED_USE="acl? ( ads )" |
65 |
- |
66 |
-DOCS="doc/linux-cifs-client-guide.odt" |
67 |
- |
68 |
-PATCHES=( "${FILESDIR}/${PN}-6.10-ln_in_destdir.patch" ) |
69 |
- |
70 |
-pkg_setup() { |
71 |
- linux-info_pkg_setup |
72 |
- |
73 |
- if ! linux_config_exists || ! linux_chkconfig_present CIFS; then |
74 |
- ewarn "You must enable CIFS support in your kernel config, " |
75 |
- ewarn "to be able to mount samba shares. You can find it at" |
76 |
- ewarn |
77 |
- ewarn " File systems" |
78 |
- ewarn " Network File Systems" |
79 |
- ewarn " CIFS support" |
80 |
- ewarn |
81 |
- ewarn "and recompile your kernel ..." |
82 |
- fi |
83 |
-} |
84 |
- |
85 |
-src_prepare() { |
86 |
- default |
87 |
- |
88 |
- if has_version app-crypt/heimdal ; then |
89 |
- # https://bugs.gentoo.org/612584 |
90 |
- eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" |
91 |
- fi |
92 |
- |
93 |
- eautoreconf |
94 |
-} |
95 |
- |
96 |
-src_configure() { |
97 |
- local myeconfargs=( |
98 |
- --enable-man |
99 |
- --enable-smbinfo |
100 |
- $(use_enable acl cifsacl cifsidmap) |
101 |
- $(use_enable ads cifsupcall) |
102 |
- $(use_with caps libcap) |
103 |
- $(use_enable creds cifscreds) |
104 |
- $(use_enable pam) |
105 |
- $(use_with pam pamdir $(getpam_mod_dir)) |
106 |
- # mount.cifs can get passwords from systemd |
107 |
- $(use_enable systemd) |
108 |
- ) |
109 |
- ROOTSBINDIR="${EPREFIX}"/sbin \ |
110 |
- econf "${myeconfargs[@]}" |
111 |
-} |
112 |
- |
113 |
-src_install() { |
114 |
- default |
115 |
- |
116 |
- # remove empty directories |
117 |
- find "${ED}" -type d -empty -delete || die |
118 |
- |
119 |
- if use acl ; then |
120 |
- dodir /etc/cifs-utils |
121 |
- dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ |
122 |
- /etc/cifs-utils/idmap-plugin |
123 |
- dodir /etc/request-key.d |
124 |
- echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ |
125 |
- > "${ED}/etc/request-key.d/cifs.idmap.conf" |
126 |
- fi |
127 |
- |
128 |
- if use ads ; then |
129 |
- dodir /etc/request-key.d |
130 |
- echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ |
131 |
- > "${ED}/etc/request-key.d/cifs.upcall.conf" |
132 |
- echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ |
133 |
- > "${ED}/etc/request-key.d/cifs.spnego.conf" |
134 |
- fi |
135 |
- |
136 |
- dobashcomp bash-completion/smbinfo |
137 |
-} |
138 |
- |
139 |
-pkg_postinst() { |
140 |
- # Inform about set-user-ID bit of mount.cifs |
141 |
- ewarn "setuid use flag was dropped due to multiple security implications" |
142 |
- ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" |
143 |
- ewarn "You are free to set setuid flags by yourself" |
144 |
- |
145 |
- # Inform about upcall usage |
146 |
- if use acl ; then |
147 |
- einfo "The cifs.idmap utility has been enabled by creating the" |
148 |
- einfo "configuration file /etc/request-key.d/cifs.idmap.conf" |
149 |
- einfo "This enables you to get and set CIFS acls." |
150 |
- fi |
151 |
- |
152 |
- if use ads ; then |
153 |
- einfo "The cifs.upcall utility has been enabled by creating the" |
154 |
- einfo "configuration file /etc/request-key.d/cifs.upcall.conf" |
155 |
- einfo "This enables you to mount DFS shares." |
156 |
- fi |
157 |
-} |
158 |
|
159 |
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 |
160 |
deleted file mode 100644 |
161 |
index 6952d72cf5c..00000000000 |
162 |
--- a/net-fs/cifs-utils/files/cifs-utils-6.10-ln_in_destdir.patch |
163 |
+++ /dev/null |
164 |
@@ -1,26 +0,0 @@ |
165 |
-Fix sandbox violation caused by calling ln in /sbin instead of $(DESTDIR)/sbin |
166 |
- |
167 |
-Also fixed an inverted race condition when installing with MAKEOPTS="-j1" |
168 |
- |
169 |
-jer found this: |
170 |
- install-root_sbinPROGRAMS is called from install-data-am but |
171 |
- install-exec-hook is called from install-exec-am |
172 |
- |
173 |
-So moving the failing ln call into install-data-hook for now... |
174 |
- |
175 |
---- cifs-utils-6.10/Makefile.am |
176 |
-+++ cifs-utils-6.10/Makefile.am |
177 |
-@@ -118,11 +118,9 @@ |
178 |
- |
179 |
- SUBDIRS = contrib |
180 |
- |
181 |
--install-exec-hook: |
182 |
-- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) |
183 |
-- |
184 |
- install-data-hook: |
185 |
-- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) |
186 |
-+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) |
187 |
-+ (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) |
188 |
- |
189 |
- uninstall-hook: |
190 |
- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3) |