+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| |
-| Prije prelaska na Debian Lenny potrebno je napraviti nadogradnju|
-| sa PHP 4 na PHP 5. |
+| Prije prelaska na Debian Squeeze potrebno je napraviti |
+| nadogradnju sa PHP 4 na PHP 5. |
| |
| Pokrenite: |
| # apt-get update |
@@ -255,17 +254,17 @@ CN: run_actions (main) started...
U sljedeÄem koraku biti Äe izvrÅ¡ena provjera dali su najvažniji
- servisi nadograÄeni na najnovije inaÄice u etch
+ servisi nadograÄeni na najnovije inaÄice u lenny
distribuciji. Ako neki od instaliranih servisa nije najnovija
inaÄica, pojavit Äe se poruka:
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| |
-| Prije prelaska na Debian Lenny potrebno je napraviti nadogradnju|
-| ovih paketa: |
+| Prije prelaska na Debian Squeeze potrebno je napraviti |
+| nadogradnju ovih paketa: |
| amavisd-cn |
| |
| Pokrenite: |
@@ -296,7 +295,7 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| |
| Na racunalu je pronadjenja verzija kernela novija od trenutno |
@@ -318,7 +317,7 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| |
| Na racunalu je pronadjena instalacija KDE, GNOME ili X Window |
@@ -335,7 +334,7 @@ CN: run_actions (main) started...
- Standardna instalacija CARNet Debian etch distribucije
+ Standardna instalacija CARNet Debian lenny distribucije
donosila je mnogo paketa koji nisu nužno potrebni za uobiÄajen rad
poslužiteljskog raÄunala. Brisanjem tih paketa ubrzati Äete
proceduru nadogradnje, kao i smanjiti zauzeÄe diskovnog prostora.
@@ -345,7 +344,7 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| Prethodna inacica distribucije, CARNet Debian 2, donosila je |
| neke pakete koji nisu nuzni za normalan rad posluzitelja. |
@@ -373,7 +372,7 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| Standardna instalacija CARNet Debian distribucije donosi |
| podrsku za veci broj razlicitih servisa. U ovom koraku nudi |
@@ -407,9 +406,9 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
-| Napravljen backup slapd baze u /var/backups/slapcat.cn5-upgrade.|
+| Napravljen backup slapd baze u /var/backups/slapcat.cn6-upgrade.|
| |
| |
| |
@@ -433,10 +432,10 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| Napravljen backup /etc direktorija u |
-| /var/backups/etc.cn5-upgrade.tar.gz. |
+| /var/backups/etc.cn6-upgrade.tar.gz. |
| |
| |
| |
@@ -453,30 +452,30 @@ CN: run_actions (main) started...
Slijedi instalacija /etc/apt/sources.list datoteke
- podešene za CARNet Debian lenny i osvježavanje baze paketa.
+ podešene za CARNet Debian squeeze i osvježavanje baze paketa.
Eventualne dodatne repozitorije nakon nadogradnje možete kopirati iz
stare sources.list datoteke, koja Äe biti spremljena
- kao /etc/apt/sources.list.cn5-upgrade.
+ kao /etc/apt/sources.list.cn6-upgrade.
-+-------------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
-+-------------------------------------------------------------------+
-| Novi sadrzaj datoteke /etc/apt/sources.list: |
-| |
-| # Osnovni Debian Lenny paketi |
-| deb http://ftp.carnet.hr/debian lenny main contrib non-free |
-| deb http://security.debian.org lenny/updates main contrib non-free|
-| |
-| # CARNet Debian Lenny paketi |
-| deb http://ftp.carnet.hr/carnet-debian carnet-lenny main non-free |
-| |
-| # SRCE AAI paketi |
-| deb ftp://ftp.srce.hr/srce-debian/ srce-lenny main |
-| |
-+-------------------------------------------------------------------+
-| < U redu > |
-+-------------------------------------------------------------------+
++----------------------------------------------------------------------+
+| Nadogradnja CARNet Debian Lenny->Squeeze |
++----------------------------------------------------------------------+
+| Novi sadrzaj datoteke /etc/apt/sources.list: |
+| |
+| # Osnovni Debian Squeeze paketi |
+| deb http://ftp.carnet.hr/debian squeeze main contrib non-free |
+| deb http://security.debian.org squeeze/updates main contrib non-free |
+| |
+| # CARNet Debian Squeeze paketi |
+| deb http://ftp.carnet.hr/carnet-debian carnet-squeeze main non-free |
+| |
+| # SRCE AAI paketi |
+| deb ftp://ftp.srce.hr/srce-debian/ srce-squeeze main |
+| |
++----------------------------------------------------------------------+
+| < U redu > |
++----------------------------------------------------------------------+
@@ -551,7 +550,7 @@ CN: run_actions (main) started...
+-----------------------------------------------------------------+
-| Nadogradnja CARNet Debian Etch->Lenny |
+| Nadogradnja CARNet Debian Lenny->Squeeze |
+-----------------------------------------------------------------+
| Automatizirane ispravke su izvrsene. Provjerite jesu li svi |
| vasi kriticni servisi ispravno konfigurirani i pokrenuti. |
@@ -752,7 +751,7 @@ CN: run_actions (main) started...
- DNS (host www.vasa-domena.hr localhost),
- slanje i primanje maila (sa stroja, sa LAN-a, izvana),
-
- Freeradius (spojiti se na CMU i provjeriti log datoteke),
+
- Freeradius (spojiti se na AAIEdu i provjeriti stanje),
- Apache (http://stroj i https://stroj),
- LDAP (http://stroj/ldap/),
- Webmail (https://stroj/webmail/),
diff --git a/files/etc/apt/sources.list b/files/etc/apt/sources.list
index 6090ce4..3c1cf26 100644
--- a/files/etc/apt/sources.list
+++ b/files/etc/apt/sources.list
@@ -1,9 +1,9 @@
# Osnovni Debian paketi
-deb http://debian.carnet.hr/debian lenny main contrib non-free
-deb http://security.debian.org lenny/updates main contrib non-free
+deb http://debian.carnet.hr/debian squeeze main contrib non-free
+deb http://security.debian.org squeeze/updates main contrib non-free
# CARNet Debian paketi
-deb http://ftp.carnet.hr/carnet-debian carnet-lenny main non-free
+deb http://ftp.carnet.hr/carnet-debian carnet-squeeze main non-free
# SRCE AAI paketi
-deb ftp://ftp.srce.hr/srce-debian/ srce-lenny main
+deb ftp://ftp.srce.hr/srce-debian/ srce-squeeze main
diff --git a/files/etc/issue.expect b/files/etc/issue.expect
index 8b848c0..b5ec188 100644
--- a/files/etc/issue.expect
+++ b/files/etc/issue.expect
@@ -1 +1 @@
-Debian GNU/Linux 4.0 (CARNet Debian 4.0) \n \l
+Debian GNU/Linux 5.0 (CARNet Debian 5.0) \n \l
diff --git a/files/etc/issue.expect.lenny b/files/etc/issue.expect.lenny
deleted file mode 100644
index b797604..0000000
--- a/files/etc/issue.expect.lenny
+++ /dev/null
@@ -1,2 +0,0 @@
-Debian GNU/Linux 5.0 \n \l
-
diff --git a/files/etc/issue.expect.new b/files/etc/issue.expect.new
new file mode 100644
index 0000000..9d52ed2
--- /dev/null
+++ b/files/etc/issue.expect.new
@@ -0,0 +1,2 @@
+Debian GNU/Linux 6.0 \n \l
+
diff --git a/files/etc/issue.net.expect b/files/etc/issue.net.expect
index e0b3930..b6022f9 100644
--- a/files/etc/issue.net.expect
+++ b/files/etc/issue.net.expect
@@ -1 +1 @@
-Debian GNU/Linux 4.0 (CARNet Debian 4.0) %h
+Debian GNU/Linux 5.0 (CARNet Debian 5.0) %h
diff --git a/files/etc/issue.net.expect.lenny b/files/etc/issue.net.expect.lenny
deleted file mode 100644
index ac469c2..0000000
--- a/files/etc/issue.net.expect.lenny
+++ /dev/null
@@ -1 +0,0 @@
-Debian GNU/Linux 5.0
diff --git a/files/etc/issue.net.expect.new b/files/etc/issue.net.expect.new
new file mode 100644
index 0000000..6a11f39
--- /dev/null
+++ b/files/etc/issue.net.expect.new
@@ -0,0 +1 @@
+Debian GNU/Linux 6.0
diff --git a/files/etc/issue.net.restore b/files/etc/issue.net.restore
index ccee04f..ac469c2 100644
--- a/files/etc/issue.net.restore
+++ b/files/etc/issue.net.restore
@@ -1 +1 @@
-Debian GNU/Linux 4.0
+Debian GNU/Linux 5.0
diff --git a/files/etc/issue.restore b/files/etc/issue.restore
index 162c8f5..b797604 100644
--- a/files/etc/issue.restore
+++ b/files/etc/issue.restore
@@ -1,2 +1,2 @@
-Debian GNU/Linux 4.0 \n \l
+Debian GNU/Linux 5.0 \n \l
diff --git a/src/actions/post_upgrade.queue b/src/actions/post_upgrade.queue
index 1e22860..1a0d520 100644
--- a/src/actions/post_upgrade.queue
+++ b/src/actions/post_upgrade.queue
@@ -1,4 +1,4 @@
-# samo akcije za nakon upgradea, moze se slobodno izvrsiti na bilo kojem etchu.
+# samo akcije za nakon upgradea, moze se slobodno izvrsiti na bilo kojem squeezu.
#
# s obzirom da ne znamo koja verzija paketa je radila upgrade, i ovdje treba
# dodavati naknadne instalacije/upgrade paketa koje mozda nisu upgradeane sa
diff --git a/src/actions/upgrade.queue b/src/actions/upgrade.queue
index 8854fab..5215f5e 100644
--- a/src/actions/upgrade.queue
+++ b/src/actions/upgrade.queue
@@ -1,4 +1,4 @@
-# akcije za update etch instalacije, slicno post_upgrade
+# akcije za update squeeze instalacije, slicno post_upgrade
# veci broj paketa koji se ne daju upgradeati s obicnim
# apt-get upgrade se forsirano upgradea
true check_services preupgrade # spremi stanje
diff --git a/src/data.sh b/src/data.sh
index d7b3b3b..bca0e00 100644
--- a/src/data.sh
+++ b/src/data.sh
@@ -1,5 +1,5 @@
# Backup extension
-backup_ext=cn5-upgrade
+backup_ext=cn6-upgrade
# carnet-upgrade aborts if these packages are not up to date
# name wanted version
@@ -39,7 +39,7 @@ webalizer-cn 2.01.10-32
'
# URL to use for checking the latest version of carnet-upgrade itself
-packages_uri='http://ftp.carnet.hr/carnet-debian/dists/carnet-etch/main/binary-i386/Packages'
+packages_uri='http://ftp.carnet.hr/carnet-debian/dists/carnet-lenny/main/binary-i386/Packages'
# Packages to forcibly install before installing the rest with dist-upgrade,
# because dist-upgrade would rather remove or keep them back them.
diff --git a/src/functions.sh b/src/functions.sh
index 9e6b16f..5683139 100644
--- a/src/functions.sh
+++ b/src/functions.sh
@@ -376,7 +376,7 @@ check_upgrade () {
if [ "$upgrade" ]; then
notice "
-Prije prelaska na Debian Lenny potrebno je napraviti nadogradnju ovih paketa:
+Prije prelaska na Debian Squeeze potrebno je napraviti nadogradnju ovih paketa:
$upgrade
Pokrenite:
@@ -455,7 +455,7 @@ check_php_version () {
install_php5_extensions
notice "
-Prije prelaska na Debian Lenny potrebno je napraviti nadogradnju sa PHP 4 na PHP 5.
+Prije prelaska na Debian Squeeze potrebno je napraviti nadogradnju sa PHP 4 na PHP 5.
Pokrenite:
# apt-get update
@@ -507,7 +507,7 @@ check_grsec_kernel () {
if [ "$ver" = "${ver#2.6.2[4-9]}" ]; then
# kernel too old
notice "
-Prije prelaska na Debian Lenny potrebno je napraviti nadogradnju na najnoviji kernel.
+Prije prelaska na Debian Squeeze potrebno je napraviti nadogradnju na najnoviji kernel.
Pokrenite:
# apt-get update
@@ -1024,7 +1024,7 @@ upgrade_libc () {
DEBIAN_FRONTEND=noninteractive pkgupgrade libc6 libc6-dev tzdata
}
-# upgrade apache2/php5 to lenny
+# upgrade apache2/php5
upgrade_apache2 () {
pkgrm apache-common # prevents installation of apache2-suexec
pkgupgrade libapache2-mod-php5 php5-cli php5-cn apache2-cn \
@@ -1072,7 +1072,7 @@ upgrade_freeradius () {
pkg freeradius-aai lt 2.1.3-0lenny0 || return 0
- # aai team prevents a clean lenny upgrade
+ # aai team prevents a clean upgrade
cp -av /etc/freeradius /etc/freeradius.$backup_ext
pkgrm freeradius-aai freeradius-ldap freeradius
pkgadd freeradius-aai
@@ -1213,18 +1213,18 @@ comment_force_overwrite () {
# try not to overwrite user modified issue files
fix_issue () {
- if cmp /etc/issue $cnup/files/etc/issue.expect.lenny >/dev/null; then
+ if cmp /etc/issue $cnup/files/etc/issue.expect.new >/dev/null; then
cp -av /etc/issue /etc/issue.$backup_ext
cat > /etc/issue </dev/null; then
+ if cmp /etc/issue.net $cnup/files/etc/issue.net.expect.new >/dev/null; then
cp -av /etc/issue.net /etc/issue.net.$backup_ext
cat > /etc/issue.net <Lenny"
+title="Nadogradnja CARNet Debian Lenny->Squeeze"
msg_first_warning="PAZNJA! PAZNJA!
@@ -28,7 +28,7 @@ smanjiti zauzece diskovnog prostora.
Zelite li UKLONITI navedene aplikacije?"
-msg_remove_bloat="Prethodna inacica distribucije, CARNet Debian 2, donosila je neke
+msg_remove_bloat="Prethodne inacice distribucije CARNet Debian donosile su neke
pakete koji nisu nuzni za normalan rad posluzitelja.
Uklanjanje ovih aplikacija ubrzat ce proceduru nadogradnje i smanjiti zauzece
diskovnog prostora. Ukoliko zelite zadrzati neku od navedenih aplikacija,
@@ -70,16 +70,16 @@ Koristenje: $(basename $0) [] | -h | --help
moze biti:
- main
- izvrsava potpunu proceduru za nadogradnju sa CARNet Debian 4.x (etch)
- na CARNet Debian 5.x (lenny) distribuciju. Ovo je pretpostavljena
+ izvrsava potpunu proceduru za nadogradnju sa CARNet Debian 5.x (lenny)
+ na CARNet Debian 6.x (squeeze) distribuciju. Ovo je pretpostavljena
vrijednost.
- post_upgrade
izvrsava samo one akcije iz procedure za nadogradnju koje dolaze
nakon apt-get dist-upgrade.
- - lenny
- izvrsava akcije podobne za CARNet Debian 5.x (lenny) instalaciju.
+ - squeeze
+ izvrsava akcije podobne za CARNet Debian 6.x (squeeze) instalaciju.
- new
izvrsava samo akcije koje su dodane u ovoj inacici.