/[smeserver]/rpms/smeserver-yum/sme8/smeserver-yum-2.2.0-bz10172-SME8eol.patch
ViewVC logotype

Contents of /rpms/smeserver-yum/sme8/smeserver-yum-2.2.0-bz10172-SME8eol.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Mar 25 23:30:35 2017 UTC (7 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-yum-2_2_0-26_el5_sme, HEAD
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.0-26.sme
- warn administrator that SME8 is EOL and they should migrate to SME9 [SME: 10172]
- add to the check4update email a message to inform the administrator after 2017 03 31

1 --- smeserver-yum-2.2.0/root/sbin/e-smith/check4updates.old 2008-10-07 10:25:45.000000000 -0400
2 +++ smeserver-yum-2.2.0/root/sbin/e-smith/check4updates 2017-03-25 19:15:47.000000000 -0400
3 @@ -7,6 +7,17 @@
4 MAILADDR=admin-yum
5
6 yum -e 0 -d 0 check-update > $TMP1
7 +# SME 8 EOL message
8 +DATE=$(date +%Y%m%d)
9 +if [ $DATE -ge "20170331" ]; then
10 + echo -e "===\n=== URGENT NOTICE:">> $TMPFILE
11 + echo -e "=== As per March 31st 2017, SME Server 8 is obsolete, and potentially INSECURE.">> $TMPFILE
12 + echo -e "=== Failure to upgrade may lead to the compromise of this server.">> $TMPFILE
13 + echo -e "=== NO support will be offered for any issue found with this installed version.">> $TMPFILE
14 + echo -e "=== Please migrate IMMEDIATELY to Koozali SME Server 9 or higher version." >> $TMPFILE
15 + echo -e "=== Visit https://wiki.contribs.org/SME_Server:Download \n===" >> $TMPFILE
16 +fi
17 +
18 if [ $? = 100 ]; then
19 echo -e "===\n=== yum reports available updates:\n===" >> $TMPFILE
20 cat $TMP1 >> $TMPFILE

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed