From: Valentin Vidic Date: Fri, 23 Oct 2015 10:58:51 +0000 (+0200) Subject: Rename wheezy -> jessie. X-Git-Tag: debian/8.0.0~2 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=6d042d931b7f42f77624c866e91ef8dcc90c5b99;p=carnet-upgrade.git Rename wheezy -> jessie. --- diff --git a/debian/po/templates.pot b/debian/po/templates.pot index 9948007..599cc53 100644 --- a/debian/po/templates.pot +++ b/debian/po/templates.pot @@ -20,15 +20,15 @@ msgstr "" #. Type: note #. Description #: ../templates:1001 -msgid "CARNet Debian 7 (wheezy) nadogradnja" +msgid "CARNet Debian 8 (jessie) nadogradnja" msgstr "" #. Type: note #. Description #: ../templates:1001 msgid "" -"Instalirali ste paket carnet-upgrade za nadogradnju sa CARNet Debian 6 " -"(squeeze) na CARNet Debian 7 (wheezy)." +"Instalirali ste paket carnet-upgrade za nadogradnju sa CARNet Debian 7 " +"(wheezy) na CARNet Debian 8 (jessie)." msgstr "" #. Type: note diff --git a/debian/templates b/debian/templates index e95e672..aeacace 100644 --- a/debian/templates +++ b/debian/templates @@ -1,8 +1,8 @@ Template: carnet-upgrade/short-instructions Type: note -_Description: CARNet Debian 7 (wheezy) nadogradnja +_Description: CARNet Debian 8 (jessie) nadogradnja Instalirali ste paket carnet-upgrade za nadogradnju sa CARNet Debian - 6 (squeeze) na CARNet Debian 7 (wheezy). + 7 (wheezy) na CARNet Debian 8 (jessie). . Prije pocetka nadogradnje napravite backup cijelog sustava i procitajte dokumentaciju u /usr/share/doc/carnet-upgrade/ ili na diff --git a/doc/README b/doc/README index 43ae98e..d381a15 100644 --- a/doc/README +++ b/doc/README @@ -4,9 +4,9 @@ Ovaj paket donosi skriptu za nadogradnju posluzitelja pod operativnim sustavom Debian na ustanovama clanicama CARNeta. Debian je jedna od najpopularnijih distribucija operativnog sustava Linux. -Skripta carnet-upgrade omogucava prijelaz s CARNet-Debiana 6.x na -CARNet-Debian 7.x i nadogradnju postavki na postojecim instalacijama -CARNet-Debiana 7.x. +Skripta carnet-upgrade omogucava prijelaz s CARNet-Debiana 7.x na +CARNet-Debian 8.x i nadogradnju postavki na postojecim instalacijama +CARNet-Debiana 8.x. Dokumentacija za nadogradnju se nalazi u ovom direktoriju pod nazivom "carnet-upgrade.pdf". @@ -18,4 +18,4 @@ Pakete su pripremili: Sve komentare molimo uputite sluzbi pomoci sistem-inzenjerima . - -- Valentin Vidic Tue, 30 Oct 2013 13:44:50 +0200 + -- Valentin Vidic Fri, 23 Oct 2015 12:47:50 +0200 diff --git a/doc/carnet-upgrade-src.sgml b/doc/carnet-upgrade-src.sgml index 2cda217..3e0cac4 100644 --- a/doc/carnet-upgrade-src.sgml +++ b/doc/carnet-upgrade-src.sgml @@ -3,7 +3,7 @@ - CARNet Debian 7 (wheezy) nadogradnja + CARNet Debian 8 (jessie) nadogradnja Grupa za izradu paketa paketi@carnet.hr @@ -11,16 +11,16 @@ Verzija %PKG_VERSION% - CARNet Debian wheezy je šesta generacija CARNet Debian - distribucije i temelji se na Debian GNU/Linux wheezy. + CARNet Debian jessie je sedma generacija CARNet Debian + distribucije i temelji se na Debian GNU/Linux jessie. Ovaj priručnik opisuje postupak nadogradnje CARNet Debian - distribucije sa inačice 6 squeeze na inačicu 7 - wheezy. Priručnik je zamišljen kao pomoć CARNetovim + distribucije sa inačice 7 wheezy na inačicu 8 + jessie. Priručnik je zamišljen kao pomoć CARNetovim sistem inženjerima koji na svojim poslužiteljima imaju instaliran CARNet Debian i trebao bi obuhvatiti cjelokupan postupak nadogradnje, kao i tipične probleme na koje se može naići. Za tu svrhu pripremili smo paket carnet-upgrade inačice - 7, koji se nalazi na CARNetovom FTP poslužitelju u squeeze + 8, koji se nalazi na CARNetovom FTP poslužitelju u wheezy repozitoriju paketa. @@ -133,8 +133,8 @@ Prije početka

- Prije nadogradnje na wheezy distribuciju, potrebno je - izvršiti nadogradnju squeeze distribucije na najsvježije + Prije nadogradnje na jessie distribuciju, potrebno je + izvršiti nadogradnju wheezy distribucije na najsvježije pakete. To se najjednostavnije izvodi naredbom apt-get: @@ -167,12 +167,12 @@ /etc/apt/sources.list datoteci: -deb http://ftp.carnet.hr/carnet-debian carnet-squeeze main non-free +deb http://ftp.carnet.hr/carnet-debian carnet-wheezy main non-free

- To je uobičajena konfiguracija CARNet Debian squeeze + To je uobičajena konfiguracija CARNet Debian wheezy repozitorija. Ako tog retka nema, dodajte ga i ponovite postupak instalacije carnet-upgrade paketa.

@@ -198,7 +198,7 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | PAZNJA! PAZNJA! | | | @@ -222,16 +222,16 @@ CN: run_actions (main) started...

U sljedećem koraku biti će izvršena provjera jesu li najvažniji - servisi nadograđeni na najnovije inačice u squeeze + servisi nadograđeni na najnovije inačice u wheezy distribuciji. Ako neki od instaliranih servisa nije najnovija inačica, pojavit će se poruka: +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | | -| Prije prelaska na Debian Wheezy potrebno je napraviti | +| Prije prelaska na Debian jessie potrebno je napraviti | | nadogradnju ovih paketa: | | amavisd-cn | | | @@ -263,7 +263,7 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | | | Na racunalu je pronadjenja verzija kernela novija od trenutno | @@ -285,7 +285,7 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | | | Na racunalu je pronadjena instalacija KDE, GNOME ili X Window | @@ -312,7 +312,7 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | Prethodna inacica distribucije, CARNet Debian 6, donosila je | | neke pakete koji nisu nuzni za normalan rad posluzitelja. | @@ -340,7 +340,7 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | Standardna instalacija CARNet Debian distribucije donosi | | podrsku za veci broj razlicitih servisa. U ovom koraku nudi | @@ -374,9 +374,9 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ -| Napravljen backup slapd baze u /var/backups/slapcat.cn7-upgrade.| +| Napravljen backup slapd baze u /var/backups/slapcat.cn8-upgrade.| | | | | | | @@ -400,10 +400,10 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | Napravljen backup /etc direktorija u | -| /var/backups/etc.cn7-upgrade.tar.gz. | +| /var/backups/etc.cn8-upgrade.tar.gz. | | | | | | | @@ -420,27 +420,27 @@ CN: run_actions (main) started...

Slijedi instalacija /etc/apt/sources.list datoteke - podešene za CARNet Debian wheezy i osvježavanje baze paketa. + podešene za CARNet Debian jessie 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.cn7-upgrade. + kao /etc/apt/sources.list.cn8-upgrade. +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | Novi sadrzaj datoteke /etc/apt/sources.list: | | | | # See sources.list(5) for more information | -| deb http://ftp.hr.debian.org/debian/ wheezy main contrib non-fre| -| deb http://ftp.hr.debian.org/debian/ wheezy-updates main contrib| -| deb http://security.debian.org/ wheezy/updates main contrib non-| +| deb http://ftp.hr.debian.org/debian/ jessie main contrib non-fre| +| deb http://ftp.hr.debian.org/debian/ jessie-updates main contrib| +| deb http://security.debian.org/ jessie/updates main contrib non-| | | | # CARNet Debian Linux | -| deb http://ftp.carnet.hr/carnet-debian/ carnet-wheezy main non-f| +| deb http://ftp.carnet.hr/carnet-debian/ carnet-jessie main non-f| | | | # SRCE AAI@EduHr | -| deb http://ftp.srce.hr/srce-debian/ srce-wheezy main | +| deb http://ftp.srce.hr/srce-debian/ srce-jessie main | | | +-----------------------------------------------------------------+ | < U redu > | @@ -519,7 +519,7 @@ CN: run_actions (main) started... +-----------------------------------------------------------------+ -| Nadogradnja CARNet Debian Squeeze->Wheezy | +| Nadogradnja CARNet Debian wheezy -> jessie | +-----------------------------------------------------------------+ | Automatizirane ispravke su izvrsene. Provjerite jesu li svi | | vasi kriticni servisi ispravno konfigurirani i pokrenuti. | diff --git a/files/etc/apt/sources.list.template b/files/etc/apt/sources.list.template index 63a5454..3926edd 100644 --- a/files/etc/apt/sources.list.template +++ b/files/etc/apt/sources.list.template @@ -1,17 +1,17 @@ # See sources.list(5) for more information -deb http://ftp.hr.debian.org/debian/ wheezy main contrib non-free -deb http://ftp.hr.debian.org/debian/ wheezy-updates main contrib non-free -deb http://security.debian.org/ wheezy/updates main contrib non-free +deb http://ftp.hr.debian.org/debian/ jessie main contrib non-free +deb http://ftp.hr.debian.org/debian/ jessie-updates main contrib non-free +deb http://security.debian.org/ jessie/updates main contrib non-free # CARNet Debian Linux -deb http://ftp.carnet.hr/carnet-debian/ carnet-wheezy main non-free +deb http://ftp.carnet.hr/carnet-debian/ carnet-jessie main non-free # SRCE AAI@EduHr -deb http://ftp.srce.hr/srce-debian/ srce-wheezy main +deb http://ftp.srce.hr/srce-debian/ srce-jessie main # Uncomment if you want the apt-get source function to work -#deb-src http://ftp.hr.debian.org/debian/ wheezy main contrib non-free -#deb-src http://ftp.hr.debian.org/debian/ wheezy-updates main contrib non-free -#deb-src http://security.debian.org/ wheezy/updates main contrib non-free -#deb-src http://ftp.carnet.hr/carnet-debian/ carnet-wheezy main non-free -#deb-src http://ftp.srce.hr/srce-debian/ srce-wheezy main +#deb-src http://ftp.hr.debian.org/debian/ jessie main contrib non-free +#deb-src http://ftp.hr.debian.org/debian/ jessie-updates main contrib non-free +#deb-src http://security.debian.org/ jessie/updates main contrib non-free +#deb-src http://ftp.carnet.hr/carnet-debian/ carnet-jessie main non-free +#deb-src http://ftp.srce.hr/srce-debian/ srce-jessie main diff --git a/files/etc/monit/monitrc.template b/files/etc/monit/monitrc.template index 689e5ed..50200db 100644 --- a/files/etc/monit/monitrc.template +++ b/files/etc/monit/monitrc.template @@ -4,7 +4,7 @@ set daemon 900 set logfile syslog facility log_daemon set mail-format { - from: monit@squeeze-amd64.local + from: monit@localhost.local subject: $SERVICE $EVENT at $DATE message: monit $ACTION $SERVICE at $DATE on $HOST } diff --git a/src/actions/post_upgrade.queue b/src/actions/post_upgrade.queue index 1a0ed5e..7400927 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 squeezu. +# samo akcije za nakon upgradea, moze se slobodno izvrsiti nakon nadogradnje # # 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/data.sh b/src/data.sh index 9c6c170..f71ba07 100644 --- a/src/data.sh +++ b/src/data.sh @@ -1,5 +1,5 @@ # Backup extension -backup_ext=cn7-upgrade +backup_ext=cn8-upgrade # carnet-upgrade aborts if these packages are not up to date # name wanted version @@ -11,7 +11,7 @@ apache2-cn 2.2+3 bind9-cn 2:9.7.3 carnet-tools-cn 3.0.3 clamav-cn 3:0.97.8-1 -debian-archive-keyring 2010.08.28+squeeze1 +debian-archive-keyring 2014.3~deb7u1 dovecot-cn 1:1.2.15.3 fail2ban-cn 0.8.5 freeradius-aai 2.1.10-2 @@ -36,7 +36,7 @@ webalizer-cn 2.01.10+2 ' # URL to use for checking the latest version of carnet-upgrade itself -packages_uri='http://ftp.carnet.hr/carnet-debian/dists/carnet-wheezy/main/binary-i386/Packages' +packages_uri='http://ftp.carnet.hr/carnet-debian/dists/carnet-jessie/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 994f765..34b9022 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -367,7 +367,7 @@ check_upgrade () { if [ "$upgrade" ]; then notice " -Prije prelaska na Debian Wheezy potrebno je napraviti nadogradnju ovih paketa: +Prije prelaska na Debian jessie potrebno je napraviti nadogradnju ovih paketa: $upgrade Pokrenite: @@ -869,7 +869,6 @@ pkgupgrade () { # upgrade apache2/php5 upgrade_apache2 () { pkgrm apache-common # prevents installation of apache2-suexec - pkgrm php5-suhosin # not available for wheezy pkgupgrade libapache2-mod-php5 php5-cli php5-cn apache2-cn \ php5-odbc mod-security-cn } diff --git a/src/messages.sh b/src/messages.sh index 3d0d6a1..65e58ca 100644 --- a/src/messages.sh +++ b/src/messages.sh @@ -1,6 +1,6 @@ ### # dialog stuff -title="Nadogradnja CARNet Debian Squeeze->Wheezy" +title="Nadogradnja CARNet Debian wheezy -> jessie" msg_first_warning="PAZNJA! PAZNJA! @@ -91,17 +91,14 @@ Koristenje: $(basename $0) [] | -h | --help moze biti: - main - izvrsava potpunu proceduru za nadogradnju sa CARNet Debian 6 (squeeze) - na CARNet Debian 7 (wheezy) distribuciju. Ovo je pretpostavljena + izvrsava potpunu proceduru za nadogradnju sa CARNet Debian 7 (wheezy) + na CARNet Debian 8 (jessie) distribuciju. Ovo je pretpostavljena vrijednost. - post_upgrade izvrsava samo one akcije iz procedure za nadogradnju koje dolaze nakon apt-get dist-upgrade. - - wheezy - izvrsava akcije podobne za CARNet Debian 7 (wheezy) instalaciju. - - new izvrsava samo akcije koje su dodane u ovoj inacici.