Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
d6c60589
Commit
d6c60589
authored
Oct 05, 2011
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of claes@pwrcvs:/data1/git/pwr
parents
0e6175c2
aeb373f8
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
900 additions
and
17 deletions
+900
-17
src/exp/com/src/os_cygwin/pwr_stop.sh
src/exp/com/src/os_cygwin/pwr_stop.sh
+3
-6
src/lib/co/src/co_dbs.c
src/lib/co/src/co_dbs.c
+7
-1
src/lib/co/src/co_dbs.h
src/lib/co/src/co_dbs.h
+2
-1
src/lib/co/src/co_dbs.pdr
src/lib/co/src/co_dbs.pdr
+2
-1
src/tools/pkg/deb/adm/pwra_env.sh
src/tools/pkg/deb/adm/pwra_env.sh
+7
-3
src/tools/pkg/deb/adm/pwra_env.sh_openbsd
src/tools/pkg/deb/adm/pwra_env.sh_openbsd
+160
-0
src/tools/pkg/openbsd/pwr/Makefile
src/tools/pkg/openbsd/pwr/Makefile
+25
-0
src/tools/pkg/openbsd/pwr/build.sh
src/tools/pkg/openbsd/pwr/build.sh
+214
-0
src/tools/pkg/openbsd/pwr/changelog
src/tools/pkg/openbsd/pwr/changelog
+1
-0
src/tools/pkg/openbsd/pwr/control
src/tools/pkg/openbsd/pwr/control
+34
-0
src/tools/pkg/openbsd/pwr/copyright
src/tools/pkg/openbsd/pwr/copyright
+8
-0
src/tools/pkg/openbsd/pwr/postinst
src/tools/pkg/openbsd/pwr/postinst
+128
-0
src/tools/pkg/openbsd/pwr/prerm
src/tools/pkg/openbsd/pwr/prerm
+8
-0
src/tools/pkg/openbsd/pwr/proview.cnf
src/tools/pkg/openbsd/pwr/proview.cnf
+18
-0
src/tools/pkg/openbsd/pwr/pwr.1
src/tools/pkg/openbsd/pwr/pwr.1
+28
-0
src/tools/pkg/openbsd/pwr/pwrp_profile
src/tools/pkg/openbsd/pwr/pwrp_profile
+55
-0
src/tools/pkg/openbsd/src/os_templ/hw_templ/makefile
src/tools/pkg/openbsd/src/os_templ/hw_templ/makefile
+64
-0
src/tools/pkg/openbsd/src/pwr
src/tools/pkg/openbsd/src/pwr
+130
-0
src/tools/pwre/src/os_cygwin/pwre_configure.sh
src/tools/pwre/src/os_cygwin/pwre_configure.sh
+1
-1
src/tools/pwre/src/os_openbsd/pwre_function
src/tools/pwre/src/os_openbsd/pwre_function
+2
-2
wb/exp/com/src/os_cygwin/wb_gcg.sh
wb/exp/com/src/os_cygwin/wb_gcg.sh
+1
-1
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+2
-1
No files found.
src/exp/com/src/os_cygwin/pwr_stop.sh
View file @
d6c60589
...
...
@@ -56,16 +56,13 @@
echo
"User
$user
"
eval
`
ipcs
-s
|grep ^0x|grep
"[
\t
]
$user
[
\t
]"
|awk
'{printf "ipcrm sem %s;", $2
}'
`
eval
`
ipcs
-s
|grep ^s|grep
"[
\t
]
$user
[
\t
]"
|awk
'{ printf "ipcrm -s %s;", $2 }'
`
# remove message queues
eval
`
ipcs
-q
|grep ^0x|grep
"[
\t
]
$user
[
\t
]"
|awk
'{printf "ipcrm msg %s;", $2
}'
`
eval
`
ipcs
-q
|grep ^q|grep
"[
\t
]
$user
[
\t
]"
|awk
'{ printf "ipcrm -q %s;", $2 }'
`
# remove shared memory
eval
`
ipcs
-m
|grep ^0x|grep
"[
\t
]
$user
[
\t
]"
|awk
'{printf "ipcrm shm %s;", $2
}'
`
eval
`
ipcs
-m
|grep ^m|grep
"[
\t
]
$user
[
\t
]"
|awk
'{ printf "ipcrm -m %s;", $2 }'
`
if
[
-e
$pwrp_exe
/pwrp_stop.sh
]
;
then
source
$pwrp_exe
/pwrp_stop.sh
...
...
src/lib/co/src/co_dbs.c
View file @
d6c60589
...
...
@@ -479,8 +479,10 @@ dbs_Map(pwr_tStatus *sts, const char *filename)
return
NULL
;
}
ret
=
close
(
tfd
);
#if !defined OS_CYGWIN
unlink
(
tfname
);
#endif
sect
=
(
dbs_sSect
*
)(
base
+
dbs_dAlign
(
sizeof
(
dbs_sFile
)));
vrp
=
(
dbs_sVolRef
*
)(
base
+
sect
[
dbs_eSect_volref
].
offset
);
nVolRef
=
sect
[
dbs_eSect_volref
].
size
/
dbs_dAlign
(
sizeof
(
dbs_sVolRef
));
...
...
@@ -492,6 +494,7 @@ dbs_Map(pwr_tStatus *sts, const char *filename)
mep
->
vrp
=
vrp
;
mep
->
nVolRef
=
nVolRef
;
mep
->
base
=
base
;
strncpy
(
mep
->
tfname
,
tfname
,
sizeof
(
tfname
));
vep
=
mep
->
venv
;
vep
->
mp
=
mep
;
...
...
@@ -606,6 +609,9 @@ dbs_Unmap(pwr_tStatus *sts, dbs_sMenv *mep)
if
(
mep
->
flags
.
b
.
isMapped
)
{
munmap
(
mep
->
base
,
mep
->
size
);
mep
->
flags
.
b
.
isMapped
=
0
;
#if defined OS_CYGWIN
unlink
(
mep
->
tfname
);
#endif
return
TRUE
;
}
else
if
(
mep
->
f
!=
NULL
)
{
printf
(
"ERROR, dbs_Unmap, trying to unmap a non mapped file
\n
"
);
...
...
src/lib/co/src/co_dbs.h
View file @
d6c60589
...
...
@@ -579,7 +579,8 @@ struct dbs_sMenv {
pwr_tUInt32
size
;
/**< size of mapped file */
char
*
base
;
dbs_sVolRef
*
vrp
;
dbs_sVenv
venv
[
1
];
char
tfname
[
40
];
dbs_sVenv
venv
[
1
];
};
...
...
src/lib/co/src/co_dbs.pdr
View file @
d6c60589
...
...
@@ -618,7 +618,8 @@ struct dbs_sScObject {
% pwr_tUInt32 size; /**< size of mapped file */
% char *base;
% dbs_sVolRef *vrp;
% dbs_sVenv venv[1];
% char tfname[40];
% dbs_sVenv venv[1];
%};
%
%
...
...
src/tools/pkg/deb/adm/pwra_env.sh
View file @
d6c60589
...
...
@@ -19,7 +19,7 @@ pwra_set_func()
# Command is "set base"
basename
=
$2
basename
=
${
basename
//\./\\.
}
baseroot
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"
[[:<:]]"
$basename
"[[:>:]]"
|
grep
"^"
%base
"[[:>:]]
"
|
awk
'{print $3}'
`
baseroot
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"
\b
"
$basename
"
\b
"
|
grep
"^"
%base
"
\b
"
|
awk
'{print $3}'
`
if
[
-z
$baseroot
]
;
then
echo
"Unable to find base '
$2
'"
return
...
...
@@ -60,14 +60,14 @@ pwra_set_func()
# Command is "set project"
project
=
$2
basename
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"^"
$project
"
[[:>:]]
"
|
awk
'{print $2}'
`
basename
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"^"
$project
"
\b
"
|
awk
'{print $2}'
`
basename
=
${
basename
//\./\\.
}
if
[
-z
$basename
]
;
then
echo
"Unable to find project '
$2
'"
return
fi
baseroot
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"
[[:<:]]"
$basename
"[[:>:]]"
|
grep
"^"
%base
"[[:>:]]
"
|
awk
'{print $3}'
`
baseroot
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"
\b
"
$basename
"
\b
"
|
grep
"^"
%base
"
\b
"
|
awk
'{print $3}'
`
if
[
-z
$baseroot
]
;
then
echo
"Unable to find base '
$2
'"
return
...
...
@@ -117,6 +117,7 @@ EOF
pwra_parse
()
{
unamestr
=
`
eval uname
`
onamestr
=
`
eval uname
-o
`
machine
=
`
eval uname
-m
`
if
[
$unamestr
==
"Darwin"
]
;
then
os
=
"os_macos"
...
...
@@ -127,6 +128,9 @@ pwra_parse ()
elif
[
$unamestr
==
"OpenBSD"
]
;
then
os
=
"os_openbsd"
hw
=
"hw_x86_64"
elif
[
$onamestr
==
"Cygwin"
]
;
then
os
=
"os_cygwin"
hw
=
"hw_x86"
else
if
[
$machine
!=
"x86_64"
]
;
then
machine
=
"x86"
...
...
src/tools/pkg/deb/adm/pwra_env.sh_openbsd
0 → 100755
View file @
d6c60589
#! /bin/bash
#
#
#
pwra_set_func
()
{
local
cmd
local
baseroot
local
project
if
[
-z
$1
]
;
then
echo
"Qualifier is missing"
return
fi
cmd
=
"base"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
# Command is "set base"
basename
=
$2
basename
=
${
basename
//\./\\.
}
baseroot
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"[[:<:]]"
$basename
"[[:>:]]"
|
grep
"^"
%base
"[[:>:]]"
|
awk
'{print $3}'
`
if
[
-z
$baseroot
]
;
then
echo
"Unable to find base '
$2
'"
return
fi
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
elif
[
"
$3
"
!=
"cross"
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
fi
return
fi
cmd
=
"baseroot"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
# Command is "set baseroot"
baseroot
=
$2
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
else
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
fi
return
fi
cmd
=
"project"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
# Command is "set project"
project
=
$2
basename
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"^"
$project
"[[:>:]]"
|
awk
'{print $2}'
`
basename
=
${
basename
//\./\\.
}
if
[
-z
$basename
]
;
then
echo
"Unable to find project '
$2
'"
return
fi
baseroot
=
`
eval cat
$pwra_db
/pwr_projectlist.dat |
grep
"[[:<:]]"
$basename
"[[:>:]]"
|
grep
"^"
%base
"[[:>:]]"
|
awk
'{print $3}'
`
if
[
-z
$baseroot
]
;
then
echo
"Unable to find base '
$2
'"
return
fi
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
else
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
source
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
set
project
$project
export
PS1
=
'\u@\h/$pwrp_projectname/-.\W> '
fi
return
fi
if
[
-z
$pwr_exe
]
;
then
echo
"No project is defined"
return
fi
source
$pwr_exe
/pwrp_env.sh
set
$1
$2
$3
}
pwra_help_func
()
{
source
$pwr_exe
/pwrp_env.sh
$@
cat
<<
EOF
pwra_env.sh - Utilities for pwr project environment
help - Display help
set base 'distribution' - Setup environment to proview base distribution
set baseroot 'root' - Setup environment to proview base distribution
EOF
}
pwra_parse
()
{
unamestr
=
`
eval uname
`
machine
=
`
eval uname
-m
`
if
[
$unamestr
==
"Darwin"
]
;
then
os
=
"os_macos"
hw
=
"hw_x86_64"
elif
[
$unamestr
==
"FreeBSD"
]
;
then
os
=
"os_freebsd"
hw
=
"hw_x86_64"
elif
[
$unamestr
==
"OpenBSD"
]
;
then
os
=
"os_openbsd"
hw
=
"hw_x86_64"
else
if
[
$machine
!=
"x86_64"
]
;
then
machine
=
"x86"
fi
os
=
"os_linux"
hw
=
"hw_"
$machine
fi
local
cmd
cmd
=
"help"
if
[
-z
$1
]
||
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
pwra_help_func
$2
$3
return
fi
cmd
=
"set"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
pwra_set_func
$2
$3
return
fi
if
[
-z
$pwr_exe
]
;
then
echo
"No project is defined"
return
fi
source
$pwr_exe
/pwrp_env.sh
$@
}
pwra_parse
$@
src/tools/pkg/openbsd/pwr/Makefile
0 → 100644
View file @
d6c60589
# port/package comment, name, category, and maintainer.
COMMENT
=
Proview development and runtime package
DISTNAME
=
pwr48-4.8.3
CATEGORIES
=
misc
MAINTAINER
=
Proview <postmaster@proview.se>
# Mandatory licensing variables.
PERMIT_PACKAGE_CDROM
=
NO
PERMIT_PACKAGE_FTP
=
NO
PERMIT_DISTFILES_CDROM
=
NO
PERMIT_DISTFILES_FTP
=
NO
# Don't build or run regress tests; specify all architectures.
NO_BUILD
=
Yes
NO_REGRESS
=
Yes
PKG_ARCH
=
amd64
# Install under /usr/local/.
do-install
:
${INSTALL_SCRIPT}
${WRKSRC}
/bin/
*
${PREFIX}
/bin/
${INSTALL_DATA_DIR}
${PREFIX}
/share/myscripts/
${INSTALL_DATA}
${WRKSRC}
/share/pwr48/
*
${PREFIX}
/share/pwr48/
# Include the BSD port system.
.
include
<bsd.port.mk>
src/tools/pkg/openbsd/pwr/build.sh
0 → 100755
View file @
d6c60589
#!/bin/bash
set
-o
xtrace
aroot
=
"/usr/pwrp/adm"
pkgsrc
=
$pwre_sroot
/tools/pkg/openbsd/pwr
# Get version
if
[
-e
$pwr_inc
/pwr_version.h
]
;
then
ver
=
`
eval cat
$pwr_inc
/pwr_version.h |
grep
"[[:<:]]pwrv_cWbdbVersionShortStr[[:>:]]"
|
awk
'{print $3}'
`
if
[
-z
$ver
]
;
then
echo
"Unable to get pwr version"
ver
=
"V00"
fi
ver
=
${
ver
:2:2
}
fi
# Generate version help file
{
if
[
!
-e
$pkgsrc
/control
]
;
then
echo
"Controlfile not found"
exit
1
fi
datfile
=
$pkgsrc
/control
echo
"<topic> version"
d
=
`
eval date
+
\"
%F %X
\"
`
{
let
printout
=
0
while
read
line
;
do
if
[
"
${
line
:0:9
}
"
=
"Package: "
]
;
then
package
=
${
line
#Package
:
}
fi
if
[
"
${
line
:0:9
}
"
=
"Version: "
]
;
then
version
=
${
line
#Version
:
}
fi
if
[
"
${
line
:0:14
}
"
=
"Architecture: "
]
;
then
arch
=
${
line
#Architecture
:
}
fi
if
[
"
${
line
:0:12
}
"
=
"Description:"
]
;
then
echo
""
echo
"<image> pwr_logga.gif"
echo
""
echo
""
echo
""
echo
"<b>Proview V
${
version
:0:3
}
"
echo
"Version V
$version
"
echo
""
echo
"Copyright 2004-
${
d
:0:4
}
SSAB Oxelsund AB"
echo
""
echo
"This program is free software; you can redistribute it and/or"
echo
"modify it under the terms of the GNU General Public License as"
echo
"published by the Free Software Foundation, either version 2 of"
echo
"the License, or (at your option) any later version."
echo
""
echo
"This program is distributed in the hope that it will be useful"
echo
"but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
echo
"For more details, see the"
echo
"GNU General Public License. <weblink> http://www.proview.se/gpllicense.html"
echo
""
echo
"E-mail postmaster@proview.se"
echo
"Internet www.proview.se <link> http://www.proview.se/index.html"
echo
""
echo
""
echo
"<b>Package"
echo
"Package
$package
""_""
$version
""_""
$arch
"
echo
"Build date
$d
"
echo
"Package description:"
echo
""
printout
=
1
else
if
[
$printout
-eq
1
]
;
then
echo
$line
fi
fi
done
}
<
$datfile
echo
"</topic>"
}
>
$pwr_eexe
/wtt_version_help.dat
# Convert to html
co_convert
-t
-d
$pwr_doc
$pwr_eexe
/wtt_version_help.dat
{
echo
"<html><head>"
echo
"<meta http-equiv=
\"
Refresh
\"
content=
\"
5;../wtt_version_help_version.html
\"
>"
echo
"</head></html>"
}
>
$pwr_doc
/en_us/package_version.html
if
[
"
$1
"
==
"-v"
]
;
then
exit
fi
echo
"-- Building pwr
$ver
"
packagename
=
pwr
$ver
-
$version
pkgroot
=
$pwre_broot
/
$pwre_target
/bld/pkg/
$packagename
pkg_proot
=
$pwre_broot
/
$pwre_target
/bld/pkg/
$packagename
/share/pwr
$ver
# Create directories
echo
"echo pwr
$ver
dummy"
>
$pkgroot
/bin/pwr
$ver
chmod
a+x
$pkgroot
/bin/pwr
$ver
mkdir
-p
$pkgroot
/share/pwr
$ver
mkdir
-p
$pkg_proot
/usr/pwrp
mkdir
-p
$pkg_proot
/etc
mkdir
-p
$pkg_proot
/bin
echo
"Start pwr
$ver
with command pwra"
>
$pkg_proot
/share/pwr
$ver
/README
cp
$pkgsrc
/postinst
$pkg_proot
/install.site
find
$pkg_proot
-type
d | xargs
chmod
755
# copyright
cp
$pkgsrc
/copyright
$pkg_proot
/usr/share/doc/pwr
$ver
# Man pages
mkdir
-p
$pkg_proot
/usr/share/man/man1
cp
$pkgsrc
/pwr.1
$pkg_proot
/usr/share/man/man1/pwr.1
gzip
-fq
--best
$pkg_proot
/usr/share/man/man1/pwr.1
# Copy proview
mkdir
$pkg_proot
/usr/pwr
$ver
currentdir
=
"
`
eval pwd
`
"
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
cd
$pwre_broot
echo
"-- copy release to package tree"
tar
-cf
$tarfile
$pwre_target
/exp
cd
$pkg_proot
/usr/pwr
$ver
tar
-xf
$tarfile
rm
$tarfile
cd
$currentdir
# Remove not needed libraries
rm
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/lib/libpwr_flow.a
rm
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/lib/libpwr_ge.a
rm
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/lib/libpwr_glow.a
rm
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/lib/libpwr_tlog.a
rm
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/lib/libpwr_wb.a
rm
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/lib/libpwr_xtt.a
# Copy configuration files to cnf
cp
$pkgsrc
/proview.cnf
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf
cp
$pkgsrc
/pwrp_profile
$pkg_proot
/etc
chmod
a+x
$pkg_proot
/etc/pwrp_profile
# Copy adm files to cnf
cp
$pwre_sroot
/tools/pkg/deb/adm/pwr_setup.sh
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf
echo
"pwrp set base V
${
ver
:0:1
}
.
${
ver
:1:1
}
"
>>
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwr_setup.sh
chmod
a+x
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwr_setup.sh
cp
$pwre_sroot
/tools/pkg/deb/adm/pwra_env.sh
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf
chmod
a+x
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwra_env.sh
cp
$pwre_sroot
/tools/pkg/deb/adm/pwr_volumelist.dat
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf
cp
$pwre_sroot
/tools/pkg/deb/adm/pwr_user2.dat
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf
cp
$pwre_sroot
/tools/pkg/deb/adm/proview_icon.png
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf
# Copy user to cnf
mkdir
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
cp
$pwre_sroot
/tools/pkg/deb/user/.bashrc
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
echo
"source
$aroot
/db/pwr_setup.sh"
>>
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/.bashrc
cp
$pwre_sroot
/tools/pkg/deb/user/.bash_profile
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
#cp $pwre_sroot/tools/pkg/deb/user/.mwmrc $pkg_proot/usr/pwr$ver/$pwre_target/exp/cnf/user
cp
$pwre_sroot
/tools/pkg/deb/user/.rtt_start
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
cp
$pwre_sroot
/tools/pkg/deb/user/.xtt_start
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
#cp $pwre_sroot/tools/pkg/deb/user/.xsession $pkg_proot/usr/pwr$ver/$pwre_target/exp/cnf/user
cp
$pwre_sroot
/tools/pkg/deb/user/wtt_init.pwr_com
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
cp
$pwre_sroot
/tools/pkg/deb/user/wtt_init1.pwr_com
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user
# Generate desktop file
{
echo
"[Desktop Entry]"
echo
"Version=1.0"
echo
"Encoding=UTF-8"
echo
"Name=Proview V
${
version
:0:3
}
"
echo
"Type=Application"
echo
"Comment=Start Proview"
echo
"Exec=xterm -title
\"
Proview Development Console
\"
-e 'export pwra_db=
$aroot
/db;source
\$
pwra_db/pwra_env.sh set base V""
${
version
:0:3
}
"";source
\$
pwra_db/pwra_env.sh set bus;wb -p pwrp pwrp'"
echo
"Icon=
$aroot
/db/proview_icon.png"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkg_proot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
# Create package
echo
"-- Building package"
cd
$pwre_broot
/
$pwre_target
/bld/pkg
tar
-czf
/usr/ports/distfiles/
$packagename
.tar.gz
$packagename
mkdir
-p
/usr/ports/mystuff/misc/pwr
$ver
cd
/usr/ports/mystuff/misc/pwr
$ver
cp
$pkgsrc
/Makefile
.
make makesum
mkdir
pkg
echo
"Proview development and runtime package"
>
pkg/DESCR
if
[
-e
/usr/obj/ports/
$pkgname
]
;
then
rm
-r
/usr/obj/ports/
$pkgname
fi
make fake
make plist
make package
#rm -r $pgkroot
src/tools/pkg/openbsd/pwr/changelog
0 → 100644
View file @
d6c60589
Proview V3.4b (3.4.1-1)
\ No newline at end of file
src/tools/pkg/openbsd/pwr/control
0 → 100644
View file @
d6c60589
Package: pwr48
Version: 4.8.3
Section: base
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.11.2-7), libgtk2.0-0 (>= 2.20.1-2), libasound2 (>= 1.0.23-2.1), libdb4.8 (>=4.8.30-2), libdb4.8++ (>= 4.8.30-2), libmysql++3 (>= 3.0.9-1+b1), g++ (>= 4:4.4.5-1)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47
Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package
Proview development and runtime environment
4.8.0-1 Base release
4.8.1-1
- I/O support for Arduino USB board.
- Remote support for Websphere Message Queue.
- Operator event logging and replay.
- Chinese translation in operator environment.
4.8.1-2
- Profinet configurator, ordernumber showed in module enum list.
- Curve window, second mark and export dialog added.
- Profibus/Profinet configurator, default module class setting added, and Appl button added.
- Configurator fix, Delete, Create and Move object menu items were not insensive in view mode.
- Plc link, problem with uppercase nodename for opt-file fixed.
- Xtt, problems with OpPlace and XttGraph objects in SharedVolume fixed.
- Plc compile, problem with compile of component subwindows fixed.
- Wb object editor, Ctrl DoubleClick MB1 didn't work on attribute references.
- Flow alloc color problem fixed.
- wb locale fix for ubuntu.
4.8.2-1
- Support for Hilscher cifX boards.
- Support for Hilscher cifX Profinet Controller.
- UDP communication configured with IO objects.
- Support for USB joystick.
4.8.3-1
- Support for OpenBSD.
src/tools/pkg/openbsd/pwr/copyright
0 → 100644
View file @
d6c60589
Proview
Copyright: SSAB Oxelsund AB <ssabox.com>
2003-11-21
The home page of Proview is at:
http://www.proview.se
src/tools/pkg/openbsd/pwr/postinst
0 → 100755
View file @
d6c60589
#!/bin/sh
set
-e
# ver=""
# pwre_target=""
echo
"Here in postinst..."
# Automatically added by dh_installdocs
if
[
"
$1
"
=
"configure"
]
;
then
if
[
-d
/usr/doc
-a
!
-e
/usr/doc/pwrtest
-a
-d
/usr/share/doc/pwrtest
]
;
then
ln
-sf
../share/doc/pwrtest /usr/doc/pwrtest
fi
fi
# End automatically added section
aroot
=
"/usr/pwrp/adm"
if
getent group pwrp
>
/dev/null
;
then
echo
"-- group pwrp already exist"
else
if
groupadd pwrp
;
then
echo
"-- group pwrp added"
fi
fi
if
getent passwd pwrp
>
/dev/null
;
then
echo
"-- user pwrp already exist"
else
new_user
=
1
if
useradd
-s
/bin/bash
-p
aaupl/kQs1p3U
-g
pwrp
-d
/home/pwrp pwrp
;
then
echo
"-- user pwrp added"
fi
if
[
!
-e
/home/pwrp
]
;
then
mkdir
/home/pwrp
fi
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/.bashrc /home/pwrp
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/.bash_profile /home/pwrp
# cp /usr/pwr$ver/$pwre_target/exp/cnf/user/.mwmrc /home/pwrp
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/.rtt_start /home/pwrp
chmod
a+x /home/pwrp/.rtt_start
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/.xtt_start /home/pwrp
chmod
a+x /home/pwrp/.xtt_start
# cp /usr/pwr$ver/$pwre_target/exp/cnf/user/.xsession /home/pwrp
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/wtt_init.pwr_com /home/pwrp
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/wtt_init1.pwr_com /home/pwrp
chown
-R
pwrp /home/pwrp
chgrp
-R
pwrp /home/pwrp
fi
if
[
!
-e
/home/pwrp/Desktop
]
;
then
mkdir
/home/pwrp/Desktop
fi
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop /home/pwrp/Desktop
chown
pwrp:pwrp /home/pwrp/Desktop/proview
$ver
.desktop
chmod
a+x /home/pwrp/Desktop/proview
$ver
.desktop
echo
"Change owner of files to pwrp"
chown
-R
pwrp /usr/pwr
$ver
chgrp
-R
pwrp /usr/pwr
$ver
chmod
u+s /usr/pwr
$ver
/
$pwre_target
/exp/exe/rt_ini
chmod
u+s /usr/pwr
$ver
/
$pwre_target
/exp/exe/rt_rtt
chmod
u+s /usr/pwr
$ver
/
$pwre_target
/exp/exe/rt_xtt
chmod
u+s /usr/pwr
$ver
/
$pwre_target
/exp/exe/rt_bck
# Copy configuration files
new_cnf
=
0
if
[
!
-e
/etc/proview.cnf
]
;
then
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/proview.cnf /etc
new_cnf
=
1
fi
# Add pwrp_profile to profile
if
!
grep
-q
"/etc/pwrp_profile
\b
"
/etc/profile
;
then
cat
>>
/etc/profile
<<-
EOF
if [ -e /etc/pwrp_profile ]; then
source /etc/pwrp_profile
fi
EOF
fi
# Create and copy adm
if
[
!
-e
$aroot
/db
]
;
then
mkdir
-p
$aroot
/db
fi
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwra_env.sh
$aroot
/db
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwr_setup.sh
$aroot
/db
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/proview_icon.png
$aroot
/db
if
[
!
-e
$aroot
/db/pwr_volumelist.dat
]
;
then
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwr_volumelist.dat
$aroot
/db
fi
if
[
!
-e
$aroot
/db/pwr_user2.dat
]
;
then
cp
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/pwr_user2.dat
$aroot
/db
fi
# Insert base in projectlist
if
[
!
-e
$aroot
/db/pwr_projectlist.dat
]
;
then
echo
"%base V
${
ver
:0:1
}
.
${
ver
:1:1
}
/usr/pwr
$ver
"
>
$aroot
/db/pwr_projectlist.dat
else
set
+e
ptst
=
`
eval grep
"^%base"
$aroot
/db/pwr_projectlist.dat |
grep
"
\b
V
${
ver
:0:1
}
.
${
ver
:1:1
}
\b
"
`
set
-e
if
[
"
$ptst
"
=
""
]
;
then
echo
"%base V
${
ver
:0:1
}
.
${
ver
:1:1
}
/usr/pwr
$ver
"
>>
$aroot
/db/pwr_projectlist.dat
fi
fi
# Change group to pwrp
chgrp
pwrp
$aroot
chmod
g+w
$aroot
chgrp
-R
pwrp
$aroot
/
*
chmod
-R
g+w
$aroot
/
*
chmod
a+w /usr/pwr
$ver
/
$pwre_target
/exp/load/
*
.dbs
# Create project root
if
[
!
-e
/usr/local/pwrp
]
;
then
mkdir
/usr/local/pwrp
chgrp
pwrp /usr/local/pwrp
chmod
g+w /usr/local/pwrp
fi
src/tools/pkg/openbsd/pwr/prerm
0 → 100755
View file @
d6c60589
#!/bin/sh
set
-e
echo
"Here in prerm..."
# Automatically added by dh_installdocs
if
[
\(
"
$1
"
=
"upgrade"
-o
"
$1
"
=
"remove"
\)
-a
-L
/usr/doc/pwrtest
]
;
then
rm
-f
/usr/doc/pwrtest
fi
# End automatically added section
src/tools/pkg/openbsd/pwr/proview.cnf
0 → 100644
View file @
d6c60589
#
# Configuration file for Proview
#
# Default QCOM Bus Id
#
qcomBusId 999
#
# Web directory
#
webDirectory /var/www
#
# Default privileges for SevXtt: Read, Admin or None
#
sevXttDefaultPriv Read
src/tools/pkg/openbsd/pwr/pwr.1
0 → 100644
View file @
d6c60589
PWR(1) Proview Manuals PWR(1)
NAME
pwr - start and stop Proview runtime environment
SYNOPSIS
pwr [start][stop]
DESCRIPTION
Start and stop command for Proview runtime environment.
OPTIONS
start Start Proview runtime environment.
stop Stop Proview runtime environment.
FILES
/etc/pwrp_profile
The system wide configuration file..
AUTHOR
Written by CS.
SEE ALSO
pwr(5)
Proview Last change: Nov 2003
src/tools/pkg/openbsd/pwr/pwrp_profile
0 → 100644
View file @
d6c60589
bus_id=""
if [ -e /etc/proview.cnf ]; then
bus_id=`eval cat /etc/proview.cnf | grep "[[:<:]]qcomBusId[[:>:]]" | awk '{print $2}'`
fi
if [ -e /etc/proview.cnf ]; then
web_dir=`eval cat /etc/proview.cnf | grep "[[:<:]]bwebDirectory[[:>:]]" | awk '{print $2}'`
fi
export PWR_BUS_ID=$bus_id
export pwrb_root=/usr/pwrrt
export pwrp_root=/pwrp
export pwr_exe=$pwrb_root/exe
export pwr_lib=$pwrb_root/lib
export pwr_obj=$pwrb_root/obj
export pwr_inc=$pwrb_root/inc
export pwr_load=$pwrb_root/load
export pwr_lis=$pwrb_root/lis
export pwr_doc=$pwrb_root/doc
export pwrp_exe=$pwrp_root/x86_linux/exe
export pwrp_lib=$pwrp_root/x86_linux/lib
export pwrp_obj=$pwrp_root/x86_linux/obj
export pwrp_lis=$pwrp_root/x86_linux/lis
export pwrp_inc=$pwrp_root/common/inc
export pwrp_load=$pwrp_root/common/load
export pwrp_log=$pwrp_root/common/log
export pwrp_db=$pwrp_root/common/db
export pwrp_web=$web_dir
export pwra_db=/usr/pwrp/adm/db
jdk=`eval ls -t /usr/local | grep ^jdk`
if [ "$jdk" == "" ]; then
jdk=`eval ls -t /usr/local | grep ^jre`
fi
export jdk=/usr/local/$jdk
export jdk_home=$jdk/bin
PATH=$PATH:$pwr_exe:$pwrp_exe:$jdk_home
#Set display to remote computer
export DISPLAY=$REMOTEHOST:0.0
#symbols to define start/stop commands for PWR
alias pwr_stop='/etc/init.d/pwr stop'
alias pwr_stop.sh="/etc/init.d/pwr stop"
alias pwr_start="/etc/init.d/pwr start"
alias pwr="/etc/init.d/pwr"
alias boot="/usr/bin/sudo /sbin/reboot"
if [ -e $pwrp_exe/profile ]; then
source $pwrp_exe/profile
fi
src/tools/pkg/openbsd/src/os_templ/hw_templ/makefile
0 → 100644
View file @
d6c60589
include
$(pwre_dir_symbols)
ifndef
variables_mk
-include
$(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef
variables_mk
include
$(pwre_sroot)/tools/bld/src/$(os_name)/variables.mk
endif
ifndef
rules_mk
-include
$(pwre_sroot)/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef
rules_mk
include
$(pwre_sroot)/tools/bld/src/$(os_name)/rules.mk
endif
.SUFFIXES
:
.PHONY
:
all init copy lib exe clean realclean
\
$(clean_ge)
all
:
init copy lib exe
init
:
dirs
copy
:
lib
:
exe
:
$(bld_dir)/control_pwrrt $(bld_dir)/control_pwr $(bld_dir)/control_pwrdemo $(bld_dir)/control_pwrsev
clean
:
realclean
:
dirs
:
$(bld_dir)$(dir_ext)
$(bld_dir)$(dir_ext)
:
@
$(mkdir)
-p
$(mkdirflags)
$(
basename
$@
)
$(bld_dir)/control_pwrrt
:
../../../pwrrt/control
@
echo
"build
$(target)
"
@
../../../pwrrt/build.sh
@
cp
$(source)
$(target)
$(bld_dir)/control_pwr
:
../../../pwr/control
@
echo
"build
$(target)
"
@
../../../pwr/build.sh
@
cp
$(source)
$(target)
$(bld_dir)/control_pwrdemo
:
../../../pwrdemo/control
@
echo
"build
$(target)
"
@
../../../pwrdemo/build.sh
@
cp
$(source)
$(target)
$(bld_dir)/control_pwrsev
:
../../../pwrsev/control
@
echo
"build
$(target)
"
@
../../../pwrsev/build.sh
@
cp
$(source)
$(target)
src/tools/pkg/openbsd/src/pwr
0 → 100644
View file @
d6c60589
#!/bin/bash
#
# Startscript fr PWR av Ulf Ljungdahl
#
#test -x /sbin/ipchains || exit 0
#test -x /sbin/ipchains-restore || exit 0
#test -x /sbin/ipchains-save || exit 0
PATH
=
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
.
/etc/pwrp_profile
save
()
{
echo
-n
"Saving IP chains: "
TEMPFILE
=
"
`
tempfile
`
"
echo
"
${
SAVEFILEHEADER
}
"
>
"
${
TEMPFILE
}
"
&&
/sbin/ipchains-save
>>
"
${
TEMPFILE
}
"
2>/dev/null
cat
"
${
TEMPFILE
}
"
>
/etc/ipchains.save
rm
"
${
TEMPFILE
}
"
}
pwr_start
()
{
$pwr_exe
/rt_ini &
sleep
5
/usr/sbin/setrtprio
`
ps ax |
grep
"plc"
|
grep
-v
"grep"
|
awk
'{ print $1}'
`
}
pwr_stop
()
{
kill
-9
`
ps ax |
grep
"rt_neth_acp"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rt_neth"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rt_qmon"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rt_emon"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rt_tmon"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rt_
\|
/pwr/exe/rs"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"
\[
rt_"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"plc_"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"jpwr.rt"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rs_nmps"
|
awk
'{ print $1}'
`
kill
-9
`
ps ax |
grep
"rs_remote"
|
awk
'{ print $1}'
`
if
[
-u
$pwr_exe
/rt_ini
]
;
then
user
=
`
ls
-al
$pwr_exe
/rt_ini |
awk
'{ print $3}'
`
else
user
=
$USER
fi
echo
"User
$user
"
eval
`
ipcs
-s
|grep ^0x|grep
"[
\t
]
$user
[
\t
]"
|awk
'{printf "ipcrm sem %s;", $2
}'
`
# remove message queues
eval
`
ipcs
-q
|grep ^0x|grep
"[
\t
]
$user
[
\t
]"
|awk
'{printf "ipcrm msg %s;", $2
}'
`
# remove shared memory
eval
`
ipcs
-m
|grep ^0x|grep
"[
\t
]
$user
[
\t
]"
|awk
'{printf "ipcrm shm %s;", $2
}'
`
if
[
-e
$pwrp_exe
/pwrp_stop.sh
]
;
then
source
$pwrp_exe
/pwrp_stop.sh
fi
rm
/tmp/pwr
*
$PWR_BUS_ID
#rm -f /tmp/pwr*
#id=`ipcs -s | grep $user | awk '{print $2}'`
#id1=`echo $id | awk '{print $1}'`
#id2=`echo $id | awk '{print $2}'`
#id3=`echo $id | awk '{print $3}'`
#ipcrm sem $id1
#ipcrm sem $id2
#ipcrm sem $id3
#id=`ipcs -q | grep $user | awk '{print $2}'`
#id1=`echo $id | awk '{print $1}'`
#id2=`echo $id | awk '{print $2}'`
#id3=`echo $id | awk '{print $3}'`
#ipcrm msg $id1
#ipcrm msg $id2
#ipcrm msg $id3
}
case
"
$1
"
in
start
)
echo
"Startar PWR..."
#if [ 'test -x ps aux | grep plc | grep -v grep' ]
# then
# echo "PWR kr, stoppar det frst.."
# pwr_stop
# fi
pwr_start
echo
"Klar."
;;
stop
)
echo
"Stoppar PWR..."
pwr_stop
# if [ "${SAVEONCE}" != "yes" ]
# then
# save
# echo -n "ipchains-save"
# else
# echo -n "Clearing IP chains:"
# fi
echo
"Klar"
;;
restart
)
echo
"Startar om PWR."
echo
"Stoppar det frst."
pwr_stop
sleep
1
echo
"Startar igen."
pwr_start
echo
"Klar."
;;
*
)
echo
"Usage:{start|stop|restart}"
>
&2
#echo "Ingen parameter angiven, startar PWR"
#$0 start
exit
1
;;
esac
exit
0
src/tools/pwre/src/os_cygwin/pwre_configure.sh
View file @
d6c60589
...
...
@@ -376,7 +376,7 @@ else
pwre_config_check_lib libX11 LIBX11 lib lib 0
"/usr/lib/libX11.a"
pwre_config_check_include antlr ANTLR 1
"/usr/local/include/antlr/CommonAST.hpp"
pwre_config_check_include gtk GTK 1
"/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk
/gtk.h
"
pwre_config_check_include gtk GTK 1
"/usr/local/include/gtk-2.0/gtk.h:/usr/local/include/gtk-2.0/gtk/gtk.h:/usr/include/gtk-2.0/gtk"
pwre_config_check_include jni JNI 1
"
$jdk
/include/jni.h"
pwre_config_check_include jni JNI 0
"
$jdk
/include/win32/jni_md.h"
pwre_config_check_include alsa ALSA 1
"/usr/include/alsa/asoundlib.h"
...
...
src/tools/pwre/src/os_openbsd/pwre_function
View file @
d6c60589
...
...
@@ -176,13 +176,13 @@ pwre_get_variables()
{
local socket
socket=`eval cat /etc/proview.cnf | grep "
\bmysql_socket\b
" | awk '{print $2}'`
socket=`eval cat /etc/proview.cnf | grep "
[[:<:]]mysql_socket[[:>:]]
" | awk '{print $2}'`
if [ ! -z $socket ]; then
mysql_socket="--socket $socket"
fi
if [ -n $pwre_kroot ]; then
pwr_dbversion=`eval cat $pwre_kroot/exp/inc/src/pwr_version.h | grep "
\bpwrv_cWbdbVersionShortStr\b
" | awk '{print $3}'`
pwr_dbversion=`eval cat $pwre_kroot/exp/inc/src/pwr_version.h | grep "
[[:<:]]pwrv_cWbdbVersionShortStr[[:>:]]
" | awk '{print $3}'`
if [ -z $pwr_dbversion ]; then
echo "Unable to get pwr db version"
...
...
wb/exp/com/src/os_cygwin/wb_gcg.sh
View file @
d6c60589
...
...
@@ -194,7 +194,7 @@ CompileRtNode()
$Libs
\
$ld_opt
\
$pwr_obj
/pwr_msg_rt.o
$pwr_obj
/pwr_msg_co.o
\
-lrt
-lpwr_remote
-lpwr_nmps
-lpwr_rt
-lpwr_co
-l
rpcsvc
-lpwr_msg_dummy
-lpthread
-lm
-lrt
-lpwr_remote
-lpwr_nmps
-lpwr_rt
-lpwr_co
-l
pwr_msg_dummy
-ltirpc
-lpthread
-lm
then
echo
"-- Plc program linked for
$OsStr
$say_linkdebug
$OutFile
"
gcg_status
=
$gcg__success
...
...
wb/lib/wb/src/wb_lfu.cpp
View file @
d6c60589
...
...
@@ -1304,7 +1304,8 @@ pwr_tStatus lfu_SaveDirectoryVolume(
os
==
pwr_mOpSys_X86_64_LINUX
||
os
==
pwr_mOpSys_X86_64_MACOS
||
os
==
pwr_mOpSys_X86_64_FREEBSD
||
os
==
pwr_mOpSys_X86_64_OPENBSD
))
{
os
==
pwr_mOpSys_X86_64_OPENBSD
||
os
==
pwr_mOpSys_X86_CYGWIN
))
{
char
msg
[
200
];
sprintf
(
msg
,
"Error in NodeConfig object '%s', OperatingSystem is not valid"
,
nodeconfig_name
);
MsgWindow
::
message
(
'E'
,
msg
,
msgw_ePop_Default
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment