From ab07ce4f2558a6d6a950f8c96dee97bdbc74082a Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 28 Aug 2014 16:11:53 +0000 Subject: [PATCH] Various work related to moving to .Net 4 --- BuildFiles/Packaging/repackage | 8 ++++++++ .../Packaging/templates/control-backend-stable.template | 2 +- .../templates/control-frontend-internal.template | 2 +- .../Packaging/templates/control-frontend-stable.template | 2 +- BuildFiles/Packaging/templates/postinst-backend.template | 2 +- BuildFiles/Packaging/templates/postinst-frontend.template | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/BuildFiles/Packaging/repackage b/BuildFiles/Packaging/repackage index a7055d8a..7dc8d8ad 100755 --- a/BuildFiles/Packaging/repackage +++ b/BuildFiles/Packaging/repackage @@ -127,6 +127,11 @@ cp swarmops-$PACKAGENAME-latest.deb /home/prod/Smallwebs/Activizr-repo echo "Updating repositories..." scripts/update-repos swarmops-$PACKAGENAME-latest.deb +if [ "$2" != "stable" ]; then + echo "Installing on swarmops-dev for testing..." + dpkg -i swarmops-$PACKAGENAME-latest.deb +fi + echo "Notifying developers that new build has deployed for test..." echo "Swarmops $PACKAGENAME build $(cat $BUILDIDSOURCE | tr -d ' \r') has been deployed as daily build." > deploymsg.txt echo "Test it at http://dev.swarmops.com/ as usual." >> deploymsg.txt @@ -134,3 +139,6 @@ mail -s "Swarmops $PACKAGENAME $(cat $BUILDIDSOURCE) deployed as daily" "swarmop rm deploymsg.txt rm $BUILDIDSOURCE + + + diff --git a/BuildFiles/Packaging/templates/control-backend-stable.template b/BuildFiles/Packaging/templates/control-backend-stable.template index 37b2a855..c86f75c2 100644 --- a/BuildFiles/Packaging/templates/control-backend-stable.template +++ b/BuildFiles/Packaging/templates/control-backend-stable.template @@ -2,7 +2,7 @@ Package: swarmops-backend Version: --BuildNumber-- Architecture: all Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net) -Depends: swarmops-common,mono-runtime,libmono-corlib2.0-cil,libmono-corlib4.0-cil,libmono-posix2.0-cil,libmono-posix4.0-cil,libmono-system-data2.0-cil,libmono-system-data4.0-cil +Depends: swarmops-common,mono-runtime,libmono-corlib4.0-cil,libmono-posix4.0-cil,libmono-system-data4.0-cil Conflicts: swarmops-backend-internal Homepage: http://swarmops.com/ Description: Swarmops Backend diff --git a/BuildFiles/Packaging/templates/control-frontend-internal.template b/BuildFiles/Packaging/templates/control-frontend-internal.template index b34c058f..1107ee6b 100644 --- a/BuildFiles/Packaging/templates/control-frontend-internal.template +++ b/BuildFiles/Packaging/templates/control-frontend-internal.template @@ -2,7 +2,7 @@ Package: swarmops-frontend-internal Version: --BuildNumber-- Architecture: all Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net) -Depends: swarmops-common-internal, apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1), libgdiplus (>= 2.10-3), imagemagick, ghostscript +Depends: swarmops-common-internal, apache2 (>= 2.2.20), mono-apache-server4 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1), libgdiplus (>= 2.10-3), imagemagick, ghostscript Conflicts: swarmops-frontend Homepage: http://swarmops.com/ Description: Swarmops Frontend diff --git a/BuildFiles/Packaging/templates/control-frontend-stable.template b/BuildFiles/Packaging/templates/control-frontend-stable.template index fb4445f1..a70e0cc8 100644 --- a/BuildFiles/Packaging/templates/control-frontend-stable.template +++ b/BuildFiles/Packaging/templates/control-frontend-stable.template @@ -2,7 +2,7 @@ Package: swarmops-frontend Version: --BuildNumber-- Architecture: all Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net) -Depends: swarmops-common, apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1), libgdiplus (>= 2.10-3), imagemagick, ghostscript +Depends: swarmops-common, apache2 (>= 2.2.20), mono-apache-server4 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1), libgdiplus (>= 2.10-3), imagemagick, ghostscript Conflicts: swarmops-frontend-internal Homepage: http://swarmops.com/ Description: Swarmops Frontend diff --git a/BuildFiles/Packaging/templates/postinst-backend.template b/BuildFiles/Packaging/templates/postinst-backend.template index e793dac2..bc6bb1db 100644 --- a/BuildFiles/Packaging/templates/postinst-backend.template +++ b/BuildFiles/Packaging/templates/postinst-backend.template @@ -1,6 +1,6 @@ #! /bin/bash -echo "Swarmops post-installation script running" +#echo "Swarmops post-installation script running" #make sure some directories exist mkdir -p /opt/swarmops/upload mkdir -p /opt/swarmops/backend/logs diff --git a/BuildFiles/Packaging/templates/postinst-frontend.template b/BuildFiles/Packaging/templates/postinst-frontend.template index 86b3bd16..dd77f8f1 100644 --- a/BuildFiles/Packaging/templates/postinst-frontend.template +++ b/BuildFiles/Packaging/templates/postinst-frontend.template @@ -1,5 +1,5 @@ #! /bin/bash -echo "Swarmops Frontend post-installation script running" +#echo "Swarmops Frontend post-installation script running" #just make sure the upload folder exists mkdir -p /opt/swarmops/upload