1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/sbin/e-smith/check4contribsupdates smeserver-yum-2.6.0/root/sbin/e-smith/check4contribsupdates |
2 |
|
|
--- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4contribsupdates 2022-06-14 00:14:13.391000000 -0400 |
3 |
|
|
+++ smeserver-yum-2.6.0/root/sbin/e-smith/check4contribsupdates 2022-06-14 00:28:55.170000000 -0400 |
4 |
|
|
@@ -16,6 +16,7 @@ |
5 |
|
|
echo -e "\n=== Alternatively you can update packages one at a time using the command: |
6 |
|
|
=== (replace packagename with contrib name eg smeserver-wbl) |
7 |
|
|
# yum update --enablerepo=smecontribs packagename |
8 |
|
|
+=== if needed, you might also be asked to run after yum: |
9 |
|
|
# signal-event post-upgrade |
10 |
|
|
# signal-event reboot\n" >> $TMPFILE |
11 |
|
|
fi |
12 |
|
|
diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py |
13 |
|
|
--- smeserver-yum-2.6.0.old/root/usr/lib/yum-plugins/smeserver.py 2022-06-14 00:14:13.514000000 -0400 |
14 |
|
|
+++ smeserver-yum-2.6.0/root/usr/lib/yum-plugins/smeserver.py 2022-06-14 00:26:25.797000000 -0400 |
15 |
|
|
@@ -46,7 +46,7 @@ |
16 |
|
|
# list of packages that need a service restart |
17 |
|
|
# if a package name starts with one of these values, a service restart is needed |
18 |
|
|
# since, for example, httpd means httpd-admin and httpd-e-smith, we won't use these names directly but via serviceslist (see below) |
19 |
|
|
-restartpkgs = ['dovecot','bglibs','cvm','freeradius','httpd','iptables', 'mysql', 'nut', 'openldap', 'openssh', 'php', 'pptpd', 'proftp', 'samba', 'spamassassin', 'squid', 'qmail', 'qpsmtpd'] |
20 |
|
|
+restartpkgs = ['dovecot','bglibs','cvm','freeradius','httpd','iptables', 'mariadb' , 'nut', 'openldap', 'openssh', 'php', 'pptpd', 'proftp', 'samba', 'spamassassin', 'squid', 'qmail', 'qpsmtpd'] |
21 |
|
|
servicenames = dict() |
22 |
|
|
servicenames['bglibs']='cvm-unix', |
23 |
|
|
servicenames['cvm']='cvm-unix', |
24 |
|
|
@@ -54,7 +54,7 @@ |
25 |
|
|
servicenames['freeradius']='radiusd', |
26 |
|
|
servicenames['httpd']='httpd-admin','httpd-e-smith', |
27 |
|
|
servicenames['iptables']='masq', |
28 |
|
|
-servicenames['mysql']='mysqld', |
29 |
|
|
+servicenames['mariadb']='mariadb', |
30 |
|
|
servicenames['nut']='nut-server','nut-driver','nut-monitor', |
31 |
|
|
servicenames['openldap']='ldap', |
32 |
|
|
servicenames['openssh']='sshd', |