[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 | |
---|
| 7 | Summary: A web-based administration interface for Unix systems. |
---|
| 8 | Summary(ja): Web ベースのシステム管理ツール |
---|
| 9 | Name: webmin |
---|
| 10 | Version: 1.470 |
---|
| 11 | Release: 1%{?_dist_release} |
---|
| 12 | License: Freeware |
---|
| 13 | Group: Applications/Administration |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | AutoReq: false |
---|
| 16 | BuildArch: noarch |
---|
| 17 | Provides: %{name}-%{version} |
---|
| 18 | Requires: perl |
---|
| 19 | PreReq: sed chkconfig findutils fileutils initscripts grep perl-Net_SSLeay |
---|
| 20 | |
---|
| 21 | Source0: http://www.webmin.com/download/%{name}-%{version}.tar.gz |
---|
| 22 | Patch0: webmin-1.470-vine.patch |
---|
| 23 | # additional modules |
---|
| 24 | Source10: http://www.niemueller.de/webmin/modules/ipchains/ipchains-0.83.1.wbm.gz |
---|
| 25 | Source11: http://www.niemueller.de/webmin/modules/iptables/iptables-0.91.1.wbm.gz |
---|
| 26 | Source12: http://prdownloads.sourceforge.net/netatalk/netatalk.wbm.gz |
---|
| 27 | Patch7: netatalk-vine.diff |
---|
| 28 | Patch10: ipchains-Japanese.patch.bz2 |
---|
| 29 | |
---|
| 30 | %description |
---|
| 31 | A web-based administration interface for Unix systems. Using Webmin you can |
---|
| 32 | configure DNS, Samba, NFS, local/remote filesystems and more using your |
---|
| 33 | web browser. |
---|
| 34 | |
---|
| 35 | After installation, enter the URL https://localhost:10000/ into your |
---|
| 36 | browser and login as root with your root password. |
---|
| 37 | |
---|
| 38 | NOTE THAT THIS VERSION NOW USES SECURE WEB TRANSACTIONS: YOU HAVE TO |
---|
| 39 | LOGIN TO "https://localhost:10000/" AND NOT "http://localhost:10000/". |
---|
| 40 | |
---|
| 41 | %description -l ja |
---|
| 42 | Web ベースのシステム管理ツール。Webmin を用いると、DNS, Samba, NFS, |
---|
| 43 | ローカルまたはリモートのファイルシステム, Apache, Postfix などの設 |
---|
| 44 | 定を Web ブラウザにて行うことができます。 |
---|
| 45 | |
---|
| 46 | インストール後、ブラウザから https://localhost:10000/ にアクセスし、 |
---|
| 47 | root のパスワードを入力して root として入ってください。安全のため、 |
---|
| 48 | パスワードは定期的に変更するようにしましょう。 |
---|
| 49 | |
---|
| 50 | この rpm パッケージの場合、セキュリティ強化の為に、デフォルトでは |
---|
| 51 | 127.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 |
---|
| 59 | cd ipchains |
---|
| 60 | %patch10 -p1 |
---|
| 61 | |
---|
| 62 | %build |
---|
| 63 | (find . -name '*.cgi' ; find . -name '*.pl') | perl perlpath.pl /usr/bin/perl - |
---|
| 64 | rm -f mount/freebsd-mounts* |
---|
| 65 | rm -f mount/openbsd-mounts* |
---|
| 66 | rm -f mount/macos-mounts* |
---|
| 67 | rm -f webmin-gentoo-init |
---|
| 68 | chmod -R og-w . |
---|
| 69 | |
---|
| 70 | %install |
---|
| 71 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
| 72 | |
---|
| 73 | mkdir -p %{buildroot}/usr/libexec/webmin |
---|
| 74 | mkdir -p %{buildroot}/etc/sysconfig/daemons |
---|
| 75 | mkdir -p %{buildroot}/etc/rc.d/{init.d,rc0.d,rc1.d,rc2.d,rc3.d,rc5.d,rc6.d} |
---|
| 76 | mkdir -p %{buildroot}/etc/pam.d |
---|
| 77 | cp -rp * %{buildroot}/usr/libexec/webmin |
---|
| 78 | cp webmin-daemon %{buildroot}/etc/sysconfig/daemons/webmin |
---|
| 79 | cp webmin-init %{buildroot}/etc/rc.d/init.d/webmin |
---|
| 80 | cp webmin-pam %{buildroot}/etc/pam.d/webmin |
---|
| 81 | echo 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 |
---|
| 95 | grep -i openlinux /etc/.issue >/dev/null 2>&1 |
---|
| 96 | if [ -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 |
---|
| 105 | fi |
---|
| 106 | perl <<EOD; |
---|
| 107 | # maketemp.pl |
---|
| 108 | # Create the /tmp/.webmin directory if needed |
---|
| 109 | |
---|
| 110 | \$tmp_dir = "/tmp/.webmin"; |
---|
| 111 | |
---|
| 112 | if (!-d \$tmp_dir) { |
---|
| 113 | mkdir(\$tmp_dir, 0755) || exit 1; |
---|
| 114 | } |
---|
| 115 | chown(\$<, \$(, \$tmp_dir); |
---|
| 116 | chmod(0755, \$tmp_dir); |
---|
| 117 | @st = lstat(\$tmp_dir); |
---|
| 118 | if (@st && \$st[4] == \$< && (-d _) && |
---|
| 119 | (\$st[2] & 0777) == 0755) { |
---|
| 120 | exit 0; |
---|
| 121 | } |
---|
| 122 | else { |
---|
| 123 | exit 1; |
---|
| 124 | } |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | EOD |
---|
| 128 | if [ "$?" != "0" ]; then |
---|
| 129 | echo "Failed to create or check temp files directory /tmp/.webmin" |
---|
| 130 | exit 1 |
---|
| 131 | fi |
---|
| 132 | perl >/tmp/.webmin/$$.check <<EOD; |
---|
| 133 | if (-r "/etc/.issue") { |
---|
| 134 | \$etc_issue = \`cat /etc/.issue\`; |
---|
| 135 | } |
---|
| 136 | elsif (-r "/etc/issue") { |
---|
| 137 | \$etc_issue = \`cat /etc/issue\`; |
---|
| 138 | } |
---|
| 139 | |
---|
| 140 | \$uname = \`uname -a\`; |
---|
| 141 | |
---|
| 142 | if (\$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 | } |
---|
| 145 | if (\$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 | } |
---|
| 148 | if (\$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 | } |
---|
| 151 | if (\$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 | } |
---|
| 154 | if (\$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 | } |
---|
| 157 | if (\$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 | } |
---|
| 160 | if (\$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 | } |
---|
| 163 | if (\$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 | } |
---|
| 166 | if (\$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 | } |
---|
| 169 | if (\$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 | } |
---|
| 172 | if (\$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 | } |
---|
| 175 | if (\$uname =~ /SunOS.*\\s5\\.5\\.1\\s/i) { |
---|
| 176 | print "oscheck='Sun Solaris 2.5.1'\\n"; |
---|
| 177 | } |
---|
| 178 | if (\$uname =~ /SunOS.*\\s5\\.6\\s/i) { |
---|
| 179 | print "oscheck='Sun Solaris 2.6'\\n"; |
---|
| 180 | } |
---|
| 181 | if (\$uname =~ /SunOS.*\\s5\\.7\\s/i) { |
---|
| 182 | print "oscheck='Sun Solaris 7'\\n"; |
---|
| 183 | } |
---|
| 184 | if (\$uname =~ /SunOS.*\\s5\\.8\\s/i) { |
---|
| 185 | print "oscheck='Sun Solaris 8'\\n"; |
---|
| 186 | } |
---|
| 187 | if (\$uname =~ /SunOS.*\\s5\\.9\\s/i) { |
---|
| 188 | print "oscheck='Sun Solaris 9'\\n"; |
---|
| 189 | } |
---|
| 190 | if (\$uname =~ /SunOS.*\\s5\\.10\\s/i) { |
---|
| 191 | print "oscheck='Sun Solaris 10'\\n"; |
---|
| 192 | } |
---|
| 193 | if (\$etc_issue =~ /OpenLinux.*eServer.*\\n.*\\s2\\.3\\s/i) { |
---|
| 194 | print "oscheck='Caldera OpenLinux eServer 2.3'\\n"; |
---|
| 195 | } |
---|
| 196 | if (\$etc_issue =~ /OpenLinux.*\\n.*\\s2\\.3\\s/i) { |
---|
| 197 | print "oscheck='Caldera OpenLinux 2.3'\\n"; |
---|
| 198 | } |
---|
| 199 | if (\$etc_issue =~ /OpenLinux.*\\n.*\\s2\\.4\\s/i) { |
---|
| 200 | print "oscheck='Caldera OpenLinux 2.4'\\n"; |
---|
| 201 | } |
---|
| 202 | if (\$etc_issue =~ /OpenLinux.*\\n.*\\s2\\.5\\s/i || \$etc_issue =~ /Caldera.*2000/i) { |
---|
| 203 | print "oscheck='Caldera OpenLinux 2.5'\\n"; |
---|
| 204 | } |
---|
| 205 | if (\$etc_issue =~ /OpenLinux.*3\\.1/i) { |
---|
| 206 | print "oscheck='Caldera OpenLinux 3.1'\\n"; |
---|
| 207 | } |
---|
| 208 | if (\$etc_issue =~ /red\\s*hat.*\\s5\\.0/i) { |
---|
| 209 | print "oscheck='Redhat Linux 5.0'\\n"; |
---|
| 210 | } |
---|
| 211 | if (\$etc_issue =~ /red\\s*hat.*\\s5\\.1/i) { |
---|
| 212 | print "oscheck='Redhat Linux 5.1'\\n"; |
---|
| 213 | } |
---|
| 214 | if (\$etc_issue =~ /red\\s*hat.*\\s5\\.2/i) { |
---|
| 215 | print "oscheck='Redhat Linux 5.2'\\n"; |
---|
| 216 | } |
---|
| 217 | if (\$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 | } |
---|
| 220 | if (\$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 | } |
---|
| 223 | if (\$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 | } |
---|
| 226 | if (\$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 | } |
---|
| 229 | if (\$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 | } |
---|
| 232 | if (\$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 | } |
---|
| 235 | if (\$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 | } |
---|
| 238 | if (\$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 | } |
---|
| 241 | if (\$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 | } |
---|
| 244 | if ( \$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 | } |
---|
| 247 | if ( \`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 | } |
---|
| 250 | if ( \`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 | } |
---|
| 253 | if (\`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 | } |
---|
| 256 | if (\`cat /etc/redhat-release 2>/dev/null\` =~ /ES.*2\\.1/) { |
---|
| 257 | print "oscheck='Redhat Linux 2.1ES'\\n"; |
---|
| 258 | } |
---|
| 259 | if (\`cat /etc/redhat-release 2>/dev/null\` =~ /WS.*2\\.1/) { |
---|
| 260 | print "oscheck='Redhat Linux 2.1WS'\\n"; |
---|
| 261 | } |
---|
| 262 | if (\`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 | } |
---|
| 265 | if (\`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 | } |
---|
| 268 | if (\`cat /etc/redhat-release 2>/dev/null\` =~ /WS\\s+release\\s+3/) { |
---|
| 269 | print "oscheck='Redhat Linux 3.0WS'\\n"; |
---|
| 270 | } |
---|
| 271 | if (\`cat /etc/redhat-release 2>/dev/null\` =~ /Desktop\\s+release\\s+3/i) { |
---|
| 272 | print "oscheck='Redhat Linux Desktop 3'\\n"; |
---|
| 273 | } |
---|
| 274 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /7\\.0/) { |
---|
| 275 | print "oscheck='Slackware Linux 7.0'\\n"; |
---|
| 276 | } |
---|
| 277 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /7\\.1/) { |
---|
| 278 | print "oscheck='Slackware Linux 7.1'\\n"; |
---|
| 279 | } |
---|
| 280 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /8\\.0/) { |
---|
| 281 | print "oscheck='Slackware Linux 8.0'\\n"; |
---|
| 282 | } |
---|
| 283 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /8\\.1/) { |
---|
| 284 | print "oscheck='Slackware Linux 8.1'\\n"; |
---|
| 285 | } |
---|
| 286 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /9\\.0/) { |
---|
| 287 | print "oscheck='Slackware Linux 9.0'\\n"; |
---|
| 288 | } |
---|
| 289 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /9\\.1/) { |
---|
| 290 | print "oscheck='Slackware Linux 9.1'\\n"; |
---|
| 291 | } |
---|
| 292 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /10\\.0/) { |
---|
| 293 | print "oscheck='Slackware Linux 10.0'\\n"; |
---|
| 294 | } |
---|
| 295 | if (\`cat /etc/slackware-version 2>/dev/null\` =~ /10\\.1/) { |
---|
| 296 | print "oscheck='Slackware Linux 10.1'\\n"; |
---|
| 297 | } |
---|
| 298 | if (\$etc_issue =~ /Debian.*\\s2\\.0\\s/i) { |
---|
| 299 | print "oscheck='Debian Linux 2.0'\\n"; |
---|
| 300 | } |
---|
| 301 | if (\$etc_issue =~ /Debian.*\\s2\\.1\\s/i) { |
---|
| 302 | print "oscheck='Debian Linux 2.1'\\n"; |
---|
| 303 | } |
---|
| 304 | if (\$etc_issue =~ /Debian.*\\s2\\.2\\s/i) { |
---|
| 305 | print "oscheck='Debian Linux 2.2'\\n"; |
---|
| 306 | } |
---|
| 307 | if (\$etc_issue =~ /Debian.*\\s3\\.0\\s/i) { |
---|
| 308 | print "oscheck='Debian Linux 3.0'\\n"; |
---|
| 309 | } |
---|
| 310 | if (\$etc_issue =~ /Debian.*\\s3\\.1\\s/i) { |
---|
| 311 | print "oscheck='Debian Linux 3.1'\\n"; |
---|
| 312 | } |
---|
| 313 | if (\`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 | } |
---|
| 316 | if (\`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 | } |
---|
| 319 | if (\`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 | } |
---|
| 322 | if (\`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 | } |
---|
| 325 | if (\`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 | } |
---|
| 328 | if (\`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 | } |
---|
| 331 | if (\`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 | } |
---|
| 334 | if (\`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 | } |
---|
| 337 | if (\`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 | } |
---|
| 340 | if (\`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 | } |
---|
| 343 | if (\`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 | } |
---|
| 346 | if (\`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 | } |
---|
| 349 | if (\`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 | } |
---|
| 352 | if (\`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 | } |
---|
| 355 | if (\`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 | } |
---|
| 358 | if ( \`cat /etc/SLOX-release 2>/dev/null\` =~ /VERSION\\s+=\\s+4\\.0/i) { |
---|
| 359 | print "oscheck='SuSE Linux OpenExchange 4.0'\\n"; |
---|
| 360 | } |
---|
| 361 | if (\`cat /etc/UnitedLinux-release 2>/dev/null\` =~ /1\\.0/) { |
---|
| 362 | print "oscheck='United Linux 1.0'\\n"; |
---|
| 363 | } |
---|
| 364 | if (\$etc_issue =~ /Corel\\s+LINUX\\s+1\\.0/i) { |
---|
| 365 | print "oscheck='Corel Linux 1.0'\\n"; |
---|
| 366 | } |
---|
| 367 | if (\$etc_issue =~ /Corel\\s+LINUX\\s+1\\.1/i) { |
---|
| 368 | print "oscheck='Corel Linux 1.1'\\n"; |
---|
| 369 | } |
---|
| 370 | if (\$etc_issue =~ /Corel\\s+LINUX\\s+1\\.2/i) { |
---|
| 371 | print "oscheck='Corel Linux 1.2'\\n"; |
---|
| 372 | } |
---|
| 373 | if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+4\\.0\\s+/i) { |
---|
| 374 | print "oscheck='TurboLinux 4.0'\\n"; |
---|
| 375 | } |
---|
| 376 | if (\`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 | } |
---|
| 379 | if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+6\\.1\\s+/i) { |
---|
| 380 | print "oscheck='TurboLinux 6.1'\\n"; |
---|
| 381 | } |
---|
| 382 | if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /release\\s+6\\.5\\s+/i) { |
---|
| 383 | print "oscheck='TurboLinux 6.5'\\n"; |
---|
| 384 | } |
---|
| 385 | if (\`cat /etc/turbolinux-release 2>/dev/null\` =~ /7\\.0/i) { |
---|
| 386 | print "oscheck='TurboLinux 7.0'\\n"; |
---|
| 387 | } |
---|
| 388 | if (\$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 | } |
---|
| 391 | if (\$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 | } |
---|
| 394 | if (\$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 | } |
---|
| 397 | if (\$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 | } |
---|
| 400 | if (\`uname -r\` =~ /2.2.16/ && -r "/etc/cobalt-release") { |
---|
| 401 | print "oscheck='Cobalt Linux 6.4'\\n"; |
---|
| 402 | } |
---|
| 403 | if (\`cat /etc/cobalt-release 2>/dev/null\` =~ /7\\.0/) { |
---|
| 404 | print "oscheck='Cobalt Linux 7.0'\\n"; |
---|
| 405 | } |
---|
| 406 | if (\$etc_issue =~ /Mandrake\\s+release\\s+5\\.3/i) { |
---|
| 407 | print "oscheck='Mandrake Linux 5.3'\\n"; |
---|
| 408 | } |
---|
| 409 | if (\$etc_issue =~ /Mandrake\\s+release\\s+6\\.0/i) { |
---|
| 410 | print "oscheck='Mandrake Linux 6.0'\\n"; |
---|
| 411 | } |
---|
| 412 | if (\$etc_issue =~ /Mandrake\\s+release\\s+6\\.1/i) { |
---|
| 413 | print "oscheck='Mandrake Linux 6.1'\\n"; |
---|
| 414 | } |
---|
| 415 | if (\$etc_issue =~ /Mandrake\\s+release\\s+7\\.0/i) { |
---|
| 416 | print "oscheck='Mandrake Linux 7.0'\\n"; |
---|
| 417 | } |
---|
| 418 | if (\$etc_issue =~ /Mandrake\\s+release\\s+7\\.1/i) { |
---|
| 419 | print "oscheck='Mandrake Linux 7.1'\\n"; |
---|
| 420 | } |
---|
| 421 | if (\$etc_issue =~ /Mandrake\\s+release\\s+7\\.2/i) { |
---|
| 422 | print "oscheck='Mandrake Linux 7.2'\\n"; |
---|
| 423 | } |
---|
| 424 | if (\`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 | } |
---|
| 427 | if (\`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 | } |
---|
| 430 | if (\`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 | } |
---|
| 433 | if (\`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 | } |
---|
| 436 | if (\`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 | } |
---|
| 439 | if (\`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 | } |
---|
| 442 | if (\`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 | } |
---|
| 445 | if (\`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 | } |
---|
| 448 | if (\$etc_issue =~ /Mandrake\\s+Corporate\\s+Server\\s+release\\s+1\\.0/i) { |
---|
| 449 | print "oscheck='Mandrake Linux Corporate Server 1.0'\\n"; |
---|
| 450 | } |
---|
| 451 | if (\$etc_issue =~ /Conectiva.*Linux.*3\\.0/i) { |
---|
| 452 | print "oscheck='Conectiva Linux 3.0'\\n"; |
---|
| 453 | } |
---|
| 454 | if (\$etc_issue =~ /Conectiva.*Linux.*4\\.0/i) { |
---|
| 455 | print "oscheck='Conectiva Linux 4.0'\\n"; |
---|
| 456 | } |
---|
| 457 | if (\$etc_issue =~ /Conectiva.*Linux.*4\\.1/i) { |
---|
| 458 | print "oscheck='Conectiva Linux 4.1'\\n"; |
---|
| 459 | } |
---|
| 460 | if (\$etc_issue =~ /Conectiva.*Linux.*4\\.2/i) { |
---|
| 461 | print "oscheck='Conectiva Linux 4.2'\\n"; |
---|
| 462 | } |
---|
| 463 | if (\$etc_issue =~ /Conectiva.*Linux.*5\\.0/i) { |
---|
| 464 | print "oscheck='Conectiva Linux 5.0'\\n"; |
---|
| 465 | } |
---|
| 466 | if (\$etc_issue =~ /Conectiva.*Linux.*5\\.1/i) { |
---|
| 467 | print "oscheck='Conectiva Linux 5.1'\\n"; |
---|
| 468 | } |
---|
| 469 | if (\$etc_issue =~ /Conectiva.*Linux.*6\\.0/i) { |
---|
| 470 | print "oscheck='Conectiva Linux 6.0'\\n"; |
---|
| 471 | } |
---|
| 472 | if (\$etc_issue =~ /Conectiva.*Linux.*7\\.0/i) { |
---|
| 473 | print "oscheck='Conectiva Linux 7.0'\\n"; |
---|
| 474 | } |
---|
| 475 | if (\$etc_issue =~ /Conectiva.*Linux.*\\s8/i) { |
---|
| 476 | print "oscheck='Conectiva Linux 8'\\n"; |
---|
| 477 | } |
---|
| 478 | if (\$etc_issue =~ /Conectiva.*Linux.*\\s9/i) { |
---|
| 479 | print "oscheck='Conectiva Linux 9'\\n"; |
---|
| 480 | } |
---|
| 481 | if (\$etc_issue =~ /Conectiva.*Linux.*\\s10\\s/i) { |
---|
| 482 | print "oscheck='Conectiva Linux 10'\\n"; |
---|
| 483 | } |
---|
| 484 | if (\$etc_issue =~ /Thiz.*Linux.*\\s5\\.0/i) { |
---|
| 485 | print "oscheck='ThizLinux Desktop 5.0'\\n"; |
---|
| 486 | } |
---|
| 487 | if (\$etc_issue =~ /Thiz.*Linux.*\\s6\\.0/i) { |
---|
| 488 | print "oscheck='ThizLinux Desktop 6.0'\\n"; |
---|
| 489 | } |
---|
| 490 | if (\$etc_issue =~ /Thiz.*Linux.*\\s6\\.2/i) { |
---|
| 491 | print "oscheck='ThizLinux Desktop 6.2'\\n"; |
---|
| 492 | } |
---|
| 493 | if (\$etc_issue =~ /Thiz.*Linux.*\\s7\\.0/i) { |
---|
| 494 | print "oscheck='ThizLinux Desktop 7.0'\\n"; |
---|
| 495 | } |
---|
| 496 | if (\$etc_issue =~ /Thiz.*\\s?Server.*\\s4\\.3/i) { |
---|
| 497 | print "oscheck='ThizServer 4.3'\\n"; |
---|
| 498 | } |
---|
| 499 | if (\$etc_issue =~ /Thiz.*\\s?Server.*\\s6\\.0/i) { |
---|
| 500 | print "oscheck='ThizServer 6.0'\\n"; |
---|
| 501 | } |
---|
| 502 | if (\$etc_issue =~ /Thiz.*\\s?Server.*\\s7\\.0/i) { |
---|
| 503 | print "oscheck='ThizServer 7.0'\\n"; |
---|
| 504 | } |
---|
| 505 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*January/i || \$etc_issue =~ /2001.*January/i) { |
---|
| 506 | print "oscheck='MSC Linux January 2001'\\n"; |
---|
| 507 | } |
---|
| 508 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*February/i || \$etc_issue =~ /2001.*February/i) { |
---|
| 509 | print "oscheck='MSC Linux February 2001'\\n"; |
---|
| 510 | } |
---|
| 511 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*May/i || \$etc_issue =~ /2001.*May/i) { |
---|
| 512 | print "oscheck='MSC Linux May 2001'\\n"; |
---|
| 513 | } |
---|
| 514 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*June/i || \$etc_issue =~ /2001.*June/i) { |
---|
| 515 | print "oscheck='MSC Linux June 2001'\\n"; |
---|
| 516 | } |
---|
| 517 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2001.*August/i || \$etc_issue =~ /2001.*August/i) { |
---|
| 518 | print "oscheck='MSC Linux August 2001'\\n"; |
---|
| 519 | } |
---|
| 520 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*February/i || \$etc_issue =~ /2002.*February/i) { |
---|
| 521 | print "oscheck='MSC Linux February 2002'\\n"; |
---|
| 522 | } |
---|
| 523 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*March/i || \$etc_issue =~ /2002.*March/i) { |
---|
| 524 | print "oscheck='MSC Linux March 2002'\\n"; |
---|
| 525 | } |
---|
| 526 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*May/i || \$etc_issue =~ /2002.*May/i) { |
---|
| 527 | print "oscheck='MSC Linux May 2002'\\n"; |
---|
| 528 | } |
---|
| 529 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*July/i || \$etc_issue =~ /2002.*July/i) { |
---|
| 530 | print "oscheck='MSC Linux July 2002'\\n"; |
---|
| 531 | } |
---|
| 532 | if (\`cat /etc/msclinux-release 2>/dev/null\` =~ /2002.*Nov/i || \$etc_issue =~ /2002.*Nov/i) { |
---|
| 533 | print "oscheck='MSC Linux Nov 2002'\\n"; |
---|
| 534 | } |
---|
| 535 | if (\$etc_issue =~ /LinuxPPC\\s+2000/i) { |
---|
| 536 | print "oscheck='LinuxPPC 2000'\\n"; |
---|
| 537 | } |
---|
| 538 | if (\$etc_issue =~ /Trustix.*1\\.1/i) { |
---|
| 539 | print "oscheck='Trustix 1.1'\\n"; |
---|
| 540 | } |
---|
| 541 | if (\$etc_issue =~ /Trustix.*1\\.2/i) { |
---|
| 542 | print "oscheck='Trustix 1.2'\\n"; |
---|
| 543 | } |
---|
| 544 | if (\$etc_issue =~ /Trustix.*1\\.5/i) { |
---|
| 545 | print "oscheck='Trustix 1.5'\\n"; |
---|
| 546 | } |
---|
| 547 | if (\$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 | } |
---|
| 550 | if (\$etc_issue =~ /Trustix.*2\\.1/i || \$etc_issue =~ /Tawie\\s+Server\\s+Linux.*2\\.1/i) { |
---|
| 551 | print "oscheck='Trustix 2.1'\\n"; |
---|
| 552 | } |
---|
| 553 | if (\$etc_issue =~ /Trustix.*2\\.2/i || \$etc_issue =~ /Tawie\\s+Server\\s+Linux.*2\\.2/i) { |
---|
| 554 | print "oscheck='Trustix 2.2'\\n"; |
---|
| 555 | } |
---|
| 556 | if (\$etc_issue =~ /Trustix.*Enterprise.*2\\)/i) { |
---|
| 557 | print "oscheck='Trustix SE 2'\\n"; |
---|
| 558 | } |
---|
| 559 | if (\$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 | } |
---|
| 562 | if (\$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 | } |
---|
| 565 | if (\$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 | } |
---|
| 568 | if (\$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 | } |
---|
| 571 | if (\$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 | } |
---|
| 574 | if (\`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 | } |
---|
| 577 | if (\$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 | } |
---|
| 580 | if (\$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 | } |
---|
| 583 | if (\$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 | } |
---|
| 586 | if (\$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 | } |
---|
| 589 | if (\$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 | } |
---|
| 592 | if (\$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 | } |
---|
| 595 | if (\$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 | } |
---|
| 598 | if (\$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 | } |
---|
| 601 | if (\$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 | } |
---|
| 604 | if (\`cat /etc/latinux-release 2>/dev/null\` =~ /Latinux\\s+8\\s/i) { |
---|
| 605 | print "oscheck='Corvus Latinux 8.0'\\n"; |
---|
| 606 | } |
---|
| 607 | if (\$etc_issue =~ /Immunix.*\\s6\\.2/i || \`cat /etc/immunix-release 2>/dev/null\` =~ /6\\.2/) { |
---|
| 608 | print "oscheck='Immunix Linux 6.2'\\n"; |
---|
| 609 | } |
---|
| 610 | if (\$etc_issue =~ /Immunix.*\\s7\\.0/i || \`cat /etc/immunix-release 2>/dev/null\` =~ /7\\.0/) { |
---|
| 611 | print "oscheck='Immunix Linux 7.0'\\n"; |
---|
| 612 | } |
---|
| 613 | if (-d "/usr/portage") { |
---|
| 614 | print "oscheck='Gentoo Linux Any version'\\n"; |
---|
| 615 | } |
---|
| 616 | if (\$etc_issue =~ /Lycoris Desktop/i) { |
---|
| 617 | print "oscheck='Lycoris Desktop/LX 1.0'\\n"; |
---|
| 618 | } |
---|
| 619 | if (\`cat /etc/securelinux-release 2>/dev/null\` =~ /SecureLinux.*1\\.0/i) { |
---|
| 620 | print "oscheck='Secure Linux 1.0'\\n"; |
---|
| 621 | } |
---|
| 622 | if (\`cat /etc/openna-release 2>/dev/null\` =~ /release\\s+1\\.0\\s/i) { |
---|
| 623 | print "oscheck='OpenNA Linux 1.0'\\n"; |
---|
| 624 | } |
---|
| 625 | if (\`cat /tmp/wd/version 2>/dev/null\` =~ /2\\.1\\.0/) { |
---|
| 626 | print "oscheck='White Dwarf Linux 2.1.0'\\n"; |
---|
| 627 | } |
---|
| 628 | if (-r "/etc/antitachyon-distribution") { |
---|
| 629 | print "oscheck='SoL Linux 17.00'\\n"; |
---|
| 630 | } |
---|
| 631 | if (\$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 | } |
---|
| 634 | if (\$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 | } |
---|
| 637 | if (\$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 | } |
---|
| 640 | if (\$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 | } |
---|
| 643 | if (\$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 | } |
---|
| 646 | if (\$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 | } |
---|
| 649 | if (\$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 | } |
---|
| 652 | if (\$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 | } |
---|
| 655 | if (\$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 | } |
---|
| 658 | if (\$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 | } |
---|
| 661 | if (\$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 | } |
---|
| 664 | if (\$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 | } |
---|
| 667 | if (\$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 | } |
---|
| 670 | if (\$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 | } |
---|
| 673 | if (\$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 | } |
---|
| 676 | if (\$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 | } |
---|
| 679 | if (\$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 | } |
---|
| 682 | if (\$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 | } |
---|
| 685 | if (\$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 | } |
---|
| 688 | if (\$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 | } |
---|
| 691 | if (\$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 | } |
---|
| 694 | if (\$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 | } |
---|
| 697 | if (\$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 | } |
---|
| 700 | if (\$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 | } |
---|
| 703 | if (\$etc_issue =~ /PS2\\s+Linux\\s+release\\s+1.0/i) { |
---|
| 704 | print "oscheck='Playstation Linux 1.0'\\n"; |
---|
| 705 | } |
---|
| 706 | if (\`cat /etc/tinysofa-release 2>/dev/null\` =~ /release\\s+2\\.0/i) { |
---|
| 707 | print "oscheck='TinySofa Linux 2.0'\\n"; |
---|
| 708 | } |
---|
| 709 | if (\`cat /etc/startcom-release 2>/dev/null\` =~ /3\\.0/) { |
---|
| 710 | print "oscheck='StartCom Linux 3.0'\\n"; |
---|
| 711 | } |
---|
| 712 | if (\$uname =~ /FreeBSD.*\\s2\\.1/i) { |
---|
| 713 | print "oscheck='FreeBSD 2.1'\\n"; |
---|
| 714 | } |
---|
| 715 | if (\$uname =~ /FreeBSD.*\\s2\\.2/i) { |
---|
| 716 | print "oscheck='FreeBSD 2.2'\\n"; |
---|
| 717 | } |
---|
| 718 | if (\$uname =~ /FreeBSD.*\\s3\\.0/i) { |
---|
| 719 | print "oscheck='FreeBSD 3.0'\\n"; |
---|
| 720 | } |
---|
| 721 | if (\$uname =~ /FreeBSD.*\\s3\\.1/i) { |
---|
| 722 | print "oscheck='FreeBSD 3.1'\\n"; |
---|
| 723 | } |
---|
| 724 | if (\$uname =~ /FreeBSD.*\\s3\\.2/i) { |
---|
| 725 | print "oscheck='FreeBSD 3.2'\\n"; |
---|
| 726 | } |
---|
| 727 | if (\$uname =~ /FreeBSD.*\\s3\\.3/i) { |
---|
| 728 | print "oscheck='FreeBSD 3.3'\\n"; |
---|
| 729 | } |
---|
| 730 | if (\$uname =~ /FreeBSD.*\\s3\\.4/i) { |
---|
| 731 | print "oscheck='FreeBSD 3.4'\\n"; |
---|
| 732 | } |
---|
| 733 | if (\$uname =~ /FreeBSD.*\\s3\\.5/i) { |
---|
| 734 | print "oscheck='FreeBSD 3.5'\\n"; |
---|
| 735 | } |
---|
| 736 | if (\$uname =~ /FreeBSD.*\\s4\\.0/i) { |
---|
| 737 | print "oscheck='FreeBSD 4.0'\\n"; |
---|
| 738 | } |
---|
| 739 | if (\$uname =~ /FreeBSD.*\\s4\\.1(\\s|\\-)/i) { |
---|
| 740 | print "oscheck='FreeBSD 4.1'\\n"; |
---|
| 741 | } |
---|
| 742 | if (\$uname =~ /FreeBSD.*\\s4\\.2/i) { |
---|
| 743 | print "oscheck='FreeBSD 4.2'\\n"; |
---|
| 744 | } |
---|
| 745 | if (\$uname =~ /FreeBSD.*\\s4\\.3/i) { |
---|
| 746 | print "oscheck='FreeBSD 4.3'\\n"; |
---|
| 747 | } |
---|
| 748 | if (\$uname =~ /FreeBSD.*\\s4\\.4/i) { |
---|
| 749 | print "oscheck='FreeBSD 4.4'\\n"; |
---|
| 750 | } |
---|
| 751 | if (\$uname =~ /FreeBSD.*\\s4\\.5/i) { |
---|
| 752 | print "oscheck='FreeBSD 4.5'\\n"; |
---|
| 753 | } |
---|
| 754 | if (\$uname =~ /FreeBSD.*\\s4\\.6/i) { |
---|
| 755 | print "oscheck='FreeBSD 4.6'\\n"; |
---|
| 756 | } |
---|
| 757 | if (\$uname =~ /FreeBSD.*\\s4\\.7/i) { |
---|
| 758 | print "oscheck='FreeBSD 4.7'\\n"; |
---|
| 759 | } |
---|
| 760 | if (\$uname =~ /FreeBSD.*\\s4\\.8/i) { |
---|
| 761 | print "oscheck='FreeBSD 4.8'\\n"; |
---|
| 762 | } |
---|
| 763 | if (\$uname =~ /FreeBSD.*\\s4\\.9/i) { |
---|
| 764 | print "oscheck='FreeBSD 4.9'\\n"; |
---|
| 765 | } |
---|
| 766 | if (\$uname =~ /FreeBSD.*\\s4\\.10(\\s|\\-)/i) { |
---|
| 767 | print "oscheck='FreeBSD 4.10'\\n"; |
---|
| 768 | } |
---|
| 769 | if (\$uname =~ /FreeBSD.*\\s5\\.0/i) { |
---|
| 770 | print "oscheck='FreeBSD 5.0'\\n"; |
---|
| 771 | } |
---|
| 772 | if (\$uname =~ /FreeBSD.*\\s5\\.1/i) { |
---|
| 773 | print "oscheck='FreeBSD 5.1'\\n"; |
---|
| 774 | } |
---|
| 775 | if (\$uname =~ /FreeBSD.*\\s5\\.2/i) { |
---|
| 776 | print "oscheck='FreeBSD 5.2'\\n"; |
---|
| 777 | } |
---|
| 778 | if (\$uname =~ /FreeBSD.*\\s5\\.2/i) { |
---|
| 779 | print "oscheck='FreeBSD 5.3'\\n"; |
---|
| 780 | } |
---|
| 781 | if (\$uname =~ /OpenBSD.*\\s2\\.5/i) { |
---|
| 782 | print "oscheck='OpenBSD 2.5'\\n"; |
---|
| 783 | } |
---|
| 784 | if (\$uname =~ /OpenBSD.*\\s2\\.6/i) { |
---|
| 785 | print "oscheck='OpenBSD 2.6'\\n"; |
---|
| 786 | } |
---|
| 787 | if (\$uname =~ /OpenBSD.*\\s2\\.7/i) { |
---|
| 788 | print "oscheck='OpenBSD 2.7'\\n"; |
---|
| 789 | } |
---|
| 790 | if (\$uname =~ /OpenBSD.*\\s2\\.8/i) { |
---|
| 791 | print "oscheck='OpenBSD 2.8'\\n"; |
---|
| 792 | } |
---|
| 793 | if (\$uname =~ /OpenBSD.*\\s2\\.9/i) { |
---|
| 794 | print "oscheck='OpenBSD 2.9'\\n"; |
---|
| 795 | } |
---|
| 796 | if (\$uname =~ /OpenBSD.*\\s3\\.0/i) { |
---|
| 797 | print "oscheck='OpenBSD 3.0'\\n"; |
---|
| 798 | } |
---|
| 799 | if (\$uname =~ /OpenBSD.*\\s3\\.1/i) { |
---|
| 800 | print "oscheck='OpenBSD 3.1'\\n"; |
---|
| 801 | } |
---|
| 802 | if (\$uname =~ /OpenBSD.*\\s3\\.2/i) { |
---|
| 803 | print "oscheck='OpenBSD 3.2'\\n"; |
---|
| 804 | } |
---|
| 805 | if (\$uname =~ /OpenBSD.*\\s3\\.3/i) { |
---|
| 806 | print "oscheck='OpenBSD 3.3'\\n"; |
---|
| 807 | } |
---|
| 808 | if (\$uname =~ /OpenBSD.*\\s3\\.4/i) { |
---|
| 809 | print "oscheck='OpenBSD 3.4'\\n"; |
---|
| 810 | } |
---|
| 811 | if (\$uname =~ /OpenBSD.*\\s3\\.5/i) { |
---|
| 812 | print "oscheck='OpenBSD 3.5'\\n"; |
---|
| 813 | } |
---|
| 814 | if (\$uname =~ /OpenBSD.*\\s3\\.6/i) { |
---|
| 815 | print "oscheck='OpenBSD 3.6'\\n"; |
---|
| 816 | } |
---|
| 817 | if (\$uname =~ /NetBSD.*1\\.5/i) { |
---|
| 818 | print "oscheck='NetBSD 1.5'\\n"; |
---|
| 819 | } |
---|
| 820 | if (\$uname =~ /NetBSD.*1\\.6/i) { |
---|
| 821 | print "oscheck='NetBSD 1.6'\\n"; |
---|
| 822 | } |
---|
| 823 | if (\$uname =~ /NetBSD.*2\\.0/i) { |
---|
| 824 | print "oscheck='NetBSD 2.0'\\n"; |
---|
| 825 | } |
---|
| 826 | if (\$uname =~ /DragonFly.*\\s1\\.0A/i) { |
---|
| 827 | print "oscheck='DragonFly BSD 1.0'\\n"; |
---|
| 828 | } |
---|
| 829 | if (\$uname =~ /HP-UX.*10\\.01/) { |
---|
| 830 | print "oscheck='HP/UX 10.01'\\n"; |
---|
| 831 | } |
---|
| 832 | if (\$uname =~ /HP-UX.*10\\.10/) { |
---|
| 833 | print "oscheck='HP/UX 10.10'\\n"; |
---|
| 834 | } |
---|
| 835 | if (\$uname =~ /HP-UX.*10\\.20/) { |
---|
| 836 | print "oscheck='HP/UX 10.20'\\n"; |
---|
| 837 | } |
---|
| 838 | if (\$uname =~ /HP-UX.*10\\.30/) { |
---|
| 839 | print "oscheck='HP/UX 10.30'\\n"; |
---|
| 840 | } |
---|
| 841 | if (\$uname =~ /HP-UX.*11\\./) { |
---|
| 842 | print "oscheck='HP/UX 11'\\n"; |
---|
| 843 | } |
---|
| 844 | if (\$uname =~ /IRIX.*6\\.0/i) { |
---|
| 845 | print "oscheck='SGI Irix 6.0'\\n"; |
---|
| 846 | } |
---|
| 847 | if (\$uname =~ /IRIX.*6\\.1/i) { |
---|
| 848 | print "oscheck='SGI Irix 6.1'\\n"; |
---|
| 849 | } |
---|
| 850 | if (\$uname =~ /IRIX.*6\\.2/i) { |
---|
| 851 | print "oscheck='SGI Irix 6.2'\\n"; |
---|
| 852 | } |
---|
| 853 | if (\$uname =~ /IRIX.*6\\.3/i) { |
---|
| 854 | print "oscheck='SGI Irix 6.3'\\n"; |
---|
| 855 | } |
---|
| 856 | if (\$uname =~ /IRIX.*6\\.4/i) { |
---|
| 857 | print "oscheck='SGI Irix 6.4'\\n"; |
---|
| 858 | } |
---|
| 859 | if (\$uname =~ /IRIX.*6\\.5/i) { |
---|
| 860 | print "oscheck='SGI Irix 6.5'\\n"; |
---|
| 861 | } |
---|
| 862 | if (\$uname =~ /OSF1.*4\\.0/) { |
---|
| 863 | print "oscheck='DEC/Compaq OSF/1 4.0'\\n"; |
---|
| 864 | } |
---|
| 865 | if (\$uname =~ /OSF1.*V5.1/) { |
---|
| 866 | print "oscheck='DEC/Compaq OSF/1 5.1'\\n"; |
---|
| 867 | } |
---|
| 868 | if (\$uname =~ /\\sAIX\\s+2\\s+4\\s+/i) { |
---|
| 869 | print "oscheck='IBM AIX 4.2'\\n"; |
---|
| 870 | } |
---|
| 871 | if (\$uname =~ /\\sAIX\\s+3\\s+4\\s+/i) { |
---|
| 872 | print "oscheck='IBM AIX 4.3'\\n"; |
---|
| 873 | } |
---|
| 874 | if (\$uname =~ /\\sAIX\\s+0\\s+5\\s+/i) { |
---|
| 875 | print "oscheck='IBM AIX 5.0'\\n"; |
---|
| 876 | } |
---|
| 877 | if (\$uname =~ /\\sAIX\\s+1\\s+5\\s+/i) { |
---|
| 878 | print "oscheck='IBM AIX 5.1'\\n"; |
---|
| 879 | } |
---|
| 880 | if (\$uname =~ /\\sAIX\\s+2\\s+5\\s+/i) { |
---|
| 881 | print "oscheck='IBM AIX 5.2'\\n"; |
---|
| 882 | } |
---|
| 883 | if (\$uname =~ /SCO_SV.*\\s5\\./i) { |
---|
| 884 | print "oscheck='SCO OpenServer 5'\\n"; |
---|
| 885 | } |
---|
| 886 | if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.0/i) { |
---|
| 887 | print "oscheck='Mac OS X / OS X Server 10.0'\\n"; |
---|
| 888 | } |
---|
| 889 | if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.1/i) { |
---|
| 890 | print "oscheck='Mac OS X / OS X Server 10.1'\\n"; |
---|
| 891 | } |
---|
| 892 | if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.2/i) { |
---|
| 893 | print "oscheck='Mac OS X / OS X Server 10.2'\\n"; |
---|
| 894 | } |
---|
| 895 | if (\`sw_vers 2>/dev/null\` =~ /ProductVersion:\\s+10\\.3/i) { |
---|
| 896 | print "oscheck='Mac OS X / OS X Server 10.3'\\n"; |
---|
| 897 | } |
---|
| 898 | if (\$uname =~ /Darwin.*\\s1\\.0/) { |
---|
| 899 | print "oscheck='Darwin 1.0'\\n"; |
---|
| 900 | } |
---|
| 901 | if (\$uname =~ /Darwin.*\\s1\\.2/) { |
---|
| 902 | print "oscheck='Darwin 1.2'\\n"; |
---|
| 903 | } |
---|
| 904 | if (\$uname =~ /Darwin.*\\s1\\.3/) { |
---|
| 905 | print "oscheck='Darwin 1.3'\\n"; |
---|
| 906 | } |
---|
| 907 | if (\$uname =~ /Darwin.*\\s1\\.4/) { |
---|
| 908 | print "oscheck='Darwin 1.4'\\n"; |
---|
| 909 | } |
---|
| 910 | if (\$uname =~ /Darwin.*\\s5\\.1/) { |
---|
| 911 | print "oscheck='Darwin 5.1'\\n"; |
---|
| 912 | } |
---|
| 913 | if (\$uname =~ /Darwin.*\\s5\\.2/) { |
---|
| 914 | print "oscheck='Darwin 5.2'\\n"; |
---|
| 915 | } |
---|
| 916 | if (\$uname =~ /Darwin.*\\s5\\.3/) { |
---|
| 917 | print "oscheck='Darwin 5.3'\\n"; |
---|
| 918 | } |
---|
| 919 | if (\$uname =~ /Darwin.*\\s5\\.4/) { |
---|
| 920 | print "oscheck='Darwin 5.4'\\n"; |
---|
| 921 | } |
---|
| 922 | if (\$uname =~ /Darwin.*\\s5\\.5/) { |
---|
| 923 | print "oscheck='Darwin 5.5'\\n"; |
---|
| 924 | } |
---|
| 925 | if (\$uname =~ /Darwin.*\\s6\\.0/) { |
---|
| 926 | print "oscheck='Darwin 6.0'\\n"; |
---|
| 927 | } |
---|
| 928 | if (\$uname =~ /Darwin.*\\s6\\.1/) { |
---|
| 929 | print "oscheck='Darwin 6.1'\\n"; |
---|
| 930 | } |
---|
| 931 | if (\$uname =~ /Darwin.*\\s6\\.2/) { |
---|
| 932 | print "oscheck='Darwin 6.2'\\n"; |
---|
| 933 | } |
---|
| 934 | if (\$uname =~ /Darwin.*\\s6\\.3/) { |
---|
| 935 | print "oscheck='Darwin 6.3'\\n"; |
---|
| 936 | } |
---|
| 937 | if (\$uname =~ /Darwin.*\\s6\\.4/) { |
---|
| 938 | print "oscheck='Darwin 6.4'\\n"; |
---|
| 939 | } |
---|
| 940 | if (\$uname =~ /Darwin.*\\s6\\.5/) { |
---|
| 941 | print "oscheck='Darwin 6.5'\\n"; |
---|
| 942 | } |
---|
| 943 | if (\$uname =~ /Darwin.*\\s6\\.6/) { |
---|
| 944 | print "oscheck='Darwin 6.6'\\n"; |
---|
| 945 | } |
---|
| 946 | if (\$uname =~ /Darwin.*\\s6\\.7/) { |
---|
| 947 | print "oscheck='Darwin 6.7'\\n"; |
---|
| 948 | } |
---|
| 949 | if (\$uname =~ /Darwin.*\\s6\\.8/) { |
---|
| 950 | print "oscheck='Darwin 6.8'\\n"; |
---|
| 951 | } |
---|
| 952 | if (\$uname =~ /Darwin.*\\s7\\.0/) { |
---|
| 953 | print "oscheck='Darwin 7.0'\\n"; |
---|
| 954 | } |
---|
| 955 | if (\$uname =~ /Darwin.*\\s7\\.1/) { |
---|
| 956 | print "oscheck='Darwin 7.1'\\n"; |
---|
| 957 | } |
---|
| 958 | if (\$uname =~ /Darwin.*\\s7\\.2/) { |
---|
| 959 | print "oscheck='Darwin 7.2'\\n"; |
---|
| 960 | } |
---|
| 961 | if (\$uname =~ /Darwin.*\\s7\\.3/) { |
---|
| 962 | print "oscheck='Darwin 7.3'\\n"; |
---|
| 963 | } |
---|
| 964 | if (\$uname =~ /Darwin.*\\s7\\.4/) { |
---|
| 965 | print "oscheck='Darwin 7.4'\\n"; |
---|
| 966 | } |
---|
| 967 | if (\$uname =~ /Darwin.*\\s7\\.5/) { |
---|
| 968 | print "oscheck='Darwin 7.5'\\n"; |
---|
| 969 | } |
---|
| 970 | if (\`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 | } |
---|
| 973 | if (\`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 | } |
---|
| 976 | if (\`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 | } |
---|
| 979 | if (\$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 | |
---|
| 983 | EOD |
---|
| 984 | . /tmp/.webmin/$$.check |
---|
| 985 | rm -f /tmp/.webmin/$$.check |
---|
| 986 | if [ ! -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 |
---|
| 1002 | fi |
---|
| 1003 | |
---|
| 1004 | %post |
---|
| 1005 | /sbin/chkconfig --add webmin |
---|
| 1006 | if [ "$1" != 1 ]; then |
---|
| 1007 | # Upgrading the RPM, so stop the old webmin properly |
---|
| 1008 | /etc/init.d/webmin stop |
---|
| 1009 | fi |
---|
| 1010 | cd /usr/libexec/webmin |
---|
| 1011 | config_dir=/etc/webmin |
---|
| 1012 | var_dir=/var/webmin |
---|
| 1013 | if [ -f $config_dir/config ]; then |
---|
| 1014 | perl -pi -e 's/lang=ja\n/lang=ja_JP.euc\n/g' $config_dir/config |
---|
| 1015 | fi |
---|
| 1016 | perl=/usr/bin/perl |
---|
| 1017 | autoos=3 |
---|
| 1018 | if [ "$WEBMIN_PORT" != "" ]; then |
---|
| 1019 | port=$WEBMIN_PORT |
---|
| 1020 | else |
---|
| 1021 | port=10000 |
---|
| 1022 | fi |
---|
| 1023 | login=root |
---|
| 1024 | if [ -r /etc/shadow ]; then |
---|
| 1025 | #crypt=`grep "^root:" /etc/shadow | cut -f 2 -d :` |
---|
| 1026 | crypt=x |
---|
| 1027 | else |
---|
| 1028 | crypt=`grep "^root:" /etc/passwd | cut -f 2 -d :` |
---|
| 1029 | fi |
---|
| 1030 | host=localhost |
---|
| 1031 | ssl=1 |
---|
| 1032 | atboot=1 |
---|
| 1033 | nochown=1 |
---|
| 1034 | autothird=1 |
---|
| 1035 | noperlpath=1 |
---|
| 1036 | nouninstall=1 |
---|
| 1037 | nostart=1 |
---|
| 1038 | allow=127.0.0.1 |
---|
| 1039 | CONF_LST_LANG=ja_JP.euc |
---|
| 1040 | export 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 |
---|
| 1042 | rm -f /var/lock/subsys/webmin |
---|
| 1043 | /etc/init.d/webmin start |
---|
| 1044 | cat >/etc/webmin/uninstall.sh <<EOFF |
---|
| 1045 | #!/bin/sh |
---|
| 1046 | printf "Are you sure you want to uninstall Webmin? (y/n) : " |
---|
| 1047 | read answer |
---|
| 1048 | printf "\n" |
---|
| 1049 | if [ "\$answer" = "y" ]; then |
---|
| 1050 | echo "Removing webmin RPM .." |
---|
| 1051 | rpm -e --nodeps webmin |
---|
| 1052 | echo "Done!" |
---|
| 1053 | fi |
---|
| 1054 | EOFF |
---|
| 1055 | chmod +x /etc/webmin/uninstall.sh |
---|
| 1056 | if [ -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 |
---|
| 1059 | fi |
---|
| 1060 | %if %{?_dist_release}=="vl4" |
---|
| 1061 | if [ "$LANG" = "ja_JP.eucJP" ]; then |
---|
| 1062 | %else |
---|
| 1063 | if [ "$LANG" = "ja_JP.UTF-8" ]; then |
---|
| 1064 | %endif |
---|
| 1065 | echo "Webminがインストールされました。mozillaなどのブラウザを開き、" |
---|
| 1066 | echo "https://$host:10000/ にアクセスし、rootでログインしてください。" |
---|
| 1067 | else |
---|
| 1068 | echo "Webmin install complete. You can now login to https://$host:10000/" |
---|
| 1069 | echo "as root with your root password." |
---|
| 1070 | fi |
---|
| 1071 | %preun |
---|
| 1072 | if [ "$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 |
---|
| 1083 | fi |
---|
| 1084 | |
---|
| 1085 | %postun |
---|
| 1086 | if [ "$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 |
---|
| 1093 | fi |
---|
| 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 |
---|