source: projects/specs/branches/6/w/webmin/webmin-vl.spec @ 521

Revision 521, 48.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define __spec_install_post %{nil}
2
3# Provide perl-specific find-{provides,requires}.
4#%define __find_provides %{_libdir}/rpm/find-provides.perl
5#%define __find_requires %{_libdir}/rpm/find-requires.perl
6
7Summary: A web-based administration interface for Unix systems.
8Summary(ja): Web ベースのシステム管理ツール
9Name: webmin
10Version: 1.470
11Release: 1%{?_dist_release}
12License: Freeware
13Group: Applications/Administration
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15AutoReq: false
16BuildArch: noarch
17Provides: %{name}-%{version}
18Requires: perl
19PreReq: sed chkconfig findutils fileutils initscripts grep perl-Net_SSLeay
20
21Source0: http://www.webmin.com/download/%{name}-%{version}.tar.gz
22Patch0: webmin-1.470-vine.patch
23# additional modules
24Source10: http://www.niemueller.de/webmin/modules/ipchains/ipchains-0.83.1.wbm.gz
25Source11: http://www.niemueller.de/webmin/modules/iptables/iptables-0.91.1.wbm.gz
26Source12: http://prdownloads.sourceforge.net/netatalk/netatalk.wbm.gz
27Patch7: netatalk-vine.diff
28Patch10: ipchains-Japanese.patch.bz2
29
30%description
31A web-based administration interface for Unix systems. Using Webmin you can
32configure DNS, Samba, NFS, local/remote filesystems and more using your
33web browser.
34
35After installation, enter the URL https://localhost:10000/ into your
36browser and login as root with your root password.
37
38NOTE THAT THIS VERSION NOW USES SECURE WEB TRANSACTIONS: YOU HAVE TO
39LOGIN TO "https://localhost:10000/" AND NOT "http://localhost:10000/".
40
41%description -l ja
42Web ベースのシステム管理ツール。Webmin を用いると、DNS, Samba, NFS,
43ローカルまたはリモートのファイルシステム, Apache, Postfix などの設
44定を Web ブラウザにて行うことができます。
45
46インストール後、ブラウザから https://localhost:10000/ にアクセスし、
47root のパスワードを入力して root として入ってください。安全のため、
48パスワードは定期的に変更するようにしましょう。
49
50この rpm パッケージの場合、セキュリティ強化の為に、デフォルトでは
51127.0.0.1 (localhost) からのみ接続できるように制限してあります。
52また、perl-Net_SSLeay パッケージを用いて、デフォルトで SSL による
53暗号化を行うように設定しています。
54
55%prep
56%setup -q -a 10 -a 11 -a 12
57%patch0 -p1 -b .vine
58%patch7 -p1
59cd ipchains
60%patch10 -p1
61
62%build
63(find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl -
64rm -f mount/freebsd-mounts*
65rm -f mount/openbsd-mounts*
66rm -f mount/macos-mounts*
67rm -f webmin-gentoo-init
68chmod -R og-w .
69
70%install
71[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
72
73mkdir -p %{buildroot}/usr/libexec/webmin
74mkdir -p %{buildroot}/etc/sysconfig/daemons
75mkdir -p %{buildroot}/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc5.d,rc6.d}
76mkdir -p %{buildroot}/etc/pam.d
77cp -rp * %{buildroot}/usr/libexec/webmin
78cp webmin-daemon %{buildroot}/etc/sysconfig/daemons/webmin
79cp webmin-init %{buildroot}/etc/rc.d/init.d/webmin
80cp webmin-pam %{buildroot}/etc/pam.d/webmin
81echo rpm >%{buildroot}/usr/libexec/webmin/install-type
82
83%clean
84#%{rmDESTDIR}
85[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
86
87%files
88%defattr(-,root,root)
89/usr/libexec/webmin
90/etc/sysconfig/daemons/webmin
91/etc/rc.d/init.d/webmin
92%config /etc/pam.d/webmin
93
94%pre
95grep -i openlinux /etc/.issue >/dev/null 2>&1
96if [ -r /etc/webmin/config -a -r /var/log/webmin -a "$1" = 0 ]; then
97        oldrpm=`rpm -q webmin 2>/dev/null`
98        if [ "$oldrpm" != "" ]; then
99                echo "The Caldera version of Webmin is currently installed on"
100                echo "your system. You must remove it with the command"
101                echo "   rpm -e webmin"
102                echo "before installing this Webmin RPM."
103                exit 1
104        fi
105fi
106perl <<EOD;
107# maketemp.pl
108# Create the /tmp/.webmin directory if needed
109
110\$tmp_dir = "/tmp/.webmin";
111
112if (!-d \$tmp_dir) {
113        mkdir(\$tmp_dir, 0755) || exit 1;
114        }
115chown(\$<, \$(, \$tmp_dir);
116chmod(0755, \$tmp_dir);
117@st = lstat(\$tmp_dir);
118if (@st && \$st[4] == \$< && (-d _) &&
119    (\$st[2] & 0777) == 0755) {
120        exit 0;
121        }
122else {
123        exit 1;
124        }
125
126
127EOD
128if [ "$?" != "0" ]; then
129        echo "Failed to create or check temp files directory /tmp/.webmin"
130        exit 1
131fi
132perl >/tmp/.webmin/$$.check <<EOD;
133if (-r "/etc/.issue") {
134        \$etc_issue = \`cat /etc/.issue\`;
135        }
136elsif (-r "/etc/issue") {
137        \$etc_issue = \`cat /etc/issue\`;
138        }
139
140\$uname = \`uname -a\`;
141
142if (\$etc_issue =~ /Vine\\sLinux\\s2\\.1/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+2\\.1/i) {
143        print "oscheck='Vine Linux 2.1'\\n";
144        }
145if (\$etc_issue =~ /Vine\\sLinux\\s2\\.1\\.5/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+2\\.1\\.5/i) {
146        print "oscheck='Vine Linux 2.1.5'\\n";
147        }
148if (\$etc_issue =~ /Vine\\sLinux\\s2\\.5/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+2\\.5\\s+/i) {
149        print "oscheck='Vine Linux 2.5'\\n";
150        }
151if (\$etc_issue =~ /Vine\\sLinux\\s2\\.6/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+2\\.6\\s+/i) {
152        print "oscheck='Vine Linux 2.6'\\n";
153        }
154if (\$etc_issue =~ /Vine\\sLinux\\s3\\.0/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+3\\.0\\s+/i) {
155        print "oscheck='Vine Linux 3.0'\\n";
156        }
157if (\$etc_issue =~ /Vine\\sLinux\\s3\\.1/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+3\\.1\\s+/i) {
158        print "oscheck='Vine Linux 3.1'\\n";
159        }
160if (\$etc_issue =~ /Vine\\sLinux\\s3\\.2/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+3\\.2\\s+/i) {
161        print "oscheck='Vine Linux 3.2'\\n";
162        }
163if (\$etc_issue =~ /Vine\\sLinux\\s4\\.0/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+4\\.0\\s+/i) {
164        print "oscheck='Vine Linux 4.0'\\n";
165        }
166if (\$etc_issue =~ /Vine\\sLinux\\s4\\.1/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+4\\.1\\s+/i) {
167        print "oscheck='Vine Linux 4.1'\\n";
168        }
169if (\$etc_issue =~ /Vine\\sLinux\\s4\\.2/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+4\\.2\\s+/i) {
170        print "oscheck='Vine Linux 4.2'\\n";
171        }
172if (\$etc_issue =~ /Vine\\sLinux\\s5\\.0/i || \`cat /etc/vine-release 2>&1\` =~ /Vine\\s+Linux\\s+5\\.0\\s+/i) {
173        print "oscheck='Vine Linux 5.0'\\n";
174        }
175if (\$uname =~ /SunOS.*\\s5\\.5\\.1\\s/i) {
176        print "oscheck='Sun Solaris 2.5.1'\\n";
177        }
178if (\$uname =~ /SunOS.*\\s5\\.6\\s/i) {
179        print "oscheck='Sun Solaris 2.6'\\n";
180        }
181if (\$uname =~ /SunOS.*\\s5\\.7\\s/i) {
182        print "oscheck='Sun Solaris 7'\\n";
183        }
184if (\$uname =~ /SunOS.*\\s5\\.8\\s/i) {
185        print "oscheck='Sun Solaris 8'\\n";
186        }
187if (\$uname =~ /SunOS.*\\s5\\.9\\s/i) {
188        print "oscheck='Sun Solaris 9'\\n";
189        }
190if (\$uname =~ /SunOS.*\\s5\\.10\\s/i) {
191        print "oscheck='Sun Solaris 10'\\n";
192        }
193if (\$etc_issue =~ /OpenLinux.*eServer.*\\n.*\\s2\\.3\\s/i) {
194        print "oscheck='Caldera OpenLinux eServer 2.3'\\n";
195        }
196if (\$etc_issue =~ /OpenLinux.*\\n.*\\s2\\.3\\s/i) {
197        print "oscheck='Caldera OpenLinux 2.3'\\n";
198        }
199if (\$etc_issue =~ /OpenLinux.*\\n.*\\s2\\.4\\s/i) {
200        print "oscheck='Caldera OpenLinux 2.4'\\n";
201        }
202if (\$etc_issue =~ /OpenLinux.*\\n.*\\s2\\.5\\s/i || \$etc_issue =~ /Caldera.*2000/i) {
203        print "oscheck='Caldera OpenLinux 2.5'\\n";
204        }
205if (\$etc_issue =~ /OpenLinux.*3\\.1/i) {
206        print "oscheck='Caldera OpenLinux 3.1'\\n";
207        }
208if (\$etc_issue =~ /red\\s*hat.*\\s5\\.0/i) {
209        print "oscheck='Redhat Linux 5.0'\\n";
210        }
211if (\$etc_issue =~ /red\\s*hat.*\\s5\\.1/i) {
212        print "oscheck='Redhat Linux 5.1'\\n";
213        }
214if (\$etc_issue =~ /red\\s*hat.*\\s5\\.2/i) {
215        print "oscheck='Redhat Linux 5.2'\\n";
216        }
217if (\$etc_issue =~ /red\\s*hat.*\\s6\\.0/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /6\\.0/) {
218        print "oscheck='Redhat Linux 6.0'\\n";
219        }
220if (\$etc_issue =~ /red\\s*hat.*\\s6\\.1/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /6\\.1/) {
221        print "oscheck='Redhat Linux 6.1'\\n";
222        }
223if (\$etc_issue =~ /red\\s*hat.*\\s6\\.2/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /6\\.2/) {
224        print "oscheck='Redhat Linux 6.2'\\n";
225        }
226if (\$etc_issue =~ /red\\s*hat.*\\s7\\.0/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /7\\.0/) {
227        print "oscheck='Redhat Linux 7.0'\\n";
228        }
229if (\$etc_issue =~ /red\\s*hat.*\\s7\\.1/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /7\\.1/) {
230        print "oscheck='Redhat Linux 7.1'\\n";
231        }
232if (\$etc_issue =~ /red\\s*hat.*\\s7\\.2/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /7\\.2/) {
233        print "oscheck='Redhat Linux 7.2'\\n";
234        }
235if (\$etc_issue =~ /red\\s*hat.*\\s7\\.3\\s/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /7\\.3\\s/ || \$etc_issue =~ /VMware\\s+ESX\\s+Server\\s+2\\.0/i) {
236        print "oscheck='Redhat Linux 7.3'\\n";
237        }
238if (\$etc_issue =~ /red\\s*hat.*\\s8\\.0\\s/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /\\s8\\.0\\s/) {
239        print "oscheck='Redhat Linux 8.0'\\n";
240        }
241if (\$etc_issue =~ /red\\s*hat.*\\s9(\\.0)?\\s/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /red\\s*hat.*\\s9(\\.0)?\\s/i) {
242        print "oscheck='Redhat Linux 9.0'\\n";
243        }
244if ( \$etc_issue =~ /red\\s*hat.*\\s10(\\.0)?\\s/i || \`cat /etc/redhat-release /etc/fedora-release 2>/dev/null\` =~ /red\\s*hat.*\\s10(\\.0)?\\s/i || \`cat /etc/redhat-release /etc/fedora-release 2>/dev/null\` =~ /Fedora.*\\s1\\s/i) {
245        print "oscheck='Redhat Linux Fedora 1'\\n";
246        }
247if ( \`cat /etc/redhat-release /etc/fedora-release 2>/dev/null\` =~ /Fedora.*(\\s2\\s)|(FC2)/i || \`cat /etc/redhat-release /etc/fedora-release 2>/dev/null\` =~ /X\\/OS.*release\\s2\\.0\\s/i || \`cat /etc/alphacore-release 2>/dev/null\` =~ /Alpha\\s*Core\\s+release\\s+0\\.9\\s/i) {
248        print "oscheck='Redhat Linux Fedora 2'\\n";
249        }
250if ( \`cat /etc/redhat-release /etc/fedora-release 2>/dev/null\` =~ /Fedora.*(\\s3\\s)|(FC3)/i || \`cat /etc/redhat-release /etc/fedora-release 2>/dev/null\` =~ /X\\/OS.*release\\s3\\.0\\s/i) {
251        print "oscheck='Redhat Linux Fedora 3'\\n";
252        }
253if (\`cat /etc/redhat-release 2>/dev/null\` =~ /(Advanced\\s+Server.*2\\.1)|(AS.*2\\.1)/i) {
254        print "oscheck='Redhat Linux 2.1AS'\\n";
255        }
256if (\`cat /etc/redhat-release 2>/dev/null\` =~ /ES.*2\\.1/) {
257        print "oscheck='Redhat Linux 2.1ES'\\n";
258        }
259if (\`cat /etc/redhat-release 2>/dev/null\` =~ /WS.*2\\.1/) {
260        print "oscheck='Redhat Linux 2.1WS'\\n";
261        }
262if (\`cat /etc/redhat-release 2>/dev/null\` =~ /(3\\.0AS)|(2\\.9\\.5AS)|(AS\\s+release\\s+3)/i) {
263        print "oscheck='Redhat Linux 3.0AS'\\n";
264        }
265if (\`cat /etc/redhat-release 2>/dev/null\` =~ /ES\\s+release\\s+3/ || \`cat /etc/whitebox-release 2>/dev/null\` =~ /White\\s+Box\\s+Enterprise\\s+Linux\\s+release\\s+3/i || \`cat /etc/redhat-release 2>/dev/null\` =~ /Tao\\s+Linux\\s+release\\s+1/ || \`cat /etc/redhat-release 2>/dev/null\` =~ /CentOS\\s+release\\s+3/ || \`cat /etc/redhat-release 2>/dev/null\` =~ /Scientific\\s+Linux.*\\s+release\\s+3/i) {
266        print "oscheck='Redhat Linux 3.0ES'\\n";
267        }
268if (\`cat /etc/redhat-release 2>/dev/null\` =~ /WS\\s+release\\s+3/) {
269        print "oscheck='Redhat Linux 3.0WS'\\n";
270        }
271if (\`cat /etc/redhat-release 2>/dev/null\` =~ /Desktop\\s+release\\s+3/i) {
272        print "oscheck='Redhat Linux Desktop 3'\\n";
273        }
274if (\`cat /etc/slackware-version 2>/dev/null\` =~ /7\\.0/) {
275        print "oscheck='Slackware Linux 7.0'\\n";
276        }
277if (\`cat /etc/slackware-version 2>/dev/null\` =~ /7\\.1/) {
278        print "oscheck='Slackware Linux 7.1'\\n";
279        }
280if (\`cat /etc/slackware-version 2>/dev/null\` =~ /8\\.0/) {
281        print "oscheck='Slackware Linux 8.0'\\n";
282        }
283if (\`cat /etc/slackware-version 2>/dev/null\` =~ /8\\.1/) {
284        print "oscheck='Slackware Linux 8.1'\\n";
285        }
286if (\`cat /etc/slackware-version 2>/dev/null\` =~ /9\\.0/) {
287        print "oscheck='Slackware Linux 9.0'\\n";
288        }
289if (\`cat /etc/slackware-version 2>/dev/null\` =~ /9\\.1/) {
290        print "oscheck='Slackware Linux 9.1'\\n";
291        }
292if (\`cat /etc/slackware-version 2>/dev/null\` =~ /10\\.0/) {
293        print "oscheck='Slackware Linux 10.0'\\n";
294        }
295if (\`cat /etc/slackware-version 2>/dev/null\` =~ /10\\.1/) {
296        print "oscheck='Slackware Linux 10.1'\\n";
297        }
298if (\$etc_issue =~ /Debian.*\\s2\\.0\\s/i) {
299        print "oscheck='Debian Linux 2.0'\\n";
300        }
301if (\$etc_issue =~ /Debian.*\\s2\\.1\\s/i) {
302        print "oscheck='Debian Linux 2.1'\\n";
303        }
304if (\$etc_issue =~ /Debian.*\\s2\\.2\\s/i) {
305        print "oscheck='Debian Linux 2.2'\\n";
306        }
307if (\$etc_issue =~ /Debian.*\\s3\\.0\\s/i) {
308        print "oscheck='Debian Linux 3.0'\\n";
309        }
310if (\$etc_issue =~ /Debian.*\\s3\\.1\\s/i) {
311        print "oscheck='Debian Linux 3.1'\\n";
312        }
313if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /6\\.0/ || \$etc_issue =~ /SuSE\\s+Linux\\s+6\\.0\\s/i) {
314        print "oscheck='SuSE Linux 6.0'\\n";
315        }
316if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /6\\.1/ || \$etc_issue =~ /SuSE\\s+Linux\\s+6\\.1\\s/i) {
317        print "oscheck='SuSE Linux 6.1'\\n";
318        }
319if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /6\\.2/ || \$etc_issue =~ /SuSE\\s+Linux\\s+6\\.2\\s/i) {
320        print "oscheck='SuSE Linux 6.2'\\n";
321        }
322if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /6\\.3/ || \$etc_issue =~ /SuSE\\s+Linux\\s+6\\.3\\s/i) {
323        print "oscheck='SuSE Linux 6.3'\\n";
324        }
325if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /6\\.4/ || \$etc_issue =~ /SuSE\\s+Linux\\s+6\\.4\\s/i) {
326        print "oscheck='SuSE Linux 6.4'\\n";
327        }
328if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /7\\.0/ || \$etc_issue =~ /SuSE\\s+Linux\\s+7\\.0\\s/i || \$etc_issue =~ /SuSE\\s+eMail\\s+Server/i || \$etc_issue =~ /SuSE\\s+SLES-7/i) {
329        print "oscheck='SuSE Linux 7.0'\\n";
330        }
331if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /7\\.1/ || \$etc_issue =~ /SuSE\\s+Linux\\s+7\\.1\\s/i) {
332        print "oscheck='SuSE Linux 7.1'\\n";
333        }
334if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /7\\.2/ || \$etc_issue =~ /SuSE\\s+Linux\\s+7\\.2\\s/i) {
335        print "oscheck='SuSE Linux 7.2'\\n";
336        }
337if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /7\\.3/ || \$etc_issue =~ /SuSE\\s+Linux\\s+7\\.3\\s/i) {
338        print "oscheck='SuSE Linux 7.3'\\n";
339        }
340if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /8\\.0/ || \$etc_issue =~ /SuSE\\s+Linux\\s+8\\.0\\s/i) {
341        print "oscheck='SuSE Linux 8.0'\\n";
342        }
343if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /8\\.1/ || \$etc_issue =~ /SuSE\\s+Linux\\s+8\\.1\\s/i) {
344        print "oscheck='SuSE Linux 8.1'\\n";
345        }
346if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /8\\.2/ || \$etc_issue =~ /SuSE\\s+Linux\\s+8\\.2\\s/i) {
347        print "oscheck='SuSE Linux 8.2'\\n";
348        }
349if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /(9\\.0|\\s9\\s)/ || \$etc_issue =~ /SuSE\\s+Linux((\\s9\\.0\\s)|(\\s9\\s))/i || \$etc_issue =~ /SuSE\\s+SLES-9/i) {
350        print "oscheck='SuSE Linux 9.0'\\n";
351        }
352if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /9\\.1/ || \$etc_issue =~ /SuSE\\s+Linux\\s+9\\.1\\s/i) {
353        print "oscheck='SuSE Linux 9.1'\\n";
354        }
355if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /9\\.2/ || \$etc_issue =~ /SuSE\\s+Linux\\s+9\\.2\\s/i) {
356        print "oscheck='SuSE Linux 9.2'\\n";
357        }
358if ( \`cat /etc/SLOX-release 2>/dev/null\` =~ /VERSION\\s+=\\s+4\\.0/i) {
359        print "oscheck='SuSE Linux OpenExchange 4.0'\\n";
360        }
361if (\`cat /etc/UnitedLinux-release 2>/dev/null\` =~ /1\\.0/) {
362        print "oscheck='United Linux 1.0'\\n";
363        }
364if (\$etc_issue =~ /Corel\\s+LINUX\\s+1\\.0/i) {
365        print "oscheck='Corel Linux 1.0'\\n";
366        }
367if (\$etc_issue =~ /Corel\\s+LINUX\\s+1\\.1/i) {
368        print "oscheck='Corel Linux 1.1'\\n";
369        }
370if (\$etc_issue =~ /Corel\\s+LINUX\\s+1\\.2/i) {
371        print "oscheck='Corel Linux 1.2'\\n";
372        }
373if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+4\\.0\\s+/i) {
374        print "oscheck='TurboLinux 4.0'\\n";
375        }
376if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+6\\.0\\s+/i || \`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+6\\s+advanced/i) {
377        print "oscheck='TurboLinux 6.0'\\n";
378        }
379if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+6\\.1\\s+/i) {
380        print "oscheck='TurboLinux 6.1'\\n";
381        }
382if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+6\\.5\\s+/i) {
383        print "oscheck='TurboLinux 6.5'\\n";
384        }
385if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /7\\.0/i) {
386        print "oscheck='TurboLinux 7.0'\\n";
387        }
388if (\$etc_issue =~ /Cobalt\\s+Linux\\s+release\\s+2.2/i || \`cat /etc/cobalt-release 2>/dev/null\` =~ /2\\.2/) {
389        print "oscheck='Cobalt Linux 2.2'\\n";
390        }
391if (\$etc_issue =~ /Cobalt\\s+Linux\\s+release\\s+4.0/i || \`cat /etc/cobalt-release 2>/dev/null\` =~ /4\\.0/) {
392        print "oscheck='Cobalt Linux 4.0'\\n";
393        }
394if (\$etc_issue =~ /Cobalt\\s+Linux\\s+release\\s+5.0/i || \`cat /etc/cobalt-release 2>/dev/null\` =~ /5\\.0/) {
395        print "oscheck='Cobalt Linux 5.0'\\n";
396        }
397if (\$etc_issue =~ /Cobalt\\s+Linux\\s+release\\s+6.0/i || \`cat /etc/cobalt-release 2>/dev/null\` =~ /6\\.0/) {
398        print "oscheck='Cobalt Linux 6.0'\\n";
399        }
400if (\`uname -r\` =~ /2.2.16/ && -r "/etc/cobalt-release") {
401        print "oscheck='Cobalt Linux 6.4'\\n";
402        }
403if (\`cat /etc/cobalt-release 2>/dev/null\` =~ /7\\.0/) {
404        print "oscheck='Cobalt Linux 7.0'\\n";
405        }
406if (\$etc_issue =~ /Mandrake\\s+release\\s+5\\.3/i) {
407        print "oscheck='Mandrake Linux 5.3'\\n";
408        }
409if (\$etc_issue =~ /Mandrake\\s+release\\s+6\\.0/i) {
410        print "oscheck='Mandrake Linux 6.0'\\n";
411        }
412if (\$etc_issue =~ /Mandrake\\s+release\\s+6\\.1/i) {
413        print "oscheck='Mandrake Linux 6.1'\\n";
414        }
415if (\$etc_issue =~ /Mandrake\\s+release\\s+7\\.0/i) {
416        print "oscheck='Mandrake Linux 7.0'\\n";
417        }
418if (\$etc_issue =~ /Mandrake\\s+release\\s+7\\.1/i) {
419        print "oscheck='Mandrake Linux 7.1'\\n";
420        }
421if (\$etc_issue =~ /Mandrake\\s+release\\s+7\\.2/i) {
422        print "oscheck='Mandrake Linux 7.2'\\n";
423        }
424if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /8\\.0/ || \$etc_issue =~ /Mandrake\\s+release\\s+8\\.0/i) {
425        print "oscheck='Mandrake Linux 8.0'\\n";
426        }
427if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /8\\.1/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+8\\.1/i) {
428        print "oscheck='Mandrake Linux 8.1'\\n";
429        }
430if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /8\\.2/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+8\\.2/i) {
431        print "oscheck='Mandrake Linux 8.2'\\n";
432        }
433if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /9\\.0/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+9\\.0/i) {
434        print "oscheck='Mandrake Linux 9.0'\\n";
435        }
436if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /9\\.1/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+9\\.1/i) {
437        print "oscheck='Mandrake Linux 9.1'\\n";
438        }
439if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /9\\.2/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+9\\.2/i) {
440        print "oscheck='Mandrake Linux 9.2'\\n";
441        }
442if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /10\\.0/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+10\\.0/i) {
443        print "oscheck='Mandrake Linux 10.0'\\n";
444        }
445if (\`cat /etc/mandrake-release 2>/dev/null\` =~ /10\\.1/ || \$etc_issue =~ /Mandrake\\s+Linux\\s+release\\s+10\\.1/i) {
446        print "oscheck='Mandrake Linux 10.1'\\n";
447        }
448if (\$etc_issue =~ /Mandrake\\s+Corporate\\s+Server\\s+release\\s+1\\.0/i) {
449        print "oscheck='Mandrake Linux Corporate Server 1.0'\\n";
450        }
451if (\$etc_issue =~ /Conectiva.*Linux.*3\\.0/i) {
452        print "oscheck='Conectiva Linux 3.0'\\n";
453        }
454if (\$etc_issue =~ /Conectiva.*Linux.*4\\.0/i) {
455        print "oscheck='Conectiva Linux 4.0'\\n";
456        }
457if (\$etc_issue =~ /Conectiva.*Linux.*4\\.1/i) {
458        print "oscheck='Conectiva Linux 4.1'\\n";
459        }
460if (\$etc_issue =~ /Conectiva.*Linux.*4\\.2/i) {
461        print "oscheck='Conectiva Linux 4.2'\\n";
462        }
463if (\$etc_issue =~ /Conectiva.*Linux.*5\\.0/i) {
464        print "oscheck='Conectiva Linux 5.0'\\n";
465        }
466if (\$etc_issue =~ /Conectiva.*Linux.*5\\.1/i) {
467        print "oscheck='Conectiva Linux 5.1'\\n";
468        }
469if (\$etc_issue =~ /Conectiva.*Linux.*6\\.0/i) {
470        print "oscheck='Conectiva Linux 6.0'\\n";
471        }
472if (\$etc_issue =~ /Conectiva.*Linux.*7\\.0/i) {
473        print "oscheck='Conectiva Linux 7.0'\\n";
474        }
475if (\$etc_issue =~ /Conectiva.*Linux.*\\s8/i) {
476        print "oscheck='Conectiva Linux 8'\\n";
477        }
478if (\$etc_issue =~ /Conectiva.*Linux.*\\s9/i) {
479        print "oscheck='Conectiva Linux 9'\\n";
480        }
481if (\$etc_issue =~ /Conectiva.*Linux.*\\s10\\s/i) {
482        print "oscheck='Conectiva Linux 10'\\n";
483        }
484if (\$etc_issue =~ /Thiz.*Linux.*\\s5\\.0/i) {
485        print "oscheck='ThizLinux Desktop 5.0'\\n";
486        }
487if (\$etc_issue =~ /Thiz.*Linux.*\\s6\\.0/i) {
488        print "oscheck='ThizLinux Desktop 6.0'\\n";
489        }
490if (\$etc_issue =~ /Thiz.*Linux.*\\s6\\.2/i) {
491        print "oscheck='ThizLinux Desktop 6.2'\\n";
492        }
493if (\$etc_issue =~ /Thiz.*Linux.*\\s7\\.0/i) {
494        print "oscheck='ThizLinux Desktop 7.0'\\n";
495        }
496if (\$etc_issue =~ /Thiz.*\\s?Server.*\\s4\\.3/i) {
497        print "oscheck='ThizServer 4.3'\\n";
498        }
499if (\$etc_issue =~ /Thiz.*\\s?Server.*\\s6\\.0/i) {
500        print "oscheck='ThizServer 6.0'\\n";
501        }
502if (\$etc_issue =~ /Thiz.*\\s?Server.*\\s7\\.0/i) {
503        print "oscheck='ThizServer 7.0'\\n";
504        }
505if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*January/i || \$etc_issue =~ /2001.*January/i) {
506        print "oscheck='MSC Linux January 2001'\\n";
507        }
508if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*February/i || \$etc_issue =~ /2001.*February/i) {
509        print "oscheck='MSC Linux February 2001'\\n";
510        }
511if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*May/i || \$etc_issue =~ /2001.*May/i) {
512        print "oscheck='MSC Linux May 2001'\\n";
513        }
514if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*June/i || \$etc_issue =~ /2001.*June/i) {
515        print "oscheck='MSC Linux June 2001'\\n";
516        }
517if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*August/i || \$etc_issue =~ /2001.*August/i) {
518        print "oscheck='MSC Linux August 2001'\\n";
519        }
520if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*February/i || \$etc_issue =~ /2002.*February/i) {
521        print "oscheck='MSC Linux February 2002'\\n";
522        }
523if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*March/i || \$etc_issue =~ /2002.*March/i) {
524        print "oscheck='MSC Linux March 2002'\\n";
525        }
526if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*May/i || \$etc_issue =~ /2002.*May/i) {
527        print "oscheck='MSC Linux May 2002'\\n";
528        }
529if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*July/i || \$etc_issue =~ /2002.*July/i) {
530        print "oscheck='MSC Linux July 2002'\\n";
531        }
532if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*Nov/i || \$etc_issue =~ /2002.*Nov/i) {
533        print "oscheck='MSC Linux Nov 2002'\\n";
534        }
535if (\$etc_issue =~ /LinuxPPC\\s+2000/i) {
536        print "oscheck='LinuxPPC 2000'\\n";
537        }
538if (\$etc_issue =~ /Trustix.*1\\.1/i) {
539        print "oscheck='Trustix 1.1'\\n";
540        }
541if (\$etc_issue =~ /Trustix.*1\\.2/i) {
542        print "oscheck='Trustix 1.2'\\n";
543        }
544if (\$etc_issue =~ /Trustix.*1\\.5/i) {
545        print "oscheck='Trustix 1.5'\\n";
546        }
547if (\$etc_issue =~ /Trustix.*2\\.0/i || \$etc_issue =~ /Tawie\\s+Server\\s+Linux.*2\\.0/i || \$etc_issue =~ /tinysofa.*release\\s+1\\.0/i) {
548        print "oscheck='Trustix 2.0'\\n";
549        }
550if (\$etc_issue =~ /Trustix.*2\\.1/i || \$etc_issue =~ /Tawie\\s+Server\\s+Linux.*2\\.1/i) {
551        print "oscheck='Trustix 2.1'\\n";
552        }
553if (\$etc_issue =~ /Trustix.*2\\.2/i || \$etc_issue =~ /Tawie\\s+Server\\s+Linux.*2\\.2/i) {
554        print "oscheck='Trustix 2.2'\\n";
555        }
556if (\$etc_issue =~ /Trustix.*Enterprise.*2\\)/i) {
557        print "oscheck='Trustix SE 2'\\n";
558        }
559if (\$etc_issue =~ /Cendio\\s*LBS.*\\s3\\.1/i || \`cat /etc/lbs-release 2>/dev/null\` =~ /3\\.1/) {
560        print "oscheck='Cendio LBS Linux 3.1'\\n";
561        }
562if (\$etc_issue =~ /Cendio\\s*LBS.*\\s3\\.2/i || \`cat /etc/lbs-release 2>/dev/null\` =~ /3\\.2/) {
563        print "oscheck='Cendio LBS Linux 3.2'\\n";
564        }
565if (\$etc_issue =~ /Cendio\\s*LBS.*\\s3\\.3/i || \`cat /etc/lbs-release 2>/dev/null\` =~ /3\\.3/) {
566        print "oscheck='Cendio LBS Linux 3.3'\\n";
567        }
568if (\$etc_issue =~ /Cendio\\s*LBS.*\\s4\\.0/i || \`cat /etc/lbs-release 2>/dev/null\` =~ /4\\.0/) {
569        print "oscheck='Cendio LBS Linux 4.0'\\n";
570        }
571if (\$etc_issue =~ /Cendio\\s*LBS.*\\s4\\.1/i || \`cat /etc/lbs-release 2>/dev/null\` =~ /4\\.1/) {
572        print "oscheck='Cendio LBS Linux 4.1'\\n";
573        }
574if (\`cat /etc/ute-release 2>/dev/null\` =~ /Ute\\s+Linux\\s+release\\s+1\\.0/i) {
575        print "oscheck='Ute Linux 1.0'\\n";
576        }
577if (\$etc_issue =~ /Lanthan\\s+Linux\\s+release\\s+1\\.0/i || \`cat /etc/lanthan-release 2>/dev/null\` =~ /1\\.0/) {
578        print "oscheck='Lanthan Linux 1.0'\\n";
579        }
580if (\$etc_issue =~ /Lanthan\\s+Linux\\s+release\\s+2\\.0/i || \`cat /etc/lanthan-release 2>/dev/null\` =~ /2\\.0/) {
581        print "oscheck='Lanthan Linux 2.0'\\n";
582        }
583if (\$etc_issue =~ /Lanthan\\s+Linux\\s+release\\s+3\\.0/i || \`cat /etc/lanthan-release 2>/dev/null\` =~ /3\\.0/) {
584        print "oscheck='Lanthan Linux 3.0'\\n";
585        }
586if (\$etc_issue =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.0\\s+/i || \`cat /etc/yellowdog-release 2>/dev/null\` =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.0\\s+/i) {
587        print "oscheck='Yellow Dog Linux 2.0'\\n";
588        }
589if (\$etc_issue =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.1\\s+/i || \`cat /etc/yellowdog-release 2>/dev/null\` =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.1\\s+/i) {
590        print "oscheck='Yellow Dog Linux 2.1'\\n";
591        }
592if (\$etc_issue =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.2\\s+/i || \`cat /etc/yellowdog-release 2>/dev/null\` =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.2\\s+/i) {
593        print "oscheck='Yellow Dog Linux 2.2'\\n";
594        }
595if (\$etc_issue =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.3\\s+/i || \`cat /etc/yellowdog-release 2>/dev/null\` =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+2\\.3\\s+/i) {
596        print "oscheck='Yellow Dog Linux 2.3'\\n";
597        }
598if (\$etc_issue =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+3\\.0\\s+/i || \`cat /etc/yellowdog-release 2>/dev/null\` =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+3\\.0\\s+/i) {
599        print "oscheck='Yellow Dog Linux 3.0'\\n";
600        }
601if (\$etc_issue =~ /Yellow\\s+Dog\\s+Linux\\s+release\\s+4\\.0\\s+/i || \`cat /etc/yellowdog-release 2>/dev/null\` =~ /\\s4\\.0\\s/i) {
602        print "oscheck='Yellow Dog Linux 4.0'\\n";
603        }
604if (\`cat /etc/latinux-release 2>/dev/null\` =~ /Latinux\\s+8\\s/i) {
605        print "oscheck='Corvus Latinux 8.0'\\n";
606        }
607if (\$etc_issue =~ /Immunix.*\\s6\\.2/i || \`cat /etc/immunix-release 2>/dev/null\` =~ /6\\.2/) {
608        print "oscheck='Immunix Linux 6.2'\\n";
609        }
610if (\$etc_issue =~ /Immunix.*\\s7\\.0/i || \`cat /etc/immunix-release 2>/dev/null\` =~ /7\\.0/) {
611        print "oscheck='Immunix Linux 7.0'\\n";
612        }
613if (-d "/usr/portage") {
614        print "oscheck='Gentoo Linux Any version'\\n";
615        }
616if (\$etc_issue =~ /Lycoris Desktop/i) {
617        print "oscheck='Lycoris Desktop/LX 1.0'\\n";
618        }
619if (\`cat /etc/securelinux-release 2>/dev/null\` =~ /SecureLinux.*1\\.0/i) {
620        print "oscheck='Secure Linux 1.0'\\n";
621        }
622if (\`cat /etc/openna-release 2>/dev/null\` =~ /release\\s+1\\.0\\s/i) {
623        print "oscheck='OpenNA Linux 1.0'\\n";
624        }
625if (\`cat /tmp/wd/version 2>/dev/null\` =~ /2\\.1\\.0/) {
626        print "oscheck='White Dwarf Linux 2.1.0'\\n";
627        }
628if (-r "/etc/antitachyon-distribution") {
629        print "oscheck='SoL Linux 17.00'\\n";
630        }
631if (\$etc_issue =~ /coherent\\s*technology.*\\s1\\.1/i || \`cat /etc/coherent-release 2>&1\` =~ /1\\.1/) {
632        print "oscheck='Coherent Technology Linux 1.1'\\n";
633        }
634if (\$etc_issue =~ /coherent\\s*technology.*\\s1\\.2/i || \`cat /etc/coherent-release 2>&1\` =~ /1\\.2/) {
635        print "oscheck='Coherent Technology Linux 1.2'\\n";
636        }
637if (\$etc_issue =~ /coherent\\s*technology.*\\s1\\.3/i || \`cat /etc/coherent-release 2>&1\` =~ /1\\.3/) {
638        print "oscheck='Coherent Technology Linux 1.3'\\n";
639        }
640if (\$etc_issue =~ /coherent\\s*technology.*\\s2\\.0/i || \`cat /etc/coherent-release 2>&1\` =~ /2\\.0/) {
641        print "oscheck='Coherent Technology Linux 2.0'\\n";
642        }
643if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.0/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.0/) {
644        print "oscheck='Coherent Technology Linux 3.0'\\n";
645        }
646if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.1/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.1/) {
647        print "oscheck='Coherent Technology Linux 3.1'\\n";
648        }
649if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.2/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.2/) {
650        print "oscheck='Coherent Technology Linux 3.2'\\n";
651        }
652if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.3/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.3/) {
653        print "oscheck='Coherent Technology Linux 3.3'\\n";
654        }
655if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.4/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.4/) {
656        print "oscheck='Coherent Technology Linux 3.4'\\n";
657        }
658if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.5/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.5/) {
659        print "oscheck='Coherent Technology Linux 3.5'\\n";
660        }
661if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.6/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.6/) {
662        print "oscheck='Coherent Technology Linux 3.6'\\n";
663        }
664if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.7/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.7/) {
665        print "oscheck='Coherent Technology Linux 3.7'\\n";
666        }
667if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.8/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.8/) {
668        print "oscheck='Coherent Technology Linux 3.8'\\n";
669        }
670if (\$etc_issue =~ /coherent\\s*technology.*\\s3\\.9/i || \`cat /etc/coherent-release 2>&1\` =~ /3\\.9/) {
671        print "oscheck='Coherent Technology Linux 3.9'\\n";
672        }
673if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.0/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.0/) {
674        print "oscheck='Coherent Technology Linux 4.0'\\n";
675        }
676if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.1/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.1/) {
677        print "oscheck='Coherent Technology Linux 4.1'\\n";
678        }
679if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.2/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.2/) {
680        print "oscheck='Coherent Technology Linux 4.2'\\n";
681        }
682if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.3/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.3/) {
683        print "oscheck='Coherent Technology Linux 4.3'\\n";
684        }
685if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.4/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.4/) {
686        print "oscheck='Coherent Technology Linux 4.4'\\n";
687        }
688if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.5/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.5/) {
689        print "oscheck='Coherent Technology Linux 4.5'\\n";
690        }
691if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.6/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.6/) {
692        print "oscheck='Coherent Technology Linux 4.6'\\n";
693        }
694if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.7/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.7/) {
695        print "oscheck='Coherent Technology Linux 4.7'\\n";
696        }
697if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.8/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.8/) {
698        print "oscheck='Coherent Technology Linux 4.8'\\n";
699        }
700if (\$etc_issue =~ /coherent\\s*technology.*\\s4\\.9/i || \`cat /etc/coherent-release 2>&1\` =~ /4\\.9/) {
701        print "oscheck='Coherent Technology Linux 4.9'\\n";
702        }
703if (\$etc_issue =~ /PS2\\s+Linux\\s+release\\s+1.0/i) {
704        print "oscheck='Playstation Linux 1.0'\\n";
705        }
706if (\`cat /etc/tinysofa-release 2>/dev/null\` =~ /release\\s+2\\.0/i) {
707        print "oscheck='TinySofa Linux 2.0'\\n";
708        }
709if (\`cat /etc/startcom-release 2>/dev/null\` =~ /3\\.0/) {
710        print "oscheck='StartCom Linux 3.0'\\n";
711        }
712if (\$uname =~ /FreeBSD.*\\s2\\.1/i) {
713        print "oscheck='FreeBSD 2.1'\\n";
714        }
715if (\$uname =~ /FreeBSD.*\\s2\\.2/i) {
716        print "oscheck='FreeBSD 2.2'\\n";
717        }
718if (\$uname =~ /FreeBSD.*\\s3\\.0/i) {
719        print "oscheck='FreeBSD 3.0'\\n";
720        }
721if (\$uname =~ /FreeBSD.*\\s3\\.1/i) {
722        print "oscheck='FreeBSD 3.1'\\n";
723        }
724if (\$uname =~ /FreeBSD.*\\s3\\.2/i) {
725        print "oscheck='FreeBSD 3.2'\\n";
726        }
727if (\$uname =~ /FreeBSD.*\\s3\\.3/i) {
728        print "oscheck='FreeBSD 3.3'\\n";
729        }
730if (\$uname =~ /FreeBSD.*\\s3\\.4/i) {
731        print "oscheck='FreeBSD 3.4'\\n";
732        }
733if (\$uname =~ /FreeBSD.*\\s3\\.5/i) {
734        print "oscheck='FreeBSD 3.5'\\n";
735        }
736if (\$uname =~ /FreeBSD.*\\s4\\.0/i) {
737        print "oscheck='FreeBSD 4.0'\\n";
738        }
739if (\$uname =~ /FreeBSD.*\\s4\\.1(\\s|\\-)/i) {
740        print "oscheck='FreeBSD 4.1'\\n";
741        }
742if (\$uname =~ /FreeBSD.*\\s4\\.2/i) {
743        print "oscheck='FreeBSD 4.2'\\n";
744        }
745if (\$uname =~ /FreeBSD.*\\s4\\.3/i) {
746        print "oscheck='FreeBSD 4.3'\\n";
747        }
748if (\$uname =~ /FreeBSD.*\\s4\\.4/i) {
749        print "oscheck='FreeBSD 4.4'\\n";
750        }
751if (\$uname =~ /FreeBSD.*\\s4\\.5/i) {
752        print "oscheck='FreeBSD 4.5'\\n";
753        }
754if (\$uname =~ /FreeBSD.*\\s4\\.6/i) {
755        print "oscheck='FreeBSD 4.6'\\n";
756        }
757if (\$uname =~ /FreeBSD.*\\s4\\.7/i) {
758        print "oscheck='FreeBSD 4.7'\\n";
759        }
760if (\$uname =~ /FreeBSD.*\\s4\\.8/i) {
761        print "oscheck='FreeBSD 4.8'\\n";
762        }
763if (\$uname =~ /FreeBSD.*\\s4\\.9/i) {
764        print "oscheck='FreeBSD 4.9'\\n";
765        }
766if (\$uname =~ /FreeBSD.*\\s4\\.10(\\s|\\-)/i) {
767        print "oscheck='FreeBSD 4.10'\\n";
768        }
769if (\$uname =~ /FreeBSD.*\\s5\\.0/i) {
770        print "oscheck='FreeBSD 5.0'\\n";
771        }
772if (\$uname =~ /FreeBSD.*\\s5\\.1/i) {
773        print "oscheck='FreeBSD 5.1'\\n";
774        }
775if (\$uname =~ /FreeBSD.*\\s5\\.2/i) {
776        print "oscheck='FreeBSD 5.2'\\n";
777        }
778if (\$uname =~ /FreeBSD.*\\s5\\.2/i) {
779        print "oscheck='FreeBSD 5.3'\\n";
780        }
781if (\$uname =~ /OpenBSD.*\\s2\\.5/i) {
782        print "oscheck='OpenBSD 2.5'\\n";
783        }
784if (\$uname =~ /OpenBSD.*\\s2\\.6/i) {
785        print "oscheck='OpenBSD 2.6'\\n";
786        }
787if (\$uname =~ /OpenBSD.*\\s2\\.7/i) {
788        print "oscheck='OpenBSD 2.7'\\n";
789        }
790if (\$uname =~ /OpenBSD.*\\s2\\.8/i) {
791        print "oscheck='OpenBSD 2.8'\\n";
792        }
793if (\$uname =~ /OpenBSD.*\\s2\\.9/i) {
794        print "oscheck='OpenBSD 2.9'\\n";
795        }
796if (\$uname =~ /OpenBSD.*\\s3\\.0/i) {
797        print "oscheck='OpenBSD 3.0'\\n";
798        }
799if (\$uname =~ /OpenBSD.*\\s3\\.1/i) {
800        print "oscheck='OpenBSD 3.1'\\n";
801        }
802if (\$uname =~ /OpenBSD.*\\s3\\.2/i) {
803        print "oscheck='OpenBSD 3.2'\\n";
804        }
805if (\$uname =~ /OpenBSD.*\\s3\\.3/i) {
806        print "oscheck='OpenBSD 3.3'\\n";
807        }
808if (\$uname =~ /OpenBSD.*\\s3\\.4/i) {
809        print "oscheck='OpenBSD 3.4'\\n";
810        }
811if (\$uname =~ /OpenBSD.*\\s3\\.5/i) {
812        print "oscheck='OpenBSD 3.5'\\n";
813        }
814if (\$uname =~ /OpenBSD.*\\s3\\.6/i) {
815        print "oscheck='OpenBSD 3.6'\\n";
816        }
817if (\$uname =~ /NetBSD.*1\\.5/i) {
818        print "oscheck='NetBSD 1.5'\\n";
819        }
820if (\$uname =~ /NetBSD.*1\\.6/i) {
821        print "oscheck='NetBSD 1.6'\\n";
822        }
823if (\$uname =~ /NetBSD.*2\\.0/i) {
824        print "oscheck='NetBSD 2.0'\\n";
825        }
826if (\$uname =~ /DragonFly.*\\s1\\.0A/i) {
827        print "oscheck='DragonFly BSD 1.0'\\n";
828        }
829if (\$uname =~ /HP-UX.*10\\.01/) {
830        print "oscheck='HP/UX 10.01'\\n";
831        }
832if (\$uname =~ /HP-UX.*10\\.10/) {
833        print "oscheck='HP/UX 10.10'\\n";
834        }
835if (\$uname =~ /HP-UX.*10\\.20/) {
836        print "oscheck='HP/UX 10.20'\\n";
837        }
838if (\$uname =~ /HP-UX.*10\\.30/) {
839        print "oscheck='HP/UX 10.30'\\n";
840        }
841if (\$uname =~ /HP-UX.*11\\./) {
842        print "oscheck='HP/UX 11'\\n";
843        }
844if (\$uname =~ /IRIX.*6\\.0/i) {
845        print "oscheck='SGI Irix 6.0'\\n";
846        }
847if (\$uname =~ /IRIX.*6\\.1/i) {
848        print "oscheck='SGI Irix 6.1'\\n";
849        }
850if (\$uname =~ /IRIX.*6\\.2/i) {
851        print "oscheck='SGI Irix 6.2'\\n";
852        }
853if (\$uname =~ /IRIX.*6\\.3/i) {
854        print "oscheck='SGI Irix 6.3'\\n";
855        }
856if (\$uname =~ /IRIX.*6\\.4/i) {
857        print "oscheck='SGI Irix 6.4'\\n";
858        }
859if (\$uname =~ /IRIX.*6\\.5/i) {
860        print "oscheck='SGI Irix 6.5'\\n";
861        }
862if (\$uname =~ /OSF1.*4\\.0/) {
863        print "oscheck='DEC/Compaq OSF/1 4.0'\\n";
864        }
865if (\$uname =~ /OSF1.*V5.1/) {
866        print "oscheck='DEC/Compaq OSF/1 5.1'\\n";
867        }
868if (\$uname =~ /\\sAIX\\s+2\\s+4\\s+/i) {
869        print "oscheck='IBM AIX 4.2'\\n";
870        }
871if (\$uname =~ /\\sAIX\\s+3\\s+4\\s+/i) {
872        print "oscheck='IBM AIX 4.3'\\n";
873        }
874if (\$uname =~ /\\sAIX\\s+0\\s+5\\s+/i) {
875        print "oscheck='IBM AIX 5.0'\\n";
876        }
877if (\$uname =~ /\\sAIX\\s+1\\s+5\\s+/i) {
878        print "oscheck='IBM AIX 5.1'\\n";
879        }
880if (\$uname =~ /\\sAIX\\s+2\\s+5\\s+/i) {
881        print "oscheck='IBM AIX 5.2'\\n";
882        }
883if (\$uname =~ /SCO_SV.*\\s5\\./i) {
884        print "oscheck='SCO OpenServer 5'\\n";
885        }
886if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.0/i) {
887        print "oscheck='Mac OS X / OS X Server 10.0'\\n";
888        }
889if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.1/i) {
890        print "oscheck='Mac OS X / OS X Server 10.1'\\n";
891        }
892if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.2/i) {
893        print "oscheck='Mac OS X / OS X Server 10.2'\\n";
894        }
895if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.3/i) {
896        print "oscheck='Mac OS X / OS X Server 10.3'\\n";
897        }
898if (\$uname =~ /Darwin.*\\s1\\.0/) {
899        print "oscheck='Darwin 1.0'\\n";
900        }
901if (\$uname =~ /Darwin.*\\s1\\.2/) {
902        print "oscheck='Darwin 1.2'\\n";
903        }
904if (\$uname =~ /Darwin.*\\s1\\.3/) {
905        print "oscheck='Darwin 1.3'\\n";
906        }
907if (\$uname =~ /Darwin.*\\s1\\.4/) {
908        print "oscheck='Darwin 1.4'\\n";
909        }
910if (\$uname =~ /Darwin.*\\s5\\.1/) {
911        print "oscheck='Darwin 5.1'\\n";
912        }
913if (\$uname =~ /Darwin.*\\s5\\.2/) {
914        print "oscheck='Darwin 5.2'\\n";
915        }
916if (\$uname =~ /Darwin.*\\s5\\.3/) {
917        print "oscheck='Darwin 5.3'\\n";
918        }
919if (\$uname =~ /Darwin.*\\s5\\.4/) {
920        print "oscheck='Darwin 5.4'\\n";
921        }
922if (\$uname =~ /Darwin.*\\s5\\.5/) {
923        print "oscheck='Darwin 5.5'\\n";
924        }
925if (\$uname =~ /Darwin.*\\s6\\.0/) {
926        print "oscheck='Darwin 6.0'\\n";
927        }
928if (\$uname =~ /Darwin.*\\s6\\.1/) {
929        print "oscheck='Darwin 6.1'\\n";
930        }
931if (\$uname =~ /Darwin.*\\s6\\.2/) {
932        print "oscheck='Darwin 6.2'\\n";
933        }
934if (\$uname =~ /Darwin.*\\s6\\.3/) {
935        print "oscheck='Darwin 6.3'\\n";
936        }
937if (\$uname =~ /Darwin.*\\s6\\.4/) {
938        print "oscheck='Darwin 6.4'\\n";
939        }
940if (\$uname =~ /Darwin.*\\s6\\.5/) {
941        print "oscheck='Darwin 6.5'\\n";
942        }
943if (\$uname =~ /Darwin.*\\s6\\.6/) {
944        print "oscheck='Darwin 6.6'\\n";
945        }
946if (\$uname =~ /Darwin.*\\s6\\.7/) {
947        print "oscheck='Darwin 6.7'\\n";
948        }
949if (\$uname =~ /Darwin.*\\s6\\.8/) {
950        print "oscheck='Darwin 6.8'\\n";
951        }
952if (\$uname =~ /Darwin.*\\s7\\.0/) {
953        print "oscheck='Darwin 7.0'\\n";
954        }
955if (\$uname =~ /Darwin.*\\s7\\.1/) {
956        print "oscheck='Darwin 7.1'\\n";
957        }
958if (\$uname =~ /Darwin.*\\s7\\.2/) {
959        print "oscheck='Darwin 7.2'\\n";
960        }
961if (\$uname =~ /Darwin.*\\s7\\.3/) {
962        print "oscheck='Darwin 7.3'\\n";
963        }
964if (\$uname =~ /Darwin.*\\s7\\.4/) {
965        print "oscheck='Darwin 7.4'\\n";
966        }
967if (\$uname =~ /Darwin.*\\s7\\.5/) {
968        print "oscheck='Darwin 7.5'\\n";
969        }
970if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /Java Desktop System.*\\nVERSION = 1\\.0/i) {
971        print "oscheck='Sun Java Desktop System 1.0 (Linux)'\\n";
972        }
973if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /Java Desktop System.*\\nVERSION = 2\\.0/i) {
974        print "oscheck='Sun Java Desktop System 2.0 (Linux)'\\n";
975        }
976if (\`cat /etc/SuSE-release 2>/dev/null\` =~ /Java Desktop System.*\\nVERSION = 3\\.0/i) {
977        print "oscheck='Sun Java Desktop System 3.0 (Linux)'\\n";
978        }
979if (\$uname =~ /SunOS.*\\s5\\.9\\s/i && \`cat /etc/sun-release 2>/dev/null\` =~ /Sun\\s+Java\\s+Desktop/) {
980        print "oscheck='Sun Java Desktop System 2.0 (Solaris)'\\n";
981        }
982
983EOD
984. /tmp/.webmin/$$.check
985rm -f /tmp/.webmin/$$.check
986if [ ! -r /etc/webmin/config ]; then
987        if [ "$oscheck" = "" ]; then
988                echo Unabled to identify operating system
989                exit 2
990        fi
991        echo Operating system is $oscheck
992        if [ "$WEBMIN_PORT" != "" ]; then
993                port=$WEBMIN_PORT
994        else
995                port=10000
996        fi
997        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
998        if [ "$?" != "0" ]; then
999                echo Port $port is already in use
1000                exit 2
1001        fi
1002fi
1003
1004%post
1005/sbin/chkconfig --add webmin
1006if [ "$1" != 1 ]; then
1007        # Upgrading the RPM, so stop the old webmin properly
1008        /etc/init.d/webmin stop
1009fi
1010cd /usr/libexec/webmin
1011config_dir=/etc/webmin
1012var_dir=/var/webmin
1013if [ -f $config_dir/config ]; then
1014  perl -pi -e 's/lang=ja\n/lang=ja_JP.euc\n/g' $config_dir/config
1015fi
1016perl=/usr/bin/perl
1017autoos=3
1018if [ "$WEBMIN_PORT" != "" ]; then
1019        port=$WEBMIN_PORT
1020else
1021        port=10000
1022fi
1023login=root
1024if [ -r /etc/shadow ]; then
1025        #crypt=`grep "^root:" /etc/shadow | cut -f 2 -d :`
1026        crypt=x
1027else
1028        crypt=`grep "^root:" /etc/passwd | cut -f 2 -d :`
1029fi
1030host=localhost
1031ssl=1
1032atboot=1
1033nochown=1
1034autothird=1
1035noperlpath=1
1036nouninstall=1
1037nostart=1
1038allow=127.0.0.1
1039CONF_LST_LANG=ja_JP.euc
1040export config_dir var_dir perl autoos port login crypt host ssl nochown autothird noperlpath nouninstall nostart allow CONF_LST_LANG
1041./setup.sh >/tmp/.webmin/webmin-setup.out 2>&1
1042rm -f /var/lock/subsys/webmin
1043/etc/init.d/webmin start
1044cat >/etc/webmin/uninstall.sh <<EOFF
1045#!/bin/sh
1046printf "Are you sure you want to uninstall Webmin? (y/n) : "
1047read answer
1048printf "\n"
1049if [ "\$answer" = "y" ]; then
1050        echo "Removing webmin RPM .."
1051        rpm -e --nodeps webmin
1052        echo "Done!"
1053fi
1054EOFF
1055chmod +x /etc/webmin/uninstall.sh
1056if [ -f $config_dir/miniserv.users ]; then
1057        perl -pi -e 's/root:XXUp2ozpdysrQ:0\n/root:$ENV{'crypt'}:0\n/g' $config_dir/miniserv.users
1058        perl -pi -e 's/root::0\n/root:$ENV{'crypt'}:0\n/g' $config_dir/miniserv.users
1059fi
1060%if %{?_dist_release}=="vl4"
1061if [ "$LANG" = "ja_JP.eucJP" ]; then
1062%else
1063if [ "$LANG" = "ja_JP.UTF-8" ]; then
1064%endif
1065    echo "Webminがインストールされました。mozillaなどのブラウザを開き、"
1066    echo "https://$host:10000/ にアクセスし、rootでログインしてください。"
1067else
1068    echo "Webmin install complete. You can now login to https://$host:10000/"
1069    echo "as root with your root password."
1070fi
1071%preun
1072if [ "$1" = 0 ]; then
1073        grep root=/usr/libexec/webmin /etc/webmin/miniserv.conf >/dev/null 2>&1
1074        if [ "$?" = 0 ]; then
1075                # RPM is being removed, and no new version of webmin
1076                # has taken it's place. Run uninstalls and stop the server
1077                echo "Running uninstall scripts .."
1078                (cd /usr/libexec/webmin ; WEBMIN_CONFIG=/etc/webmin WEBMIN_VAR=/var/webmin LANG= /usr/libexec/webmin/run-uninstalls.pl)
1079                /etc/rc.d/init.d/webmin stop
1080                /bin/true
1081        fi
1082        /sbin/chkconfig --del webmin
1083fi
1084
1085%postun
1086if [ "$1" = 0 ]; then
1087        grep root=/usr/libexec/webmin /etc/webmin/miniserv.conf >/dev/null 2>&1
1088        if [ "$?" = 0 ]; then
1089                # RPM is being removed, and no new version of webmin
1090                # has taken it's place. Delete the config files
1091                rm -rf /etc/webmin /var/webmin
1092        fi
1093fi
1094
1095%changelog
1096* Sat Jun  6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.470-1
1097- applied new versioning policy, spec in UTF-8
1098- updated Patch0 and spec files for Vine Linux 5.0
1099- updated SOURCE11
1100
1101* Thu Dec 27 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.290-0vl2
1102- updated Patch0 and spec files for Vine Linux 4.2
1103- don't redirect messages when start/stop webmin at %%post, %%preun and %%postun.
1104
1105* Sat Sep 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.290-0vl1
1106- new upstream release
1107- changed Group to Applications/Administration
1108- updated Patch0 and spec files for Vine Linux 4.0
1109
1110* Fri Jun 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.280-0vl1
1111- new upstream release
1112
1113* Thu Sep  8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.180-0vl3
1114- fixed Patch0 (restart section in /etc/rc.d/init.d/webmin)
1115
1116* Thu Aug 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.180-0vl2
1117- updated for Vine 3.2 (Patch0, spec file)
1118
1119* Wed Feb 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.180-0vl1
1120- new upstream release
1121- updated Patch0 for Vine3.1
1122- s/Copyright/License/
1123- changed Group:
1124
1125* Tue Feb 25 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.070-0vl1
1126- new upstream release
1127- [SECURITY FIX]
1128
1129* Wed Oct 30 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.000-1vl7
1130- change restart behavior in /etc/init.d/webmin.
1131
1132* Wed Oct 30 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.000-1vl6
1133- fix /etc/init.d/webmin
1134  replace webmin root password as real password,
1135  when it is null(like root::0).
1136
1137* Sun Oct 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.000-1vl5
1138- add allow=127.0.0.1 to miniserv.conf
1139- add some configuration check in /etc/init.d/webmin
1140
1141* Sun Oct 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.000-1vl4
1142- fixed security bug.
1143  - add adhoc script to replace null root password in miniserv.users
1144    with real password.
1145
1146* Tue Oct 08 2002 FUJIOKA Takeyuki <fuji@ftserve.net> 1.000-1vl3
1147- added some third party module.
1148  (netatalk,iptables,ipchains and the patch.)
1149
1150* Mon Oct 07 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.000-1vl2
1151- fix some patch bug.
1152
1153* Mon Oct 07 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.000-1vl1
1154- replace lang name (ja -> ja_JP.euc) in config file at %%post script.
1155
1156* Fri Oct 4 2002 FUJIOKA Takeyuki <fuji@ftserve.net> 1.00-0vl0
1157- updated to 1.00
1158- added Vine Linux patch
1159  (limit default access policy to 'allow=localhost' and SSL.)
1160  (Japanese login if LANG=ja_JP.eucJP)
1161  ("os_list.txt" to add the dectection of VineLinux)
1162
1163* Sun Mar 31 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.92-0vl3
1164- added Source12 and Patch7 (netatalk webmin module 0.9)
1165- modified Patch4 for Vine 2.5 and 2.5CR
1166
1167* Sun Mar 03 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.92-0vl2
1168- stop/start webmin service only if webmin is already running in %%post section
1169
1170* Wed Feb 06 2002 Toru Sagami <sagami@vinelinux.org> 0.92-0vl1
1171- updated to 0.92 and added iptables module
1172- quit replacing quota bind8 sendmail file man modules
1173
1174* Thu Jan  3 2002 Tomoya TAKA <taka@vinelinux.org> 0.91-0vl1
1175- update to 0.91
1176- add some updated modules to Webmin 0.91
1177  (cf. http://www.webmin.com/webmin/updates.html)
1178- update ipchains module to 0.83.1 and modify ipchains-Japanese.patch
1179- cleanup spec file
1180
1181* Tue Nov 13 2001 Tomoya TAKA <taka@vinelinux.org> 0.88-0vl3
1182- remove /etc/webmin/ and /var/webmin/ from %%files
1183
1184* Tue Oct 23 2001 Toru Sagami <sagami@vinelinux.org>
1185- 0.88-0vl3: fix for Insecure Temporary File Creation
1186
1187* Sat Sep 15 2001 Toru Sagami <sagami@vinelinux.org>
1188- fixed Group s/Application/Applications/
1189
1190* Thu Sep 13 2001 Toru Sagami <sagami@vinelinux.org>
1191- 0.88-0vl1: updated to 0.88
1192
1193* Fri Sep 07 2001 Toru Sagami <sagami@vinelinux.org>
1194- 0.87-0vl3: treatment to use LPRng by default instead of lp
1195
1196* Fri Jul 27 2001 <sagami@vinelinux.org>
1197- 0.87-0vl2: webmin starts at 99 and stops at 00 (No reason!)
1198- eliminate noreplace attribute from initscript
1199  (NOTE: 'noreplace' may be marked to config file, not to initscript)
1200
1201* Mon Jul 16 2001 <sagami@vinelinux.org>
1202- 0.87-0vl1: port to VineSeedPlus from VinePlus/2.1
1203- two of the patches are slightly modified for 0.87
1204- slightly modified initscript message
1205
1206* Sat Mar 17 2001 KAJIKI Yoshihiro <kajiki@ylug.org> [0.84-0vl2]
1207- correct ja message of webminlog
1208- security fix on postinstall.sh
1209
1210* Mon Feb 26 2001 KAJIKI Yoshihiro <kajiki@ylug.org> [0.84-0vl1]
1211- update to 0.84 based on the Mandrake 0.84-1mdk
1212- add requires Net::SSLeay
1213- split add-ja-info.sh from Japanese patch
1214
1215* Tue Sep 19 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1216- update Japanese resource to match with webmin-0.81
1217- set several access control as default for security
1218
1219* Thu Sep 14 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1220- change default protocol to SSL, if Net::SSLeay is found
1221- update to webmin-0.81
1222
1223* Mon Sep 4 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1224- update Japanese resource (almost compleated except help)
1225
1226* Thu Aug 30 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1227- update Japanese resource (not compleated yet)
1228- correct default script position of ipchains
1229
1230* Mon Aug 28 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1231- update Japanese resource (not compleated yet)
1232- correct default language bug
1233- add ipchains module
1234
1235* Thu Aug 24 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1236- update Japanese resource (not compleated yet)
1237- limit default access policy to 'allow=127.0.0.1'
1238
1239* Mon Aug 21 2000 KAJIKI Yoshihiro <kajiki@ylug.org>
1240- add Japanese resource (not compleated)
1241- add a vine specific patch and remove mdk specific patches
1242- add an ad hoc patch against requiring /usr/local/bin/perl
1243- rebuild for Vine Linux
1244
1245* Wed Jul 19 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-6mdk
1246- BM
1247
1248* Tue Jun 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-5mdk
1249- now uses 0.80 final of Webmin
1250
1251* Wed May 24 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-4mdk
1252- more bugfixes in postfix module, after bugreports by Charles
1253
1254* Sat May 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-3mdk
1255- small bugfix in postfix module
1256
1257* Thu May 18 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-2mdk
1258- patched "os_list.txt" to add the dectection of Linux Mandrake
1259  Corporate Server 1.0 and Linux Mandrake 7.1
1260- patched the post-install script which said "Mandrake 7.0" all
1261  the time if Webmin was installed during system install
1262
1263* Fri May  5 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.80-1mdk
1264- upgrade to 0.80 beta with the kind help of Jamie, because of
1265  incompatibility between 0.79 and perl 5.6
1266
1267* Wed May  3 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.79-5mdk
1268- updated postfix-mdkmodule so that it tests if postfix is running
1269  in a more portable way [uses kill -0 <pid>]
1270- updated install style so that it adds to the runlevel information
1271  at install time; thus it's okay now to select/deselect it in DrakX
1272
1273* Thu Apr 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.79-4mdk
1274- fixed the hang of post install at boot time [grr]
1275
1276* Wed Apr 19 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.79-3mdk
1277- fixed very bad security issue concerning exec of script during
1278  install
1279- added small executable to tell people that they have to connect
1280  through their web browser
1281
1282* Mon Apr 17 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.79-2mdk
1283- fixed missing LICENCE file
1284
1285* Fri Apr 14 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.79-1mdk
1286- 0.79
1287- updated postfix-mdkmodule with bugfixes and other stuff
1288- mdkicons now have a copyright
1289
1290* Thu Apr  6 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.78-2mdk
1291- Updated Mandrake Icons
1292- Updated `PreRequires', and fixed the problem of /etc/issue,
1293  in order to not fail in install
1294
1295* Mon Mar 27 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.78-1mdk
1296- Mandrake Icons
1297
1298* Fri Mar 17 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.78-0.4mdk
1299- v0.78
1300- Postfix Module
1301- cleanup and debug of specfile with help of Chmouel :-)
1302
1303* Thu Feb 10 2000 Lenny Cartier <lenny@mandrakesoft.com>
1304- v0.77
1305- used srpm provided by Vincent Danen <vdanen@linux-mandrake.com>
1306
1307* Tue Feb 8 2000 Vincent Danen <vdanen@linux-mandrake.com>
1308- 0.77
1309- updated specfile based on the webmin source RPM (newly released, nice
1310  changes!)
1311- included the 0.73 ocstheme again (does anyone know of an update to this?)
1312
1313* Thu Jan 13 2000 Vincent Danen <vdanen@linux-mandrake.com>
1314- 0.76
1315
1316* Wed Dec 08 1999 Lenny Cartier <lenny@mandrakesoft.com>
1317- new in contribs
1318- used srpm provided by Vincent Danen <vdanen@linux-mandrake.com>
1319
1320* Sun Dec 5 1999 Vincent Danen <vdanen@linux-mandrake.com>
1321- built specfile for Mandrake contribs
1322- based loosely on Leon Breedt's <leon@obsidian.co.za> SRPM for 0.73
1323- webmin-install.sh is now a source package, not built from patch
1324- bzip sources
Note: See TracBrowser for help on using the repository browser.