1 |
commit: b0ab22f09f90f4175dd25fa175f51e38cb398449 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 1 19:05:54 2015 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 1 19:05:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0ab22f0 |
7 |
|
8 |
app-admin/sudo: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-admin/sudo/Manifest | 1 - |
14 |
app-admin/sudo/sudo-1.8.12-r1.ebuild | 197 ----------------------------------- |
15 |
app-admin/sudo/sudo-1.8.13.ebuild | 196 ---------------------------------- |
16 |
3 files changed, 394 deletions(-) |
17 |
|
18 |
diff --git a/app-admin/sudo/Manifest b/app-admin/sudo/Manifest |
19 |
index 66f61b1..91f8db9 100644 |
20 |
--- a/app-admin/sudo/Manifest |
21 |
+++ b/app-admin/sudo/Manifest |
22 |
@@ -1,4 +1,3 @@ |
23 |
DIST sudo-1.8.12.tar.gz 2493373 SHA256 163b51841de8ad19276581a6782d61f5948f1f72a0a843371a1c167d3dc4f3b0 SHA512 1815343eceb7cfa6e37c961ce1c68cf96fc290356b92078d6d24a2c85d8b7a7236df78d3ff7f5e30eba492dc8407346d884e01c0b989eef4414156cfec80b67b WHIRLPOOL 0d9e618937a08b9bf74aaebf12f5b9f96afd827728f90fa95b6a2a4f932cc84240d56674aa903062247068ec5aa3369b14bad64130caeb313330286510c2d3f6 |
24 |
-DIST sudo-1.8.13.tar.gz 2515307 SHA256 e374e5edf2c11c00d6916a9f51cb0ad15e51c7b028370fa15169b07e61e05a25 SHA512 d5498ce8136e903a5ee9e6b1e9b69149b2268798f0678bf7fa82d56947c60d0dec1d7ee25df382e2ee05ecb660720af6b6bc24ad1b6493834e158ee3b186d03c WHIRLPOOL b06256020e5c21159f1b7ff7a9849053f89e95c58fce850653e60d625ad71f8cf9caf9421765398ed73d2ca4756483dcd9535dc856e681dc3b8d7c1206ae5553 |
25 |
DIST sudo-1.8.14p3.tar.gz 2570892 SHA256 a8a697cbb113859058944850d098464618254804cf97961dee926429f00a1237 SHA512 022e75a4171c0d9b87569adc5b08afc1b8f2adb7dbc6c80dfb737029dbca560a08e317ce37f117b614f36b54666ed01559a72d0c92523a5a2ee3531f520d7a2b WHIRLPOOL 143ff1c464b539e79172cd0340a089739207d2b99fc01d183a27b24b5172c834d6ed0f7258116542ffa559a3a4c3540924261170655dd7bedb449f8d93496bbd |
26 |
DIST sudo-1.8.15.tar.gz 2660128 SHA256 4316381708324da8b6cb151f655c1a11855207c7c02244d8ffdea5104d7cc308 SHA512 f2bff92104ddc4cbea8c788da446043cbfe02c977cedf18d46b1c82e98d7227432cb5a61233e7a06af84e3637f906edd5e02bb88c03a2ce4a16df410469a5dab WHIRLPOOL 3da64eda51f22d7fc0ea76f0693e9960d511b7c762b5d6237318d17436fd64b58ae90caa9bf4e125ebee70b83eac7cba2c7451fb62fafd8ee3d133c4ae2037b9 |
27 |
|
28 |
diff --git a/app-admin/sudo/sudo-1.8.12-r1.ebuild b/app-admin/sudo/sudo-1.8.12-r1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 237f5c8..0000000 |
31 |
--- a/app-admin/sudo/sudo-1.8.12-r1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,197 +0,0 @@ |
34 |
-# Copyright 1999-2015 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
-# $Id$ |
37 |
- |
38 |
-EAPI=5 |
39 |
- |
40 |
-inherit eutils pam multilib libtool |
41 |
- |
42 |
-MY_P=${P/_/} |
43 |
-MY_P=${MY_P/beta/b} |
44 |
- |
45 |
-uri_prefix= |
46 |
-case ${P} in |
47 |
-*_beta*|*_rc*) uri_prefix=beta/ ;; |
48 |
-esac |
49 |
- |
50 |
-DESCRIPTION="Allows users or groups to run commands as other users" |
51 |
-HOMEPAGE="http://www.sudo.ws/" |
52 |
-SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz |
53 |
- ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz" |
54 |
- |
55 |
-# Basic license is ISC-style as-is, some files are released under |
56 |
-# 3-clause BSD license |
57 |
-LICENSE="ISC BSD" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris" |
60 |
-IUSE="ldap nls pam offensive selinux skey +sendmail" |
61 |
- |
62 |
-DEPEND="pam? ( virtual/pam ) |
63 |
- skey? ( >=sys-auth/skey-1.1.5-r1 ) |
64 |
- ldap? ( |
65 |
- >=net-nds/openldap-2.1.30-r1 |
66 |
- dev-libs/cyrus-sasl |
67 |
- ) |
68 |
- sys-libs/zlib" |
69 |
-RDEPEND="${DEPEND} |
70 |
- selinux? ( sec-policy/selinux-sudo ) |
71 |
- ldap? ( dev-lang/perl ) |
72 |
- pam? ( sys-auth/pambase ) |
73 |
- >=app-misc/editor-wrapper-3 |
74 |
- virtual/editor |
75 |
- sendmail? ( virtual/mta )" |
76 |
-DEPEND="${DEPEND} |
77 |
- sys-devel/bison" |
78 |
- |
79 |
-S=${WORKDIR}/${MY_P} |
80 |
- |
81 |
-REQUIRED_USE="pam? ( !skey ) skey? ( !pam )" |
82 |
- |
83 |
-MAKEOPTS+=" SAMPLES=" |
84 |
- |
85 |
-src_prepare() { |
86 |
- epatch "${FILESDIR}"/${P}-include-sys-types-h.patch |
87 |
- elibtoolize |
88 |
-} |
89 |
- |
90 |
-set_rootpath() { |
91 |
- # FIXME: secure_path is a compile time setting. using ROOTPATH |
92 |
- # is not perfect, env-update may invalidate this, but until it |
93 |
- # is available as a sudoers setting this will have to do. |
94 |
- einfo "Setting secure_path ..." |
95 |
- |
96 |
- # first extract the default ROOTPATH from build env |
97 |
- ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}") |
98 |
- if [[ -z ${ROOTPATH} ]] ; then |
99 |
- ewarn " Failed to find ROOTPATH, please report this" |
100 |
- fi |
101 |
- |
102 |
- # then remove duplicate path entries |
103 |
- cleanpath() { |
104 |
- local newpath thisp IFS=: |
105 |
- for thisp in $1 ; do |
106 |
- if [[ :${newpath}: != *:${thisp}:* ]] ; then |
107 |
- newpath+=:$thisp |
108 |
- else |
109 |
- einfo " Duplicate entry ${thisp} removed..." |
110 |
- fi |
111 |
- done |
112 |
- ROOTPATH=${newpath#:} |
113 |
- } |
114 |
- cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}} |
115 |
- |
116 |
- # finally, strip gcc paths #136027 |
117 |
- rmpath() { |
118 |
- local e newpath thisp IFS=: |
119 |
- for thisp in ${ROOTPATH} ; do |
120 |
- for e ; do [[ $thisp == $e ]] && continue 2 ; done |
121 |
- newpath+=:$thisp |
122 |
- done |
123 |
- ROOTPATH=${newpath#:} |
124 |
- } |
125 |
- rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*' |
126 |
- |
127 |
- einfo "... done" |
128 |
-} |
129 |
- |
130 |
-src_configure() { |
131 |
- local ROOTPATH |
132 |
- set_rootpath |
133 |
- |
134 |
- # audit: somebody got to explain me how I can test this before I |
135 |
- # enable it.. - Diego |
136 |
- # plugindir: autoconf code is crappy and does not delay evaluation |
137 |
- # until `make` time, so we have to use a full path here rather than |
138 |
- # basing off other values. |
139 |
- econf \ |
140 |
- --enable-zlib=system \ |
141 |
- --with-secure-path="${ROOTPATH}" \ |
142 |
- --with-editor="${EPREFIX}"/usr/libexec/editor \ |
143 |
- --with-env-editor \ |
144 |
- $(use_with offensive insults) \ |
145 |
- $(use_with offensive all-insults) \ |
146 |
- $(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \ |
147 |
- $(use_with ldap) \ |
148 |
- $(use_enable nls) \ |
149 |
- $(use_with pam) \ |
150 |
- $(use_with skey) \ |
151 |
- $(use_with selinux) \ |
152 |
- $(use_with sendmail) \ |
153 |
- --without-opie \ |
154 |
- --without-linux-audit \ |
155 |
- --with-rundir="${EPREFIX}"/var/run/sudo \ |
156 |
- --with-vardir="${EPREFIX}"/var/db/sudo \ |
157 |
- --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \ |
158 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- default |
163 |
- |
164 |
- if use ldap ; then |
165 |
- dodoc README.LDAP doc/schema.OpenLDAP |
166 |
- dosbin plugins/sudoers/sudoers2ldif |
167 |
- |
168 |
- cat <<-EOF > "${T}"/ldap.conf.sudo |
169 |
- # See ldap.conf(5) and README.LDAP for details |
170 |
- # This file should only be readable by root |
171 |
- |
172 |
- # supported directives: host, port, ssl, ldap_version |
173 |
- # uri, binddn, bindpw, sudoers_base, sudoers_debug |
174 |
- # tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key |
175 |
- EOF |
176 |
- |
177 |
- insinto /etc |
178 |
- doins "${T}"/ldap.conf.sudo |
179 |
- fperms 0440 /etc/ldap.conf.sudo |
180 |
- fi |
181 |
- |
182 |
- pamd_mimic system-auth sudo auth account session |
183 |
- |
184 |
- keepdir /var/db/sudo |
185 |
- fperms 0700 /var/db/sudo |
186 |
- |
187 |
- # Don't install into /var/run as that is a tmpfs most of the time |
188 |
- # (bug #504854) |
189 |
- rm -rf "${D}"/var/run |
190 |
-} |
191 |
- |
192 |
-pkg_postinst() { |
193 |
- if use ldap ; then |
194 |
- ewarn |
195 |
- ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration." |
196 |
- ewarn |
197 |
- if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then |
198 |
- ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly" |
199 |
- ewarn "configured in /etc/nsswitch.conf." |
200 |
- ewarn |
201 |
- ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:" |
202 |
- ewarn " sudoers: ldap files" |
203 |
- ewarn |
204 |
- fi |
205 |
- fi |
206 |
- if use prefix ; then |
207 |
- ewarn |
208 |
- ewarn "To use sudo, you need to change file ownership and permissions" |
209 |
- ewarn "with root privileges, as follows:" |
210 |
- ewarn |
211 |
- ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo" |
212 |
- ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so" |
213 |
- ewarn " # chown root:root ${EPREFIX}/etc/sudoers" |
214 |
- ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d" |
215 |
- ewarn " # chown root:root ${EPREFIX}/var/db/sudo" |
216 |
- ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo" |
217 |
- ewarn |
218 |
- fi |
219 |
- |
220 |
- elog "To use the -A (askpass) option, you need to install a compatible" |
221 |
- elog "password program from the following list. Starred packages will" |
222 |
- elog "automatically register for the use with sudo (but will not force" |
223 |
- elog "the -A option):" |
224 |
- elog "" |
225 |
- elog " [*] net-misc/ssh-askpass-fullscreen" |
226 |
- elog " net-misc/x11-ssh-askpass" |
227 |
- elog "" |
228 |
- elog "You can override the choice by setting the SUDO_ASKPASS environmnent" |
229 |
- elog "variable to the program you want to use." |
230 |
-} |
231 |
|
232 |
diff --git a/app-admin/sudo/sudo-1.8.13.ebuild b/app-admin/sudo/sudo-1.8.13.ebuild |
233 |
deleted file mode 100644 |
234 |
index d36ae5e..0000000 |
235 |
--- a/app-admin/sudo/sudo-1.8.13.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,196 +0,0 @@ |
238 |
-# Copyright 1999-2015 Gentoo Foundation |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
-# $Id$ |
241 |
- |
242 |
-EAPI=5 |
243 |
- |
244 |
-inherit eutils pam multilib libtool |
245 |
- |
246 |
-MY_P=${P/_/} |
247 |
-MY_P=${MY_P/beta/b} |
248 |
- |
249 |
-uri_prefix= |
250 |
-case ${P} in |
251 |
-*_beta*|*_rc*) uri_prefix=beta/ ;; |
252 |
-esac |
253 |
- |
254 |
-DESCRIPTION="Allows users or groups to run commands as other users" |
255 |
-HOMEPAGE="http://www.sudo.ws/" |
256 |
-SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz |
257 |
- ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz" |
258 |
- |
259 |
-# Basic license is ISC-style as-is, some files are released under |
260 |
-# 3-clause BSD license |
261 |
-LICENSE="ISC BSD" |
262 |
-SLOT="0" |
263 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~sparc-solaris" |
264 |
-IUSE="ldap nls pam offensive selinux skey +sendmail" |
265 |
- |
266 |
-DEPEND="pam? ( virtual/pam ) |
267 |
- skey? ( >=sys-auth/skey-1.1.5-r1 ) |
268 |
- ldap? ( |
269 |
- >=net-nds/openldap-2.1.30-r1 |
270 |
- dev-libs/cyrus-sasl |
271 |
- ) |
272 |
- sys-libs/zlib" |
273 |
-RDEPEND="${DEPEND} |
274 |
- selinux? ( sec-policy/selinux-sudo ) |
275 |
- ldap? ( dev-lang/perl ) |
276 |
- pam? ( sys-auth/pambase ) |
277 |
- >=app-misc/editor-wrapper-3 |
278 |
- virtual/editor |
279 |
- sendmail? ( virtual/mta )" |
280 |
-DEPEND="${DEPEND} |
281 |
- sys-devel/bison" |
282 |
- |
283 |
-S=${WORKDIR}/${MY_P} |
284 |
- |
285 |
-REQUIRED_USE="pam? ( !skey ) skey? ( !pam )" |
286 |
- |
287 |
-MAKEOPTS+=" SAMPLES=" |
288 |
- |
289 |
-src_prepare() { |
290 |
- elibtoolize |
291 |
-} |
292 |
- |
293 |
-set_rootpath() { |
294 |
- # FIXME: secure_path is a compile time setting. using ROOTPATH |
295 |
- # is not perfect, env-update may invalidate this, but until it |
296 |
- # is available as a sudoers setting this will have to do. |
297 |
- einfo "Setting secure_path ..." |
298 |
- |
299 |
- # first extract the default ROOTPATH from build env |
300 |
- ROOTPATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}") |
301 |
- if [[ -z ${ROOTPATH} ]] ; then |
302 |
- ewarn " Failed to find ROOTPATH, please report this" |
303 |
- fi |
304 |
- |
305 |
- # then remove duplicate path entries |
306 |
- cleanpath() { |
307 |
- local newpath thisp IFS=: |
308 |
- for thisp in $1 ; do |
309 |
- if [[ :${newpath}: != *:${thisp}:* ]] ; then |
310 |
- newpath+=:$thisp |
311 |
- else |
312 |
- einfo " Duplicate entry ${thisp} removed..." |
313 |
- fi |
314 |
- done |
315 |
- ROOTPATH=${newpath#:} |
316 |
- } |
317 |
- cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}} |
318 |
- |
319 |
- # finally, strip gcc paths #136027 |
320 |
- rmpath() { |
321 |
- local e newpath thisp IFS=: |
322 |
- for thisp in ${ROOTPATH} ; do |
323 |
- for e ; do [[ $thisp == $e ]] && continue 2 ; done |
324 |
- newpath+=:$thisp |
325 |
- done |
326 |
- ROOTPATH=${newpath#:} |
327 |
- } |
328 |
- rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*' |
329 |
- |
330 |
- einfo "... done" |
331 |
-} |
332 |
- |
333 |
-src_configure() { |
334 |
- local ROOTPATH |
335 |
- set_rootpath |
336 |
- |
337 |
- # audit: somebody got to explain me how I can test this before I |
338 |
- # enable it.. - Diego |
339 |
- # plugindir: autoconf code is crappy and does not delay evaluation |
340 |
- # until `make` time, so we have to use a full path here rather than |
341 |
- # basing off other values. |
342 |
- econf \ |
343 |
- --enable-zlib=system \ |
344 |
- --with-secure-path="${ROOTPATH}" \ |
345 |
- --with-editor="${EPREFIX}"/usr/libexec/editor \ |
346 |
- --with-env-editor \ |
347 |
- $(use_with offensive insults) \ |
348 |
- $(use_with offensive all-insults) \ |
349 |
- $(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \ |
350 |
- $(use_with ldap) \ |
351 |
- $(use_enable nls) \ |
352 |
- $(use_with pam) \ |
353 |
- $(use_with skey) \ |
354 |
- $(use_with selinux) \ |
355 |
- $(use_with sendmail) \ |
356 |
- --without-opie \ |
357 |
- --without-linux-audit \ |
358 |
- --with-rundir="${EPREFIX}"/var/run/sudo \ |
359 |
- --with-vardir="${EPREFIX}"/var/db/sudo \ |
360 |
- --with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo \ |
361 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} |
362 |
-} |
363 |
- |
364 |
-src_install() { |
365 |
- default |
366 |
- |
367 |
- if use ldap ; then |
368 |
- dodoc README.LDAP doc/schema.OpenLDAP |
369 |
- dosbin plugins/sudoers/sudoers2ldif |
370 |
- |
371 |
- cat <<-EOF > "${T}"/ldap.conf.sudo |
372 |
- # See ldap.conf(5) and README.LDAP for details |
373 |
- # This file should only be readable by root |
374 |
- |
375 |
- # supported directives: host, port, ssl, ldap_version |
376 |
- # uri, binddn, bindpw, sudoers_base, sudoers_debug |
377 |
- # tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key |
378 |
- EOF |
379 |
- |
380 |
- insinto /etc |
381 |
- doins "${T}"/ldap.conf.sudo |
382 |
- fperms 0440 /etc/ldap.conf.sudo |
383 |
- fi |
384 |
- |
385 |
- pamd_mimic system-auth sudo auth account session |
386 |
- |
387 |
- keepdir /var/db/sudo |
388 |
- fperms 0700 /var/db/sudo |
389 |
- |
390 |
- # Don't install into /var/run as that is a tmpfs most of the time |
391 |
- # (bug #504854) |
392 |
- rm -rf "${D}"/var/run |
393 |
-} |
394 |
- |
395 |
-pkg_postinst() { |
396 |
- if use ldap ; then |
397 |
- ewarn |
398 |
- ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration." |
399 |
- ewarn |
400 |
- if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then |
401 |
- ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly" |
402 |
- ewarn "configured in /etc/nsswitch.conf." |
403 |
- ewarn |
404 |
- ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:" |
405 |
- ewarn " sudoers: ldap files" |
406 |
- ewarn |
407 |
- fi |
408 |
- fi |
409 |
- if use prefix ; then |
410 |
- ewarn |
411 |
- ewarn "To use sudo, you need to change file ownership and permissions" |
412 |
- ewarn "with root privileges, as follows:" |
413 |
- ewarn |
414 |
- ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo" |
415 |
- ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so" |
416 |
- ewarn " # chown root:root ${EPREFIX}/etc/sudoers" |
417 |
- ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d" |
418 |
- ewarn " # chown root:root ${EPREFIX}/var/db/sudo" |
419 |
- ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo" |
420 |
- ewarn |
421 |
- fi |
422 |
- |
423 |
- elog "To use the -A (askpass) option, you need to install a compatible" |
424 |
- elog "password program from the following list. Starred packages will" |
425 |
- elog "automatically register for the use with sudo (but will not force" |
426 |
- elog "the -A option):" |
427 |
- elog "" |
428 |
- elog " [*] net-misc/ssh-askpass-fullscreen" |
429 |
- elog " net-misc/x11-ssh-askpass" |
430 |
- elog "" |
431 |
- elog "You can override the choice by setting the SUDO_ASKPASS environmnent" |
432 |
- elog "variable to the program you want to use." |
433 |
-} |