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