Fix 134096

This commit is contained in:
Jim Norman 2005-11-30 00:05:36 +00:00
parent d9a73ce8a8
commit caa494c6b9
23 changed files with 836 additions and 831 deletions

View File

@ -1,78 +1,83 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 24 14:09:19 MST 2005 - jnorman@novell.com Tue Nov 29 17:01:09 MST 2005 - jnorman@novell.com
- Bug fixes: 135387, 135393 - Bug: 134096 Fix CASA gui for 64 bit
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 24 14:09:19 MST 2005 - jnorman@novell.com
Wed Nov 23 07:18:23 MST 2005 - cmashayekhi@novell.com
- Bug fixes: 135387, 135393
- c_gui/CASAManager.sh was fixed to support lib64 directory.
- c_micasad/startup/micasad.sh was fixed to support lib64. -------------------------------------------------------------------
------------------------------------------------------------------- Wed Nov 23 07:18:23 MST 2005 - cmashayekhi@novell.com
Wed Nov 23 16:09:19 MST 2005 - jnorman@novell.com
- c_gui/CASAManager.sh was fixed to support lib64 directory.
- changed PAM Capture to find libmicasa in path - c_micasad/startup/micasad.sh was fixed to support lib64.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 18 14:09:19 MST 2005 - jnorman@novell.com Wed Nov 23 16:09:19 MST 2005 - jnorman@novell.com
- Change GUI dependency from gtk2-devel to gtk2. - changed PAM Capture to find libmicasa in path
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 16 13:42:19 MST 2005 - jnorman@novell.com Wed Nov 18 14:09:19 MST 2005 - jnorman@novell.com
- Bug 133479. Clear Native information when destroying secrets or refreshing - Change GUI dependency from gtk2-devel to gtk2.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 15 14:54:19 MST 2005 - jnorman@novell.com Wed Nov 16 13:42:19 MST 2005 - jnorman@novell.com
- Added gtk2-devel dependency to CASA-gui rpm - Bug 133479. Clear Native information when destroying secrets or refreshing
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 14 15:56:59 MST 2005 - cmashayekhi@novell.com Tue Nov 15 14:54:19 MST 2005 - jnorman@novell.com
- Bug 133705 having to do with licenses in the source files - Added gtk2-devel dependency to CASA-gui rpm
was fixed.
- CASA.spec was modified to accomodate for auto build scripts. -------------------------------------------------------------------
------------------------------------------------------------------- Mon Nov 14 15:56:59 MST 2005 - cmashayekhi@novell.com
Fri Nov 11 08:26:50 MST 2005 - jnorman@novell.com
- Bug 133705 having to do with licenses in the source files
- Added help files, and code to launch help files to GUI was fixed.
- CASA.spec was modified to accomodate for auto build scripts.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 10 12:32:38 MST 2005 - jnorman@novell.com Fri Nov 11 08:26:50 MST 2005 - jnorman@novell.com
- Replaced changes.log with CASA.changes in the src tree to be - Added help files, and code to launch help files to GUI
consistent with autobuild
-------------------------------------------------------------------
------------------------------------------------------------------- Thu Nov 10 12:32:38 MST 2005 - jnorman@novell.com
Mon Nov 7 16:44:00 MST 2005 - cameron@novell.com
- Replaced changes.log with CASA.changes in the src tree to be
- CASA.spec and versioning number was modified to support build consistent with autobuild
number as a part of the rpm version.
- lib*.so versioning was changed to support linux format versioning -------------------------------------------------------------------
numbers. CASA libs are at 1.1.1 now. Mon Nov 7 16:44:00 MST 2005 - cameron@novell.com
- Build scripts were modified to support $RPM_OPT_FLAGS.
- Added persistence without desktop credentials. - CASA.spec and versioning number was modified to support build
- Bug 130336 -- resevered escaped chars was fixed. number as a part of the rpm version.
- Bug 130518 -- invalid param exception handling was - lib*.so versioning was changed to support linux format versioning
fixed. numbers. CASA libs are at 1.1.1 now.
- Support for extended ascii and double byte chars in - Build scripts were modified to support $RPM_OPT_FLAGS.
GUI was added. - Added persistence without desktop credentials.
- Finalized GUI cosmetic changes. - Bug 130336 -- resevered escaped chars was fixed.
- Bug 130518 -- invalid param exception handling was
---------------------------------------------------------------- fixed.
Thu Oct 27 11:40:20 MDT 2005 - cmashayekhi@novell.com - Support for extended ascii and double byte chars in
-The image version to 1.5.0 GUI was added.
Files: - Finalized GUI cosmetic changes.
- Work area was cleaned up for the final build.
- CASA.spec was modified to requirement. ----------------------------------------------------------------
- Minor bug fixes were applied. Thu Oct 27 11:40:20 MDT 2005 - cmashayekhi@novell.com
---------------------------------------------------------------- -The image version to 1.5.0
Thu Oct 19 14:46:33 MDT 2005 - cmashayekhi@novell.com Files:
-The image version to 1.5.0 - Work area was cleaned up for the final build.
Files: - CASA.spec was modified to requirement.
- Moving from version 1.0.0 to 1.5.0 as per PRD. - Minor bug fixes were applied.
---------------------------------------------------------------- ----------------------------------------------------------------
Thu Oct 19 14:46:33 MDT 2005 - cmashayekhi@novell.com
-The image version to 1.5.0
Files:
- Moving from version 1.0.0 to 1.5.0 as per PRD.
----------------------------------------------------------------

View File

@ -768,7 +768,7 @@ miCASAOpenSecretStoreCache
if((ssid->ssName) && (sscs_Utf8StrSize(ssid->ssName)) == 0) if((ssid->ssName) && (sscs_Utf8StrSize(ssid->ssName)) == 0)
{ {
// set to default // set to default
sscs_Utf8Strcpy(ssid->ssName, SSCS_DEFAULT_SECRETSTORE_ID); // sscs_Utf8Strcpy(ssid->ssName, SSCS_DEFAULT_SECRETSTORE_ID);
} }
ssid->version = NSSCS_VERSION_NUMBER; ssid->version = NSSCS_VERSION_NUMBER;

View File

@ -214,8 +214,8 @@ static SS_UTF8_T BINARY_DELIMITER[] = {"="};
typedef struct _sscs_password typedef struct _sscs_password
{ {
unsigned long pwordType; uint32_t pwordType;
unsigned long pwordLen; // enhanced protection len & pword to set uint32_t pwordLen; // enhanced protection len & pword to set
SS_UTF8_T pword[NSSCS_MAX_PWORD_LEN]; // * should be passed in # of chars SS_UTF8_T pword[NSSCS_MAX_PWORD_LEN]; // * should be passed in # of chars
} SSCS_PASSWORD_T; } SSCS_PASSWORD_T;

View File

@ -1,49 +1,49 @@
Make direcotry for Windows client and server. Make direcotry for Windows client and server.
Make script names take the form of: Make script names take the form of:
mk-xxx-yz mk-xxx-yz
xxx = package name sdk, sss xxx = package name sdk, sss
y = debug(platform dep.) d = (mdd or d2) default debug y = debug(platform dep.) d = (mdd or d2) default debug
o = optimized default optimized o = optimized default optimized
h = (hc, codeview) netware only h = (hc, codeview) netware only
z = platform n = netware z = platform n = netware
w = win32 w = win32
Make script command line options: Make script command line options:
clean = removes all of the object files clean = removes all of the object files
all = builds all that is needed all = builds all that is needed
install = copies final binaries to product dir install = copies final binaries to product dir
checkout = checks binaries out of Contiuous for install option checkout = checks binaries out of Contiuous for install option
checkin = checks final binaries back into Continuous checkin = checks final binaries back into Continuous
Shorthand scripts for making all platforms: Shorthand scripts for making all platforms:
mk-xxx-all mk-xxx-all
xxx = command line options c = clean xxx = command line options c = clean
a = all a = all
i = install i = install
Shorthand scripts for making platform specific build: Shorthand scripts for making platform specific build:
mk-xxx-yyy mk-xxx-yyy
xxx = platform xxx = platform
c32 = Win32 client c32 = Win32 client
nss = NetWare server nss = NetWare server
wss = Win32 server wss = Win32 server
yyy = command line options yyy = command line options
cal = clean all cal = clean all
all = all all = all
Make scripts for making Beta servers: Make scripts for making Beta servers:
mk-beta-ox mk-beta-ox
x = platform x = platform
n = NetWare n = NetWare
w = Win32 w = Win32
Shorthand scripts for making Beta servers for all platforms: Shorthand scripts for making Beta servers for all platforms:
mk-beta-xxx mk-beta-xxx
xxx = command line option xxx = command line option
cal = clean all cal = clean all
all = all all = all

View File

@ -1,23 +1,23 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
cd $PR/c_test/unx_cachetst cd $PR/c_test/unx_cachetst
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=dbg XTRA_CFLAGS="-DDEBUG -DDEBUG_SSS -g" $2 $3 $4 $5 $6) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=dbg XTRA_CFLAGS="-DDEBUG -DDEBUG_SSS -g" $2 $3 $4 $5 $6)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,22 +1,22 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
cd $PR/c_test/unx_cachetst cd $PR/c_test/unx_cachetst
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=ndbg $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=ndbg $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,131 +1,131 @@
#!/bin/bash #!/bin/bash
set -x set -x
cd ../.. cd ../..
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
export PROD_NUM=$MAJ_SSS_NO export PROD_NUM=$MAJ_SSS_NO
cd $PR/lib/lux/ cd $PR/lib/lux/
BR=`pwd` BR=`pwd`
mkdir -p $BR/pkg mkdir -p $BR/pkg
mkdir -p $BR/pkg/BUILD/ mkdir -p $BR/pkg/BUILD/
mkdir -p $BR/pkg/RPMS/ mkdir -p $BR/pkg/RPMS/
mkdir -p $BR/pkg/RPMS/i386/ mkdir -p $BR/pkg/RPMS/i386/
mkdir -p $BR/pkg/casa_devel_area/ mkdir -p $BR/pkg/casa_devel_area/
# save the original .rpmmacros # save the original .rpmmacros
if [ -f ~/.rpmmacros ] if [ -f ~/.rpmmacros ]
then then
mv ~/.rpmmacros ~/.rpmmacros.orig mv ~/.rpmmacros ~/.rpmmacros.orig
fi fi
# append these to the .rpmmacros # append these to the .rpmmacros
echo "%_topdir $BR/pkg/" >> ~/.rpmmacros echo "%_topdir $BR/pkg/" >> ~/.rpmmacros
echo "%version $BLD_NO" >> ~/.rpmmacros echo "%version $BLD_NO" >> ~/.rpmmacros
echo "%release $MAJ_SSS_NO" >> ~/.rpmmacros echo "%release $MAJ_SSS_NO" >> ~/.rpmmacros
cp -f $PR/include/micasa.h $BR/pkg/BUILD cp -f $PR/include/micasa.h $BR/pkg/BUILD
cp -f $PR/include/micasa_mgmd.h $BR/pkg/BUILD cp -f $PR/include/micasa_mgmd.h $BR/pkg/BUILD
# create the direcories and set the rights on them # create the direcories and set the rights on them
cd $BR/pkg/casa_devel_area cd $BR/pkg/casa_devel_area
install -m 755 -d opt/novell/CASA_devel install -m 755 -d opt/novell/CASA_devel
install -m 755 -d opt/novell/CASA_devel/include install -m 755 -d opt/novell/CASA_devel/include
install -m 755 -d opt/novell/CASA_devel/doc install -m 755 -d opt/novell/CASA_devel/doc
install -m 755 -d opt/novell/CASA_devel/sample install -m 755 -d opt/novell/CASA_devel/sample
install -m 755 -d opt/novell/CASA_devel/sample_bin install -m 755 -d opt/novell/CASA_devel/sample_bin
# copy the files to the restpected directories and set the rights on them # copy the files to the restpected directories and set the rights on them
cd $BR/pkg/BUILD cd $BR/pkg/BUILD
install -m 755 micasa.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa.h install -m 755 micasa.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa.h
#install -m 755 micasa_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd_idk.h #install -m 755 micasa_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd_idk.h
install -m 755 micasa_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd.h install -m 755 micasa_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd.h
# -bb and --buildroot are rpmbuild (rpmb) options that should be included # -bb and --buildroot are rpmbuild (rpmb) options that should be included
# in /etc/popt, for rpm to work check "man rpm" and "man rpmbuild" search for -bb for # in /etc/popt, for rpm to work check "man rpm" and "man rpmbuild" search for -bb for
# instructions. --buildroot should be added separately. # instructions. --buildroot should be added separately.
#Create the rpm spec file on the fly #Create the rpm spec file on the fly
cat << E/O/F > $BR/pkg/novell-CASA-devel.spec cat << E/O/F > $BR/pkg/novell-CASA-devel.spec
Summary : Novell Client Authentication Service Adapter (CASA) Summary : Novell Client Authentication Service Adapter (CASA)
Name : novell-CASA-devel Name : novell-CASA-devel
Version : %version Version : %version
Release : %release Release : %release
Group : System/Cryptography Group : System/Cryptography
Copyright: 1998-2005 Novell, Inc. All Rights Reserved Copyright: 1998-2005 Novell, Inc. All Rights Reserved
Distribution : Novell Distribution : Novell
URL : http://www.novell.com/ URL : http://www.novell.com/
Packager : Novell Inc. Packager : Novell Inc.
AutoReqProv: no AutoReqProv: no
Vendor : Novell Inc. Vendor : Novell Inc.
BuildArchitectures: i386 x86_64 BuildArchitectures: i386 x86_64
%description %description
NOVELL Client Authentication Service Adapter Development Kit (CASA). NOVELL Client Authentication Service Adapter Development Kit (CASA).
%prep %prep
%build %build
%install %install
install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/doc install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/doc
install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/lib install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/lib
install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include
install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/sample install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/sample
install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/sample_bin install -m 755 -d $BR/pkg/casa_devel_area/opt/novell/CASA_devel/sample_bin
install -m 755 micasa.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa.h install -m 755 micasa.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa.h
install -m 755 micasa_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd.h install -m 755 micasa_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd.h
%files %files
#%attr(666,root,root)/opt/novell/CASA_devel/include/micasa_idk.h #%attr(666,root,root)/opt/novell/CASA_devel/include/micasa_idk.h
%attr(666,root,root)/opt/novell/CASA_devel/include/micasa.h %attr(666,root,root)/opt/novell/CASA_devel/include/micasa.h
%attr(666,root,root)/opt/novell/CASA_devel/include/micasa_mgmd.h %attr(666,root,root)/opt/novell/CASA_devel/include/micasa_mgmd.h
%preun %preun
rm -rf /opt/novell/CASA_devel rm -rf /opt/novell/CASA_devel
E/O/F E/O/F
(cd $BR/pkg/casa_devel_area; pwd; rpmbuild -bb --buildroot $BR/pkg/casa_devel_area ../novell-CASA-devel.spec) (cd $BR/pkg/casa_devel_area; pwd; rpmbuild -bb --buildroot $BR/pkg/casa_devel_area ../novell-CASA-devel.spec)
#restore the .rpmmacros file #restore the .rpmmacros file
if [ -f ~/.rpmmacros.orig ] if [ -f ~/.rpmmacros.orig ]
then then
mv ~/.rpmmacros.orig ~/.rpmmacros mv ~/.rpmmacros.orig ~/.rpmmacros
fi fi
if [ -r $BR/pkg/RPMS/i386/novell-CASA-*.rpm ] if [ -r $BR/pkg/RPMS/i386/novell-CASA-*.rpm ]
then then
echo Linux CASA-devel Package Done echo Linux CASA-devel Package Done
cp -f $BR/pkg/RPMS/i386/novell-CASA-*.rpm $PR/products/install/lux cp -f $BR/pkg/RPMS/i386/novell-CASA-*.rpm $PR/products/install/lux
cd $BR/pkg cd $BR/pkg
rm -rf * rm -rf *
exit 0 exit 0
fi fi
if [ -r $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm ] if [ -r $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm ]
then then
echo Linux CASA-devel Package Done echo Linux CASA-devel Package Done
cp -f $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm $PR/products/install/lux cp -f $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm $PR/products/install/lux
cd $BR/pkg cd $BR/pkg
rm -rf * rm -rf *
exit 0 exit 0
fi fi
echo Building Linux CASA-devel Package Failed echo Building Linux CASA-devel Package Failed
cd $BR/pkg cd $BR/pkg
rm -rf * rm -rf *
exit 1 exit 1

View File

@ -1,23 +1,23 @@
#!/bin/bash #!/bin/bash
set -x set -x
cd ../.. cd ../..
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
cd $PR/products/install/lux/opt/novell cd $PR/products/install/lux/opt/novell
(tar cvjf CASA-$BLD_NO.tar.bz2 *) (tar cvjf CASA-$BLD_NO.tar.bz2 *)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,32 +1,32 @@
#!/bin/bash #!/bin/bash
TOP=../.. TOP=../..
mkdir $TOP/bin> /dev/null 2>&1 mkdir $TOP/bin> /dev/null 2>&1
mkdir $TOP/bin/lux> /dev/null 2>&1 mkdir $TOP/bin/lux> /dev/null 2>&1
mkdir $TOP/bin/lux/dbg> /dev/null 2>&1 mkdir $TOP/bin/lux/dbg> /dev/null 2>&1
mkdir $TOP/bin/lux/ndbg> /dev/null 2>&1 mkdir $TOP/bin/lux/ndbg> /dev/null 2>&1
mkdir $TOP/lib> /dev/null 2>&1 mkdir $TOP/lib> /dev/null 2>&1
mkdir $TOP/lib/lux> /dev/null 2>&1 mkdir $TOP/lib/lux> /dev/null 2>&1
mkdir $TOP/lib/lux/dbg> /dev/null 2>&1 mkdir $TOP/lib/lux/dbg> /dev/null 2>&1
mkdir $TOP/lib/lux/ndbg> /dev/null 2>&1 mkdir $TOP/lib/lux/ndbg> /dev/null 2>&1
mkdir $TOP/obj> /dev/null 2>&1 mkdir $TOP/obj> /dev/null 2>&1
mkdir $TOP/obj/lux> /dev/null 2>&1 mkdir $TOP/obj/lux> /dev/null 2>&1
mkdir $TOP/obj/lux/dbg> /dev/null 2>&1 mkdir $TOP/obj/lux/dbg> /dev/null 2>&1
mkdir $TOP/obj/lux/ndbg> /dev/null 2>&1 mkdir $TOP/obj/lux/ndbg> /dev/null 2>&1
mkdir $TOP/bin64> /dev/null 2>&1 mkdir $TOP/bin64> /dev/null 2>&1
mkdir $TOP/bin64/lux> /dev/null 2>&1 mkdir $TOP/bin64/lux> /dev/null 2>&1
mkdir $TOP/bin64/lux/dbg> /dev/null 2>&1 mkdir $TOP/bin64/lux/dbg> /dev/null 2>&1
mkdir $TOP/bin64/lux/ndbg> /dev/null 2>&1 mkdir $TOP/bin64/lux/ndbg> /dev/null 2>&1
mkdir $TOP/lib64> /dev/null 2>&1 mkdir $TOP/lib64> /dev/null 2>&1
mkdir $TOP/lib64/lux> /dev/null 2>&1 mkdir $TOP/lib64/lux> /dev/null 2>&1
mkdir $TOP/lib64/lux/dbg> /dev/null 2>&1 mkdir $TOP/lib64/lux/dbg> /dev/null 2>&1
mkdir $TOP/lib64/lux/ndbg> /dev/null 2>&1 mkdir $TOP/lib64/lux/ndbg> /dev/null 2>&1
mkdir $TOP/obj64> /dev/null 2>&1 mkdir $TOP/obj64> /dev/null 2>&1
mkdir $TOP/obj64/lux> /dev/null 2>&1 mkdir $TOP/obj64/lux> /dev/null 2>&1
mkdir $TOP/obj64/lux/dbg> /dev/null 2>&1 mkdir $TOP/obj64/lux/dbg> /dev/null 2>&1
mkdir $TOP/obj64/lux/ndbg> /dev/null 2>&1 mkdir $TOP/obj64/lux/ndbg> /dev/null 2>&1

View File

@ -1,55 +1,55 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_jwrapper/src cd $PR/c_jwrapper/src
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java) ($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
fi fi
($JAVA_HOME/bin/jar cvf ../../lib$ARCH_LIB/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class) ($JAVA_HOME/bin/jar cvf ../../lib$ARCH_LIB/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
fi fi
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa) ($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
fi fi
cd ../jnsscs cd ../jnsscs
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=dbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-I\"$JAVA_HOME/include\" -I\"$JAVA_HOME/include/linux\" -DDEBUG -g -DSSCS_LINUX_PLAT_F" $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=dbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-I\"$JAVA_HOME/include\" -I\"$JAVA_HOME/include/linux\" -DDEBUG -g -DSSCS_LINUX_PLAT_F" $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,55 +1,55 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_jwrapper/src cd $PR/c_jwrapper/src
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java) ($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
fi fi
($JAVA_HOME/bin/jar cvf ../../lib$ARCH_LIB/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class) ($JAVA_HOME/bin/jar cvf ../../lib$ARCH_LIB/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
fi fi
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa) ($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
fi fi
cd ../jnsscs cd ../jnsscs
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-I\"$JAVA_HOME/include\" -I\"$JAVA_HOME/include/linux\" -DDEBUG -g -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-I\"$JAVA_HOME/include\" -I\"$JAVA_HOME/include/linux\" -DDEBUG -g -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,33 +1,33 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/login_capture/PAM cd $PR/login_capture/PAM
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux$ARCH MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=dbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -DDEBUG -g" $2 $3 $4 $5 $6) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux$ARCH MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=dbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -DDEBUG -g" $2 $3 $4 $5 $6)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,33 +1,33 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/login_capture/PAM cd $PR/login_capture/PAM
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,34 +1,34 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_micasacache cd $PR/c_micasacache
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=dbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DDEBUG -g -DSSCS_LINUX_PLAT_F" $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=dbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DDEBUG -g -DSSCS_LINUX_PLAT_F" $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,31 +1,31 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_micasacache cd $PR/c_micasacache
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,31 +1,31 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_micasad cd $PR/c_micasad
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux EXT=bin MODULE=csssd MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-debug -d:DEBUG -d:LINUX -nowarn:169" XTRA=dbg $2 $3 $4 $5 $6) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux EXT=bin MODULE=csssd MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-debug -d:DEBUG -d:LINUX -nowarn:169" XTRA=dbg $2 $3 $4 $5 $6)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,33 +1,33 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_micasad cd $PR/c_micasad
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux EXT=bin MODULE=csssd MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-d:LINUX -nowarn:169" XTRA=ndbg $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux EXT=bin MODULE=csssd MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-d:LINUX -nowarn:169" XTRA=ndbg $2 $3 $4 $5)
RCODE=$? RCODE=$?
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
#ln -sf ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so.$MAJ_SSS_NO #ln -sf ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so.$MAJ_SSS_NO
#ln -sf ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so #ln -sf ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO ../../lib$ARCH_LIB/lux/ndbg/libmicasa.so
exit 0 exit 0
fi fi

View File

@ -1,35 +1,35 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_common cd $PR/c_common
COMMON_FILES=$(ls) COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $PR/c_micasadk) (ln -f $COMMON_FILES $PR/c_micasadk)
cd $PR/c_micasadk cd $PR/c_micasadk
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=dbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -DDEBUG -g" $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=dbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -DDEBUG -g" $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
ln -sf $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so.$MAJ_SSS_NO ln -sf $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so.$MAJ_SSS_NO
ln -sf $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so ln -sf $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/dbg/libmicasa.so
exit 0 exit 0
fi fi

View File

@ -1,37 +1,37 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_common cd $PR/c_common
COMMON_FILES=$(ls) COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $PR/c_micasadk) (ln -f $COMMON_FILES $PR/c_micasadk)
cd $PR/c_micasadk cd $PR/c_micasadk
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=shared MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall" $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
ln -sf $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so.$MAJ_SSS_NO ln -sf $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so.$MAJ_SSS_NO
ln -sf $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so ln -sf $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so.$BLD_NO $PR/lib$ARCH_LIB/lux/ndbg/libmicasa.so
exit 0 exit 0
fi fi

View File

@ -1,31 +1,31 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
TOP=../.. TOP=../..
PR=../ PR=../
cd $TOP/make cd $TOP/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64` HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ] if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64 then ARCH_LIB=64
else else
ARCH_LIB= ARCH_LIB=
fi fi
cd $PR/c_sharp/NSSCSWrapper cd $PR/c_sharp/NSSCSWrapper
(make -I $TOP/make -f Makefile ROOT=$TOP PLAT=lux EXT=lib MODULE=cslib BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg $2 $3 $4 $5) (make -I $TOP/make -f Makefile ROOT=$TOP PLAT=lux EXT=lib MODULE=cslib BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,26 +1,26 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
#cd $PR/c_test/unx_cachetst #cd $PR/c_test/unx_cachetst
#COMMON_FILES=$(ls *.c) #COMMON_FILES=$(ls *.c)
#(ln -f $COMMON_FILES $PR/c_test/unx_testcases) #(ln -f $COMMON_FILES $PR/c_test/unx_testcases)
cd $PR/c_test/unx_testcases cd $PR/c_test/unx_testcases
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=dbg XTRA_CFLAGS="-DDEBUG -DDEBUG_SSS -g" $2 $3 $4 $5 $6) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=dbg XTRA_CFLAGS="-DDEBUG -DDEBUG_SSS -g" $2 $3 $4 $5 $6)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,27 +1,27 @@
#!/bin/bash #!/bin/bash
set -x set -x
mk-dirs mk-dirs
cd ../../ cd ../../
PR=`pwd` PR=`pwd`
cd $PR/make cd $PR/make
MAJ_SSS_NO=`cat majver.txt` MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt` MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt` REV_SSS_NO=`cat revver.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
cd $PR/c_test/unx_cachetst cd $PR/c_test/unx_cachetst
COMMON_FILES=$(ls *.c) COMMON_FILES=$(ls *.c)
(ln -f $COMMON_FILES $PR/c_test/unx_testcases) (ln -f $COMMON_FILES $PR/c_test/unx_testcases)
cd $PR/c_test/unx_testcases cd $PR/c_test/unx_testcases
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=ndbg $2 $3 $4 $5) (make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" XTRA=ndbg $2 $3 $4 $5)
RCODE=$? RCODE=$?
rm -f $COMMON_FILES rm -f $COMMON_FILES
if(test $RCODE != 0) if(test $RCODE != 0)
then then
exit $RCODE exit $RCODE
else else
exit 0 exit 0
fi fi

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
rm -rf ../../bin rm -rf ../../bin
rm -rf ../../lib rm -rf ../../lib
rm -rf ../../obj rm -rf ../../obj
rm -rf ../../bin64 rm -rf ../../bin64
rm -rf ../../lib64 rm -rf ../../lib64
rm -rf ../../obj64 rm -rf ../../obj64