1 |
patrick 09/04/23 16:57:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: usermin-1.400.ebuild |
5 |
Log: |
6 |
Bump to 1.400. Fixes second half of #264086 |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.148 app-admin/usermin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/usermin/ChangeLog?rev=1.148&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/usermin/ChangeLog?rev=1.148&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/usermin/ChangeLog?r1=1.147&r2=1.148 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v |
19 |
retrieving revision 1.147 |
20 |
retrieving revision 1.148 |
21 |
diff -u -r1.147 -r1.148 |
22 |
--- ChangeLog 15 Apr 2008 01:37:59 -0000 1.147 |
23 |
+++ ChangeLog 23 Apr 2009 16:57:34 -0000 1.148 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-admin/usermin |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.147 2008/04/15 01:37:59 beandog Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/ChangeLog,v 1.148 2009/04/23 16:57:34 patrick Exp $ |
30 |
+ |
31 |
+*usermin-1.400 (23 Apr 2009) |
32 |
+ |
33 |
+ 23 Apr 2009; Patrick Lauer <patrick@g.o> +usermin-1.400.ebuild: |
34 |
+ Bump to 1.400. Fixes second half of #264086 |
35 |
|
36 |
15 Apr 2008; Steve Dibb <beandog@g.o> usermin-1.330.ebuild: |
37 |
Drop stable keywords, bug 217582 |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-admin/usermin/usermin-1.400.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/usermin/usermin-1.400.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/usermin/usermin-1.400.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: usermin-1.400.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/usermin/usermin-1.400.ebuild,v 1.1 2009/04/23 16:57:34 patrick Exp $ |
51 |
|
52 |
IUSE="ssl" |
53 |
|
54 |
inherit eutils pam |
55 |
|
56 |
DESCRIPTION="a web-based user administration interface" |
57 |
HOMEPAGE="http://www.webmin.com/index6.html" |
58 |
SRC_URI="mirror://sourceforge/webadmin/${P}.tar.gz" |
59 |
|
60 |
LICENSE="BSD" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
63 |
|
64 |
DEPEND="dev-lang/perl" |
65 |
|
66 |
RDEPEND="${DEPEND} |
67 |
sys-process/lsof |
68 |
ssl? ( dev-perl/Net-SSLeay )" |
69 |
|
70 |
# pam? ( dev-perl/Authen-PAM ) |
71 |
|
72 |
src_unpack() { |
73 |
unpack ${A} |
74 |
|
75 |
cd "${S}" |
76 |
|
77 |
# Point to the correct mysql location |
78 |
sed -i -e "s:/usr/local/mysql:/usr:g" mysql/config |
79 |
|
80 |
epatch "${FILESDIR}"/${PN}-1.080-safestop.patch |
81 |
epatch "${FILESDIR}"/${PN}-1.150-setup-nocheck.patch |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
# Change /usr/local/bin/perl references |
86 |
find . -type f | xargs sed -i -e 's:^#!.*/usr/local/bin/perl:#!/usr/bin/perl:' |
87 |
|
88 |
dodir /usr/libexec/usermin |
89 |
cp -pR * "${D}"/usr/libexec/usermin |
90 |
|
91 |
newinitd "${FILESDIR}"/init.d.usermin usermin |
92 |
|
93 |
newpamd "${FILESDIR}"/${PN}.pam-include.1 ${PN} |
94 |
|
95 |
# Fix ownership |
96 |
chown -R root:0 "${D}" |
97 |
|
98 |
dodir /etc/usermin |
99 |
dodir /var/log/usermin |
100 |
|
101 |
config_dir=${D}/etc/usermin |
102 |
var_dir=${D}/var/log/usermin |
103 |
perl=/usr/bin/perl |
104 |
autoos=1 |
105 |
port=20000 |
106 |
login=root |
107 |
crypt="XXX" |
108 |
host=`hostname` |
109 |
use ssl && ssl=1 || ssl=0 |
110 |
atboot=0 |
111 |
nostart=1 |
112 |
nochown=1 |
113 |
autothird=1 |
114 |
nouninstall=1 |
115 |
noperlpath=1 |
116 |
tempdir="${T}" |
117 |
export config_dir var_dir perl autoos port login crypt host ssl atboot nostart nochown autothird nouninstall noperlpath tempdir |
118 |
"${D}"/usr/libexec/usermin/setup.sh > "${T}"/usermin-setup.out 2>&1 || die "Failed to create initial usermin configuration." |
119 |
|
120 |
# Fixup the config files to use their real locations |
121 |
sed -i -e "s:^pidfile=.*$:pidfile=/var/run/usermin.pid:" "${D}"/etc/usermin/miniserv.conf |
122 |
find "${D}"/etc/usermin -type f | xargs sed -i -e "s:${D}:/:g" |
123 |
|
124 |
# Cleanup from the config script |
125 |
rm -rf "${D}"/var/log/usermin |
126 |
keepdir /var/log/usermin/ |
127 |
} |
128 |
|
129 |
pkg_postinst() { |
130 |
elog "To make usermin start at boot time, run: 'rc-update add usermin default'." |
131 |
elog "Point your web browser to https://localhost:20000 to use usermin." |
132 |
} |