Commit 45bb132b authored by claes's avatar claes

*** empty log message ***

parent 9d65e164
Package: pwr44 Package: pwr46
Version: 4.4.2-1 Version: 4.6.0-1
Section: base Section: base
Priority: optional Priority: optional
Architecture: i386 Architecture: i386
Depends: libc6 (>= 2.3.6), libgtk2.0-0 (>= 2.8.16-1), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29) Depends: libc6 (>= 2.7-13), libgtk2.0-0 (>= 2.12.11-3), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11), libdb4.3++c2 (>= 4.6.21-11), libmysqlclient15off (>= 5.0.51a-15), g++ (>= 4:4.3.2-2)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44 Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
Maintainer: Proview <postmaster@proview.se> Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package Description: Proview development and runtime environment package
Proview development and runtime environment Proview development and runtime environment
4.4.0-1 Base release 4.6.0-1 Base release
4.4.0-2
- Proview restart improved. Works with profibus.
- Ge: New fonts, Times, NC Schoolbook and Courier.
4.4.1-1
- Proview profibus restart improved.
- Statusmonitor to view status of remote nodes implemented.
- Runtime monitor to start and stop runtime in development environment implemented.
4.4.2-1
- Subgraphs for ventilation and circuitdiagrams added.
- Baseobjects for threewayvalves, filters and dampers added.
Package: pwrdemo45 Package: pwrdemo45
Version: 4.5.0-1 Version: 4.6.0-1
Section: base Section: base
Priority: optional Priority: optional
Architecture: i386 Architecture: i386
Depends: pwr45 (>= 4.5.0-1) Depends: pwr46 (>= 4.6.0-1)
Maintainer: Proview <postmaster@proview.se> Maintainer: Proview <postmaster@proview.se>
Description: Proview Demo Project package Description: Proview Demo Project package
Proview Demo Project Proview Demo Project
4.5.0-1 Base release 4.6.0-1 Base release
...@@ -81,6 +81,12 @@ fi ...@@ -81,6 +81,12 @@ fi
# Convert to html # Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat co_convert -t -d $pwr_doc $pwr_eexe/xtt_version_help.dat
{
echo "<html><head>"
echo "<meta http-equiv=\"Refresh\" content=\"5;../xtt_version_help_version.html\">"
echo "</head></html>"
} > $pwr_doc/en_us/package_version.html
# Print rt version file # Print rt version file
echo "Version: $version" > $pwr_eexe/rt_version.dat echo "Version: $version" > $pwr_eexe/rt_version.dat
......
Package: pwrrt Package: pwrrt
Version: 4.4.4-5 Version: 4.6.0-1
Section: base Section: base
Priority: optional Priority: optional
Architecture: i386 Architecture: i386
Depends: libc6 (>= 2.3.6), libgtk2.0-0 (>= 2.8.16-1), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29) Depends: libc6 (>= 2.7-13), libgtk2.0-0 (>= 2.12.11-3), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44 Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
Maintainer: Proview <postmaster@proview.se> Maintainer: Proview <postmaster@proview.se>
Description: Description:
Proview runtime environment Proview runtime environment
4.4.0-1 Base release 4.6.0-1 Base release
4.4.0-2
- Proview restart improved. Works with profibus.
- Ge: New fonts, Times, NC Schoolbook and Courier.
4.4.1-1
- Proview profibus restart improved.
- Statusmonitor to view status of remote nodes implemented.
- Runtime monitor to start and stop runtime in development environment implemented.
- Env variables allowed in filenames for remotelogg and nmpsbackup.
4.4.1-2
- Problems with national characters in opc_server fixed.
- Problems with memory leakage in opc_server fixed.
4.4.2-1
- Subgraphs for ventilation and circuit diagrams added.
- Baseobjects for threewayvalves, filters and dampers added.
4.4.2-2
- Ge: Gray backgroundcolor could be undefined.
4.4.2-3
- remote_mq present.
4.4.2-4
- XY_Curve class and Ge dynamic added.
4.4.3-1
- Changed qcom synchronization mechanism.
4.4.4-1
- Function to suppress alarms in basecomponents added.
- Classes IpDistribute, IpCollect, Demux, IDemux, GetDpPtr, StoDpPtr,
Eurotherm_TC3001, Eurotherm_TC3001Aggr and more added.
4.4.4-2
- Bugfix in gtk operatorwindow, long alarmtext could cause segfault
4.4.4-3
- Bugfix in trend, disabled trend object was handled.
- Bugfix in object graph for CompModePID and CompPID.
4.4.4-4
- Bugfix in Eurotherm 3001 profibus slave and module.
- Doublebuffering in graphs with window objects could be lost.
4.4.4-5
- Fixed several bugs in rs_remote_tcpip when acting as a server.
- Bugfix in rt_neth_acp. Subscriptions were not refreshed after a remote node restarted.
...@@ -27,14 +27,15 @@ create_wrapper() ...@@ -27,14 +27,15 @@ create_wrapper()
create_killer() create_killer()
{ {
if [ ! -e $killer ] ; then
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "kill -9 `ps ax | grep "rt_" | awk '{ print $1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "kill -9 `ps ax | grep "rs_" | awk '{ print $1}'`" >> $killer echo "`ps ax | grep "rs_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "kill -9 `ps ax | grep "ra_" | awk '{ print $1}'`" >> $killer echo "`ps ax | grep "ra_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "sev_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "`ps ax | grep "opc_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "eval `ipcs -s|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm sem %s;", $2}'`" >> $killer echo "eval `ipcs -s|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm sem %s;", $2}'`" >> $killer
echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer
...@@ -46,7 +47,6 @@ create_killer() ...@@ -46,7 +47,6 @@ create_killer()
echo "$killer not writable, check permissions" echo "$killer not writable, check permissions"
exit exit
fi fi
fi
} }
...@@ -99,36 +99,52 @@ pwr_kill() ...@@ -99,36 +99,52 @@ pwr_kill()
case "$1" case "$1"
in in
start) start)
echo "Startar PWR." echo "Start Proview Runtime Environment."
pwr_start pwr_start
echo "Klar." echo "Done."
;; ;;
stop) stop)
echo "Stoppar PWR..." echo "Stop Proveiw Runtime Environment."
pwr_stop pwr_stop
echo "Klar" echo "Done."
;; ;;
restart) restart)
echo "Startar om PWR." echo "Restart Proview Runtime Environment."
echo "Stoppar det frst." echo "Closing down..."
pwr_stop pwr_stop
sleep 1 sleep 1
echo "Startar igen." echo "Starting..."
pwr_start pwr_start
echo "Klar." echo "Done."
;; ;;
reload) reload)
echo "PWR varmomstart " echo "Reload Proview Runtime Environment"
pwr_reload pwr_reload
echo "Klar." echo "Done."
;; ;;
kill) kill)
echo "Tar bort delat minne och kvarblivna applikationer frn PWR" echo "Remove all processes and resources for Proview Storage Environment"
pwr_kill
echo "Done."
;;
reset)
echo "Remove all processes and resources for Proview Storage Environment"
pwr_kill pwr_kill
echo "Klar." echo "Done."
;; ;;
*) *)
echo "Usage:{start|stop|restart|reload|kill}" >&2 echo " pwrsev Start and stop Proview Storage Environment" >&2
echo "" >&2
echo " Usage:" >&2
echo " pwr start|stop|restart|reload|reset" >&2
echo "" >&2
echo " start Start Runtime environment" >&2
echo " stop Stop Runtime environment" >&2
echo " restart First stop and then start Runtime environment" >&2
echo " reload Soft restart of Runtime environment" >&2
echo " reset Remove all processes and resources" >&2
echo "" >&2
exit 1 exit 1
;; ;;
esac esac
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
pwr - start and stop Proview runtime environment pwr - start and stop Proview runtime environment
.SH SYNOPSIS .SH SYNOPSIS
.B pwr .B pwr
[start][stop][restart] [start][stop][restart][reload][reset]
.SH DESCRIPTION .SH DESCRIPTION
Start and stop command for Proview runtime environment. Start and stop command for Proview runtime environment.
...@@ -23,6 +23,16 @@ Stop Proview runtime environment. ...@@ -23,6 +23,16 @@ Stop Proview runtime environment.
.IP .IP
First stop and then start the Proview runtime environment. First stop and then start the Proview runtime environment.
.HP
\fBreload\fR
.IP
Soft restart of Proview runtime environment.
.HP
\fBreset\fR
.IP
Remove all processes and resources.
.SH FILES .SH FILES
/etc/pwrp_profile /etc/pwrp_profile
......
...@@ -81,6 +81,12 @@ fi ...@@ -81,6 +81,12 @@ fi
# Convert to html # Convert to html
co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat co_convert -t -d $pwr_doc $pwr_eexe/sev_xtt_version_help.dat
{
echo "<html><head>"
echo "<meta http-equiv=\"Refresh\" content=\"5;../sev_xtt_version_help_version.html\">"
echo "</head></html>"
} > $pwr_doc/en_us/package_version.html
if [ "$1" == "-v" ]; then if [ "$1" == "-v" ]; then
exit exit
fi fi
...@@ -129,41 +135,41 @@ cp $pkgsrc/sev_xtt.1 $pkgroot/usr/share/man/man1/sev_xtt.1 ...@@ -129,41 +135,41 @@ cp $pkgsrc/sev_xtt.1 $pkgroot/usr/share/man/man1/sev_xtt.1
gzip -fq --best $pkgroot/usr/share/man/man1/sev_xtt.1 gzip -fq --best $pkgroot/usr/share/man/man1/sev_xtt.1
# Copy proview # Copy proview
mkdir $pkgroot/usr/pwrrt mkdir $pkgroot/usr/pwrsev
currentdir="`eval pwd`" currentdir="`eval pwd`"
tarfile=$pwre_broot/$pwre_target/bld/pkg/pwrtmp.tar tarfile=$pwre_broot/$pwre_target/bld/pkg/pwrtmp.tar
cd $pwre_broot/$pwre_target/exp cd $pwre_broot/$pwre_target/exp
echo "-- Copy release to package tree" echo "-- Copy release to package tree"
tar -cf $tarfile exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/*.gif exe/*.png exe/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/*.txt tar -cf $tarfile exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/*.gif exe/*.png exe/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/*.txt doc/*
cd $pkgroot/usr/pwrrt cd $pkgroot/usr/pwrsev
mkdir cnf mkdir cnf
tar -xf $tarfile tar -xf $tarfile
rm $tarfile rm $tarfile
#rm -r $pkgroot/usr/pwrrt/lib/*.a #rm -r $pkgroot/usr/pwrsev/lib/*.a
#rm -r $pkgroot/usr/pwrrt/exe/wb* #rm -r $pkgroot/usr/pwrsev/exe/wb*
cp $pwr_eexe/wb_distr_keepboot.sh $pkgroot/usr/pwrrt/exe cp $pwr_eexe/wb_distr_keepboot.sh $pkgroot/usr/pwrsev/exe
cd $currentdir cd $currentdir
# Copy configuration files to cnf # Copy configuration files to cnf
cp $pkgsrc/proview.cnf $pkgroot/usr/pwrrt/cnf cp $pkgsrc/proview.cnf $pkgroot/usr/pwrsev/cnf
# Copy op to cnf # Copy op to cnf
mkdir $pkgroot/usr/pwrrt/cnf/op mkdir $pkgroot/usr/pwrsev/cnf/op
cp $pwre_sroot/tools/pkg/deb/op/.bashrc $pkgroot/usr/pwrrt/cnf/op cp $pwre_sroot/tools/pkg/deb/op/.bashrc $pkgroot/usr/pwrsev/cnf/op
cp $pwre_sroot/tools/pkg/deb/op/.bash_profile $pkgroot/usr/pwrrt/cnf/op cp $pwre_sroot/tools/pkg/deb/op/.bash_profile $pkgroot/usr/pwrsev/cnf/op
cp $pwre_sroot/tools/pkg/deb/op/.mwmrc $pkgroot/usr/pwrrt/cnf/op cp $pwre_sroot/tools/pkg/deb/op/.mwmrc $pkgroot/usr/pwrsev/cnf/op
cp $pwre_sroot/tools/pkg/deb/op/.rtt_start $pkgroot/usr/pwrrt/cnf/op cp $pwre_sroot/tools/pkg/deb/op/.rtt_start $pkgroot/usr/pwrsev/cnf/op
cp $pwre_sroot/tools/pkg/deb/op/.xtt_start $pkgroot/usr/pwrrt/cnf/op cp $pwre_sroot/tools/pkg/deb/op/.xtt_start $pkgroot/usr/pwrsev/cnf/op
cp $pwre_sroot/tools/pkg/deb/op/.xsession $pkgroot/usr/pwrrt/cnf/op cp $pwre_sroot/tools/pkg/deb/op/.xsession $pkgroot/usr/pwrsev/cnf/op
# Copy user to cnf # Copy user to cnf
mkdir $pkgroot/usr/pwrrt/cnf/user mkdir $pkgroot/usr/pwrsev/cnf/user
cp $pwre_sroot/tools/pkg/deb/user/.bashrc $pkgroot/usr/pwrrt/cnf/user cp $pwre_sroot/tools/pkg/deb/user/.bashrc $pkgroot/usr/pwrsev/cnf/user
cp $pwre_sroot/tools/pkg/deb/user/.bash_profile $pkgroot/usr/pwrrt/cnf/user cp $pwre_sroot/tools/pkg/deb/user/.bash_profile $pkgroot/usr/pwrsev/cnf/user
cp $pwre_sroot/tools/pkg/deb/user/.mwmrc $pkgroot/usr/pwrrt/cnf/user cp $pwre_sroot/tools/pkg/deb/user/.mwmrc $pkgroot/usr/pwrsev/cnf/user
cp $pwre_sroot/tools/pkg/deb/user/.rtt_start $pkgroot/usr/pwrrt/cnf/user cp $pwre_sroot/tools/pkg/deb/user/.rtt_start $pkgroot/usr/pwrsev/cnf/user
cp $pwre_sroot/tools/pkg/deb/user/.xtt_start $pkgroot/usr/pwrrt/cnf/user cp $pwre_sroot/tools/pkg/deb/user/.xtt_start $pkgroot/usr/pwrsev/cnf/user
cp $pwre_sroot/tools/pkg/deb/user/.xsession $pkgroot/usr/pwrrt/cnf/user cp $pwre_sroot/tools/pkg/deb/user/.xsession $pkgroot/usr/pwrsev/cnf/user
# Create package # Create package
echo "-- Building package" echo "-- Building package"
......
Package: pwrsev Package: pwrsev
Version: 4.5.0-1 Version: 4.6.0-1
Section: base Section: base
Priority: optional Priority: optional
Architecture: i386 Architecture: i386
Depends: libc6 (>= 2.3.6), libgtk2.0-0 (>= 2.8.16-1), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29) Depends: libc6 (>= 2.7-13), libgtk2.0-0 (>= 2.12.11-3), libasound2 (>= 1.0.16-2), libdb4.6 (>=4.6.21-11)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45 Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45
Maintainer: Proview <postmaster@proview.se> Maintainer: Proview <postmaster@proview.se>
Description: Description:
Proview storage environment Proview storage environment
4.5.0-1 Beta release 4.6.0-1 Beta release
...@@ -9,7 +9,7 @@ fi ...@@ -9,7 +9,7 @@ fi
export PWR_BUS_ID=$bus_id export PWR_BUS_ID=$bus_id
export pwrb_root=/usr/pwrrt export pwrb_root=/usr/pwrsev
export pwrp_root=/pwrp export pwrp_root=/pwrp
export pwr_exe=$pwrb_root/exe export pwr_exe=$pwrb_root/exe
...@@ -39,10 +39,11 @@ PATH=$PATH:$pwr_exe:$pwrp_exe:$jdk_home ...@@ -39,10 +39,11 @@ PATH=$PATH:$pwr_exe:$pwrp_exe:$jdk_home
export DISPLAY=$REMOTEHOST:0.0 export DISPLAY=$REMOTEHOST:0.0
#symbols to define start/stop commands for PWR #symbols to define start/stop commands for PWR
alias pwr_stop='/etc/init.d/pwr stop' alias pwr_stop='/etc/init.d/pwrsvestop'
alias pwr_stop.sh="/etc/init.d/pwr stop" alias pwr_stop.sh="/etc/init.d/pwrsev stop"
alias pwr_start="/etc/init.d/pwr start" alias pwr_start="/etc/init.d/pwrsev start"
alias pwr="/etc/init.d/pwr" alias pwrsev="/etc/init.d/pwrsev"
alias pwr="/etc/init.d/pwrsev"
alias boot="/usr/bin/sudo /sbin/reboot" alias boot="/usr/bin/sudo /sbin/reboot"
if [ -e $pwrp_exe/profile ]; then if [ -e $pwrp_exe/profile ]; then
......
...@@ -27,13 +27,12 @@ create_wrapper() ...@@ -27,13 +27,12 @@ create_wrapper()
create_killer() create_killer()
{ {
if [ ! -e $killer ] ; then
echo "#!/bin/bash" > $killer echo "#!/bin/bash" > $killer
echo "source /etc/pwrp_profile" >> $killer echo "source /etc/pwrp_profile" >> $killer
echo "umask 002" >> $killer echo "umask 002" >> $killer
echo "kill -9 `ps ax | grep "rt_" | awk '{ print $1}'`" >> $killer echo "`ps ax | grep "rt_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "kill -9 `ps ax | grep "sev_" | awk '{ print $1}'`" >> $killer echo "`ps ax | grep "sev_" | awk '{ print "kill -9 "$1}'`" >> $killer
echo "eval `ipcs -s|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm sem %s;", $2}'`" >> $killer echo "eval `ipcs -s|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm sem %s;", $2}'`" >> $killer
echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer echo "eval `ipcs -q|grep ^0x|grep "[ \t]pwrp[ \t]"|awk '{printf "ipcrm msg %s;", $2}'`" >> $killer
...@@ -45,7 +44,6 @@ create_killer() ...@@ -45,7 +44,6 @@ create_killer()
echo "$killer not writable, check permissions" echo "$killer not writable, check permissions"
exit exit
fi fi
fi
} }
...@@ -98,36 +96,55 @@ pwr_kill() ...@@ -98,36 +96,55 @@ pwr_kill()
case "$1" case "$1"
in in
start) start)
echo "Startar PWR." echo "Start Proview Storage Environment."
pwr_start pwr_start
echo "Klar." echo "Done."
;; ;;
stop) stop)
echo "Stoppar PWR..." echo "Stop Proveiw Storage Environment."
pwr_stop pwr_stop
echo "Klar" echo "Done."
;; ;;
restart) restart)
echo "Startar om PWR." echo "Restart Proview Storage Environment."
echo "Stoppar det frst." echo "Closing down..."
pwr_stop pwr_stop
sleep 1 sleep 1
echo "Startar igen." echo "Starting..."
pwr_start pwr_start
echo "Klar." echo "Done."
;; ;;
reload) reload)
echo "PWR varmomstart " echo "Restart Proview Storage Environment."
pwr_reload echo "Closing down..."
echo "Klar." pwr_stop
sleep 1
echo "Starting..."
pwr_start
echo "Done."
;; ;;
kill) kill)
echo "Tar bort delat minne och kvarblivna applikationer frn PWR" echo "Remove all processes and resources for Proview Storage Environment"
pwr_kill pwr_kill
echo "Klar." echo "Done."
;;
reset)
echo "Remove all processes and resources for Proview Storage Environment"
pwr_kill
echo "Done."
;; ;;
*) *)
echo "Usage:{start|stop|restart|reload|kill}" >&2 echo " pwrsev Start and stop Proview Storage Environment" >&2
echo "" >&2
echo " Usage:" >&2
echo " pwrsev start|stop|restart|reset" >&2
echo "" >&2
echo " start Start Storage environment" >&2
echo " stop Stop Storage environment" >&2
echo " restart First stop and then start Storage environment" >&2
echo " reset Remove all processes and resources" >&2
echo "" >&2
exit 1 exit 1
;; ;;
esac esac
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
pwrsev - start and stop Proview Storage Environment pwrsev - start and stop Proview Storage Environment
.SH SYNOPSIS .SH SYNOPSIS
.B pwrsev .B pwrsev
[start][stop] [start][stop][restart][reset]
.SH DESCRIPTION .SH DESCRIPTION
Start and stop command for Proview Storage Environment. Start and stop command for Proview Storage Environment.
...@@ -18,6 +18,16 @@ Start Proview storage environment. ...@@ -18,6 +18,16 @@ Start Proview storage environment.
.IP .IP
Stop Proview storage environment. Stop Proview storage environment.
.HP
\fBrestart\fR
.IP
Stop and start the Proview storage environment.
.HP
\fBreset\fR
.IP
Remove all processes and resources.
.SH FILES .SH FILES
/etc/pwrp_profile /etc/pwrp_profile
...@@ -32,5 +42,5 @@ QCOM bus identity. ...@@ -32,5 +42,5 @@ QCOM bus identity.
Written by cs. Written by cs.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR rt_ini(1) .BR sev_ini(1)
.TH rt_ini "1" "April 2005" "Proview" "Proview Manual" .TH sev_ini "1" "April 2005" "Proview" "Proview Manual"
.SH NAME .SH NAME
sev_ini - start or stop the Proview storage environment sev_ini - start or stop the Proview storage environment
.SH SYNOPSIS .SH SYNOPSIS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment