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