comparison contrib/make_flys_release/make_release.sh @ 7946:0f1a3bbfd243

Use version-specific mapserver-URLs for release.
author Tom Gottfried <tom@intevation.de>
date Wed, 18 Jun 2014 15:20:07 +0200
parents 6e852a6c72f2
children 36f634917104
comparison
equal deleted inserted replaced
7945:2235bc9b66c0 7946:0f1a3bbfd243
63 # --seddb-port Sediment db port. Default: $SEDDBPORT 63 # --seddb-port Sediment db port. Default: $SEDDBPORT
64 # --seddb-user Sediment db user. Default: $SEDDBUSER 64 # --seddb-user Sediment db user. Default: $SEDDBUSER
65 # --seddb-pass Sediment db password. Default: $SEDDBPASS 65 # --seddb-pass Sediment db password. Default: $SEDDBPASS
66 # --seddb-back Sediment db backend. Default: $SEDDBBACK 66 # --seddb-back Sediment db backend. Default: $SEDDBBACK
67 TOMCAT_PORT=${TOMCAT_PORT:-8282} 67 TOMCAT_PORT=${TOMCAT_PORT:-8282}
68 MAPSERVER_URL=${MAPSERVER_URL:-http://flys-devel.intevation.de} 68 MAPSERVER_URL=${MAPSERVER_URL:-http://flys-devel.intevation.de/cgi-bin/flys-${VERSION}}
69 WIKI_URL=${WIKI_URL:-https://flys3-devel.bafg.de/wiki} 69 WIKI_URL=${WIKI_URL:-https://flys3-devel.bafg.de/wiki}
70 # Prefix to FreeSans.ttf 70 # Prefix to FreeSans.ttf
71 FONT_PATH=${FONT_PATH:-/opt/flys} 71 FONT_PATH=${FONT_PATH:-/opt/flys}
72 72
73 # Seddb Configuration 73 # Seddb Configuration
322 cp -R $FLYS_SOURCE_DIR/river/artifacts/doc/conf $WORK_DIR/server/ 322 cp -R $FLYS_SOURCE_DIR/river/artifacts/doc/conf $WORK_DIR/server/
323 323
324 sed -i "s/8181/$ARTIFACT_PORT/g" \ 324 sed -i "s/8181/$ARTIFACT_PORT/g" \
325 $WORK_DIR/server/conf/rest-server.xml 325 $WORK_DIR/server/conf/rest-server.xml
326 326
327 sed -i -e "s@http://yourhost:8081/@${MAPSERVER_URL}/@g" \ 327 sed -i -e "s@http://yourhost:8081/cgi-bin@${MAPSERVER_URL}/@g" \
328 $WORK_DIR/server/conf/floodmap.xml 328 $WORK_DIR/server/conf/floodmap.xml
329 329
330 sed -i -e "s@http://yourhost:8081/@${MAPSERVER_URL}/@g" \ 330 sed -i -e "s@http://yourhost:8081/cgi-bin@${MAPSERVER_URL}/@g" \
331 $WORK_DIR/server/conf/rivermap.xml 331 $WORK_DIR/server/conf/rivermap.xml
332 332
333 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \ 333 sed -i -e "s@/usr/share/fonts/truetype/freefont@${FONT_PATH}@g" \
334 $WORK_DIR/server/conf/mapserver/fontset.txt 334 $WORK_DIR/server/conf/mapserver/fontset.txt
335 335

http://dive4elements.wald.intevation.org