Fix 134096
This commit is contained in:
parent
d9a73ce8a8
commit
caa494c6b9
161
CASA.changes
161
CASA.changes
@ -1,78 +1,83 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 14:09:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Bug fixes: 135387, 135393
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
Wed Nov 23 07:18:23 MST 2005 - cmashayekhi@novell.com
|
||||
|
||||
- c_gui/CASAManager.sh was fixed to support lib64 directory.
|
||||
- c_micasad/startup/micasad.sh was fixed to support lib64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 16:09:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- changed PAM Capture to find libmicasa in path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 14:09:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Change GUI dependency from gtk2-devel to gtk2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 16 13:42:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Bug 133479. Clear Native information when destroying secrets or refreshing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 14:54:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Added gtk2-devel dependency to CASA-gui rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 14 15:56:59 MST 2005 - cmashayekhi@novell.com
|
||||
|
||||
- Bug 133705 having to do with licenses in the source files
|
||||
was fixed.
|
||||
- CASA.spec was modified to accomodate for auto build scripts.
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 11 08:26:50 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Added help files, and code to launch help files to GUI
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 12:32:38 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Replaced changes.log with CASA.changes in the src tree to be
|
||||
consistent with autobuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 16:44:00 MST 2005 - cameron@novell.com
|
||||
|
||||
- CASA.spec and versioning number was modified to support build
|
||||
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.
|
||||
- Build scripts were modified to support $RPM_OPT_FLAGS.
|
||||
- Added persistence without desktop credentials.
|
||||
- Bug 130336 -- resevered escaped chars was fixed.
|
||||
- Bug 130518 -- invalid param exception handling was
|
||||
fixed.
|
||||
- Support for extended ascii and double byte chars in
|
||||
GUI was added.
|
||||
- Finalized GUI cosmetic changes.
|
||||
|
||||
----------------------------------------------------------------
|
||||
Thu Oct 27 11:40:20 MDT 2005 - cmashayekhi@novell.com
|
||||
-The image version to 1.5.0
|
||||
Files:
|
||||
- Work area was cleaned up for the final build.
|
||||
- CASA.spec was modified to requirement.
|
||||
- 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.
|
||||
----------------------------------------------------------------
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 17:01:09 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Bug: 134096 Fix CASA gui for 64 bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 14:09:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Bug fixes: 135387, 135393
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
Wed Nov 23 07:18:23 MST 2005 - cmashayekhi@novell.com
|
||||
|
||||
- c_gui/CASAManager.sh was fixed to support lib64 directory.
|
||||
- c_micasad/startup/micasad.sh was fixed to support lib64.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 23 16:09:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- changed PAM Capture to find libmicasa in path
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 18 14:09:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Change GUI dependency from gtk2-devel to gtk2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 16 13:42:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Bug 133479. Clear Native information when destroying secrets or refreshing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 14:54:19 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Added gtk2-devel dependency to CASA-gui rpm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 14 15:56:59 MST 2005 - cmashayekhi@novell.com
|
||||
|
||||
- Bug 133705 having to do with licenses in the source files
|
||||
was fixed.
|
||||
- CASA.spec was modified to accomodate for auto build scripts.
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 11 08:26:50 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Added help files, and code to launch help files to GUI
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 12:32:38 MST 2005 - jnorman@novell.com
|
||||
|
||||
- Replaced changes.log with CASA.changes in the src tree to be
|
||||
consistent with autobuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 7 16:44:00 MST 2005 - cameron@novell.com
|
||||
|
||||
- CASA.spec and versioning number was modified to support build
|
||||
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.
|
||||
- Build scripts were modified to support $RPM_OPT_FLAGS.
|
||||
- Added persistence without desktop credentials.
|
||||
- Bug 130336 -- resevered escaped chars was fixed.
|
||||
- Bug 130518 -- invalid param exception handling was
|
||||
fixed.
|
||||
- Support for extended ascii and double byte chars in
|
||||
GUI was added.
|
||||
- Finalized GUI cosmetic changes.
|
||||
|
||||
----------------------------------------------------------------
|
||||
Thu Oct 27 11:40:20 MDT 2005 - cmashayekhi@novell.com
|
||||
-The image version to 1.5.0
|
||||
Files:
|
||||
- Work area was cleaned up for the final build.
|
||||
- CASA.spec was modified to requirement.
|
||||
- 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.
|
||||
----------------------------------------------------------------
|
||||
|
@ -768,7 +768,7 @@ miCASAOpenSecretStoreCache
|
||||
if((ssid->ssName) && (sscs_Utf8StrSize(ssid->ssName)) == 0)
|
||||
{
|
||||
// set to default
|
||||
sscs_Utf8Strcpy(ssid->ssName, SSCS_DEFAULT_SECRETSTORE_ID);
|
||||
// sscs_Utf8Strcpy(ssid->ssName, SSCS_DEFAULT_SECRETSTORE_ID);
|
||||
}
|
||||
|
||||
ssid->version = NSSCS_VERSION_NUMBER;
|
||||
|
@ -214,8 +214,8 @@ static SS_UTF8_T BINARY_DELIMITER[] = {"="};
|
||||
|
||||
typedef struct _sscs_password
|
||||
{
|
||||
unsigned long pwordType;
|
||||
unsigned long pwordLen; // enhanced protection len & pword to set
|
||||
uint32_t pwordType;
|
||||
uint32_t pwordLen; // enhanced protection len & pword to set
|
||||
SS_UTF8_T pword[NSSCS_MAX_PWORD_LEN]; // * should be passed in # of chars
|
||||
} SSCS_PASSWORD_T;
|
||||
|
||||
|
@ -1,49 +1,49 @@
|
||||
Make direcotry for Windows client and server.
|
||||
Make script names take the form of:
|
||||
|
||||
mk-xxx-yz
|
||||
|
||||
xxx = package name sdk, sss
|
||||
|
||||
y = debug(platform dep.) d = (mdd or d2) default debug
|
||||
o = optimized default optimized
|
||||
h = (hc, codeview) netware only
|
||||
|
||||
z = platform n = netware
|
||||
w = win32
|
||||
|
||||
Make script command line options:
|
||||
clean = removes all of the object files
|
||||
all = builds all that is needed
|
||||
install = copies final binaries to product dir
|
||||
checkout = checks binaries out of Contiuous for install option
|
||||
checkin = checks final binaries back into Continuous
|
||||
|
||||
Shorthand scripts for making all platforms:
|
||||
mk-xxx-all
|
||||
xxx = command line options c = clean
|
||||
a = all
|
||||
i = install
|
||||
|
||||
Shorthand scripts for making platform specific build:
|
||||
mk-xxx-yyy
|
||||
xxx = platform
|
||||
c32 = Win32 client
|
||||
nss = NetWare server
|
||||
wss = Win32 server
|
||||
|
||||
yyy = command line options
|
||||
cal = clean all
|
||||
all = all
|
||||
|
||||
Make scripts for making Beta servers:
|
||||
mk-beta-ox
|
||||
x = platform
|
||||
n = NetWare
|
||||
w = Win32
|
||||
|
||||
Shorthand scripts for making Beta servers for all platforms:
|
||||
mk-beta-xxx
|
||||
xxx = command line option
|
||||
cal = clean all
|
||||
all = all
|
||||
Make direcotry for Windows client and server.
|
||||
Make script names take the form of:
|
||||
|
||||
mk-xxx-yz
|
||||
|
||||
xxx = package name sdk, sss
|
||||
|
||||
y = debug(platform dep.) d = (mdd or d2) default debug
|
||||
o = optimized default optimized
|
||||
h = (hc, codeview) netware only
|
||||
|
||||
z = platform n = netware
|
||||
w = win32
|
||||
|
||||
Make script command line options:
|
||||
clean = removes all of the object files
|
||||
all = builds all that is needed
|
||||
install = copies final binaries to product dir
|
||||
checkout = checks binaries out of Contiuous for install option
|
||||
checkin = checks final binaries back into Continuous
|
||||
|
||||
Shorthand scripts for making all platforms:
|
||||
mk-xxx-all
|
||||
xxx = command line options c = clean
|
||||
a = all
|
||||
i = install
|
||||
|
||||
Shorthand scripts for making platform specific build:
|
||||
mk-xxx-yyy
|
||||
xxx = platform
|
||||
c32 = Win32 client
|
||||
nss = NetWare server
|
||||
wss = Win32 server
|
||||
|
||||
yyy = command line options
|
||||
cal = clean all
|
||||
all = all
|
||||
|
||||
Make scripts for making Beta servers:
|
||||
mk-beta-ox
|
||||
x = platform
|
||||
n = NetWare
|
||||
w = Win32
|
||||
|
||||
Shorthand scripts for making Beta servers for all platforms:
|
||||
mk-beta-xxx
|
||||
xxx = command line option
|
||||
cal = clean all
|
||||
all = all
|
||||
|
@ -1,23 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,22 +1,22 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,131 +1,131 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
cd ../..
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
export PROD_NUM=$MAJ_SSS_NO
|
||||
|
||||
cd $PR/lib/lux/
|
||||
BR=`pwd`
|
||||
|
||||
mkdir -p $BR/pkg
|
||||
mkdir -p $BR/pkg/BUILD/
|
||||
mkdir -p $BR/pkg/RPMS/
|
||||
mkdir -p $BR/pkg/RPMS/i386/
|
||||
mkdir -p $BR/pkg/casa_devel_area/
|
||||
|
||||
# save the original .rpmmacros
|
||||
if [ -f ~/.rpmmacros ]
|
||||
then
|
||||
mv ~/.rpmmacros ~/.rpmmacros.orig
|
||||
fi
|
||||
|
||||
# append these to the .rpmmacros
|
||||
echo "%_topdir $BR/pkg/" >> ~/.rpmmacros
|
||||
echo "%version $BLD_NO" >> ~/.rpmmacros
|
||||
echo "%release $MAJ_SSS_NO" >> ~/.rpmmacros
|
||||
|
||||
cp -f $PR/include/micasa.h $BR/pkg/BUILD
|
||||
cp -f $PR/include/micasa_mgmd.h $BR/pkg/BUILD
|
||||
|
||||
|
||||
# create the direcories and set the rights on them
|
||||
cd $BR/pkg/casa_devel_area
|
||||
|
||||
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/doc
|
||||
install -m 755 -d opt/novell/CASA_devel/sample
|
||||
install -m 755 -d opt/novell/CASA_devel/sample_bin
|
||||
|
||||
# copy the files to the restpected directories and set the rights on them
|
||||
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_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
|
||||
|
||||
# -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
|
||||
# instructions. --buildroot should be added separately.
|
||||
|
||||
#Create the rpm spec file on the fly
|
||||
cat << E/O/F > $BR/pkg/novell-CASA-devel.spec
|
||||
|
||||
Summary : Novell Client Authentication Service Adapter (CASA)
|
||||
Name : novell-CASA-devel
|
||||
Version : %version
|
||||
Release : %release
|
||||
Group : System/Cryptography
|
||||
Copyright: 1998-2005 Novell, Inc. All Rights Reserved
|
||||
Distribution : Novell
|
||||
URL : http://www.novell.com/
|
||||
Packager : Novell Inc.
|
||||
AutoReqProv: no
|
||||
Vendor : Novell Inc.
|
||||
BuildArchitectures: i386 x86_64
|
||||
|
||||
%description
|
||||
NOVELL Client Authentication Service Adapter Development Kit (CASA).
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%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/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/sample
|
||||
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_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd.h
|
||||
|
||||
%files
|
||||
|
||||
#%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_mgmd.h
|
||||
|
||||
%preun
|
||||
rm -rf /opt/novell/CASA_devel
|
||||
|
||||
E/O/F
|
||||
|
||||
(cd $BR/pkg/casa_devel_area; pwd; rpmbuild -bb --buildroot $BR/pkg/casa_devel_area ../novell-CASA-devel.spec)
|
||||
|
||||
#restore the .rpmmacros file
|
||||
if [ -f ~/.rpmmacros.orig ]
|
||||
then
|
||||
mv ~/.rpmmacros.orig ~/.rpmmacros
|
||||
fi
|
||||
|
||||
if [ -r $BR/pkg/RPMS/i386/novell-CASA-*.rpm ]
|
||||
then
|
||||
echo Linux CASA-devel Package Done
|
||||
cp -f $BR/pkg/RPMS/i386/novell-CASA-*.rpm $PR/products/install/lux
|
||||
cd $BR/pkg
|
||||
rm -rf *
|
||||
exit 0
|
||||
fi
|
||||
if [ -r $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm ]
|
||||
then
|
||||
echo Linux CASA-devel Package Done
|
||||
cp -f $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm $PR/products/install/lux
|
||||
cd $BR/pkg
|
||||
rm -rf *
|
||||
exit 0
|
||||
fi
|
||||
echo Building Linux CASA-devel Package Failed
|
||||
cd $BR/pkg
|
||||
rm -rf *
|
||||
exit 1
|
||||
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
cd ../..
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
export PROD_NUM=$MAJ_SSS_NO
|
||||
|
||||
cd $PR/lib/lux/
|
||||
BR=`pwd`
|
||||
|
||||
mkdir -p $BR/pkg
|
||||
mkdir -p $BR/pkg/BUILD/
|
||||
mkdir -p $BR/pkg/RPMS/
|
||||
mkdir -p $BR/pkg/RPMS/i386/
|
||||
mkdir -p $BR/pkg/casa_devel_area/
|
||||
|
||||
# save the original .rpmmacros
|
||||
if [ -f ~/.rpmmacros ]
|
||||
then
|
||||
mv ~/.rpmmacros ~/.rpmmacros.orig
|
||||
fi
|
||||
|
||||
# append these to the .rpmmacros
|
||||
echo "%_topdir $BR/pkg/" >> ~/.rpmmacros
|
||||
echo "%version $BLD_NO" >> ~/.rpmmacros
|
||||
echo "%release $MAJ_SSS_NO" >> ~/.rpmmacros
|
||||
|
||||
cp -f $PR/include/micasa.h $BR/pkg/BUILD
|
||||
cp -f $PR/include/micasa_mgmd.h $BR/pkg/BUILD
|
||||
|
||||
|
||||
# create the direcories and set the rights on them
|
||||
cd $BR/pkg/casa_devel_area
|
||||
|
||||
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/doc
|
||||
install -m 755 -d opt/novell/CASA_devel/sample
|
||||
install -m 755 -d opt/novell/CASA_devel/sample_bin
|
||||
|
||||
# copy the files to the restpected directories and set the rights on them
|
||||
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_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
|
||||
|
||||
# -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
|
||||
# instructions. --buildroot should be added separately.
|
||||
|
||||
#Create the rpm spec file on the fly
|
||||
cat << E/O/F > $BR/pkg/novell-CASA-devel.spec
|
||||
|
||||
Summary : Novell Client Authentication Service Adapter (CASA)
|
||||
Name : novell-CASA-devel
|
||||
Version : %version
|
||||
Release : %release
|
||||
Group : System/Cryptography
|
||||
Copyright: 1998-2005 Novell, Inc. All Rights Reserved
|
||||
Distribution : Novell
|
||||
URL : http://www.novell.com/
|
||||
Packager : Novell Inc.
|
||||
AutoReqProv: no
|
||||
Vendor : Novell Inc.
|
||||
BuildArchitectures: i386 x86_64
|
||||
|
||||
%description
|
||||
NOVELL Client Authentication Service Adapter Development Kit (CASA).
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%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/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/sample
|
||||
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_mgmd.h $BR/pkg/casa_devel_area/opt/novell/CASA_devel/include/micasa_mgmd.h
|
||||
|
||||
%files
|
||||
|
||||
#%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_mgmd.h
|
||||
|
||||
%preun
|
||||
rm -rf /opt/novell/CASA_devel
|
||||
|
||||
E/O/F
|
||||
|
||||
(cd $BR/pkg/casa_devel_area; pwd; rpmbuild -bb --buildroot $BR/pkg/casa_devel_area ../novell-CASA-devel.spec)
|
||||
|
||||
#restore the .rpmmacros file
|
||||
if [ -f ~/.rpmmacros.orig ]
|
||||
then
|
||||
mv ~/.rpmmacros.orig ~/.rpmmacros
|
||||
fi
|
||||
|
||||
if [ -r $BR/pkg/RPMS/i386/novell-CASA-*.rpm ]
|
||||
then
|
||||
echo Linux CASA-devel Package Done
|
||||
cp -f $BR/pkg/RPMS/i386/novell-CASA-*.rpm $PR/products/install/lux
|
||||
cd $BR/pkg
|
||||
rm -rf *
|
||||
exit 0
|
||||
fi
|
||||
if [ -r $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm ]
|
||||
then
|
||||
echo Linux CASA-devel Package Done
|
||||
cp -f $BR/pkg/RPMS/x86_64/novell-CASA-*.rpm $PR/products/install/lux
|
||||
cd $BR/pkg
|
||||
rm -rf *
|
||||
exit 0
|
||||
fi
|
||||
echo Building Linux CASA-devel Package Failed
|
||||
cd $BR/pkg
|
||||
rm -rf *
|
||||
exit 1
|
||||
|
||||
|
||||
|
||||
|
@ -1,23 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
cd ../..
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
cd $PR/products/install/lux/opt/novell
|
||||
|
||||
(tar cvjf CASA-$BLD_NO.tar.bz2 *)
|
||||
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
cd ../..
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
cd $PR/products/install/lux/opt/novell
|
||||
|
||||
(tar cvjf CASA-$BLD_NO.tar.bz2 *)
|
||||
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -1,32 +1,32 @@
|
||||
#!/bin/bash
|
||||
TOP=../..
|
||||
mkdir $TOP/bin> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/lib> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/obj> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/bin64> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/lib64> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/obj64> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
#!/bin/bash
|
||||
TOP=../..
|
||||
mkdir $TOP/bin> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/lib> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/obj> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/bin64> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/lib64> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
mkdir $TOP/obj64> /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/ndbg> /dev/null 2>&1
|
||||
|
||||
|
@ -1,55 +1,55 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
cd $PR/c_jwrapper/src
|
||||
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
cd $PR/c_jwrapper/src
|
||||
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,55 +1,55 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
cd $PR/c_jwrapper/src
|
||||
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
cd $PR/c_jwrapper/src
|
||||
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
|
||||
RCODE=$?
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
fi
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,33 +1,33 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,33 +1,33 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,34 +1,34 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
|
@ -1,31 +1,31 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,31 +1,31 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,33 +1,33 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,35 +1,35 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
cd $PR/c_common
|
||||
COMMON_FILES=$(ls)
|
||||
(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
cd $PR/c_common
|
||||
COMMON_FILES=$(ls)
|
||||
(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,37 +1,37 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
cd $PR/c_common
|
||||
COMMON_FILES=$(ls)
|
||||
(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
cd $PR/c_common
|
||||
COMMON_FILES=$(ls)
|
||||
(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
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
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -1,31 +1,31 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
TOP=../..
|
||||
PR=../
|
||||
cd $TOP/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
TOP=../..
|
||||
PR=../
|
||||
cd $TOP/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
HOST_ARCH=`uname -a | grep -c x86_64`
|
||||
if [ $HOST_ARCH -gt 0 ]
|
||||
then ARCH_LIB=64
|
||||
else
|
||||
ARCH_LIB=
|
||||
fi
|
||||
|
||||
|
||||
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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,26 +1,26 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
#cd $PR/c_test/unx_cachetst
|
||||
#COMMON_FILES=$(ls *.c)
|
||||
#(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
#cd $PR/c_test/unx_cachetst
|
||||
#COMMON_FILES=$(ls *.c)
|
||||
#(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,27 +1,27 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
cd $PR/c_test/unx_cachetst
|
||||
COMMON_FILES=$(ls *.c)
|
||||
(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
#!/bin/bash
|
||||
set -x
|
||||
mk-dirs
|
||||
cd ../../
|
||||
PR=`pwd`
|
||||
cd $PR/make
|
||||
|
||||
MAJ_SSS_NO=`cat majver.txt`
|
||||
MIN_SSS_NO=`cat minver.txt`
|
||||
REV_SSS_NO=`cat revver.txt`
|
||||
|
||||
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
|
||||
|
||||
cd $PR/c_test/unx_cachetst
|
||||
COMMON_FILES=$(ls *.c)
|
||||
(ln -f $COMMON_FILES $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)
|
||||
RCODE=$?
|
||||
rm -f $COMMON_FILES
|
||||
if(test $RCODE != 0)
|
||||
then
|
||||
exit $RCODE
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
rm -rf ../../bin
|
||||
rm -rf ../../lib
|
||||
rm -rf ../../obj
|
||||
|
||||
rm -rf ../../bin64
|
||||
rm -rf ../../lib64
|
||||
rm -rf ../../obj64
|
||||
|
||||
#!/bin/bash
|
||||
rm -rf ../../bin
|
||||
rm -rf ../../lib
|
||||
rm -rf ../../obj
|
||||
|
||||
rm -rf ../../bin64
|
||||
rm -rf ../../lib64
|
||||
rm -rf ../../obj64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user