Browse Source

n/omero-server: Upgraded to omero-server-5.3.4.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
75b49913fa
5 changed files with 13 additions and 8 deletions
  1. +0
    -1
      n/omero-server/OMERO.server-5.3.3-ice36-b63.zip.sha256
  2. +1
    -0
      n/omero-server/OMERO.server-5.3.4-ice36-b69.zip.sha256
  3. +7
    -2
      n/omero-server/README
  4. +3
    -3
      n/omero-server/omero-server.SlackBuild
  5. +2
    -2
      n/omero-server/rc.omero

+ 0
- 1
n/omero-server/OMERO.server-5.3.3-ice36-b63.zip.sha256 View File

@ -1 +0,0 @@
334b51eaa72960b5988e86237420ff22c9817f7652ab4b14c7d2966effb830bc OMERO.server-5.3.3-ice36-b63.zip

+ 1
- 0
n/omero-server/OMERO.server-5.3.4-ice36-b69.zip.sha256 View File

@ -0,0 +1 @@
3fb896a7bf1727d0925f197e629a28564690af15f0b5a72e92f27e6cc64cc606 OMERO.server-5.3.4-ice36-b69.zip

+ 7
- 2
n/omero-server/README View File

@ -1,4 +1,4 @@
PACKAGER'S README FOR OMERO-5.3.3
PACKAGER'S README FOR OMERO-5.3.4
Damien Goutte-Gattat <dgouttegattat@incenp.org>
@ -157,7 +157,7 @@
# /etc/rc.d/rc.omero start
To upgrade OMERO 5.3.x to OMERO 5.3.3:
To upgrade OMERO 5.3.x to OMERO 5.3.4:
- stop OMERO if it is running;
@ -165,4 +165,9 @@
- upgrade the package;
- upgrade the database:
$ cd /opt/omero
$ psql -h localhost -U omero omero < sql/psql/OMERO5.3__1/OMERO5.3__0.sql
- start the upgraded server.

+ 3
- 3
n/omero-server/omero-server.SlackBuild View File

@ -28,8 +28,8 @@
# Source package infos
NAMESRC=${NAMESRC:-OMERO.server}
VERSION=${VERSION:-5.3.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b63.zip}
VERSION=${VERSION:-5.3.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b69.zip}
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE}
# Build infos
@ -68,7 +68,7 @@ sha256sum -c $ARCHIVE.sha256
mkdir -p $PKG/opt
cd $PKG/opt
unzip $CWD/$ARCHIVE
mv OMERO.server-$VERSION-ice36-b63 omero
mv OMERO.server-$VERSION-ice36-b69 omero
rm omero/bin/*.bat omero/etc/env.bat
# Install launch scripts


+ 2
- 2
n/omero-server/rc.omero View File

@ -45,8 +45,8 @@ init)
createdb $PGOPTS -E UTF8 -l en_US.UTF-8 -T template0 -O $DB_USER $DB_NAME
createlang $PGOPTS plpgsql $DB_NAME
sudo -H -u omero -i omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.3__0.sql
rm -rf /var/lib/omero/OMERO5.3__0.sql
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.3__1.sql
rm -rf /var/lib/omero/OMERO5.3__1.sql
fi
;;


Loading…
Cancel
Save