/[smeserver]/rpms/smeserver-yum/sme9/smeserver-yum-2.2.0-bz10171-SME9eol.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme9/smeserver-yum-2.2.0-bz10171-SME9eol.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:03:48 2019 UTC Revision 1.3 by jpp, Wed Jan 23 04:43:32 2019 UTC
# Line 6  Line 6 
6   yum -e 0 -d 0 check-update > $TMP1   yum -e 0 -d 0 check-update > $TMP1
7  +# SME 8 EOL message  +# SME 8 EOL message
8  +DATE=$(date +%Y%m%d)  +DATE=$(date +%Y%m%d)
9  +if [ $DATE -ge "20170331" ]; then  +if [ $DATE -ge "20201130" ]; then
10  +  echo -e "===\n=== URGENT NOTICE:">> $TMPFILE  +  echo -e "===\n=== URGENT NOTICE:">> $TMPFILE
11  +  echo -e "=== As per November 30rd 2020, SME Server 9 is obsolete, and potentially INSECURE.">> $TMPFILE  +  echo -e "=== As per November 30rd 2020, SME Server 9 is obsolete, and potentially INSECURE.">> $TMPFILE
12  +  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
13  +  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
14  +  echo -e "=== Please migrate IMMEDIATELY to Koozali SME Server 10 or higher version." >> $TMPFILE  +  echo -e "=== Please migrate IMMEDIATELY to Koozali SME Server 10 or higher version." >> $TMPFILE
15  +  echo -e "=== Visit https://wiki.contribs.org/SME_Server:Download \n===" >> $TMPFILE  +  echo -e "=== Visit https://wiki.koozali.org/SME_Server:Download \n===" >> $TMPFILE
16  +fi  +fi
17  +  +
18   if [ $? = 100 ]; then   if [ $? = 100 ]; then


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