Browse Source

n/omero: Upgraded to omero-4.4.2.

slackware-14.2
Damien Goutte-Gattat 10 years ago
parent
commit
540d3245c7
  1. 1
      n/omero/OMERO.server-4.4.2-ice34-b3.zip.sha1
  2. 1
      n/omero/OMERO.server-Beta-4.3.4.tar.bz2.sha1
  3. 2
      n/omero/README
  4. 18
      n/omero/omero.SlackBuild
  5. 4
      n/omero/rc.omero

1
n/omero/OMERO.server-4.4.2-ice34-b3.zip.sha1

@ -0,0 +1 @@
56eef9685e34ef783049c0a80755380795936bed OMERO.server-4.4.2-ice34-b3.zip

1
n/omero/OMERO.server-Beta-4.3.4.tar.bz2.sha1

@ -1 +0,0 @@
f1de62235d7e0fb293c1be28957d7d182a1b1d5b OMERO.server-Beta-4.3.4.tar.bz2

2
n/omero/README

@ -170,7 +170,7 @@
- upgrade the database:
$ cd /opt/omero
$ psql -h localhost -U omero omero < sql/psql/OMERO4.3__0/OMERO4.2__0.sql
$ psql -h localhost -U omero omero < sql/psql/OMERO4.4__0/OMERO4.3__0.sql
- check config files in /etc/omero; remove old config file
/etc/omero/grid/default.xml and apply new settings:

18
n/omero/omero.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,9 @@
# Source package infos
NAMESRC=${NAMESRC:-OMERO.server}
VERSION=${VERSION:-4.3.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-Beta-$VERSION.tar.bz2}
WGET=${WGET:-http://cvs.openmicroscopy.org.uk/snapshots/omero/$ARCHIVE}
VERSION=${VERSION:-4.4.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice34-b3.zip}
WGET=${WGET:-http://cvs.openmicroscopy.org.uk/snapshots/omero/4_4_2/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-omero}
@ -68,8 +68,9 @@ sha1sum -c $ARCHIVE.sha1
# Extract and install
mkdir -p $PKG/opt
cd $PKG/opt
tar xf $CWD/$ARCHIVE
mv OMERO.server-Beta-$VERSION omero
unzip $CWD/$ARCHIVE
mv OMERO.server-$VERSION-ice34-b3 omero
rm omero/bin/*.bat
# Install config files in /etc/omero
mkdir -p $PKG/etc
@ -77,7 +78,7 @@ mv omero/etc $PKG/etc/omero
ln -s /etc/omero $PKG/opt/omero/etc
(
cd $PKG/etc/omero
rm -rf Windows.cfg local.properties.example grid/windefault.xml nginx.conf.template
rm -rf Windows.cfg env.bat env.sh local.properties.example grid/windefault.xml nginx.conf.*
for f in backup.cfg hibernate.properties ice.config internal.cfg ivysettings.xml log4j-indexing.xml log4j.xml master.cfg node?.cfg omero.properties rollover.cfg testdropbox.config grid/*.xml ; do
mv $f $f.new
done
@ -91,8 +92,7 @@ install -D -m 644 $CWD/rc.omero $PKG/etc/rc.d/rc.omero
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 $CWD/README $PKG/usr/doc/$NAMEPKG-$VERSION
mv omero/LICENSE.txt $PKG/usr/doc/$NAMEPKG-$VERSION
mv omero/docs/api $PKG/usr/doc/$NAMEPKG-$VERSION
rmdir omero/docs
mv omero/licenses $PKG/usr/doc/$NAMEPKG-$VERSION/licenses
# Copy slack-desc and doinst.sh files
mkdir -p $PKG/install

4
n/omero/rc.omero

@ -41,8 +41,8 @@ init)
(
cd /opt/omero
sudo -H -u omero omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < OMERO4.3__0.sql
rm -rf OMERO4.3__0.sql
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < OMERO4.4__0.sql
rm -rf OMERO4.4__0.sql
)
fi
;;

Loading…
Cancel
Save