From cfe31ca7acca396c4f2744114c08fc0802cef5c3 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 15 Aug 2007 15:36:56 +0000 Subject: * switched from perl-based distro-configuration files to "real" configuration files (handled by Config::General) * removed most version specific distribution modules (only Debian-3.1 remains as it requires some special treatment). For all the other distributions, the specific info is now contained in the configuration files * added configuration files (settings.default) for every supported distribution (only Fedora is still missing some info) * added support for inclusion of (externally generated) mirror lists and automatic selection of the five best (fastest) mirrors from that list (20 are tried). For each repository, a mirror configuration file is created (in /etc/opt/openslx/distro-info//mirrors/) after that info has been gathered. * added current mirror lists for each distribution repository to the distro-info hierarchy * updated settings.example to reflect new configuration syntax git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1322 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSSetup/Distro/Base.pm | 5 - installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm | 66 -- installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm | 82 -- .../OpenSLX/OSSetup/Distro/Debian_4_0_amd64.pm | 91 -- installer/OpenSLX/OSSetup/Distro/Fedora_6.pm | 158 --- .../OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm | 158 --- installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm | 1023 ------------------ .../OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm | 1024 ------------------ installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm | 1109 -------------------- .../OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm | 365 ------- installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm | 102 -- .../OpenSLX/OSSetup/Distro/Ubuntu_6_10_amd64.pm | 102 -- installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm | 103 -- .../OpenSLX/OSSetup/Distro/Ubuntu_7_04_amd64.pm | 103 -- installer/OpenSLX/OSSetup/Engine.pm | 472 ++++++--- installer/OpenSLX/OSSetup/MetaPackager/apt.pm | 7 +- installer/OpenSLX/OSSetup/MetaPackager/smart.pm | 3 - installer/OpenSLX/OSSetup/MetaPackager/yum.pm | 7 +- installer/OpenSLX/OSSetup/Packager/dpkg.pm | 4 +- 19 files changed, 361 insertions(+), 4623 deletions(-) delete mode 100644 installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Debian_4_0_amd64.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Fedora_6.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10_amd64.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm delete mode 100644 installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04_amd64.pm (limited to 'installer') diff --git a/installer/OpenSLX/OSSetup/Distro/Base.pm b/installer/OpenSLX/OSSetup/Distro/Base.pm index e1ca0a64..d87f3d27 100644 --- a/installer/OpenSLX/OSSetup/Distro/Base.pm +++ b/installer/OpenSLX/OSSetup/Distro/Base.pm @@ -108,7 +108,6 @@ sub initialize - *.bak "; - $self->initDistroInfo(); return; } @@ -116,10 +115,6 @@ sub fixPrerequiredFiles { } -sub initDistroInfo -{ -} - sub startSession { my $self = shift; diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm index a903947d..24ca7ef5 100644 --- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm +++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm @@ -24,72 +24,6 @@ use OpenSLX::Utils; ################################################################################ ### implementation ################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'debian-3.1', - 'arch' => 'i386', - 'release-name' => 'sarge', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://debian.intergenia.de/debian - ", - 'name' => 'Debian 3.1', - 'repo-subdir' => 'dists', - 'distribution' => 'sarge', - 'components' => 'main', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - kernel-image-2.6-386 - locales - ", - - 'gnome' => " - <<>> - gnome - ", - - 'kde' => " - <<>> - kde - ", - - # current 32-bit build platform for OpenSLX: - 'openslx-build' => " - <<>> - bzip2 - gcc - libc6-dev - make - ", - - }; - - return; -} - sub preSystemInstallationHook { my $self = shift; diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm deleted file mode 100644 index 36b2b1be..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Debian_4_0.pm -# - provides Debian-4.0-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Debian_4_0; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Debian); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'debian-4.0', - 'arch' => 'i386', - 'release-name' => 'etch', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://debian.intergenia.de/debian - ", - 'name' => 'Debian 4.0', - 'repo-subdir' => 'dists', - 'distribution' => 'etch', - 'components' => 'main', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2etch1_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - linux-image-486 - locales-all - ", - - 'gnome' => " - <<>> - gnome - ", - - 'kde' => " - <<>> - kde - ", - }; - - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_4_0_amd64.pm b/installer/OpenSLX/OSSetup/Distro/Debian_4_0_amd64.pm deleted file mode 100644 index 4bfd6841..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Debian_4_0_amd64.pm +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Debian_4_0_amd64.pm -# - provides Debian-4.0_amd64-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Debian_4_0_amd64; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Debian); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'debian-4.0_amd64', - 'arch' => 'amd64', - 'release-name' => 'etch', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://debian.intergenia.de/debian - ", - 'name' => 'Debian 4.0', - 'repo-subdir' => 'dists', - 'distribution' => 'etch', - 'components' => 'main', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2etch1_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - linux-image-amd64 - locales-all - ", - - 'gnome' => " - <<>> - gnome - ", - - 'kde' => " - <<>> - kde - ", - - # current 64-bit build platform for OpenSLX: - 'openslx-build' => " - <<>> - bzip2 - gcc - libc6-dev - make - ", - }; - - return; -} - -1; diff --git a/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm b/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm deleted file mode 100644 index 18cc8d18..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Fedora_6.pm +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Fedora_6.pm -# - provides Fedora-6-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Fedora_6; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Fedora); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'fedora-6', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/linux/fedora/linux/core/6/i386/os - http://mirror.linux.duke.edu/pub/fedora/linux/core/6/i386/os - ftp://www.las.ic.unicamp.br/pub/fedora/linux/core/6/i386/os - ftp://sunsite.mff.cuni.cz/pub/fedora/linux/core/6/i386/os - ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/6/i386/os - ", - 'name' => 'Fedora Core 6', - 'repo-subdir' => '', - }, - 'base_update' => { - 'urls' => ' - ftp://ftp5.gwdg.de/pub/linux/fedora/linux/core/updates/$releasever/$basearch/ - ', - 'name' => 'Fedora Core 6 updates', - 'repo-subdir' => '', - }, - }; - - $self->{config}->{'package-subdir'} = 'Fedora/RPMS'; - - $self->{config}->{'prereq-packages'} = " - beecrypt-4.1.2-10.1.1.i386.rpm - bzip2-libs-1.0.3-3.i386.rpm - e2fsprogs-libs-1.39-7.i386.rpm - elfutils-libelf-0.123-1.fc6.i386.rpm - expat-1.95.8-8.2.1.i386.rpm - glibc-2.5-3.i386.rpm - krb5-libs-1.5-7.i386.rpm - libgcc-4.1.1-30.i386.rpm - libselinux-1.30.29-2.i386.rpm - libsepol-1.12.27-1.i386.rpm - libstdc++-4.1.1-30.i386.rpm - neon-0.25.5-5.1.i386.rpm - popt-1.10.2-32.i386.rpm - openssl-0.9.8b-8.i386.rpm - rpm-4.4.2-32.i386.rpm - rpm-libs-4.4.2-32.i386.rpm - sqlite-3.3.6-2.i386.rpm - zlib-1.2.3-3.i386.rpm - "; - - $self->{config}->{'bootstrap-packages'} = " - audit-libs-1.2.8-1.fc6.i386.rpm - basesystem-8.0-5.1.1.noarch.rpm - bash-3.1-16.1.i386.rpm - chkconfig-1.3.30-1.i386.rpm - coreutils-5.97-11.i386.rpm - cpio-2.6-19.i386.rpm - cracklib-2.8.9-3.1.i386.rpm - cracklib-dicts-2.8.9-3.1.i386.rpm - db4-4.3.29-9.fc6.i386.rpm - device-mapper-1.02.07-3.i386.rpm - dmraid-1.0.0.rc13-1.fc6.i386.rpm - e2fsprogs-1.39-7.i386.rpm - ethtool-3-1.2.2.i386.rpm - fedora-release-6-4.noarch.rpm - fedora-release-notes-6-3.noarch.rpm - filesystem-2.4.0-1.i386.rpm - findutils-4.2.27-4.1.i386.rpm - gawk-3.1.5-11.i386.rpm - gdbm-1.8.0-26.2.1.i386.rpm - glib2-2.12.3-2.fc6.i386.rpm - glibc-common-2.5-3.i386.rpm - grep-2.5.1-54.1.i386.rpm - gzip-1.3.5-9.i386.rpm - info-4.8-11.1.i386.rpm - initscripts-8.45.3-1.i386.rpm - iproute-2.6.16-6.fc6.i386.rpm - iputils-20020927-41.fc6.i386.rpm - kernel-2.6.18-1.2798.fc6.i586.rpm - kpartx-0.4.7-5.i386.rpm - less-394-4.1.i386.rpm - libacl-2.2.39-1.1.i386.rpm - libattr-2.4.32-1.1.i386.rpm - libcap-1.10-25.i386.rpm - libtermcap-2.0.8-46.1.i386.rpm - lvm2-2.02.06-4.i386.rpm - MAKEDEV-3.23-1.2.i386.rpm - mcstrans-0.1.8-3.i386.rpm - mingetty-1.07-5.2.2.i386.rpm - mkinitrd-5.1.19-1.i386.rpm - mktemp-1.5-23.2.2.i386.rpm - module-init-tools-3.3-0.pre1.4.17.i386.rpm - nash-5.1.19-1.i386.rpm - ncurses-5.5-24.20060715.i386.rpm - net-tools-1.60-73.i386.rpm - pam-0.99.6.2-3.fc6.i386.rpm - pcre-6.6-1.1.i386.rpm - procps-3.2.7-8.i386.rpm - psmisc-22.2-5.i386.rpm - python-2.4.3-18.fc6.i386.rpm - readline-5.1-1.1.i386.rpm - sed-4.1.5-5.fc6.i386.rpm - setup-2.5.55-1.noarch.rpm - shadow-utils-4.0.17-5.i386.rpm - sysklogd-1.4.1-39.2.i386.rpm - SysVinit-2.86-14.i386.rpm - tar-1.15.1-19.i386.rpm - termcap-5.5-1.20060701.1.noarch.rpm - tzdata-2006m-2.fc6.noarch.rpm - udev-095-14.i386.rpm - util-linux-2.13-0.44.fc6.i386.rpm - libxml2-2.6.26-2.1.1.i386.rpm - python-elementtree-1.2.6-5.i386.rpm - python-sqlite-1.1.7-1.2.1.i386.rpm - python-urlgrabber-2.9.9-2.noarch.rpm - rpm-python-4.4.2-32.i386.rpm - yum-3.0-6.noarch.rpm - yum-metadata-parser-1.0-8.fc6.i386.rpm - "; - - $self->{config}->{'selection'} = { - 'default' => "", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm deleted file mode 100644 index 894b11b6..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Fedora_6_x86_64.pm +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright (c) 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Fedora_6_x86_64.pm -# - provides Fedora-6-x86_64-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Fedora_6_x86_64; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Fedora); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'fedora-6_x86_64', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/linux/fedora/linux/core/6/x86_64/os - http://mirror.linux.duke.edu/pub/fedora/linux/core/6/x86_64/os - ftp://www.las.ic.unicamp.br/pub/fedora/linux/core/6/x86_64/os - ftp://sunsite.mff.cuni.cz/pub/fedora/linux/core/6/x86_64/os - ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/6/x86_64/os - ", - 'name' => 'Fedora Core 6', - 'repo-subdir' => '', - }, - 'base_update' => { - 'urls' => ' - ftp://ftp5.gwdg.de/pub/linux/fedora/linux/core/updates/$releasever/$basearch/ - ', - 'name' => 'Fedora Core 6 updates', - 'repo-subdir' => '', - }, - }; - - $self->{config}->{'package-subdir'} = 'Fedora/RPMS'; - - $self->{config}->{'prereq-packages'} = " - beecrypt-4.1.2-10.1.1.x86_64.rpm - bzip2-libs-1.0.3-3.x86_64.rpm - e2fsprogs-libs-1.39-7.x86_64.rpm - elfutils-libelf-0.123-1.fc6.x86_64.rpm - expat-1.95.8-8.2.1.x86_64.rpm - glibc-2.5-3.x86_64.rpm - krb5-libs-1.5-7.x86_64.rpm - libgcc-4.1.1-30.x86_64.rpm - libselinux-1.30.29-2.x86_64.rpm - libsepol-1.12.27-1.x86_64.rpm - libstdc++-4.1.1-30.x86_64.rpm - neon-0.25.5-5.1.x86_64.rpm - popt-1.10.2-32.x86_64.rpm - openssl-0.9.8b-8.x86_64.rpm - rpm-4.4.2-32.x86_64.rpm - rpm-libs-4.4.2-32.x86_64.rpm - sqlite-3.3.6-2.x86_64.rpm - zlib-1.2.3-3.x86_64.rpm - "; - - $self->{config}->{'bootstrap-packages'} = " - audit-libs-1.2.8-1.fc6.x86_64.rpm - basesystem-8.0-5.1.1.noarch.rpm - bash-3.1-16.1.x86_64.rpm - chkconfig-1.3.30-1.x86_64.rpm - coreutils-5.97-11.x86_64.rpm - cpio-2.6-19.x86_64.rpm - cracklib-2.8.9-3.1.x86_64.rpm - cracklib-dicts-2.8.9-3.1.x86_64.rpm - db4-4.3.29-9.fc6.x86_64.rpm - device-mapper-1.02.07-3.x86_64.rpm - dmraid-1.0.0.rc13-1.fc6.x86_64.rpm - e2fsprogs-1.39-7.x86_64.rpm - ethtool-3-1.2.2.x86_64.rpm - fedora-release-6-4.noarch.rpm - fedora-release-notes-6-3.noarch.rpm - filesystem-2.4.0-1.x86_64.rpm - findutils-4.2.27-4.1.x86_64.rpm - gawk-3.1.5-11.x86_64.rpm - gdbm-1.8.0-26.2.1.x86_64.rpm - glib2-2.12.3-2.fc6.x86_64.rpm - glibc-common-2.5-3.x86_64.rpm - grep-2.5.1-54.1.x86_64.rpm - gzip-1.3.5-9.x86_64.rpm - info-4.8-11.1.x86_64.rpm - initscripts-8.45.3-1.x86_64.rpm - iproute-2.6.16-6.fc6.x86_64.rpm - iputils-20020927-41.fc6.x86_64.rpm - kernel-2.6.18-1.2798.fc6.x86_64.rpm - kpartx-0.4.7-5.x86_64.rpm - less-394-4.1.x86_64.rpm - libacl-2.2.39-1.1.x86_64.rpm - libattr-2.4.32-1.1.x86_64.rpm - libcap-1.10-25.x86_64.rpm - libtermcap-2.0.8-46.1.x86_64.rpm - lvm2-2.02.06-4.x86_64.rpm - MAKEDEV-3.23-1.2.x86_64.rpm - mcstrans-0.1.8-3.x86_64.rpm - mingetty-1.07-5.2.2.x86_64.rpm - mkinitrd-5.1.19-1.x86_64.rpm - mktemp-1.5-23.2.2.x86_64.rpm - module-init-tools-3.3-0.pre1.4.17.x86_64.rpm - nash-5.1.19-1.x86_64.rpm - ncurses-5.5-24.20060715.x86_64.rpm - net-tools-1.60-73.x86_64.rpm - pam-0.99.6.2-3.fc6.x86_64.rpm - pcre-6.6-1.1.x86_64.rpm - procps-3.2.7-8.x86_64.rpm - psmisc-22.2-5.x86_64.rpm - python-2.4.3-18.fc6.x86_64.rpm - readline-5.1-1.1.x86_64.rpm - sed-4.1.5-5.fc6.x86_64.rpm - setup-2.5.55-1.noarch.rpm - shadow-utils-4.0.17-5.x86_64.rpm - sysklogd-1.4.1-39.2.x86_64.rpm - SysVinit-2.86-14.x86_64.rpm - tar-1.15.1-19.x86_64.rpm - termcap-5.5-1.20060701.1.noarch.rpm - tzdata-2006m-2.fc6.noarch.rpm - udev-095-14.x86_64.rpm - util-linux-2.13-0.44.fc6.x86_64.rpm - libxml2-2.6.26-2.1.1.x86_64.rpm - python-elementtree-1.2.6-5.x86_64.rpm - python-sqlite-1.1.7-1.2.1.x86_64.rpm - python-urlgrabber-2.9.9-2.noarch.rpm - rpm-python-4.4.2-32.x86_64.rpm - yum-3.0-6.noarch.rpm - yum-metadata-parser-1.0-8.fc6.x86_64.rpm - "; - - $self->{config}->{'selection'} = { - 'default' => "", - }; - return; -} - -1; diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm deleted file mode 100644 index 41c176cf..00000000 --- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1.pm +++ /dev/null @@ -1,1023 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# SUSE_10_1.pm -# - provides SUSE-10.1-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::SUSE_10_1; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::SUSE); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'suse-10.1', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/SL-10.1/inst-source - ftp://suse.inode.at/opensuse/distribution/SL-10.1/inst-source - http://mirrors.uol.com.br/pub/suse/distribution/SL-10.1/inst-source - ftp://klid.dk/opensuse/distribution/SL-10.1/inst-source - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/SL-10.1/inst-source - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/SL-10.1/inst-source - ", - 'name' => 'SUSE Linux 10.1', - 'repo-subdir' => 'suse', - }, - 'base_non-oss' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/SL-10.1/non-oss-inst-source - ftp://suse.inode.at/opensuse/distribution/SL-10.1/non-oss-inst-source - http://mirrors.uol.com.br/pub/suse/distribution/SL-10.1/non-oss-inst-source - ftp://klid.dk/opensuse/distribution/SL-10.1/non-oss-inst-source - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/SL-10.1/non-oss-inst-source - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/SL-10.1/non-oss-inst-source - ", - 'name' => 'openSUSE 10.1 non-OSS', - 'repo-subdir' => 'suse', - }, - 'base_update' => { - 'urls' => " - ftp://ftp.gwdg.de/pub/suse/update/10.1 - ", - 'name' => 'SUSE Linux 10.1 updates', - 'repo-subdir' => '', - }, - }; - - $self->{config}->{'package-subdir'} = 'suse'; - - $self->{config}->{'prereq-packages'} = " - i586/bzip2-1.0.3-15.i586.rpm - i586/glibc-2.4-25.i586.rpm i586/glibc-2.4-31.1.i586.rpm - i586/popt-1.7-268.i586.rpm - i586/rpm-4.4.2-40.i586.rpm i586/rpm-4.4.2-43.4.i586.rpm - i586/zlib-1.2.3-13.i586.rpm - "; - - $self->{config}->{'bootstrap-packages'} = " - i586/aaa_base-10.1-41.i586.rpm - i586/aaa_skel-2006.3.29-5.i586.rpm i586/aaa_skel-2006.5.19-0.2.i586.rpm - i586/ash-1.6.1-13.i586.rpm - i586/bash-3.1-22.i586.rpm i586/bash-3.1-24.3.i586.rpm - i586/blocxx-1.0.0-15.i586.rpm - i586/coreutils-5.93-20.i586.rpm - i586/cpio-2.6-17.i586.rpm - i586/cracklib-2.8.6-12.i586.rpm - i586/cyrus-sasl-2.1.21-18.i586.rpm - i586/db-4.3.29-13.i586.rpm - i586/diffutils-2.8.7-15.i586.rpm - i586/e2fsprogs-1.38-25.i586.rpm - i586/expat-2.0.0-11.i586.rpm - i586/file-4.16-13.i586.rpm i586/file-4.16-15.4.i586.rpm - i586/filesystem-10.1-5.i586.rpm - i586/fillup-1.42-116.i586.rpm - i586/findutils-4.2.27-12.i586.rpm - i586/gawk-3.1.5-18.i586.rpm - i586/gdbm-1.8.3-241.i586.rpm - i586/gpg-1.4.2-23.i586.rpm i586/gpg-1.4.2-23.7.i586.rpm - i586/grep-2.5.1a-18.i586.rpm - i586/gzip-1.3.5-157.i586.rpm i586/gzip-1.3.5-159.5.i586.rpm - i586/info-4.8-20.i586.rpm - i586/insserv-1.04.0-18.i586.rpm - i586/irqbalance-0.09-58.i586.rpm - i586/kernel-default-2.6.16.13-4.i586.rpm i586/kernel-default-2.6.16.21-0.25.i586.rpm - i586/libacl-2.2.34-12.i586.rpm - i586/libattr-2.4.28-14.i586.rpm - i586/libcom_err-1.38-25.i586.rpm - i586/libgcc-4.1.0-25.i586.rpm - i586/libstdc++-4.1.0-25.i586.rpm - i586/libxcrypt-2.4-10.i586.rpm - i586/libzio-0.1-15.i586.rpm - i586/limal-1.1.6-8.i586.rpm - i586/limal-bootloader-1.1.2-7.i586.rpm - i586/limal-perl-1.1.6-8.i586.rpm - i586/logrotate-3.7.3-11.i586.rpm - i586/mdadm-2.2-30.i586.rpm - i586/mingetty-0.9.6s-86.i586.rpm - i586/mkinitrd-1.2-103.i586.rpm i586/mkinitrd-1.2-106.19.i586.rpm - i586/mktemp-1.5-742.i586.rpm - i586/module-init-tools-3.2.2-32.i586.rpm i586/module-init-tools-3.2.2-32.13.i586.rpm - i586/ncurses-5.5-16.i586.rpm - i586/net-tools-1.60-581.i586.rpm - i586/openldap2-client-2.3.19-18.i586.rpm - i586/openssl-0.9.8a-16.i586.rpm i586/openssl-0.9.8a-18.10.i586.rpm - i586/pam-0.99.3.0-25.i586.rpm i586/pam-0.99.3.0-29.3.i586.rpm - i586/pciutils-2.2.1-14.i586.rpm - i586/pcre-6.4-12.i586.rpm - i586/perl-5.8.8-12.i586.rpm - i586/perl-Bootloader-0.2.20-7.i586.rpm i586/perl-Bootloader-0.2.27-0.4.i586.rpm - i586/perl-gettext-1.05-11.i586.rpm - i586/permissions-2006.2.24-8.i586.rpm - i586/readline-5.1-22.i586.rpm - i586/reiserfs-3.6.19-17.i586.rpm - i586/sed-4.1.4-15.i586.rpm - i586/suse-release-10.1-9.i586.rpm - i586/sysvinit-2.86-19.i586.rpm - i586/udev-085-29.i586.rpm i586/udev-085-30.15.i586.rpm - i586/util-linux-2.12r-35.i586.rpm - noarch/suse-build-key-1.0-685.noarch.rpm - "; - - $self->{config}->{'metapackager-packages'} = { - 'smart' => " - i586/python-2.4.2-18.i586.rpm - i586/python-elementtree-1.2.6-18.i586.rpm - i586/python-xml-2.4.2-18.i586.rpm - i586/rpm-python-4.4.2-40.i586.rpm - i586/smart-0.41-23.i586.rpm i586/smart-0.41-23.2.i586.rpm - ", - 'yum' => " - i586/libxml2-2.6.23-13.i586.rpm - i586/libxml2-python-2.6.23-15.i586.rpm - i586/python-2.4.2-18.i586.rpm - i586/python-elementtree-1.2.6-18.i586.rpm - i586/python-sqlite-1.1.6-17.i586.rpm - i586/python-urlgrabber-2.9.7-15.i586.rpm - i586/rpm-python-4.4.2-40.i586.rpm - i586/sqlite-3.2.8-14.i586.rpm - i586/yum-2.4.2-13.i586.rpm - ", - }; - - $self->{config}->{'selection'} = { - 'default' => " - glibc-locale - ", - - 'gnome' => " - <<>> - 3ddiag - 855resolution - a2ps - aaa_base - aaa_skel - aalib - acl - acpid - alsa - alsa-firmware - alsa-tools - apparmor-docs - apparmor-parser - apparmor-profiles - apparmor-utils - arts - art-sharp - art-sharp2 - ash - aspell - aspell-en - at - atk - at-spi - attr - audiofile - audit - audit-libs - autofs - autoyast2 - autoyast2-installation - awesfx - banshee - banshee-engine-gst - banshee-plugins-DAAP - bash - bc - beagle - beagle-evolution - beagle-firefox - beagle-gui - beagle-index - bind-libs - bind-utils - binutils - bitstream-vera - blam - blocxx - blt - bluez-libs - bluez-utils - boost - bootsplash - bootsplash-theme-SuSE - bug-buddy - busybox - bzip2 - cabextract - cairo - capi4linux - cdparanoia - cdrdao - cdrecord - CheckHardware - checkmedia - cifs-mount - compat - compat-curl2 - compat-libstdc++ - compat-openssl097g - contact-lookup-applet - control-center2 - convmv - coreutils - cpio - cpp - cpufrequtils - cracklib - cron - Crystalcursors - cups - cups-client - cups-drivers - cups-drivers-stp - cups-libs - cups-SUSE-ppds-dat - curl - cyrus-sasl - cyrus-sasl-saslauthd - dasher - db - dbus-1 - dbus-1-glib - dbus-1-gtk - dbus-1-mono - dbus-1-python - dbus-1-qt3 - dbus-1-x11 - dcraw - dejavu - deltarpm - desktop-data-SuSE - desktop-file-utils - desktop-translations - device-mapper - devs - dhcdbd - dhcp - dhcpcd - dhcp-client - dia - dialog - diffutils - DirectFB - dirmngr - dmraid - docbook_4 - dos2unix - dosbootdisk - dosfstools - dvd+rw-tools - e2fsprogs - ed - eel - efont-unicode - eject - enigma - eog - epiphany - epiphany-extensions - esound - ethtool - evince - evolution - evolution-data-server - evolution-exchange - evolution-pilot - evolution-sharp - evolution-webcal - expat - fam - fam-server - fbset - festival - file - file-roller - fileshareset - filesystem - fillup - filters - findutils - finger - flac - fontconfig - fonts-config - foomatic-filters - freeciv - freeglut - freetype - freetype2 - fribidi - frozen-bubble - f-spot - fvwm2 - gail - gaim - gal2 - gawk - gcalctool - gconf2 - gconf-editor - gconf-sharp - gconf-sharp2 - gdb - gdbm - gdk-pixbuf - gdm - gecko-sharp - gecko-sharp2 - gedit - gettext - ghex - ghostscript-fonts-other - ghostscript-fonts-std - ghostscript-library - ghostscript-x11 - giflib - gimp - gimp-cmyk - gimp-help - glade-sharp - glade-sharp2 - gle - glib - glib2 - glibc - glibc-i18ndata - glibc-locale - glibmm24 - glib-sharp - glib-sharp2 - glitz - gmime - gnet - gnome2-SuSE - gnome2-user-docs - gnome-applets - gnome-audio - gnome-backgrounds - gnome-blog - gnome-bluetooth - gnome-cups-manager - gnome-desktop - gnome-doc-utils - gnome-filesystem - gnome-games - gnome-icon-theme - gnome-keyring - gnome-keyring-manager - gnome-mag - gnome-media - gnomemeeting - gnome-menus - gnome-mime-data - gnome-netstatus - gnome-nettool - gnome-panel - gnome-pilot - gnome-power-manager - gnome-printer-add - gnome-screensaver - gnome-session - gnome-sharp - gnome-sharp2 - gnome-speech - gnome-spell2 - gnome-system-monitor - gnome-terminal - gnome-themes - gnome-utils - gnome-vfs2 - gnome-vfs-sharp2 - gnome-volume-manager - gnopernicus - gnumeric - gnutls - goffice - gok - gpart - gpg - gpg2 - gpgme - gpm - grep - groff - grub - gsf-sharp - gstreamer010 - gstreamer010-plugins-base - gstreamer010-plugins-base-oil - gstreamer010-plugins-base-visual - gstreamer010-plugins-good - gtk - gtk2 - gtk2-engines - gtk2-themes - gtk-engines - gtkhtml2 - gtkhtml-sharp2 - gtklp - gtkmm24 - gtk-sharp - gtk-sharp2 - gtk-sharp2-gapi - gtk-sharp-gapi - gtksourceview - gtkspell - gucharmap - guile - gzip - hal - hal-gnome - hal-resmgr - hdparm - hermes - hplip - hplip-hpijs - htdig - hwinfo - i4l-base - i4lfirm - i4l-isdnlog - id3lib - ifnteuro - ifplugd - ImageMagick - ImageMagick-Magick++ - imlib - info - info2html - initviocons - inkscape - insserv - intlfnts - ipod-sharp - iproute2 - iptables - iputils - isapnp - iso-codes - iso_ent - ispell - ispell-american - ispell-british - jack - java-1_4_2-gcj-compat - jfsutils - joe - jpackage-utils - kbd - kdebase3 - kdebase3-ksysguardd - kdebase3-SuSE - kdebindings3-python - kdelibs3 - kdelibs3-doc - kernel-default - kino - kio_slp - klogd - krb5 - krb5-client - ksymoops - ldapcpplib - less - lftp - libacl - libao - libapparmor - libart_lgpl - libattr - libavc1394 - libbeagle - libbonobo - libbonoboui - libbtctl - libcap - libcddb - libcdio - libcom_err - libcroco - libdc1394 - libdrm - libdv - libdvdnav - libdvdread - libEMF - libevent - libexif - libgail-gnome - libgcc - libgcj - libgcrypt - libgda - libgdiplus - libgimpprint - libglade2 - libgnome - libgnomecanvas - libgnomecups - libgnomedb - libgnomeprint - libgnomeprintui - libgnomesu - libgnomeui - libgpg-error - libgphoto2 - libgsf - libgsf-gnome - libgssapi - libgtkhtml - libgtop - libicu - libid3tag - libidl - libidn - libieee1284 - libiniparser - libipoddevice - libjasper - libjpeg - libksba - liblcms - libmikmod - libmng - libmusicbrainz - libnetpbm - libnjb - libnl - libnotify - libnscd - libnvtv - libogg - liboil - libopencdk - libosip2 - libpcap - libpng - libquicktime - libraw1394 - librpcsecgss - librsvg - libsamplerate - libsexy - libshout - libsigc++2 - libsmbclient - libsndfile - libsoup - libstdc++ - libstroke - libsvg - libsvg-cairo - libtheora - libtiff - libtool - libusb - libvisual - libvorbis - libwmf - libwnck - libxcrypt - libxklavier - libxml2 - libxml2-python - libxslt - liby2util - libzio - libzypp - libzypp-zmd-backend - liferea - lilo - limal - limal-bootloader - limal-perl - linphone - linphone-applet - linux-atm-lib - lirc - log4net - logrotate - loudmouth - lsb - lsof - lua - lukemftp - lzo - m4 - mailx - make - man - man-pages - manufacturer-PPDs - master-boot-code - mc - mdadm - mDNSResponder - mDNSResponder-lib - mergeant - Mesa - metacity - metacity-themes - microcode_ctl - mingetty - mjpegtools - mkinitrd - mkisofs - mktemp - module-init-tools - mono-core - mono-data - mono-data-sqlite - mono-web - MozillaFirefox - MozillaFirefox-translations - mozilla-nspr - mozilla-nss - mozilla-xulrunner - mtools - multisync - multisync-backup - multisync-evolution - multisync-irmc - multisync-irmc-bluetooth - multisync-ldap - multisync-opie - multisync-syncml - myspell-american - myspell-british - nano - nautilus - nautilus-cd-burner - nautilus-open-terminal - nautilus-sendto - nautilus-share - ncurses - neon - netcat - netcfg - netpbm - net-snmp - net-tools - NetworkManager - NetworkManager-gnome - nfsidmap - nfs-utils - notification-daemon - novfs-kmp-default - nscd - ntfsprogs - openct - OpenEXR - openh323 - openldap2-client - openmotif-libs - openobex - OpenOffice_org - OpenOffice_org-gnome - opensc - openslp - opensp - openssh - openssh-askpass - openssl - orbit2 - pam - pam_krb5 - pam-modules - pan - pango - parted - patch - pax - pciutils - pcre - pcsc-lite - perl - perl-Bootloader - perl-Compress-Zlib - perl-Config-Crontab - perl-Crypt-SmbHash - perl-DBD-SQLite - perl-DBI - perl-Digest-HMAC - perl-Digest-MD4 - perl-Digest-SHA1 - perl-File-Tail - perl-gettext - perl-HTML-Parser - perl-HTML-Tagset - perl-IO-Zlib - perl-libwww-perl - perl-Net-Daemon - perl-Net-DNS - perl-Net-IP - perl-Parse-RecDescent - perl-PDA-Pilot - perl-PlRPC - perl-spamassassin - perl-TermReadKey - perl-TermReadLine-Gnu - perl-TimeDate - perl-URI - perl-X500-DN - perl-XML-LibXML - perl-XML-LibXML-Common - perl-XML-NamespaceSupport - perl-XML-Parser - perl-XML-SAX - perl-XML-Writer - permissions - pilot-link - pin - pinentry - planner - pmtools - poppler - poppler-glib - popt - portmap - postfix - powersave - powersave-libs - ppp - pptp - procinfo - procmail - procps - providers - psiconv - psmisc - pstoedit - pwdutils - pwlib - python - python-cairo - python-gnome - python-gnome-extras - python-gtk - python-imaging - python-numeric - python-orbit - python-qt - python-tk - python-xml - qscintilla - qt3 - readline - recode - reiserfs - release-notes - resapplet - resmgr - rpm - rrdtool - rsh - rsync - rug - samba - samba-client - samba-winbind - sane - sash - sax2 - sax2-gui - sax2-ident - sax2-libsax - sax2-libsax-perl - sax2-tools - scpm - screen - scrollkeeper - scsi - SDL - SDL_image - SDL_mixer - SDL_net - SDL_perl - SDL_ttf - sed - sensors - setserial - sgml-skel - shared-mime-info - siga - sisctrl - skencil - slang - smpppd - sound-juicer - sox - spamassassin - speex - sqlite - sqlite2 - src_vipa - startup-notification - strace - sudo - supertux - suse-build-key - SuSEfirewall2 - susehelp - susehelp_en - suselinux-manual_en - suseRegister - suse-release - suspend - sysconfig - sysfsutils - syslinux - syslog-ng - sysvinit - taglib - tango-icon-theme - tar - tcl - tcpd - tcsh - telnet - terminfo - testgart - thinkeramik-style - tightvnc - timezone - tiny-nvidia-installer - tix - tk - tomboy - totem - tree - udev - unclutter - unix2dos - unixODBC - unrar - unzip - update-alternatives - usbutils - utempter - util-linux - v4l-conf - vacation - vcdimager - vim - vte - w3m - wbxml2 - wdiff - wget - WindowMaker - WindowMaker-applets - WindowMaker-themes - wireless-tools - words - wpa_supplicant - wv - wvdial - wvstreams - x11-input-gunze - x11-input-synaptics - x11-input-wacom - x11-tools - xdelta - xdg-menu - xdmbgrd - xfsprogs - xine-lib - xinetd - xkeyboard-config - xli - xlockmore - xmlcharent - xmms-lib - xmoto - xmset - xntp - xorg-x11 - xorg-x11-driver-video - xorg-x11-driver-video-nvidia - xorg-x11-fonts-100dpi - xorg-x11-fonts-75dpi - xorg-x11-fonts-scalable - xorg-x11-libs - xorg-x11-server - xorg-x11-server-glx - xorg-x11-Xnest - xorg-x11-Xvnc - xpdf - xpdf-tools - xsane - xscreensaver - xterm - xtermset - yast2 - yast2-apparmor - yast2-backup - yast2-bluetooth - yast2-bootfloppy - yast2-bootloader - yast2-control-center - yast2-core - yast2-country - yast2-dhcp-server - yast2-dns-server - yast2-firewall - yast2-hardware-detection - yast2-http-server - yast2-inetd - yast2-installation - yast2-irda - yast2-kerberos-client - yast2-ldap - yast2-ldap-client - yast2-mail - yast2-mail-aliases - yast2-mouse - yast2-ncurses - yast2-network - yast2-nfs-client - yast2-nfs-server - yast2-nis-client - yast2-nis-server - yast2-ntp-client - yast2-online-update - yast2-online-update-frontend - yast2-packager - yast2-pam - yast2-perl-bindings - yast2-phone-services - yast2-pkg-bindings - yast2-power-management - yast2-powertweak - yast2-printer - yast2-profile-manager - yast2-qt - yast2-repair - yast2-restore - yast2-runlevel - yast2-samba-client - yast2-samba-server - yast2-scanner - yast2-schema - yast2-security - yast2-slp - yast2-sound - yast2-storage - yast2-storage-lib - yast2-support - yast2-sysconfig - yast2-tftp-server - yast2-theme-SuSELinux - yast2-trans-de - yast2-transfer - yast2-trans-stats - yast2-tune - yast2-tv - yast2-update - yast2-users - yast2-vm - yast2-x11 - yast2-xml - yelp - ypbind - yp-tools - zenity - zen-updater - zip - ziptool - zisofs-tools - zlib - zmd - zsh - zvbi - ", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm deleted file mode 100644 index b3ac80dc..00000000 --- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_1_x86_64.pm +++ /dev/null @@ -1,1024 +0,0 @@ -# Copyright (c) 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# SUSE_10_1_x86_64.pm -# - provides SUSE-10.1-x86_64-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::SUSE_10_1_x86_64; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::SUSE); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'suse-10.1_x86_64', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/SL-10.1/inst-source - ftp://suse.inode.at/opensuse/distribution/SL-10.1/inst-source - http://mirrors.uol.com.br/pub/suse/distribution/SL-10.1/inst-source - ftp://klid.dk/opensuse/distribution/SL-10.1/inst-source - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/SL-10.1/inst-source - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/SL-10.1/inst-source - ", - 'name' => 'SUSE Linux 10.1', - 'repo-subdir' => 'suse', - }, - 'base_non-oss' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/SL-10.1/non-oss-inst-source - ftp://suse.inode.at/opensuse/distribution/SL-10.1/non-oss-inst-source - http://mirrors.uol.com.br/pub/suse/distribution/SL-10.1/non-oss-inst-source - ftp://klid.dk/opensuse/distribution/SL-10.1/non-oss-inst-source - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/SL-10.1/non-oss-inst-source - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/SL-10.1/non-oss-inst-source - ", - 'name' => 'SUSE Linux 10.1 non-OSS', - 'repo-subdir' => 'suse', - }, - 'base_update' => { - 'urls' => " - ftp://ftp.gwdg.de/pub/suse/update/10.1 - ", - 'name' => 'SUSE Linux 10.1 updates', - 'repo-subdir' => '', - }, - }; - - $self->{config}->{'package-subdir'} = 'suse'; - - $self->{config}->{'prereq-packages'} = " - x86_64/bzip2-1.0.3-15.x86_64.rpm - x86_64/glibc-2.4-25.x86_64.rpm x86_64/glibc-2.4-31.1.x86_64.rpm - x86_64/popt-1.7-268.x86_64.rpm - x86_64/rpm-4.4.2-40.x86_64.rpm x86_64/rpm-4.4.2-43.4.x86_64.rpm - x86_64/zlib-1.2.3-13.x86_64.rpm - "; - - $self->{config}->{'bootstrap-packages'} = " - x86_64/aaa_base-10.1-41.x86_64.rpm - x86_64/aaa_skel-2006.3.29-5.x86_64.rpm x86_64/aaa_skel-2006.5.19-0.2.x86_64.rpm - x86_64/ash-1.6.1-13.x86_64.rpm - x86_64/bash-3.1-22.x86_64.rpm x86_64/bash-3.1-24.3.x86_64.rpm - x86_64/blocxx-1.0.0-15.x86_64.rpm - x86_64/coreutils-5.93-20.x86_64.rpm - x86_64/cpio-2.6-17.x86_64.rpm - x86_64/cracklib-2.8.6-12.x86_64.rpm - x86_64/cyrus-sasl-2.1.21-18.x86_64.rpm - x86_64/db-4.3.29-13.x86_64.rpm - x86_64/diffutils-2.8.7-15.x86_64.rpm - x86_64/e2fsprogs-1.38-25.x86_64.rpm - x86_64/expat-2.0.0-11.x86_64.rpm - x86_64/file-4.16-13.x86_64.rpm x86_64/file-4.16-15.4.x86_64.rpm - x86_64/filesystem-10.1-5.x86_64.rpm - x86_64/fillup-1.42-116.x86_64.rpm - x86_64/findutils-4.2.27-12.x86_64.rpm - x86_64/gawk-3.1.5-18.x86_64.rpm - x86_64/gdbm-1.8.3-241.x86_64.rpm - x86_64/glibc-32bit-2.4-27.x86_64.rpm x86_64/glibc-32bit-2.4-30.x86_64.rpm x86_64/glibc-32bit-2.4-31.1.x86_64.rpm - x86_64/gpg-1.4.2-23.x86_64.rpm x86_64/gpg-1.4.2-23.7.x86_64.rpm - x86_64/grep-2.5.1a-18.x86_64.rpm - x86_64/gzip-1.3.5-157.x86_64.rpm x86_64/gzip-1.3.5-159.5.x86_64.rpm - x86_64/info-4.8-20.x86_64.rpm - x86_64/insserv-1.04.0-18.x86_64.rpm - x86_64/irqbalance-0.09-58.x86_64.rpm - x86_64/kernel-default-2.6.16.13-4.x86_64.rpm x86_64/kernel-default-2.6.16.21-0.25.x86_64.rpm - x86_64/libacl-2.2.34-12.x86_64.rpm - x86_64/libattr-2.4.28-14.x86_64.rpm - x86_64/libcom_err-1.38-25.x86_64.rpm - x86_64/libgcc-4.1.0-25.x86_64.rpm - x86_64/libstdc++-4.1.0-25.x86_64.rpm - x86_64/libxcrypt-2.4-10.x86_64.rpm - x86_64/libzio-0.1-15.x86_64.rpm - x86_64/limal-1.1.6-8.x86_64.rpm - x86_64/limal-bootloader-1.1.2-7.x86_64.rpm - x86_64/limal-perl-1.1.6-8.x86_64.rpm - x86_64/logrotate-3.7.3-11.x86_64.rpm - x86_64/mdadm-2.2-30.x86_64.rpm - x86_64/mingetty-0.9.6s-86.x86_64.rpm - x86_64/mkinitrd-1.2-103.x86_64.rpm x86_64/mkinitrd-1.2-106.19.x86_64.rpm - x86_64/mktemp-1.5-742.x86_64.rpm - x86_64/module-init-tools-3.2.2-32.x86_64.rpm x86_64/module-init-tools-3.2.2-32.13.x86_64.rpm - x86_64/ncurses-5.5-16.x86_64.rpm - x86_64/net-tools-1.60-581.x86_64.rpm - x86_64/openldap2-client-2.3.19-18.x86_64.rpm - x86_64/openssl-0.9.8a-16.x86_64.rpm x86_64/openssl-0.9.8a-18.10.x86_64.rpm - x86_64/pam-0.99.3.0-25.x86_64.rpm x86_64/pam-0.99.3.0-29.3.x86_64.rpm - x86_64/pciutils-2.2.1-14.x86_64.rpm - x86_64/pcre-6.4-12.x86_64.rpm - x86_64/perl-5.8.8-12.x86_64.rpm - x86_64/perl-Bootloader-0.2.20-7.x86_64.rpm x86_64/perl-Bootloader-0.2.27-0.4.x86_64.rpm - x86_64/perl-gettext-1.05-11.x86_64.rpm - x86_64/permissions-2006.2.24-8.x86_64.rpm - x86_64/readline-5.1-22.x86_64.rpm - x86_64/reiserfs-3.6.19-17.x86_64.rpm - x86_64/sed-4.1.4-15.x86_64.rpm - x86_64/suse-release-10.1-9.x86_64.rpm - x86_64/sysvinit-2.86-19.x86_64.rpm - x86_64/udev-085-29.x86_64.rpm x86_64/udev-085-30.15.x86_64.rpm - x86_64/util-linux-2.12r-35.x86_64.rpm - noarch/suse-build-key-1.0-685.noarch.rpm - "; - - $self->{config}->{'metapackager-packages'} = { - 'smart' => " - x86_64/python-2.4.2-18.x86_64.rpm - x86_64/python-elementtree-1.2.6-18.x86_64.rpm - x86_64/python-xml-2.4.2-18.x86_64.rpm - x86_64/rpm-python-4.4.2-40.x86_64.rpm - x86_64/smart-0.41-23.x86_64.rpm - ", - 'yum' => " - x86_64/libxml2-2.6.23-13.x86_64.rpm - x86_64/libxml2-python-2.6.23-15.x86_64.rpm - x86_64/python-2.4.2-18.x86_64.rpm - x86_64/python-elementtree-1.2.6-18.x86_64.rpm - x86_64/python-sqlite-1.1.6-17.x86_64.rpm - x86_64/python-urlgrabber-2.9.7-15.x86_64.rpm - x86_64/rpm-python-4.4.2-40.x86_64.rpm - x86_64/sqlite-3.2.8-14.x86_64.rpm - x86_64/yum-2.4.2-13.x86_64.rpm - ", - }; - - $self->{config}->{'selection'} = { - 'default' => " - glibc-locale - ", - - 'gnome' => " - <<>> - 3ddiag - 855resolution - a2ps - aaa_base - aaa_skel - aalib - acl - acpid - alsa - alsa-firmware - alsa-tools - apparmor-docs - apparmor-parser - apparmor-profiles - apparmor-utils - arts - art-sharp - art-sharp2 - ash - aspell - aspell-en - at - atk - at-spi - attr - audiofile - audit - audit-libs - autofs - autoyast2 - autoyast2-installation - awesfx - banshee - banshee-engine-gst - banshee-plugins-DAAP - bash - bc - beagle - beagle-evolution - beagle-firefox - beagle-gui - beagle-index - bind-libs - bind-utils - binutils - bitstream-vera - blam - blocxx - blt - bluez-libs - bluez-utils - boost - bootsplash - bootsplash-theme-SuSE - bug-buddy - busybox - bzip2 - cabextract - cairo - capi4linux - cdparanoia - cdrdao - cdrecord - CheckHardware - checkmedia - cifs-mount - compat - compat-curl2 - compat-libstdc++ - compat-openssl097g - contact-lookup-applet - control-center2 - convmv - coreutils - cpio - cpp - cpufrequtils - cracklib - cron - Crystalcursors - cups - cups-client - cups-drivers - cups-drivers-stp - cups-libs - cups-SUSE-ppds-dat - curl - cyrus-sasl - cyrus-sasl-saslauthd - dasher - db - dbus-1 - dbus-1-glib - dbus-1-gtk - dbus-1-mono - dbus-1-python - dbus-1-qt3 - dbus-1-x11 - dcraw - dejavu - deltarpm - desktop-data-SuSE - desktop-file-utils - desktop-translations - device-mapper - devs - dhcdbd - dhcp - dhcpcd - dhcp-client - dia - dialog - diffutils - DirectFB - dirmngr - dmraid - docbook_4 - dos2unix - dosbootdisk - dosfstools - dvd+rw-tools - e2fsprogs - ed - eel - efont-unicode - eject - enigma - eog - epiphany - epiphany-extensions - esound - ethtool - evince - evolution - evolution-data-server - evolution-exchange - evolution-pilot - evolution-sharp - evolution-webcal - expat - fam - fam-server - fbset - festival - file - file-roller - fileshareset - filesystem - fillup - filters - findutils - finger - flac - fontconfig - fonts-config - foomatic-filters - freeciv - freeglut - freetype - freetype2 - fribidi - frozen-bubble - f-spot - fvwm2 - gail - gaim - gal2 - gawk - gcalctool - gconf2 - gconf-editor - gconf-sharp - gconf-sharp2 - gdb - gdbm - gdk-pixbuf - gdm - gecko-sharp - gecko-sharp2 - gedit - gettext - ghex - ghostscript-fonts-other - ghostscript-fonts-std - ghostscript-library - ghostscript-x11 - giflib - gimp - gimp-cmyk - gimp-help - glade-sharp - glade-sharp2 - gle - glib - glib2 - glibc - glibc-i18ndata - glibc-locale - glibmm24 - glib-sharp - glib-sharp2 - glitz - gmime - gnet - gnome2-SuSE - gnome2-user-docs - gnome-applets - gnome-audio - gnome-backgrounds - gnome-blog - gnome-bluetooth - gnome-cups-manager - gnome-desktop - gnome-doc-utils - gnome-filesystem - gnome-games - gnome-icon-theme - gnome-keyring - gnome-keyring-manager - gnome-mag - gnome-media - gnomemeeting - gnome-menus - gnome-mime-data - gnome-netstatus - gnome-nettool - gnome-panel - gnome-pilot - gnome-power-manager - gnome-printer-add - gnome-screensaver - gnome-session - gnome-sharp - gnome-sharp2 - gnome-speech - gnome-spell2 - gnome-system-monitor - gnome-terminal - gnome-themes - gnome-utils - gnome-vfs2 - gnome-vfs-sharp2 - gnome-volume-manager - gnopernicus - gnumeric - gnutls - goffice - gok - gpart - gpg - gpg2 - gpgme - gpm - grep - groff - grub - gsf-sharp - gstreamer010 - gstreamer010-plugins-base - gstreamer010-plugins-base-oil - gstreamer010-plugins-base-visual - gstreamer010-plugins-good - gtk - gtk2 - gtk2-engines - gtk2-themes - gtk-engines - gtkhtml2 - gtkhtml-sharp2 - gtklp - gtkmm24 - gtk-sharp - gtk-sharp2 - gtk-sharp2-gapi - gtk-sharp-gapi - gtksourceview - gtkspell - gucharmap - guile - gzip - hal - hal-gnome - hal-resmgr - hdparm - hermes - hplip - hplip-hpijs - htdig - hwinfo - i4l-base - i4lfirm - i4l-isdnlog - id3lib - ifnteuro - ifplugd - ImageMagick - ImageMagick-Magick++ - imlib - info - info2html - initviocons - inkscape - insserv - intlfnts - ipod-sharp - iproute2 - iptables - iputils - isapnp - iso-codes - iso_ent - ispell - ispell-american - ispell-british - jack - java-1_4_2-gcj-compat - jfsutils - joe - jpackage-utils - kbd - kdebase3 - kdebase3-ksysguardd - kdebase3-SuSE - kdebindings3-python - kdelibs3 - kdelibs3-doc - kernel-default - kino - kio_slp - klogd - krb5 - krb5-client - ksymoops - ldapcpplib - less - lftp - libacl - libao - libapparmor - libart_lgpl - libattr - libavc1394 - libbeagle - libbonobo - libbonoboui - libbtctl - libcap - libcddb - libcdio - libcom_err - libcroco - libdc1394 - libdrm - libdv - libdvdnav - libdvdread - libEMF - libevent - libexif - libgail-gnome - libgcc - libgcj - libgcrypt - libgda - libgdiplus - libgimpprint - libglade2 - libgnome - libgnomecanvas - libgnomecups - libgnomedb - libgnomeprint - libgnomeprintui - libgnomesu - libgnomeui - libgpg-error - libgphoto2 - libgsf - libgsf-gnome - libgssapi - libgtkhtml - libgtop - libicu - libid3tag - libidl - libidn - libieee1284 - libiniparser - libipoddevice - libjasper - libjpeg - libksba - liblcms - libmikmod - libmng - libmusicbrainz - libnetpbm - libnjb - libnl - libnotify - libnscd - libnvtv - libogg - liboil - libopencdk - libosip2 - libpcap - libpng - libquicktime - libraw1394 - librpcsecgss - librsvg - libsamplerate - libsexy - libshout - libsigc++2 - libsmbclient - libsndfile - libsoup - libstdc++ - libstroke - libsvg - libsvg-cairo - libtheora - libtiff - libtool - libusb - libvisual - libvorbis - libwmf - libwnck - libxcrypt - libxklavier - libxml2 - libxml2-python - libxslt - liby2util - libzio - libzypp - libzypp-zmd-backend - liferea - lilo - limal - limal-bootloader - limal-perl - linphone - linphone-applet - linux-atm-lib - lirc - log4net - logrotate - loudmouth - lsb - lsof - lua - lukemftp - lzo - m4 - mailx - make - man - man-pages - manufacturer-PPDs - master-boot-code - mc - mdadm - mDNSResponder - mDNSResponder-lib - mergeant - Mesa - metacity - metacity-themes - microcode_ctl - mingetty - mjpegtools - mkinitrd - mkisofs - mktemp - module-init-tools - mono-core - mono-data - mono-data-sqlite - mono-web - MozillaFirefox - MozillaFirefox-translations - mozilla-nspr - mozilla-nss - mozilla-xulrunner - mtools - multisync - multisync-backup - multisync-evolution - multisync-irmc - multisync-irmc-bluetooth - multisync-ldap - multisync-opie - multisync-syncml - myspell-american - myspell-british - nano - nautilus - nautilus-cd-burner - nautilus-open-terminal - nautilus-sendto - nautilus-share - ncurses - neon - netcat - netcfg - netpbm - net-snmp - net-tools - NetworkManager - NetworkManager-gnome - nfsidmap - nfs-utils - notification-daemon - novfs-kmp-default - nscd - ntfsprogs - openct - OpenEXR - openh323 - openldap2-client - openmotif-libs - openobex - OpenOffice_org - OpenOffice_org-gnome - opensc - openslp - opensp - openssh - openssh-askpass - openssl - orbit2 - pam - pam_krb5 - pam-modules - pan - pango - parted - patch - pax - pciutils - pcre - pcsc-lite - perl - perl-Bootloader - perl-Compress-Zlib - perl-Config-Crontab - perl-Crypt-SmbHash - perl-DBD-SQLite - perl-DBI - perl-Digest-HMAC - perl-Digest-MD4 - perl-Digest-SHA1 - perl-File-Tail - perl-gettext - perl-HTML-Parser - perl-HTML-Tagset - perl-IO-Zlib - perl-libwww-perl - perl-Net-Daemon - perl-Net-DNS - perl-Net-IP - perl-Parse-RecDescent - perl-PDA-Pilot - perl-PlRPC - perl-spamassassin - perl-TermReadKey - perl-TermReadLine-Gnu - perl-TimeDate - perl-URI - perl-X500-DN - perl-XML-LibXML - perl-XML-LibXML-Common - perl-XML-NamespaceSupport - perl-XML-Parser - perl-XML-SAX - perl-XML-Writer - permissions - pilot-link - pin - pinentry - planner - pmtools - poppler - poppler-glib - popt - portmap - postfix - powersave - powersave-libs - ppp - pptp - procinfo - procmail - procps - providers - psiconv - psmisc - pstoedit - pwdutils - pwlib - python - python-cairo - python-gnome - python-gnome-extras - python-gtk - python-imaging - python-numeric - python-orbit - python-qt - python-tk - python-xml - qscintilla - qt3 - readline - recode - reiserfs - release-notes - resapplet - resmgr - rpm - rrdtool - rsh - rsync - rug - samba - samba-client - samba-winbind - sane - sash - sax2 - sax2-gui - sax2-ident - sax2-libsax - sax2-libsax-perl - sax2-tools - scpm - screen - scrollkeeper - scsi - SDL - SDL_image - SDL_mixer - SDL_net - SDL_perl - SDL_ttf - sed - sensors - setserial - sgml-skel - shared-mime-info - siga - sisctrl - skencil - slang - smpppd - sound-juicer - sox - spamassassin - speex - sqlite - sqlite2 - src_vipa - startup-notification - strace - sudo - supertux - suse-build-key - SuSEfirewall2 - susehelp - susehelp_en - suselinux-manual_en - suseRegister - suse-release - suspend - sysconfig - sysfsutils - syslinux - syslog-ng - sysvinit - taglib - tango-icon-theme - tar - tcl - tcpd - tcsh - telnet - terminfo - testgart - thinkeramik-style - tightvnc - timezone - tiny-nvidia-installer - tix - tk - tomboy - totem - tree - udev - unclutter - unix2dos - unixODBC - unrar - unzip - update-alternatives - usbutils - utempter - util-linux - v4l-conf - vacation - vcdimager - vim - vte - w3m - wbxml2 - wdiff - wget - WindowMaker - WindowMaker-applets - WindowMaker-themes - wireless-tools - words - wpa_supplicant - wv - wvdial - wvstreams - x11-input-gunze - x11-input-synaptics - x11-input-wacom - x11-tools - xdelta - xdg-menu - xdmbgrd - xfsprogs - xine-lib - xinetd - xkeyboard-config - xli - xlockmore - xmlcharent - xmms-lib - xmoto - xmset - xntp - xorg-x11 - xorg-x11-driver-video - xorg-x11-driver-video-nvidia - xorg-x11-fonts-100dpi - xorg-x11-fonts-75dpi - xorg-x11-fonts-scalable - xorg-x11-libs - xorg-x11-server - xorg-x11-server-glx - xorg-x11-Xnest - xorg-x11-Xvnc - xpdf - xpdf-tools - xsane - xscreensaver - xterm - xtermset - yast2 - yast2-apparmor - yast2-backup - yast2-bluetooth - yast2-bootfloppy - yast2-bootloader - yast2-control-center - yast2-core - yast2-country - yast2-dhcp-server - yast2-dns-server - yast2-firewall - yast2-hardware-detection - yast2-http-server - yast2-inetd - yast2-installation - yast2-irda - yast2-kerberos-client - yast2-ldap - yast2-ldap-client - yast2-mail - yast2-mail-aliases - yast2-mouse - yast2-ncurses - yast2-network - yast2-nfs-client - yast2-nfs-server - yast2-nis-client - yast2-nis-server - yast2-ntp-client - yast2-online-update - yast2-online-update-frontend - yast2-packager - yast2-pam - yast2-perl-bindings - yast2-phone-services - yast2-pkg-bindings - yast2-power-management - yast2-powertweak - yast2-printer - yast2-profile-manager - yast2-qt - yast2-repair - yast2-restore - yast2-runlevel - yast2-samba-client - yast2-samba-server - yast2-scanner - yast2-schema - yast2-security - yast2-slp - yast2-sound - yast2-storage - yast2-storage-lib - yast2-support - yast2-sysconfig - yast2-tftp-server - yast2-theme-SuSELinux - yast2-trans-de - yast2-transfer - yast2-trans-stats - yast2-tune - yast2-tv - yast2-update - yast2-users - yast2-vm - yast2-x11 - yast2-xml - yelp - ypbind - yp-tools - zenity - zen-updater - zip - ziptool - zisofs-tools - zlib - zmd - zsh - zvbi - ", - }; - return; -} - -1; diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm deleted file mode 100644 index ca6fd985..00000000 --- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2.pm +++ /dev/null @@ -1,1109 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# SUSE_10_2.pm -# - provides SUSE-10.2-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::SUSE_10_2; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::SUSE); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = {'base-name' => 'suse-10.2',}; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/10.2/repo/oss - ftp://suse.inode.at/opensuse/distribution/10.2/repo/oss - http://mirrors.uol.com.br/pub/suse/distribution/10.2/repo/oss - ftp://klid.dk/opensuse/distribution/10.2/repo/oss - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/10.2/repo/oss - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/10.2/repo/oss - ", - 'name' => 'openSUSE 10.2', - 'repo-subdir' => 'suse', - }, - 'base_non-oss' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/10.2/repo/non-oss - ftp://suse.inode.at/opensuse/distribution/10.2/repo/non-oss - http://mirrors.uol.com.br/pub/suse/distribution/10.2/repo/non-oss - ftp://klid.dk/opensuse/distribution/10.2/repo/non-oss - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/10.2/repo/non-oss - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/10.2/repo/non-oss - ", - 'name' => 'openSUSE 10.2 non-OSS', - 'repo-subdir' => 'suse', - }, - 'base_update' => { - 'urls' => " - ftp://ftp.gwdg.de/pub/suse/update/10.2 - ", - 'name' => 'openSUSE 10.2 updates', - 'repo-subdir' => '', - }, - }; - - $self->{config}->{'package-subdir'} = 'suse'; - - $self->{config}->{'prereq-packages'} = " - i586/bzip2-1.0.3-36.i586.rpm - i586/glibc-2.5-25.i586.rpm - i586/popt-1.7-304.i586.rpm - i586/rpm-4.4.2-76.i586.rpm - i586/zlib-1.2.3-33.i586.rpm - "; - - $self->{config}->{'bootstrap-packages'} = " - i586/aaa_base-10.2-38.i586.rpm - i586/aaa_skel-2006.5.19-20.i586.rpm - i586/audit-libs-1.2.6-20.i586.rpm - i586/bash-3.1-55.i586.rpm - i586/blocxx-1.0.0-36.i586.rpm - i586/coreutils-6.4-10.i586.rpm - i586/cpio-2.6-40.i586.rpm - i586/cracklib-2.8.9-20.i586.rpm - i586/cyrus-sasl-2.1.22-28.i586.rpm - i586/db-4.4.20-16.i586.rpm - i586/diffutils-2.8.7-38.i586.rpm - i586/e2fsprogs-1.39-21.i586.rpm - i586/file-4.17-23.i586.rpm - i586/filesystem-10.2-22.i586.rpm - i586/fillup-1.42-138.i586.rpm - i586/findutils-4.2.28-24.i586.rpm - i586/gawk-3.1.5-41.i586.rpm - i586/gdbm-1.8.3-261.i586.rpm - i586/gpg-1.4.5-24.i586.rpm - i586/grep-2.5.1a-40.i586.rpm - i586/gzip-1.3.5-178.i586.rpm - i586/info-4.8-43.i586.rpm - i586/insserv-1.04.0-42.i586.rpm - i586/irqbalance-0.09-80.i586.rpm - i586/kernel-default-2.6.18.2-34.i586.rpm - i586/libacl-2.2.34-33.i586.rpm - i586/libattr-2.4.28-38.i586.rpm - i586/libcom_err-1.39-21.i586.rpm - i586/libgcc41-4.1.2_20061115-5.i586.rpm - i586/libstdc++41-4.1.2_20061115-5.i586.rpm - i586/libvolume_id-103-12.i586.rpm - i586/libxcrypt-2.4-30.i586.rpm - i586/libzio-0.2-20.i586.rpm - i586/limal-1.2.9-5.i586.rpm - i586/limal-bootloader-1.2.4-6.i586.rpm - i586/limal-perl-1.2.9-5.i586.rpm - i586/logrotate-3.7.4-21.i586.rpm - i586/mdadm-2.5.3-17.i586.rpm - i586/mingetty-0.9.6s-107.i586.rpm - i586/mkinitrd-1.2-149.i586.rpm - i586/mktemp-1.5-763.i586.rpm - i586/module-init-tools-3.2.2-62.i586.rpm - i586/ncurses-5.5-42.i586.rpm - i586/net-tools-1.60-606.i586.rpm - i586/openldap2-client-2.3.27-25.i586.rpm - i586/openssl-0.9.8d-17.i586.rpm - i586/openSUSE-release-10.2-35.i586.rpm - i586/pam-0.99.6.3-24.i586.rpm - i586/pciutils-2.2.4-13.i586.rpm - i586/pcre-6.7-21.i586.rpm - i586/perl-5.8.8-32.i586.rpm - i586/perl-Bootloader-0.4.5-3.i586.rpm - i586/perl-gettext-1.05-31.i586.rpm - i586/permissions-2006.11.13-5.i586.rpm - i586/readline-5.1-55.i586.rpm - i586/reiserfs-3.6.19-37.i586.rpm - i586/sed-4.1.5-21.i586.rpm - i586/sysvinit-2.86-47.i586.rpm - i586/udev-103-12.i586.rpm - i586/util-linux-2.12r-61.i586.rpm - noarch/pciutils-ids-2006.11.18-2.noarch.rpm - noarch/suse-build-key-1.0-707.noarch.rpm - "; - - $self->{config}->{'metapackager-packages'} = { - 'smart' => " - i586/python-2.5-19.i586.rpm - i586/python-xml-2.5-19.i586.rpm - i586/rpm-python-4.4.2-76.i586.rpm - i586/smart-0.42-43.i586.rpm - ", - 'yum' => " - i586/glib2-2.12.4-15.i586.rpm - i586/gnome-filesystem-0.1-288.i586.rpm - i586/libxml2-2.6.26-26.i586.rpm - i586/libxml2-python-2.6.26-29.i586.rpm - i586/python-2.5-19.i586.rpm - i586/python-sqlite-1.1.8-11.i586.rpm - i586/python-urlgrabber-3.1.0-18.i586.rpm - i586/python-xml-2.5-19.i586.rpm - i586/rpm-python-4.4.2-76.i586.rpm - i586/sqlite-3.3.8-14.i586.rpm - i586/yum-3.0.1-9.i586.rpm - i586/yum-metadata-parser-1.0.2-23.i586.rpm - ", - }; - - $self->{config}->{'selection'} = { - 'default' => " - acl - acpid - apparmor-docs - apparmor-profiles - apparmor-utils - ash - at - atk - attr - audit - autofs - autoyast2 - bc - bind-libs - bind-utils - boost - bootsplash-theme-SuSE - compat - compat-libstdc++ - compat-openssl097g - cpufrequtils - cron - cups-client - cyrus-sasl - cyrus-sasl-saslauthd - db-utils - deltarpm - dhcpcd - dmraid - dos2unix - dosfstools - ed - eject - ethtool - fbset - findutils - fontconfig - freetype2 - gdb - gdbm - glib2 - glibc-i18ndata - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpm - hal-resmgr - hfsutils - ifplugd - initviocons - inst-source-utils - iputils - joe - kbd - kernel-default - krb5 - ksh - ksymoops - libacl - libapparmor - libart_lgpl - libattr - libcap - libcom_err - libdrm - libevent - libgcc41 - libgcrypt - libgimpprint - libgpg-error - libicu - libidn - libjpeg - liblazy - liblcms - libltdl - libmng - libnscd - libopencdk - libpcap - libpng - librpcsecgss - libstdc++41 - libtiff - libusb - libvolume_id - libxcrypt - lukemftp - lvm2 - lzo - mailx - man - man-pages - microcode_ctl - module-init-tools - multipath-tools - nbd - ncurses - net-snmp - nfs-utils - nfsidmap - nscd - ntfsprogs - openSUSE-release - openct - opensc - openssh - openssl - patch - pax - perl-Crypt-SmbHash - perl-URI - perl-XML-Parser - perl-XML-Writer - postfix - powersave-libs - preload - procinfo - procmail - procps - providers - qlogic-firmware - recode - rrdtool - rsync - sash - screen - scsi - sensors - sharutils - smart - smartmontools - smpppd - squashfs-kmp-default - strace - sudo - suse-build-key - suspend - sysfsutils - syslog-ng - tcpd - tcpdump - tcsh - telnet - terminfo - timezone - ulimit - usbutils - utempter - vim - wdiff - wget - wvstreams - xfsprogs - xinetd - xntp - yast2-apparmor - yast2-backup - yast2-bluetooth - yast2-bootfloppy - yast2-irda - yast2-iscsi-client - yast2-mail - yast2-ncurses - yast2-nis-client - yast2-ntp-client - yast2-online-update-frontend - yast2-power-management - yast2-powertweak - yast2-profile-manager - yast2-repair - yast2-restore - yast2-runlevel - yast2-samba-client - yast2-scanner - yast2-sudo - yast2-support - yast2-theme-openSUSE - yast2-trans-de - yast2-tv - ypbind - zip - zisofs-tools - zsh - ", - - 'kde' => " - <<>> - 3ddiag - 915resolution - a2ps - aaa_base - aaa_skel - aalib - acl - acpid - AdobeICCProfiles - agfa-fonts - alsa - amarok - amarok-libvisual - amarok-xine - apparmor-docs - apparmor-parser - apparmor-profiles - apparmor-utils - arts - ash - aspell - aspell-de - aspell-en - at - atk - attr - audiofile - audit - audit-libs - autofs - autoyast2 - autoyast2-installation - bash - bc - bind-libs - bind-utils - binutils - blocxx - bluez-libs - bluez-utils - boost - bootsplash - bootsplash-theme-SuSE - bzip2 - cabextract - cairo - cdparanoia - cdrdao - CheckHardware - checkmedia - chromium - classpath - compat - compat-libstdc++ - compat-openssl097g - compiz - coreutils - cpio - cpp - cpp41 - cpufrequtils - cracklib - cron - Crystalcursors - cups - cups-client - cups-drivers - cups-libs - curl - cyrus-sasl - cyrus-sasl-crammd5 - cyrus-sasl-digestmd5 - cyrus-sasl-plain - cyrus-sasl-saslauthd - db - dbus-1 - dbus-1-glib - dbus-1-mono - dbus-1-qt3 - dbus-1-x11 - db-utils - dcraw - dejavu - deltarpm - desktop-data-SuSE - desktop-file-utils - desktop-translations - device-mapper - dhcdbd - dhcp - dhcpcd - dhcp-client - dialog - diffutils - digikam - digikamimageplugins - dirmngr - dmraid - dos2unix - dosbootdisk - dosfstools - dvd+rw-tools - e2fsprogs - ed - efont-unicode - eject - enscript - esound - ethtool - evms - evms-gui - exiftool - expat - fam - fbset - fftw3 - file - fileshareset - filesystem - fillup - findutils - flac - flash-player - fontconfig - fonts-config - foomatic-filters - freealut - freeciv - freeglut - freetype - freetype2 - fribidi - frozen-bubble - ft2demos - ftgl - fvwm2 - gail - gawk - gcc41-gij - gcc-gij - gconf2 - gdb - gdbm - gettext - ghostscript-fonts-other - ghostscript-fonts-std - ghostscript-library - ghostscript-x11 - giflib - gimp - gimp-help - gle - glib - glib2 - glibc - glibc-i18ndata - glibc-locale - glib-sharp2 - glitz - gmime - gmp - gnokii - gnome-filesystem - gnome-icon-theme - gnome-keyring - gnome-mime-data - gnome-vfs2 - gnutls - gpart - gpg - gpg2 - gpgme - gpm - GraphicsMagick - grep - groff - grub - gsf-sharp - gstreamer010 - gstreamer010-plugins-base - gtk - gtk2 - gtk-sharp2 - gtksourceview - gutenprint - gwenview - gzip - hal - hal-resmgr - hdparm - hfsutils - hplip - hplip-hpijs - htdig - hwinfo - id3lib - ifnteuro - ifplugd - ImageMagick - ImageMagick-Magick++ - imlib - imlib2 - imlib2-loaders - info - info2html - initviocons - insserv - inst-source-utils - intlfnts - iproute2 - iptables - iputils - irqbalance - ispell - ispell-american - ispell-german - ispell-ngerman - jack - java-1_4_2-gcj-compat - java-1_5_0-sun - java-1_5_0-sun-plugin - jfsutils - joe - jpackage-utils - jpeg - k3b - kaffeine - kbd - kcm_gtk - kde3-i18n-de - kdeaddons3-kicker - kdeaddons3-konqueror - kdeartwork3-kscreensaver - kdeartwork3-xscreensaver - kdebase3 - kdebase3-kdm - kdebase3-ksysguardd - kdebase3-nsplugin - kdebase3-samba - kdebase3-session - kdebase3-SuSE - kdebluetooth - kdegames3 - kdegraphics3 - kdegraphics3-kamera - kdegraphics3-pdf - kdegraphics3-postscript - kdegraphics3-scan - kdelibs3 - kdelibs3-doc - kdemultimedia3 - kdemultimedia3-CD - kdemultimedia3-mixer - kdenetwork3 - kdenetwork3-InstantMessenger - kdenetwork3-news - kdenetwork3-vnc - kdepim3 - kdepim3-kpilot - kdepim3-networkstatus - kdepim3-notes - kdetv - kdeutils3 - kernel-default - kio_ipodslave - kio_iso - kio_slp - kipi-plugins - kitchensync - klogd - knights - koffice - koffice-i18n-de - koffice-i18n-de-doc - koffice-illustration - konversation - kpowersave - krb5 - krecord - ksh - ksudoku - ksymoops - ktorrent - kwin-decor-suse2 - lbreakout - ldapcpplib - less - libacl - libakode - libao - libapparmor - libart_lgpl - libattr - libbeagle - libbonobo - libbonoboui - libcap - libcom_err - libcroco - libdrm - libevent - libexif - libgcc41 - libgcj41 - libgcrypt - libgimpprint - libglade2 - libgnome - libgnomecanvas - libgnomecups - libgnomeprint - libgnomeprintui - libgnomesu - libgnomeui - libgpg-error - libgphoto2 - libgpod - libgsf - libgsf-gnome - libgssapi - libgtkhtml - libical - libicu - libidl - libidn - libieee1284 - libjasper - libjpeg - libkexif - libkipi - libksba - liblazy - liblcms - libltdl - libmal - libmikmod - libmng - libmpcdec - libmtp - libmusicbrainz - libnetpbm - libnjb - libnl - libnscd - libofa - libogg - liboil - libopencdk - libopensync - libopensync-plugin-file - libopensync-plugin-gnokii - libopensync-plugin-gpe - libopensync-plugin-irmc - libopensync-plugin-kdepim - libopensync-plugin-opie - libopensync-plugin-palm - libopensync-plugin-sunbird - libopensync-plugin-syncml - libopensync-tools - libpcap - libpng - libqt4 - libqt4-dbus-1 - libqt4-qt3support - libqt4-sql - libqt4-x11 - libqtpod - librpcsecgss - librsvg - libsamplerate - libsmbclient - libsndfile - libsoup - libstdc++41 - libstroke - libsyncml - libtheora - libtiff - libtunepimp - libusb - libvisual - libvolume_id - libvorbis - libwmf - libwnck - libxcrypt - libxml2 - libxslt - liby2util - libzio - libzypp - libzypp-zmd-backend - limal - limal-bootloader - limal-perl - logrotate - lsb - lsof - lua-libs - lukemftp - lvm2 - lzo - m4 - mailx - make - man - man-pages - manufacturer-PPDs - master-boot-code - mdadm - mDNSResponder-lib - Mesa - metacity - microcode_ctl - mingetty - mkinitrd - mkisofs - mktemp - module-init-tools - mono-core - mono-data - mono-data-sqlite - mono-web - MozillaFirefox - MozillaFirefox-translations - mozilla-nspr - mozilla-nss - mozilla-xulrunner181 - multipath-tools - myspell-american - myspell-german - ncurses - neon - netcat - netcfg - netpbm - net-snmp - net-tools - NetworkManager - NetworkManager-kde - nfsidmap - nfs-utils - nscd - ntfsprogs - numlockx - ocrad - openal - openct - OpenEXR - openldap2-client - openobex - OpenOffice_org - OpenOffice_org-de - OpenOffice_org-kde - OpenOffice_org-Quickstarter - opensc - openslp - openssh - openssh-askpass - openssl - opensuse-manual_de - opensuse-manual_en - openSUSE-release - orbit2 - pam - pam-config - pam-modules - pango - parted - patch - pax - pciutils - pciutils-ids - pcre - pcsc-lite - perl - perl-Bootloader - perl-Compress-Zlib - perl-Config-Crontab - perl-Crypt-SmbHash - perl-Crypt-SSLeay - perl-DBD-SQLite - perl-DBI - perl-Digest-HMAC - perl-Digest-MD4 - perl-Digest-SHA1 - perl-File-Tail - perl-gettext - perl-HTML-Parser - perl-HTML-Tagset - perl-IO-Zlib - perl-libwww-perl - perl-Net-Daemon - perl-Net-DNS - perl-Net-IP - perl-PlRPC - perl-spamassassin - perl-TermReadKey - perl-TimeDate - perl-URI - perl-XML-Parser - perl-XML-Writer - permissions - phalanx - pilot-link - pinentry - pinentry-qt - pkgconfig - pmtools - pm-utils - PolicyKit - poppler - poppler-qt - popt - portmap - postfix - powersave - powersave-libs - ppp - pptp - preload - procinfo - procmail - procps - providers - psmisc - pwdutils - python - python-qt - python-xml - qca - qlogic-firmware - qscintilla - qt3 - qtcurve-gtk2 - rdesktop - readline - RealPlayer - recode - reiserfs - release-notes - resmgr - rpm - rrdtool - rsync - ruby - sane - sane-frontends - sash - sax2 - sax2-gui - sax2-ident - sax2-libsax - sax2-libsax-perl - sax2-tools - scpm - screen - scsi - SDL - SDL_image - SDL_mixer - SDL_net - SDL_Pango - SDL_perl - SDL_ttf - sed - sensors - sgml-skel - shared-mime-info - sharutils - siga - smartmontools - smpppd - spamassassin - speex - sqlite - sqlite2 - sqlite-zmd - startup-notification - strace - sudo - supertux - suse-build-key - SuSEfirewall2 - susehelp - susehelp_de - suseRegister - suspend - sysconfig - sysfsutils - syslog-ng - sysvinit - taglib - tar - tcl - tcpd - tcpdump - tcsh - telnet - terminfo - tightvnc - timezone - tk - udev - ufraw - ufraw-gimp - ulimit - unclutter - unzip - update-alternatives - usbutils - utempter - util-linux - v4l-conf - vim - w3m - wbxml2 - wdiff - wget - wireless-tools - wodim - words - wpa_supplicant - wv - wvdial - wvstreams - x11-input-synaptics - x11-input-wacom - x11-tools - xaw3d - xdg-menu - xdg-utils - xdmbgrd - xfsprogs - xgl - xgl-hardware-list - xine-lib - xinetd - xkeyboard-config - xli - xlockmore - xmoto - xntp - xorg-x11 - xorg-x11-driver-input - xorg-x11-driver-video - xorg-x11-fonts - xorg-x11-fonts-core - xorg-x11-libfontenc - xorg-x11-libICE - xorg-x11-libs - xorg-x11-libSM - xorg-x11-libX11 - xorg-x11-libX11-ccache - xorg-x11-libXau - xorg-x11-libXdmcp - xorg-x11-libXext - xorg-x11-libXfixes - xorg-x11-libxkbfile - xorg-x11-libXmu - xorg-x11-libXp - xorg-x11-libXpm - xorg-x11-libXprintUtil - xorg-x11-libXrender - xorg-x11-libXt - xorg-x11-libXv - xorg-x11-server - xorg-x11-Xvnc - xpdf-tools - xscreensaver - xterm - xtermset - yast2 - yast2-apparmor - yast2-backup - yast2-bluetooth - yast2-bootfloppy - yast2-bootloader - yast2-control-center - yast2-core - yast2-country - yast2-firewall - yast2-hardware-detection - yast2-inetd - yast2-installation - yast2-irda - yast2-iscsi-client - yast2-kerberos-client - yast2-ldap - yast2-ldap-client - yast2-mail - yast2-mail-aliases - yast2-mouse - yast2-ncurses - yast2-network - yast2-nfs-client - yast2-nis-client - yast2-ntp-client - yast2-online-update - yast2-online-update-frontend - yast2-packager - yast2-pam - yast2-perl-bindings - yast2-pkg-bindings - yast2-power-management - yast2-powertweak - yast2-printer - yast2-profile-manager - yast2-qt - yast2-registration - yast2-repair - yast2-restore - yast2-runlevel - yast2-samba-client - yast2-samba-server - yast2-scanner - yast2-schema - yast2-security - yast2-slp - yast2-sound - yast2-storage - yast2-storage-evms - yast2-storage-lib - yast2-sudo - yast2-support - yast2-sysconfig - yast2-theme-openSUSE - yast2-trans-de - yast2-transfer - yast2-trans-stats - yast2-tune - yast2-tv - yast2-update - yast2-users - yast2-x11 - yast2-xml - ypbind - yp-tools - zip - zisofs-tools - zlib - zsh - zvbi - ", - }; - return; -} - -1; diff --git a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm b/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm deleted file mode 100644 index bc07ef08..00000000 --- a/installer/OpenSLX/OSSetup/Distro/SUSE_10_2_x86_64.pm +++ /dev/null @@ -1,365 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# SUSE_10_2_x86_64.pm -# - provides SUSE-10.2-x86_64-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::SUSE_10_2_x86_64; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::SUSE); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'suse-10.2_x86_64', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - ftp://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/oss - ftp://suse.inode.at/opensuse/distribution/10.2/repo/oss - http://mirrors.uol.com.br/pub/suse/distribution/10.2/repo/oss - ftp://klid.dk/opensuse/distribution/10.2/repo/oss - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/10.2/repo/oss - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/10.2/repo/oss - ", - 'name' => 'openSUSE 10.2', - 'repo-subdir' => 'suse', - }, - 'base_non-oss' => { - 'urls' => " - ftp://ftp5.gwdg.de/pub/opensuse/distribution/10.2/repo/non-oss - ftp://suse.inode.at/opensuse/distribution/10.2/repo/non-oss - http://mirrors.uol.com.br/pub/suse/distribution/10.2/repo/non-oss - ftp://klid.dk/opensuse/distribution/10.2/repo/non-oss - ftp://ftp.estpak.ee/pub/suse/opensuse/distribution/10.2/repo/non-oss - ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/10.2/repo/non-oss - ", - 'name' => 'openSUSE 10.2 non-OSS', - 'repo-subdir' => 'suse', - }, - 'base_update' => { - 'urls' => " - ftp://ftp.gwdg.de/pub/suse/update/10.2 - ", - 'name' => 'openSUSE 10.2 updates', - 'repo-subdir' => '', - }, - }; - - $self->{config}->{'package-subdir'} = 'suse'; - - $self->{config}->{'prereq-packages'} = " - x86_64/bzip2-1.0.3-36.x86_64.rpm - x86_64/glibc-2.5-25.x86_64.rpm - x86_64/popt-1.7-304.x86_64.rpm - x86_64/rpm-4.4.2-76.x86_64.rpm - x86_64/zlib-1.2.3-33.x86_64.rpm - "; - - $self->{config}->{'bootstrap-packages'} = " - x86_64/aaa_base-10.2-38.x86_64.rpm - x86_64/aaa_skel-2006.5.19-20.x86_64.rpm - x86_64/audit-libs-1.2.6-20.x86_64.rpm - x86_64/bash-3.1-55.x86_64.rpm - x86_64/blocxx-1.0.0-36.x86_64.rpm - x86_64/coreutils-6.4-10.x86_64.rpm - x86_64/cpio-2.6-40.x86_64.rpm - x86_64/cracklib-2.8.9-20.x86_64.rpm - x86_64/cyrus-sasl-2.1.22-28.x86_64.rpm - x86_64/db-4.4.20-16.x86_64.rpm - x86_64/diffutils-2.8.7-38.x86_64.rpm - x86_64/e2fsprogs-1.39-21.x86_64.rpm - x86_64/file-4.17-23.x86_64.rpm - x86_64/filesystem-10.2-22.x86_64.rpm - x86_64/fillup-1.42-138.x86_64.rpm - x86_64/findutils-4.2.28-24.x86_64.rpm - x86_64/gawk-3.1.5-41.x86_64.rpm - x86_64/gdbm-1.8.3-261.x86_64.rpm - x86_64/glibc-32bit-2.5-25.x86_64.rpm - x86_64/gpg-1.4.5-24.x86_64.rpm - x86_64/grep-2.5.1a-40.x86_64.rpm - x86_64/gzip-1.3.5-178.x86_64.rpm - x86_64/info-4.8-43.x86_64.rpm - x86_64/insserv-1.04.0-42.x86_64.rpm - x86_64/irqbalance-0.09-80.x86_64.rpm - x86_64/kernel-default-2.6.18.2-34.x86_64.rpm - x86_64/libacl-2.2.34-33.x86_64.rpm - x86_64/libattr-2.4.28-38.x86_64.rpm - x86_64/libcom_err-1.39-21.x86_64.rpm - x86_64/libgcc41-4.1.2_20061115-5.x86_64.rpm - x86_64/libstdc++41-4.1.2_20061115-5.x86_64.rpm - x86_64/libvolume_id-103-12.x86_64.rpm - x86_64/libxcrypt-2.4-30.x86_64.rpm - x86_64/libzio-0.2-20.x86_64.rpm - x86_64/limal-1.2.9-5.x86_64.rpm - x86_64/limal-bootloader-1.2.4-6.x86_64.rpm - x86_64/limal-perl-1.2.9-5.x86_64.rpm - x86_64/logrotate-3.7.4-21.x86_64.rpm - x86_64/mdadm-2.5.3-17.x86_64.rpm - x86_64/mingetty-0.9.6s-107.x86_64.rpm - x86_64/mkinitrd-1.2-149.x86_64.rpm - x86_64/mktemp-1.5-763.x86_64.rpm - x86_64/module-init-tools-3.2.2-62.x86_64.rpm - x86_64/ncurses-5.5-42.x86_64.rpm - x86_64/net-tools-1.60-606.x86_64.rpm - x86_64/openldap2-client-2.3.27-25.x86_64.rpm - x86_64/openssl-0.9.8d-17.x86_64.rpm - x86_64/openSUSE-release-10.2-35.x86_64.rpm - x86_64/pam-0.99.6.3-24.x86_64.rpm - x86_64/pciutils-2.2.4-13.x86_64.rpm - x86_64/pcre-6.7-21.x86_64.rpm - x86_64/perl-5.8.8-32.x86_64.rpm - x86_64/perl-Bootloader-0.4.5-3.x86_64.rpm - x86_64/perl-gettext-1.05-31.x86_64.rpm - x86_64/permissions-2006.11.13-5.x86_64.rpm - x86_64/readline-5.1-55.x86_64.rpm - x86_64/reiserfs-3.6.19-37.x86_64.rpm - x86_64/sed-4.1.5-21.x86_64.rpm - x86_64/sysvinit-2.86-47.x86_64.rpm - x86_64/udev-103-12.x86_64.rpm - x86_64/util-linux-2.12r-61.x86_64.rpm - noarch/pciutils-ids-2006.11.18-2.noarch.rpm - noarch/suse-build-key-1.0-707.noarch.rpm - "; - - $self->{config}->{'metapackager-packages'} = { - 'smart' => " - x86_64/python-2.5-19.x86_64.rpm - x86_64/python-xml-2.5-19.x86_64.rpm - x86_64/rpm-python-4.4.2-76.x86_64.rpm - x86_64/smart-0.42-43.x86_64.rpm - ", - 'yum' => " - x86_64/glib2-2.12.4-15.x86_64.rpm - x86_64/gnome-filesystem-0.1-288.x86_64.rpm - x86_64/libxml2-2.6.26-26.x86_64.rpm - x86_64/libxml2-python-2.6.26-29.x86_64.rpm - x86_64/python-2.5-19.x86_64.rpm - x86_64/python-sqlite-1.1.8-11.x86_64.rpm - x86_64/python-urlgrabber-3.1.0-18.x86_64.rpm - x86_64/python-xml-2.5-19.x86_64.rpm - x86_64/rpm-python-4.4.2-76.x86_64.rpm - x86_64/sqlite-3.3.8-14.x86_64.rpm - x86_64/yum-3.0.1-9.x86_64.rpm - x86_64/yum-metadata-parser-1.0.2-23.x86_64.rpm - ", - }; - - $self->{config}->{'selection'} = { - 'default' => " - acl - acpid - apparmor-docs - apparmor-profiles - apparmor-utils - ash - at - atk - attr - audit - autofs - autoyast2 - bc - bind-libs - bind-utils - boost - bootsplash-theme-SuSE - compat - compat-libstdc++ - compat-openssl097g - cpufrequtils - cron - cups-client - cyrus-sasl - cyrus-sasl-saslauthd - db-utils - deltarpm - dhcpcd - dmraid - dos2unix - dosfstools - ed - eject - ethtool - fbset - findutils - fontconfig - freetype2 - gdb - gdbm - glib2 - glibc-i18ndata - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpg-pubkey - gpm - hal-resmgr - hfsutils - ifplugd - initviocons - inst-source-utils - iputils - joe - kbd - kernel-default - krb5 - ksh - ksymoops - libacl - libapparmor - libart_lgpl - libattr - libcap - libcom_err - libdrm - libevent - libgcc41 - libgcrypt - libgimpprint - libgpg-error - libicu - libidn - libjpeg - liblazy - liblcms - libltdl - libmng - libnscd - libopencdk - libpcap - libpng - librpcsecgss - libstdc++41 - libtiff - libusb - libvolume_id - libxcrypt - lukemftp - lvm2 - lzo - mailx - man - man-pages - microcode_ctl - module-init-tools - multipath-tools - nbd - ncurses - net-snmp - nfs-utils - nfsidmap - nscd - ntfsprogs - openSUSE-release - openct - opensc - openssh - openssl - patch - pax - perl-Crypt-SmbHash - perl-URI - perl-XML-Parser - perl-XML-Writer - postfix - powersave-libs - preload - procinfo - procmail - procps - providers - qlogic-firmware - recode - rrdtool - rsync - sash - screen - scsi - sensors - sharutils - smart - smartmontools - smpppd - squashfs-kmp-default - strace - sudo - suse-build-key - suspend - sysfsutils - syslog-ng - tcpd - tcpdump - tcsh - telnet - terminfo - timezone - ulimit - usbutils - utempter - vim - wdiff - wget - wvstreams - xfsprogs - xinetd - xntp - yast2-apparmor - yast2-backup - yast2-bluetooth - yast2-bootfloppy - yast2-irda - yast2-iscsi-client - yast2-mail - yast2-ncurses - yast2-nis-client - yast2-ntp-client - yast2-online-update-frontend - yast2-power-management - yast2-powertweak - yast2-profile-manager - yast2-repair - yast2-restore - yast2-runlevel - yast2-samba-client - yast2-scanner - yast2-sudo - yast2-support - yast2-theme-openSUSE - yast2-trans-de - yast2-tv - ypbind - zip - zisofs-tools - zsh - ", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm deleted file mode 100644 index 006ade0a..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Ubuntu_6_10.pm -# - provides Ubuntu-6.10-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Ubuntu_6_10; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Ubuntu); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'ubuntu-6.10', - 'arch' => 'i386', - 'release-name' => 'edgy', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://ubuntu.intergenia.de/ubuntu - ", - 'name' => 'Ubuntu 6.10', - 'repo-subdir' => 'dists', - 'distribution' => 'edgy', - 'components' => 'main restricted', - }, - 'base_updates' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 6.10 Updates', - 'repo-subdir' => 'dists', - 'distribution' => 'edgy-updates', - 'components' => 'main restricted', - }, - 'base_security' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 6.10 Security', - 'repo-subdir' => 'dists', - 'distribution' => 'edgy-security', - 'components' => 'main restricted', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - language-pack-de - linux-image-generic - ", - 'gnome' => " - <<>> - ubuntu-desktop - ", - - 'kde' => " - <<>> - kubuntu-desktop - ", - - 'xfce' => " - <<>> - xubuntu-desktop - ", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10_amd64.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10_amd64.pm deleted file mode 100644 index a37b364d..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10_amd64.pm +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Ubuntu_6_10_amd64.pm -# - provides Ubuntu-6.10_amd64-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Ubuntu_6_10_amd64; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Ubuntu); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'ubuntu-6.10_amd64', - 'arch' => 'amd64', - 'release-name' => 'edgy', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://ubuntu.intergenia.de/ubuntu - ", - 'name' => 'Ubuntu 6.10', - 'repo-subdir' => 'dists', - 'distribution' => 'edgy', - 'components' => 'main restricted', - }, - 'base_updates' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 6.10 Updates', - 'repo-subdir' => 'dists', - 'distribution' => 'edgy-updates', - 'components' => 'main restricted', - }, - 'base_security' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 6.10 Security', - 'repo-subdir' => 'dists', - 'distribution' => 'edgy-security', - 'components' => 'main restricted', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - language-pack-de - linux-image-generic - ", - 'gnome' => " - <<>> - ubuntu-desktop - ", - - 'kde' => " - <<>> - kubuntu-desktop - ", - - 'xfce' => " - <<>> - xubuntu-desktop - ", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm deleted file mode 100644 index 09cbf034..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Ubuntu_7_04.pm -# - provides Ubuntu-7.04-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Ubuntu_7_04; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Ubuntu); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'ubuntu-7.04', - 'arch' => 'i386', - 'release-name' => 'feisty', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://ubuntu.intergenia.de/ubuntu - ", - 'name' => 'Ubuntu 7.04', - 'repo-subdir' => 'dists', - 'distribution' => 'feisty', - 'components' => 'main restricted', - }, - 'base_updates' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 7.04 Updates', - 'repo-subdir' => 'dists', - 'distribution' => 'feisty-updates', - 'components' => 'main restricted', - }, - 'base_security' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 7.04 Security', - 'repo-subdir' => 'dists', - 'distribution' => 'feisty-security', - 'components' => 'main restricted', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - language-pack-de - linux-image-generic - ", - - 'gnome' => " - <<>> - ubuntu-desktop - ", - - 'kde' => " - <<>> - kubuntu-desktop - ", - - 'xfce' => " - <<>> - xubuntu-desktop - ", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04_amd64.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04_amd64.pm deleted file mode 100644 index 4a08e63f..00000000 --- a/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04_amd64.pm +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright (c) 2006, 2007 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# Ubuntu_7_04_amd64.pm -# - provides Ubuntu-7.04_amd64-specific overrides of the OpenSLX OSSetup API. -# ----------------------------------------------------------------------------- -package OpenSLX::OSSetup::Distro::Ubuntu_7_04_amd64; - -use strict; -use warnings; - -use base qw(OpenSLX::OSSetup::Distro::Ubuntu); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'ubuntu-7.04_amd64', - 'arch' => 'amd64', - 'release-name' => 'feisty', - }; - return bless $self, $class; -} - -sub initDistroInfo -{ - my $self = shift; - $self->{config}->{'repository'} = { - 'base' => { - 'urls' => " - http://ubuntu.intergenia.de/ubuntu - ", - 'name' => 'Ubuntu 7.04', - 'repo-subdir' => 'dists', - 'distribution' => 'feisty', - 'components' => 'main restricted', - }, - 'base_updates' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 7.04 Updates', - 'repo-subdir' => 'dists', - 'distribution' => 'feisty-updates', - 'components' => 'main restricted', - }, - 'base_security' => { - 'urls' => " - ftp://localhost/pub/ubuntu - ", - 'name' => 'Ubuntu 7.04 Security', - 'repo-subdir' => 'dists', - 'distribution' => 'feisty-security', - 'components' => 'main restricted', - }, - }; - - $self->{config}->{'package-subdir'} = 'pool'; - - $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_0.3.3.2ubuntu3_all.deb - "; - - $self->{config}->{'bootstrap-packages'} = " - "; - - $self->{config}->{'selection'} = { - 'default' => " - language-pack-de - linux-image-generic - ", - - 'gnome' => " - <<>> - ubuntu-desktop - ", - - 'kde' => " - <<>> - kubuntu-desktop - ", - - 'xfce' => " - <<>> - xubuntu-desktop - ", - }; - return; -} - -1; \ No newline at end of file diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 198dfa9c..9fff64cf 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -26,7 +26,10 @@ use Exporter; %supportedDistros ); +use Config::General; use File::Basename; +use URI; + use OpenSLX::Basics; use OpenSLX::Utils; @@ -34,64 +37,64 @@ use vars qw(%supportedDistros); %supportedDistros = ( 'debian-3.1' => { - module => 'Debian_3_1', support => 'clone,install' + module => 'Debian_3_1', support => 'clone,install' }, 'debian-4.0' => { - module => 'Debian_4_0', support => 'clone,install' + module => 'Debian', support => 'clone,install' }, 'debian-4.0_amd64' => { - module => 'Debian_4_0_amd64', support => 'clone,install' + module => 'Debian', support => 'clone,install' }, 'fedora-6' => { - module => 'Fedora_6', support => 'clone,install' + module => 'Fedora', support => 'clone,install' }, 'fedora-6_x86_64' => { - module => 'Fedora_6_x86_64', support => 'clone,install' + module => 'Fedora', support => 'clone,install' }, 'gentoo-2005.1' => { - module => 'Gentoo', support => 'clone' + module => 'Gentoo', support => 'clone' }, 'gentoo-2006.1' => { - module => 'Gentoo', support => 'clone' + module => 'Gentoo', support => 'clone' }, 'mandriva-2007.0' => { - module => 'Mandriva_2007_0', support => 'clone' + module => 'Mandriva_2007_0', support => 'clone' }, 'suse-9.3' => { - module => 'SUSE_9_3', support => 'clone' + module => 'SUSE', support => 'clone' }, 'suse-10.0' => { - module => 'SUSE_10_0', support => 'clone' + module => 'SUSE', support => 'clone' }, 'suse-10.0_x86_64' => { - module => 'SUSE_10_0_x86_64', support => 'clone' + module => 'SUSE', support => 'clone' }, 'suse-10.1' => { - module => 'SUSE_10_1', support => 'clone,install' + module => 'SUSE', support => 'clone,install' }, 'suse-10.1_x86_64' => { - module => 'SUSE_10_1_x86_64', support => 'clone,install' + module => 'SUSE', support => 'clone,install' }, 'suse-10.2' => { - module => 'SUSE_10_2', support => 'clone,install' + module => 'SUSE', support => 'clone,install' }, 'suse-10.2_x86_64' => { - module => 'SUSE_10_2_x86_64', support => 'clone,install' + module => 'SUSE', support => 'clone,install' }, 'ubuntu-6.06' => { - module => 'Ubuntu_6_06', support => 'clone' + module => 'Ubuntu', support => 'clone' }, 'ubuntu-6.10' => { - module => 'Ubuntu_6_10', support => 'clone,install' + module => 'Ubuntu', support => 'clone,install' }, 'ubuntu-6.10_amd64' => { - module => 'Ubuntu_6_10_amd64', support => 'clone,install' + module => 'Ubuntu', support => 'clone,install' }, 'ubuntu-7.04' => { - module => 'Ubuntu_7_04', support => 'clone,install' + module => 'Ubuntu', support => 'clone,install' }, 'ubuntu-7.04_amd64' => { - module => 'Ubuntu_7_04_amd64', support => 'clone,install' + module => 'Ubuntu', support => 'clone,install' }, ); @@ -214,10 +217,18 @@ sub initialize ); } $self->{'config-distro-info-dir'} = $configDistroInfoDir; + + my $busyboxName = + $self->_hostIs64Bit() + ? 'busybox.x86_64' + : 'busybox.i586'; + $self->{'busybox-binary'} + = "$openslxConfig{'base-path'}/share/busybox/$busyboxName"; + $self->_readDistroInfo(); } - if (!$self->{'action-type'} eq 'install' + if ($self->{'action-type'} eq 'install' && !exists $self->{'distro-info'}->{'selection'}->{$selectionName}) { die( @@ -226,7 +237,7 @@ sub initialize $selectionName, $self->{'distro-name'} ) . _tr("These selections are available:\n\t") - . join("\n\t", keys %{$self->{'distro-info'}->{'selection'}}) + . join("\n\t", sort keys %{$self->{'distro-info'}->{'selection'}}) . "\n" ); } @@ -239,6 +250,7 @@ sub initialize $self->_createPackager(); $self->_createMetaPackager(); } + return; } @@ -629,71 +641,305 @@ sub _readDistroInfo vlog(1, "reading configuration info for $self->{'vendor-os-name'}..."); - # merge user-provided configuration distro defaults... - my %repository = %{$self->{distro}->{config}->{repository}}; - my %selection = %{$self->{distro}->{config}->{selection}}; - my %excludes - = defined $self->{distro}->{config}->{excludes} - ? %{$self->{distro}->{config}->{excludes}} - : (); - my $package_subdir = $self->{distro}->{config}->{'package-subdir'}; - my $prereq_packages = $self->{distro}->{config}->{'prereq-packages'}; - my $bootstrap_packages = $self->{distro}->{config}->{'bootstrap-packages'}; - my $metapackager_packages = - $self->{distro}->{config}->{'metapackager-packages'}; - - my $file = "$self->{'config-distro-info-dir'}/settings"; - if (-e $file) { - vlog(2, "reading configuration file $file..."); - my $config = slurpFile($file); - if (!eval "$config" && length($@)) { - die _tr("error in config-file '%s' (%s)", $file, $@) . "\n"; + $self->{'distro-info'} = { + 'package-subdir' => '', + 'prereq-packages' => '', + 'bootstrap-packages' => '', + 'metapackager' => {}, + 'repository' => {}, + 'selection' => {}, + 'excludes' => {}, + }; + + # merge user-provided configuration with distro defaults + foreach my $file ( + "$self->{'shared-distro-info-dir'}/settings.default", + "$self->{'config-distro-info-dir'}/settings" + ) { + if (-e $file) { + vlog(2, "reading configuration file $file..."); + my $configObject = Config::General->new( + -AllowMultiOptions => 0, + -AutoTrue => 1, + -ConfigFile => $file, + -LowerCaseNames => 1, + -SplitPolicy => 'equalsign', + ); + my %config = $configObject->getall(); + mergeHash($self->{'distro-info'}, \%config); } } - - # ...expand selection definitions... - foreach my $selKey (keys %selection) { - $selection{$selKey} =~ s[<<<([^>]+)>>>][$selection{$1}]eg; + + # fetch mirrors for all repositories: + foreach my $repoKey (keys %{$self->{'distro-info'}->{repository}}) { + my $repo = $self->{'distro-info'}->{repository}->{$repoKey}; + $repo->{key} = $repoKey; + # if there is local URL, only that is used, otherwise we fetch the + # configured mirrors: + if (!$repo->{'local-url'}) { + $repo->{urls} = $self->_fetchConfiguredMirrorsForRepository($repo); + } } - # ...expand selection definitions... - foreach my $exclKey (keys %excludes) { - $excludes{$exclKey} =~ s[<<<([^>]+)>>>][$excludes{$1}]eg; + # expand all selections: + foreach my $selKey (keys %{$self->{'distro-info'}->{selection}}) { + $self->_expandSelection($selKey); } - # ...and store merged config: - $self->{'distro-info'} = { - 'package-subdir' => $package_subdir, - 'prereq-packages' => $prereq_packages, - 'bootstrap-packages' => $bootstrap_packages, - 'metapackager-packages' => $metapackager_packages, - 'repository' => \%repository, - 'selection' => \%selection, - 'excludes' => \%excludes, - }; - + # dump distro-info, if asked for: if ($openslxConfig{'verbose-level'} >= 2) { - # dump distro-info, if asked for: - foreach my $r (sort keys %repository) { + my $repository = $self->{'distro-info'}->{repository}; + foreach my $r (sort keys %$repository) { vlog(2, "repository '$r':"); - foreach my $k (sort keys %{$repository{$r}}) { - vlog(3, "\t$k = '$repository{$r}->{$k}'"); + foreach my $k (sort keys %{$repository->{$r}}) { + vlog(3, "\t$k = '$repository->{$r}->{$k}'"); } } - foreach my $s (sort keys %selection) { - my @selLines = split "\n", $selection{$s}; + my $selection = $self->{'distro-info'}->{selection}; + foreach my $s (sort keys %$selection) { vlog(2, "selection '$s':"); - foreach my $sl (@selLines) { - vlog(3, "\t$sl"); + foreach my $k (sort keys %{$selection->{$s}}) { + vlog(3, "\t$k = '$selection->{$s}->{$k}'"); } } - foreach my $e (sort keys %excludes) { - my @exclLines = split "\n", $excludes{$e}; + my $excludes = $self->{'distro-info'}->{excludes}; + foreach my $e (sort keys %$excludes) { vlog(2, "excludes for '$e':"); - foreach my $excl (@exclLines) { - vlog(3, "\t$excl"); + foreach my $k (sort keys %{$excludes->{$e}}) { + vlog(3, "\t$k = '$excludes->{$e}->{$k}'"); + } + } + } + return; +} + +sub _fetchConfiguredMirrorsForRepository +{ + my $self = shift; + my $repoInfo = shift; + + my $configuredMirrorsFile + = "$self->{'config-distro-info-dir'}/mirrors/$repoInfo->{key}"; + if (!-e $configuredMirrorsFile) { + vlog(0, + _tr( + "repo '%s' has no configured mirrors, let's pick some ...", + $repoInfo->{name} + ) + ); + $self->_configureBestMirrorsForRepository($repoInfo); + } + vlog(2, "reading configured mirrors file '$configuredMirrorsFile'."); + my $configObject = Config::General->new( + -AllowMultiOptions => 0, + -AutoTrue => 1, + -ConfigFile => $configuredMirrorsFile, + -LowerCaseNames => 1, + -SplitPolicy => 'equalsign', + ); + my %config = $configObject->getall(); + + return $config{urls}; +} + +sub _configureBestMirrorsForRepository +{ + my $self = shift; + my $repoInfo = shift; + + my $configuredMirrorsFile + = "$self->{'config-distro-info-dir'}/mirrors/$repoInfo->{key}"; + + if (!-e "$self->{'config-distro-info-dir'}/mirrors") { + mkdir "$self->{'config-distro-info-dir'}/mirrors"; + } + + my $allMirrorsFile + = "$self->{'shared-distro-info-dir'}/mirrors/$repoInfo->{key}"; + my @allMirrors = string2Array(slurpFile($allMirrorsFile)); + + my $mirrorsToTryCount = $openslxConfig{'mirrors-to-try-count'} || 20; + my $mirrorsToUseCount = $openslxConfig{'mirrors-to-use-count'} || 5; + vlog(1, + _tr( + "selecting the '%s' best mirrors (from a set of '%s') for repo '%s' ...", + $mirrorsToUseCount, $mirrorsToTryCount, $repoInfo->{key} + ) + ); + + # determine own top-level domain: + my $topLevelDomain; + if (defined $openslxConfig{'mirrors-preferred-top-level-domain'}) { + $topLevelDomain + = lc($openslxConfig{'mirrors-preferred-top-level-domain'}); + } + else { + my $FQDN = getFQDN(); + $FQDN =~ m{\.(\w+)$}; + $topLevelDomain = lc($1); + } + + # select up to $mirrorsToTryCount "close" mirrors from the array ... + my @tryMirrors + = grep { + my $uri = URI->new($_); + my $host = $uri->host(); + $host =~ m{\.(\w+)$} && lc($1) eq $topLevelDomain; } + @allMirrors; + + my $tryList = join("\n\t", @tryMirrors); + vlog(1, + _tr( + "mirrors matching the preferred top level domain ('%s'):\n\t%s\n", + $topLevelDomain, $tryList + ) + ); + + if (@tryMirrors > $mirrorsToTryCount) { + # shrink array to $mirrorsToTryCount elements + vlog(1, _tr("shrinking list to %s mirrors\n", $mirrorsToTryCount)); + $#tryMirrors = $mirrorsToTryCount; + } + elsif (@tryMirrors < $mirrorsToTryCount) { + # we need more mirrors, try adding some others randomly: + vlog(1, + _tr( + "filling list with %s more random mirrors:\n", + $mirrorsToTryCount - @tryMirrors + ) + ); + + # fill @untriedMirrors with the mirrors not already contained + # in @tryMirrors ... + my @untriedMirrors + = grep { + my $mirror = $_; + !grep { $mirror eq $_ } @tryMirrors; + } @allMirrors; + + # ... now pick randomly until we have reached the limit or there are + # no more unused mirrors left + foreach my $count (@tryMirrors..$mirrorsToTryCount-1) { + last if !@untriedMirrors; + my $index = int(rand(scalar(@untriedMirrors))); + my $randomMirror = splice(@untriedMirrors, $index, 1); + push @tryMirrors, $randomMirror; + vlog(1, "\t$randomMirror\n"); + } + } + + # ... fetch a file from all of these mirrors and measure the time taken ... + vlog(0, + _tr( + "testing %s mirrors to determine the fastest %s ...\n", + $mirrorsToTryCount, $mirrorsToUseCount + ) + ); + my %mirrorSpeed; + my $veryGoodSpeedCount = 0; + foreach my $mirror (@tryMirrors) { + if ($veryGoodSpeedCount >= $mirrorsToUseCount) { + # we already have enough mirrors with very good speed, + # it makes no sense to test any others. We simply set the + # time of the remaining mirrors to some large value, so they + # won't get picked: + $mirrorSpeed{$mirror} = 10000; + next; } + + # test the current mirror and record the result + my $time = $self->_speedTestMirror( + $mirror, $repoInfo->{'file-for-speedtest'} + ); + $mirrorSpeed{$mirror} = $time; + if ($time <= 1) { + $veryGoodSpeedCount++; + } + } + + # ... now select the best (fastest) $mirrorsToUseCount mirrors ... + my @bestMirrors + = ( + sort { + $mirrorSpeed{$a} <=> $mirrorSpeed{$b}; + } + @tryMirrors + )[0..$mirrorsToUseCount-1]; + + vlog(0, + _tr( + "picked these '%s' mirrors for repo '%s':\n\t%s\n", + $mirrorsToUseCount, $repoInfo->{name}, join("\n\t", @bestMirrors) + ) + ); + + # ... and write them into the configuration file: + my $configObject = Config::General->new( + -AllowMultiOptions => 0, + -AutoTrue => 1, + -LowerCaseNames => 1, + -SplitPolicy => 'equalsign', + ); + $configObject->save_file($configuredMirrorsFile, { + 'urls' => join("\n", @bestMirrors), + }); + return; +} + +sub _speedTestMirror +{ + my $self = shift; + my $mirror = shift; + my $file = shift; + + vlog(0, _tr("\ttesting mirror '%s' ...\n", $mirror)); + + # do an explicit DNS-lookup as we do not want to include the time that takes + # in the speedtest + my $uri = URI->new($mirror); + my $hostName = $uri->host(); + if (!gethostbyname($hostName)) { + # unable to resolve host, we pretend it took really long + return 10000; + } + + # now measure the time it takes to download the file + my $tempFile = "$openslxConfig{'temp-path'}/slx-mirror-testfile"; + unlink $tempFile if -e $tempFile; + my $wgetCmd + = "$self->{'busybox-binary'} wget -q -O $tempFile $mirror/$file"; + my $start = time(); + if (slxsystem($wgetCmd)) { + # just return any large number that is unlikely to be selected + return 10000; + } + my $time = time() - $start; + unlink $tempFile; + vlog(0, "\tfetched '$file' in $time seconds\n"); + return $time; +} + +sub _expandSelection +{ + my $self = shift; + my $selKey = shift; + my $seen = shift || {}; + + return if $seen->{$selKey}; + $seen->{$selKey} = 1; + + return if !exists $self->{'distro-info'}->{selection}->{$selKey}; + my $selection = $self->{'distro-info'}->{selection}->{$selKey}; + + if ($selection->{base}) { + # add all packages from base selection to the current one: + my $base = $selection->{base}; + return if !exists $self->{'distro-info'}->{selection}->{$base}; + my $baseSelection = $self->{'distro-info'}->{selection}->{$base}; + $self->_expandSelection($base, $seen); + $selection->{packages} + = "$baseSelection->{packages}\n$selection->{packages}"; } return; } @@ -759,24 +1005,19 @@ sub _sortRepositoryURLs my $self = shift; my $repoInfo = shift; - if (defined $repoInfo->{'url'} && $repoInfo->{'avoid-mirrors'}) { - # a local URL blocks all the others, in order to avoid causing - # (external) network traffic, so we return the local URL only: - return [$repoInfo->{'url'}]; + my @URLs + = defined $repoInfo->{'local-url'} + ? $repoInfo->{'local-url'} + : string2Array($repoInfo->{urls}); + if (!@URLs) { + die( + _tr( + "repository '%s' has no URLs defined, unable to fetch anything!", + $repoInfo->{name}, + ) + ); } - my %urlInfo; - - # specified URL always has highest precedence: - $urlInfo{$repoInfo->{url}} = 0 if defined $repoInfo->{url}; - - # now add all others sorted by "closeness": - my $index = 1; - foreach my $url (string2Array($repoInfo->{urls})) { - # TODO: insert a closest mirror algorithm here! - $urlInfo{$url} = $index++; - } - my @URLs = sort { $urlInfo{$a} <=> $urlInfo{$b} } keys %urlInfo; return \@URLs; } @@ -794,27 +1035,25 @@ sub _downloadBaseFiles my $tryCount = 0; next unless $fileVariantStr =~ m[\S]; my $foundFile; - try_next_url: +try_next_url: my $url = $URLs[$self->{'baseURL-index'}]; $url .= "/$pkgSubdir" if length($pkgSubdir); - my @contFlags = (); - push @contFlags, '-c' if ($url =~ m[^ftp]); - # continuing is only supported with FTP, but not with HTTP foreach my $file (split '\s+', $fileVariantStr) { + my $basefile = basename($file); vlog(2, "fetching <$file>..."); - if (slxsystem("wget", @contFlags, "$url/$file") == 0) { - $foundFile = basename($file); + if (slxsystem("wget", "$url/$file") == 0) { + $foundFile = $basefile; last; } - elsif ($! == 17) { - my $basefile = basename($file); - vlog(2, "removing left-over '$basefile' and trying again..."); + elsif (-e $basefile) { + vlog(0, "removing left-over '$basefile' and trying again..."); unlink $basefile; + redo; } } if (!defined $foundFile) { - if (!$ENV{SLX_NO_MIRRORS} && $tryCount < $maxTryCount) { + if ($tryCount < $maxTryCount) { $tryCount++; $self->{'baseURL-index'} = ($self->{'baseURL-index'} + 1) % scalar(@URLs); @@ -841,21 +1080,15 @@ sub _startLocalURLServersAsNeeded $self->{'local-http-server-master-pid'} = $$; my $port = 5080; + my %portForURL; foreach my $repoInfo (values %{$self->{'distro-info'}->{repository}}) { - $repoInfo->{'avoid-mirrors'} = $ENV{SLX_NO_MIRRORS} || 0; - my $localURL = $repoInfo->{url} || ''; + my $localURL = $repoInfo->{'local-url'} || ''; next if !$localURL; next if $localURL =~ m[^\w+:]; # anything with a protcol-spec is non-local if (!exists $self->{'local-http-servers'}->{$localURL}) { - my $busyboxName = - $self->_hostIs64Bit() - ? 'busybox.x86_64' - : 'busybox.i586'; - my $busybox = - "$openslxConfig{'base-path'}/share/busybox/$busyboxName"; my $pid = executeInSubprocess( - $busybox, "httpd", '-p', $port, '-h', '/', '-f' + $self->{'busybox-binary'}, "httpd", '-p', $port, '-h', '/', '-f' ); vlog(1, _tr( @@ -864,10 +1097,15 @@ sub _startLocalURLServersAsNeeded ) ); $self->{'local-http-servers'}->{$localURL} = $pid; - $repoInfo->{'url'} = "http://localhost:$port$localURL"; - $repoInfo->{'avoid-mirrors'} = 1; + $repoInfo->{'local-url'} + = "http://localhost:$port$localURL"; + $portForURL{$localURL} = $port; $port++; } + else { + $repoInfo->{'local-url'} + = "http://localhost:$portForURL{$localURL}$localURL"; + } } return; } @@ -904,11 +1142,10 @@ sub _stage1A_createBusyboxEnvironment # copy busybox and all required binaries into stage1a-dir: vlog(1, "creating busybox-environment..."); - my $busyboxName = $self->_hostIs64Bit() ? 'busybox.x86_64' : 'busybox.i586'; my $requiredLibs = copyBinaryWithRequiredLibs({ - 'binary' => "$openslxConfig{'base-path'}/share/busybox/$busyboxName", + 'binary' => $self->{'busybox-binary'}, 'targetFolder' => "$self->{stage1aDir}/bin", - 'libTargetFolder' => "$self->{stage1aDir}", + 'libTargetFolder' => $self->{stage1aDir}, 'targetName' => 'busybox', }); my $libcFolder; @@ -1082,9 +1319,9 @@ sub _stage1B_chrootAndBootstrap @pkgs = string2Array($self->{'distro-info'}->{'bootstrap-packages'}); push( - @pkgs, + @pkgs, string2Array( - $self->{'distro-info'}->{'metapackager-packages'} + $self->{'distro-info'}->{'metapackager'} ->{$self->{distro}->{'meta-packager-type'}} ) ); @@ -1238,8 +1475,9 @@ sub _stage1D_setupPackageSources vlog(1, "setting up package sources for meta packager..."); my $selectionName = $self->{'selection-name'}; - my $pkgExcludes = $self->{'distro-info'}->{excludes}->{$selectionName}; - my $excludeList = join ' ', string2Array($pkgExcludes); + my $pkgExcludes + = $self->{'distro-info'}->{excludes}->{$selectionName}->{packages}; + my $excludeList = join ' ', string2Array($pkgExcludes); $self->{'meta-packager'}->initPackageSources(); my ($rk, $repo); while (($rk, $repo) = each %{$self->{'distro-info'}->{repository}}) { @@ -1267,8 +1505,8 @@ sub _stage1D_installPackageSelection my $selectionName = $self->{'selection-name'}; vlog(1, "installing package selection <$selectionName>..."); - my $pkgSelection = $self->{'distro-info'}->{selection}->{$selectionName}; - my @pkgs = string2Array($pkgSelection); + my $selection = $self->{'distro-info'}->{selection}->{$selectionName}; + my @pkgs = string2Array($selection->{packages}); my @installedPkgs = $self->{'packager'}->getInstalledPackages(); @pkgs = grep { my $pkg = $_; diff --git a/installer/OpenSLX/OSSetup/MetaPackager/apt.pm b/installer/OpenSLX/OSSetup/MetaPackager/apt.pm index 1526c4ec..2fee5f7e 100644 --- a/installer/OpenSLX/OSSetup/MetaPackager/apt.pm +++ b/installer/OpenSLX/OSSetup/MetaPackager/apt.pm @@ -78,11 +78,8 @@ sub setupPackageSource my $sourcesList = "deb $baseURL $distribution $components\n"; - my $avoidMirrors = $repoInfo->{'avoid-mirrors'} || 0; - if (!$avoidMirrors) { - foreach my $mirrorURL (@$repoURLs) { - $sourcesList .= "deb $mirrorURL $distribution $components\n"; - } + foreach my $mirrorURL (@$repoURLs) { + $sourcesList .= "deb $mirrorURL $distribution $components\n"; } appendFile('/etc/apt/sources.list', $sourcesList); diff --git a/installer/OpenSLX/OSSetup/MetaPackager/smart.pm b/installer/OpenSLX/OSSetup/MetaPackager/smart.pm index 21fe6d92..71d9875c 100644 --- a/installer/OpenSLX/OSSetup/MetaPackager/smart.pm +++ b/installer/OpenSLX/OSSetup/MetaPackager/smart.pm @@ -67,9 +67,6 @@ sub setupPackageSource die _tr("unable to add channel '%s' (%s)\n", $repoName, $!); } - my $avoidMirrors = $repoInfo->{'avoid-mirrors'} || 0; - return if $avoidMirrors; - my $mirrorDescr; foreach my $mirrorURL (@$repoURLs) { $mirrorDescr .= " --add $baseURL$repoSubdir $mirrorURL$repoSubdir"; diff --git a/installer/OpenSLX/OSSetup/MetaPackager/yum.pm b/installer/OpenSLX/OSSetup/MetaPackager/yum.pm index fbb50017..337227ed 100644 --- a/installer/OpenSLX/OSSetup/MetaPackager/yum.pm +++ b/installer/OpenSLX/OSSetup/MetaPackager/yum.pm @@ -61,11 +61,8 @@ sub setupPackageSource my $repoDescr = "[$repoName]\nname=$repoInfo->{name}\nbaseurl=$baseURL$repoSubdir\n"; - my $avoidMirrors = $repoInfo->{'avoid-mirrors'} || 0; - if (!$avoidMirrors) { - foreach my $mirrorURL (@$repoURLs) { - $repoDescr .= " $mirrorURL$repoSubdir\n"; - } + foreach my $mirrorURL (@$repoURLs) { + $repoDescr .= " $mirrorURL$repoSubdir\n"; } my $repoFile = "/etc/yum.repos.d/$repoName.repo"; spitFile($repoFile, "$repoDescr\nexclude=$excludeList\n"); diff --git a/installer/OpenSLX/OSSetup/Packager/dpkg.pm b/installer/OpenSLX/OSSetup/Packager/dpkg.pm index f1591a6c..52ac70ca 100644 --- a/installer/OpenSLX/OSSetup/Packager/dpkg.pm +++ b/installer/OpenSLX/OSSetup/Packager/dpkg.pm @@ -63,8 +63,8 @@ sub bootstrap if (slxsystem("ash", "-c", "rm -f debian-binary *.tar.gz")) { die _tr("unable to cleanup package '%s' (%s)", $debootstrapPkg, $!); } - my $arch = $self->{engine}->{distro}->{arch}; - my $releaseName = $self->{engine}->{distro}->{'release-name'}; + my $arch = $self->{engine}->{'distro-info'}->{arch}; + my $releaseName = $self->{engine}->{'distro-info'}->{'release-name'}; my $baseURL = $self->{engine}->{baseURLs}->[0]; my $debootstrapCmd = unshiftHereDoc(<<" END-OF-HERE"); /usr/sbin/debootstrap --arch $arch $releaseName \\ -- cgit v1.2.3-55-g7522