/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz10170-SME10eol.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz10170-SME10eol.patch

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

Revision 1.1 by jpp, Wed Jan 23 04:38:16 2019 UTC Revision 1.3 by jpp, Sat Feb 2 18:31:10 2019 UTC
# Line 3  Line 3 
3  @@ -7,6 +7,17 @@  @@ -7,6 +7,17 @@
4   MAILADDR=admin-yum   MAILADDR=admin-yum
5    
  yum -e 0 -d 0 check-update > $TMP1  
6  +# SME 10 EOL message  +# SME 10 EOL message
7  +DATE=$(date +%Y%m%d)  +DATE=$(date +%Y%m%d)
8  +if [ $DATE -ge "20240630" ]; then  +if [ $DATE -ge "20240630" ]; then
9  +  echo -e "===\n=== URGENT NOTICE:">> $TMPFILE  +  echo -e "===\n=== URGENT NOTICE:">> $TMPFILE
10  +  echo -e "=== As per June 30rd 2024, SME Server 10 is obsolete, and potentially INSECURE.">> $TMPFILE  +  echo -e "=== As per June 30th 2024, SME Server 10 is obsolete, and potentially INSECURE.">> $TMPFILE
11  +  echo -e "=== Failure to upgrade may lead to the compromise of this server.">> $TMPFILE  +  echo -e "=== Failure to upgrade may lead to the compromise of this server.">> $TMPFILE
12  +  echo -e "=== NO support will be offered for any issue found with this installed version.">> $TMPFILE  +  echo -e "=== NO support will be offered for any issue found with this installed version.">> $TMPFILE
13  +  echo -e "=== Please migrate IMMEDIATELY to Koozali SME Server 11 or higher version." >> $TMPFILE  +  echo -e "=== Please migrate IMMEDIATELY to Koozali SME Server 11 or higher version." >> $TMPFILE
14  +  echo -e "=== Visit https://wiki.koozali.org/SME_Server:Download \n===" >> $TMPFILE  +  echo -e "=== Visit https://wiki.koozali.org/SME_Server:Download \n===" >> $TMPFILE
15  +fi  +fi
16  +  +
17     yum -e 0 -d 0 check-update > $TMP1
18   if [ $? = 100 ]; then   if [ $? = 100 ]; then
19     echo -e "===\n=== yum reports available updates:\n===" >> $TMPFILE     echo -e "===\n=== yum reports available updates:\n===" >> $TMPFILE
20     cat $TMP1 >> $TMPFILE     cat $TMP1 >> $TMPFILE


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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