Initial version.
[carnet-upgrade.git] / usr / share / carnet-upgrade / data.sh
1 # Minimum free space on /var after the download, in MB
2 min_var_space=250
3
4 # carnet-upgrade aborts if these packages are not up to date
5 # name          wanted version
6 needed_woody_versions='
7 amavisd-cn      20030616p10-2
8 nessus-cn       2.0.7-1cn0
9 bind9-cn        1:9.2.4-0cn1
10 clamav-cn       0.80-2
11 '
12
13 # Packages to forcibly install before installing the rest with dist-upgrade,
14 # because dist-upgrade would rather remove them.
15 packages_first='
16 dpkg
17 apt
18 php4-cn
19 apache-cn
20 squirrelmail-cn
21 amavisd-cn
22 amavisd-new
23 aide-arms-client
24 raidtools2
25 openldap-cn
26 sweep-cn
27 '
28
29 # Packages that provide crucial services, upgrade them before the rest
30 packages_second='
31 bind9-cn                
32 clamav-cn               
33 mysql-cn                
34 sendmail-cn             
35 oidentd-cn              
36 openssh-cn              
37 postgresql-cn           
38 proftpd-cn              
39 spamassassin-cn         
40 xinetd-cn       
41 ntp-cn
42 '
43
44 # We want to remove these packages, used in remove_bloat()
45 # nice name             packages to remove
46 bloats='
47 Abiword                 abiword-common
48 Emacs i XEmacs          emacsen-common
49 Gimp                    gimp1.2
50 Gnome                   gnome-common libgnome2-common libgnome32
51 KDE                     kdelibs3 kdelibs4 kdebase-doc kdelibs3-doc kdevelop-doc
52 Wine                    libwine wine-doc
53 '
54 # php4-gd -> libgd1 -> xlibs -> xfree86-common -> suxx
55 #X Window System                xfree86-common
56
57 # Check if these services are running after upgrade
58 # package-cn            user            proces (pazi, regexp)                   nice name
59 services_to_check='
60 amavisd-cn              amavis          amavisd \(master\)                      Amavis
61 amavisd-new-milter      amavis          /usr/sbin/amavis-milter                 Amavis-milter
62 apache-cn               www-data        /usr/sbin/apache                        Apache
63 bind9-cn                bind            /usr/sbin/named                         Bind
64 clamav-cn               clamav          /usr/sbin/clamd                         ClamAV
65 freeradius-cn           freerad         /usr/sbin/freeradius                    FreeRADIUS
66 mysql-cn                mysql           /usr/sbin/mysqld                        MySQL
67 sendmail-cn             root            sendmail: MTA: accepting connections    Sendmail
68 openldap-cn             root            /usr/sbin/slapd                         OpenLDAP
69 oidentd-cn              nobody          /usr/sbin/oidentd                       oidentd
70 openssh-cn              root            /usr/sbin/sshd                          OpenSSH
71 postgresql-cn           postgres        /usr/lib/postgresql/bin/postmaster      PostgreSQL
72 proftpd-cn              nobody          proftpd: \(accepting connections\)      ProFTPD (mozda se pokrece iz (x)inetd-a)
73 spamassassin-cn         root            /usr/sbin/spamd                         SpamAssassin
74 xinetd-cn               root            /usr/sbin/xinetd                        xinetd
75 ntp-cn                  root            /usr/sbin/ntpd                          ntpd
76 '