1 |
commit: 22d71b0e5fd99e90d793daf129e5e8d2138be80a |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 12:30:54 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 12:30:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d71b0e |
7 |
|
8 |
app-admin/usermin: remove masked for removal package (#537528) |
9 |
|
10 |
app-admin/usermin/Manifest | 1 - |
11 |
app-admin/usermin/files/init.d.usermin | 38 --------- |
12 |
.../usermin/files/usermin-1.080-safestop.patch | 12 --- |
13 |
.../files/usermin-1.150-setup-nocheck.patch | 22 ------ |
14 |
app-admin/usermin/files/usermin-1.540-r1.init | 38 --------- |
15 |
app-admin/usermin/files/usermin.pam-include.1 | 11 --- |
16 |
app-admin/usermin/metadata.xml | 11 --- |
17 |
app-admin/usermin/usermin-1.600.ebuild | 89 ---------------------- |
18 |
8 files changed, 222 deletions(-) |
19 |
|
20 |
diff --git a/app-admin/usermin/Manifest b/app-admin/usermin/Manifest |
21 |
deleted file mode 100644 |
22 |
index 35fe334..0000000 |
23 |
--- a/app-admin/usermin/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1 +0,0 @@ |
26 |
-DIST usermin-1.600.tar.gz 9295065 SHA256 4952689a2a7c77b111aeb0fdfac66d4c5edaa06735091b92aacab72e9ecd27ef SHA512 9c0670360179a6e79ac17ea8f87810f05e640b42cf946beeac8d4398b2b9ce441e10a178da242cb77f2163afd8eb508ccb6c89f54b540907eba8d97dac592895 WHIRLPOOL 7c92ab2bbb1378ca6288fae46a0c8590b4ea6bfbd8b9abc5697efb4d8d1b2ac85ece6d506e64e8e25b7661707fe8802521440a8ebcdb3b874670ab04645beaab |
27 |
|
28 |
diff --git a/app-admin/usermin/files/init.d.usermin b/app-admin/usermin/files/init.d.usermin |
29 |
deleted file mode 100644 |
30 |
index e62b4aa..0000000 |
31 |
--- a/app-admin/usermin/files/init.d.usermin |
32 |
+++ /dev/null |
33 |
@@ -1,38 +0,0 @@ |
34 |
-#!/sbin/runscript |
35 |
-# Copyright 1999-2004 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
-# $Id$ |
38 |
- |
39 |
-depend() { |
40 |
- use net logger |
41 |
-} |
42 |
- |
43 |
- |
44 |
-checkconfig() { |
45 |
- if [ -f /etc/usermin/config ]; then |
46 |
- return 0; |
47 |
- else |
48 |
- eerror "Error starting usermin. Have you run '/usr/libexec/usermin/setup.sh'?" |
49 |
- return 1; |
50 |
- fi |
51 |
-} |
52 |
- |
53 |
-start() { # copied from /etc/usermin/start |
54 |
- checkconfig || return 1 |
55 |
- ebegin "Starting Usermin" |
56 |
- |
57 |
- LANG= |
58 |
- export LANG |
59 |
- |
60 |
- unset PERLIO |
61 |
- export PERLIO |
62 |
- start-stop-daemon --start --quiet \ |
63 |
- --exec /usr/libexec/usermin/miniserv.pl -- /etc/usermin/miniserv.conf |
64 |
- eend $? |
65 |
-} |
66 |
- |
67 |
-stop() { |
68 |
- ebegin "Stopping Usermin" |
69 |
- start-stop-daemon --stop --pidfile /var/run/usermin.pid --quiet |
70 |
- eend $? |
71 |
-} |
72 |
|
73 |
diff --git a/app-admin/usermin/files/usermin-1.080-safestop.patch b/app-admin/usermin/files/usermin-1.080-safestop.patch |
74 |
deleted file mode 100644 |
75 |
index 2cfd7e2..0000000 |
76 |
--- a/app-admin/usermin/files/usermin-1.080-safestop.patch |
77 |
+++ /dev/null |
78 |
@@ -1,12 +0,0 @@ |
79 |
-diff -Naur usermin-1.080.orig/setup.sh usermin-1.080/setup.sh |
80 |
---- usermin-1.080.orig/setup.sh 2004-06-03 16:18:07.000000000 -0700 |
81 |
-+++ usermin-1.080/setup.sh 2004-07-26 01:27:23.959104711 -0700 |
82 |
-@@ -487,7 +487,7 @@ |
83 |
- echo "#!/bin/sh" >>$config_dir/stop |
84 |
- echo "echo Stopping Usermin server in $wadir" >>$config_dir/stop |
85 |
- echo "pidfile=\`grep \"^pidfile=\" $config_dir/miniserv.conf | sed -e 's/pidfile=//g'\`" >>$config_dir/stop |
86 |
--echo "kill \`cat \$pidfile\`" >>$config_dir/stop |
87 |
-+echo "test -z \"\$pidfile\" || kill \`cat \$pidfile\`" >>$config_dir/stop |
88 |
- chmod 755 $config_dir/start $config_dir/stop |
89 |
- echo "..done" |
90 |
- echo "" |
91 |
|
92 |
diff --git a/app-admin/usermin/files/usermin-1.150-setup-nocheck.patch b/app-admin/usermin/files/usermin-1.150-setup-nocheck.patch |
93 |
deleted file mode 100644 |
94 |
index 6b4a06f..0000000 |
95 |
--- a/app-admin/usermin/files/usermin-1.150-setup-nocheck.patch |
96 |
+++ /dev/null |
97 |
@@ -1,22 +0,0 @@ |
98 |
-diff -Naurp usermin-1.150.orig/setup.sh usermin-1.150/setup.sh |
99 |
---- usermin-1.150.orig/setup.sh 2005-09-03 16:19:50.000000000 -0700 |
100 |
-+++ usermin-1.150/setup.sh 2005-09-03 16:21:01.000000000 -0700 |
101 |
-@@ -342,12 +342,12 @@ else |
102 |
- echo "" |
103 |
- exit 12 |
104 |
- fi |
105 |
-- $perl -e 'use Socket; socket(FOO, PF_INET, SOCK_STREAM, getprotobyname("tcp")); setsockopt(FOO, SOL_SOCKET, SO_REUSEADDR, pack("l", 1)); bind(FOO, pack_sockaddr_in($ARGV[0], INADDR_ANY)) || exit(1); exit(0);' $port |
106 |
-- if [ $? != "0" ]; then |
107 |
-- echo "ERROR: TCP port $port is already in use by another program" |
108 |
-- echo "" |
109 |
-- exit 13 |
110 |
-- fi |
111 |
-+ #$perl -e 'use Socket; socket(FOO, PF_INET, SOCK_STREAM, getprotobyname("tcp")); setsockopt(FOO, SOL_SOCKET, SO_REUSEADDR, pack("l", 1)); bind(FOO, pack_sockaddr_in($ARGV[0], INADDR_ANY)) || exit(1); exit(0);' $port |
112 |
-+ #if [ $? != "0" ]; then |
113 |
-+ # echo "ERROR: TCP port $port is already in use by another program" |
114 |
-+ # echo "" |
115 |
-+ # exit 13 |
116 |
-+ #fi |
117 |
- |
118 |
- # Ask the user if SSL should be used |
119 |
- if [ "$ssl" = "" ]; then |
120 |
|
121 |
diff --git a/app-admin/usermin/files/usermin-1.540-r1.init b/app-admin/usermin/files/usermin-1.540-r1.init |
122 |
deleted file mode 100644 |
123 |
index 9038976..0000000 |
124 |
--- a/app-admin/usermin/files/usermin-1.540-r1.init |
125 |
+++ /dev/null |
126 |
@@ -1,38 +0,0 @@ |
127 |
-#!/sbin/runscript |
128 |
-# Copyright 1999-2013 Gentoo Foundation |
129 |
-# Distributed under the terms of the GNU General Public License v2 |
130 |
-# $Id$ |
131 |
- |
132 |
-depend() { |
133 |
- use net logger |
134 |
-} |
135 |
- |
136 |
- |
137 |
-checkconfig() { |
138 |
- if [ -f /etc/usermin/config ]; then |
139 |
- return 0; |
140 |
- else |
141 |
- eerror "Error starting usermin. Have you run '/usr/libexec/usermin/setup.sh'?" |
142 |
- return 1; |
143 |
- fi |
144 |
-} |
145 |
- |
146 |
-start() { # copied from /etc/usermin/start |
147 |
- checkconfig || return 1 |
148 |
- ebegin "Starting Usermin" |
149 |
- |
150 |
- LANG= |
151 |
- export LANG |
152 |
- |
153 |
- unset PERLIO |
154 |
- export PERLIO |
155 |
- start-stop-daemon --start --quiet --user usermin \ |
156 |
- --exec /usr/libexec/usermin/miniserv.pl -- /etc/usermin/miniserv.conf |
157 |
- eend $? |
158 |
-} |
159 |
- |
160 |
-stop() { |
161 |
- ebegin "Stopping Usermin" |
162 |
- start-stop-daemon --stop --pidfile /var/run/usermin.pid --quiet |
163 |
- eend $? |
164 |
-} |
165 |
|
166 |
diff --git a/app-admin/usermin/files/usermin.pam-include.1 b/app-admin/usermin/files/usermin.pam-include.1 |
167 |
deleted file mode 100644 |
168 |
index 50d360c..0000000 |
169 |
--- a/app-admin/usermin/files/usermin.pam-include.1 |
170 |
+++ /dev/null |
171 |
@@ -1,11 +0,0 @@ |
172 |
-#%PAM-1.0 |
173 |
- |
174 |
-auth required pam_securetty.so |
175 |
-auth required pam_nologin.so |
176 |
-auth include system-auth |
177 |
- |
178 |
-account include system-auth |
179 |
- |
180 |
-password include system-auth |
181 |
- |
182 |
-session include system-auth |
183 |
|
184 |
diff --git a/app-admin/usermin/metadata.xml b/app-admin/usermin/metadata.xml |
185 |
deleted file mode 100644 |
186 |
index e392747..0000000 |
187 |
--- a/app-admin/usermin/metadata.xml |
188 |
+++ /dev/null |
189 |
@@ -1,11 +0,0 @@ |
190 |
-<?xml version="1.0" encoding="UTF-8"?> |
191 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
192 |
-<pkgmetadata> |
193 |
- <!-- maintainer-needed --> |
194 |
- <longdescription> |
195 |
- A web-based user administration interface. |
196 |
- </longdescription> |
197 |
- <upstream> |
198 |
- <remote-id type="sourceforge">webadmin</remote-id> |
199 |
- </upstream> |
200 |
-</pkgmetadata> |
201 |
|
202 |
diff --git a/app-admin/usermin/usermin-1.600.ebuild b/app-admin/usermin/usermin-1.600.ebuild |
203 |
deleted file mode 100644 |
204 |
index b9d9142..0000000 |
205 |
--- a/app-admin/usermin/usermin-1.600.ebuild |
206 |
+++ /dev/null |
207 |
@@ -1,89 +0,0 @@ |
208 |
-# Copyright 1999-2014 Gentoo Foundation |
209 |
-# Distributed under the terms of the GNU General Public License v2 |
210 |
-# $Id$ |
211 |
- |
212 |
-EAPI="5" |
213 |
- |
214 |
-inherit eutils pam user |
215 |
- |
216 |
-DESCRIPTION="A web-based user administration interface" |
217 |
-HOMEPAGE="http://www.webmin.com/index6.html" |
218 |
-SRC_URI="mirror://sourceforge/webadmin/${P}.tar.gz" |
219 |
- |
220 |
-LICENSE="BSD GPL-2" |
221 |
-SLOT="0" |
222 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
223 |
-IUSE="ipv6 ldap pam ssl syslog zlib" |
224 |
- |
225 |
-DEPEND="dev-lang/perl" |
226 |
- |
227 |
-RDEPEND="${DEPEND} |
228 |
- || ( virtual/perl-Digest-MD5 dev-perl/MD5 ) |
229 |
- dev-perl/Digest-SHA1 |
230 |
- dev-perl/Net-HTTP |
231 |
- sys-process/lsof |
232 |
- virtual/perl-Time-HiRes |
233 |
- virtual/perl-Time-Local |
234 |
- ipv6? ( dev-perl/Socket6 ) |
235 |
- ldap? ( dev-perl/perl-ldap ) |
236 |
- pam? ( dev-perl/Authen-PAM ) |
237 |
- ssl? ( dev-perl/Net-SSLeay ) |
238 |
- syslog? ( virtual/perl-Sys-Syslog ) |
239 |
- zlib? ( virtual/perl-Compress-Raw-Zlib )" |
240 |
- |
241 |
-pkg_setup() { |
242 |
- enewuser ${PN} -1 /bin/bash |
243 |
-} |
244 |
- |
245 |
-src_prepare() { |
246 |
- # Point to the correct mysql location |
247 |
- sed -i -e "s:/usr/local/mysql:/usr:g" mysql/config |
248 |
- |
249 |
- # Change /usr/local/bin/perl references |
250 |
- find . -type f | xargs sed -i -e 's:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:' |
251 |
- |
252 |
- epatch "${FILESDIR}"/${PN}-1.080-safestop.patch |
253 |
- epatch "${FILESDIR}"/${PN}-1.150-setup-nocheck.patch |
254 |
-} |
255 |
- |
256 |
-src_install() { |
257 |
- dodir /usr/libexec/${PN} |
258 |
- cp -pR * "${D}"/usr/libexec/${PN} |
259 |
- |
260 |
- newinitd "${FILESDIR}"/${PN}-1.540-r1.init ${PN} |
261 |
- newpamd "${FILESDIR}"/${PN}.pam-include.1 ${PN} |
262 |
- |
263 |
- dodir /etc/${PN} |
264 |
- dodir /var/log/${PN} |
265 |
- |
266 |
- # Fix ownership |
267 |
- chown -R ${PN} "${ED}" |
268 |
- |
269 |
- config_dir=${D}/etc/${PN} |
270 |
- var_dir=${D}/var/log/${PN} |
271 |
- perl=/usr/bin/perl |
272 |
- autoos=1 |
273 |
- port=20000 |
274 |
- login=root |
275 |
- crypt="XXX" |
276 |
- host=`hostname` |
277 |
- use ssl && ssl=1 || ssl=0 |
278 |
- atboot=0 |
279 |
- nostart=1 |
280 |
- nochown=1 |
281 |
- autothird=1 |
282 |
- nouninstall=1 |
283 |
- noperlpath=1 |
284 |
- tempdir="${T}" |
285 |
- export config_dir var_dir perl autoos port login crypt host ssl atboot nostart nochown autothird nouninstall noperlpath tempdir |
286 |
- "${D}"/usr/libexec/${PN}/setup.sh > "${T}"/${PN}-setup.out 2>&1 || die "Failed to create initial ${PN} configuration." |
287 |
- |
288 |
- # Cleanup from the config script |
289 |
- rm -rf "${D}"/var/log/${PN} |
290 |
- keepdir /var/log/${PN} |
291 |
-} |
292 |
- |
293 |
-pkg_postinst() { |
294 |
- elog "To make ${PN} start at boot time, run: 'rc-update add ${PN} default'." |
295 |
- elog "Point your web browser to https://localhost:20000 to use ${PN}." |
296 |
-} |