major source structure and module name changes - continue2
This commit is contained in:
@@ -26,16 +26,16 @@ TARGET_CFG = Release
|
||||
endif
|
||||
|
||||
if LINUX
|
||||
SUBDIRS = c_micasacache c_common c_micasadk c_micasad/lib c_sharp \
|
||||
c_policy c_adlib c_micasad c_gui login_capture c_jwrapper package
|
||||
SUBDIRS = micasacache common micasadk micasad/lib sharp \
|
||||
policy adlib micasad gui logincapture jwrapper package
|
||||
|
||||
DIST_SUBDIRS = c_micasacache c_common c_micasadk c_micasad c_sharp \
|
||||
c_policy c_adlib c_gui login_capture c_jwrapper package
|
||||
DIST_SUBDIRS = micasacache common micasadk micasad sharp \
|
||||
policy adlib gui logincapture jwrapper package
|
||||
endif
|
||||
|
||||
if WINDOWS
|
||||
SUBDIRS = c_micasacache c_common c_micasadk c_jwrapper package
|
||||
DIST_SUBDIRS = c_micasacache c_common c_micasadk c_jwrapper package
|
||||
SUBDIRS = micasacache common micasadk jwrapper package
|
||||
DIST_SUBDIRS = micasacache common micasadk jwrapper package
|
||||
endif
|
||||
|
||||
EXTRA_DIST = include include/*.h \
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
INSTRUCTIONS FOR SETTING UP YOUR BUILD ENVIRONMENT
|
||||
==================================================
|
||||
|
||||
For Linux
|
||||
cd to top directory.
|
||||
./autogen.sh (for debug build, pass "--enable-debug")
|
||||
make
|
||||
|
||||
For Windows
|
||||
MAKE CLEAN ALL run sequence mk-ca-all for developers and mk-cai-all for BMs.
|
||||
for individual builds:
|
||||
for Windows cd shsrc/wshsrc and find
|
||||
the mk-XXX-tp that matches the module name and the type and the platform.
|
||||
xxx the module name
|
||||
types:
|
||||
dp d for debug
|
||||
op o for optimized
|
||||
tw Windows platform
|
||||
example:
|
||||
mk-nsssdk-ow optimzed for Windows
|
||||
|
||||
command line form:
|
||||
mk-nsssdk-ow d clean all (d for developer - m for build manager)
|
||||
|
||||
******************************************************************************************
|
||||
|
||||
Complier has been upgraded to Microsoft VC 7. After installing the compiler and setting up
|
||||
parmaters as described above you need to copy the directory Vc7 under the compiler installation
|
||||
into c:\tools or a directory that does not have any spaces in the name because cypgwin and
|
||||
gnumake have problems executing commands in paths with spaces in the names.
|
||||
|
||||
Cameron Mashayekhi 2/14/2005
|
||||
|
||||
******************************************************************************************
|
||||
|
||||
|
||||
For a clarification on the location of the compiler please read changes.log with the entry
|
||||
dated 3/9/05.
|
||||
|
||||
Code changed from using wide chars (wchar_t) to UTF8.
|
||||
sscs_utfh8.h
|
||||
sscs_string.h
|
||||
was added.
|
||||
|
||||
To support ISF architecture the nsscs_idk.h replaced nsscs_sdk.h and for the Managed APIs
|
||||
the header file nsscs_mgmd_idk.h was added.
|
||||
|
||||
nsssdk has been renamed to nssidk.
|
||||
|
||||
Cameron Mashayekhi 3/9/05.
|
||||
|
||||
******************************************************************************************
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
To build miCASA 1.5 for windows, do the following:
|
||||
|
||||
1. Install Visual Studio.net
|
||||
2. Install Cygwin
|
||||
3. Run the mk-cai-all script for windows
|
||||
|
||||
The Setup files will be found in the 'products' directory
|
||||
@@ -1,138 +0,0 @@
|
||||
/***********************************************************************
|
||||
* File: README
|
||||
*
|
||||
* Copyright (C) 2005 Novell, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
***********************************************************************/
|
||||
|
||||
REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON WINDOWS
|
||||
|
||||
- Install Visual Studio .NET 2003
|
||||
- Install Cygwin - See instructions below.
|
||||
|
||||
Download and start cygwin install:
|
||||
Browse to http://sources.redhat.com/cygwin/
|
||||
|
||||
Click on "Install or update now!" or "Install Cygwin now"
|
||||
|
||||
Cygwin Setup:
|
||||
Next
|
||||
|
||||
Cygwin Setup - Choose Installation Type:
|
||||
Install from Internet
|
||||
Next
|
||||
|
||||
Cygwin Setup - Choose Installation Directory:
|
||||
Root Directory: C:\cygwin
|
||||
Install For: "All Users"
|
||||
|
||||
Default Text File Type: DOS
|
||||
|
||||
Cygwin Setup - Select Local Package Directory:
|
||||
Local Package Directory: C:\cygwin-packages
|
||||
|
||||
Cygwin Setup - Select Connection Type:
|
||||
Direct Connection
|
||||
|
||||
Choose A Download Site:
|
||||
ftp://ftp.nas.nasa.gov
|
||||
|
||||
Cywin Setup - Select Packages:
|
||||
Base:
|
||||
defaults
|
||||
|
||||
Devel:
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
make
|
||||
pkgconfig
|
||||
cvs
|
||||
gcc
|
||||
gcc-g++
|
||||
|
||||
Editors:
|
||||
vim (optional)
|
||||
|
||||
Net:
|
||||
openssh
|
||||
openssl
|
||||
|
||||
Text:
|
||||
more
|
||||
|
||||
Utils:
|
||||
clear (optional)
|
||||
|
||||
Cygwin Setup - Create Icons:
|
||||
Finish
|
||||
|
||||
Download the latest Jave JRE and J2EE from "http://java.sun.com"
|
||||
and install them on the machine.
|
||||
|
||||
Edit cygwin.bat (c:\cygwin\cygwin.bat) to add a call to
|
||||
%VS71COMNTOOLS%\vsvars32.bat (see example below). Also
|
||||
add the MSCS and JAVA_HOME environment parameters to
|
||||
this file. This sets up the Visual Studio and Java tools
|
||||
in Cygwin.
|
||||
|
||||
Sample cygwin.bat:
|
||||
|
||||
@echo off
|
||||
|
||||
call "%VS71COMNTOOLS%\vsvars32.bat" > NUL
|
||||
@set "MSCS=c:/WINDOWS/Microsoft.NET/Framework/%
|
||||
@set "JAVA_HOME=c:/Sun/AppServer/jdk"
|
||||
|
||||
C:
|
||||
chdir C:\cygwin\bin
|
||||
|
||||
bash --login -i
|
||||
|
||||
To build run mk-ca-all or mk-cai-all scripts that will build all of the
|
||||
modules for debug and optimized.
|
||||
|
||||
|
||||
REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON LINUX
|
||||
|
||||
Install latest mono and mono-devel RPM - Obtain RPMs from
|
||||
www.go-mono.org.
|
||||
|
||||
|
||||
BUILDING THE SOFTWARE PACKAGE
|
||||
|
||||
Windows: Start at Step 1.
|
||||
Linux: Skip to Step 2.
|
||||
|
||||
1. Run cygwin.bat to start up Cygwin.
|
||||
|
||||
2. Generate autotools files:
|
||||
./autogen.sh --prefix=/<install_dir> [--enable-debug]
|
||||
(<install_dir> is some writable directory where 'make install' will
|
||||
install files for testing.
|
||||
|
||||
3. To reconfigure later, or to configure software that came from a source
|
||||
distribution (.tar.gz) file, use configure.
|
||||
./configure --prefix/<install_dir> [--enable-debug]
|
||||
(run ./configure --help for more options)
|
||||
|
||||
4. Select your make target, here are a few interesting ones:
|
||||
make
|
||||
|
||||
All of the build scripts are under shsrc/lshsrc for Linux or
|
||||
shsrc/wshsrc for Windows.
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
AC_INIT(include/micasa.h)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_INIT_AUTOMAKE(CASA, 1.7.678787878787878)
|
||||
AM_INIT_AUTOMAKE(CASA, 1.7.678)
|
||||
RELEASE=`date +%Y%m%d_%H%M`
|
||||
AC_SUBST(RELEASE)
|
||||
AM_MAINTAINER_MODE
|
||||
@@ -260,54 +260,40 @@ fi
|
||||
#
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
auth_token/Makefile
|
||||
auth_token/server/Makefile
|
||||
auth_token/server/AuthTokenValidate/Makefile
|
||||
auth_token/server/AuthTokenValidate/linux/Makefile
|
||||
auth_token/server/AuthTokenValidate/idenTokenProviders/Makefile
|
||||
auth_token/server/AuthTokenValidate/idenTokenProviders/casa/Makefile
|
||||
auth_token/server/AuthTokenValidate/idenTokenProviders/casa/linux/Makefile
|
||||
auth_token/server/PamSupport/Makefile
|
||||
auth_token/server/PamSupport/linux/Makefile
|
||||
auth_token/server/ApacheSupport/Makefile
|
||||
auth_token/server/ApacheSupport/2.2/Makefile
|
||||
auth_token/server/ApacheSupport/2.2/linux/Makefile
|
||||
auth_token/server/AuthTokenSvc/Makefile
|
||||
auth_token/server/JaasSupport/Makefile
|
||||
c_micasacache/Makefile
|
||||
c_micasacache/linux/Makefile
|
||||
c_micasacache/windows/Makefile
|
||||
c_common/Makefile
|
||||
c_common/linux/Makefile
|
||||
c_common/windows/Makefile
|
||||
c_micasadk/Makefile
|
||||
c_micasadk/linux/Makefile
|
||||
c_micasadk/windows/Makefile
|
||||
c_micasad/lib/Makefile
|
||||
c_micasad/lib/common/Makefile
|
||||
c_micasad/lib/communication/Makefile
|
||||
c_micasad/startup/Makefile
|
||||
c_sharp/Makefile
|
||||
c_sharp/NSSCSWrapper/Makefile
|
||||
c_micasad/Makefile
|
||||
c_policy/Makefile
|
||||
c_adlib/ad_kw/Makefile
|
||||
c_adlib/ad_gk/native/Makefile
|
||||
c_adlib/ad_gk/Makefile
|
||||
c_adlib/ad_ff/native/Makefile
|
||||
c_adlib/ad_ff/Makefile
|
||||
c_adlib/Makefile
|
||||
c_gui/Makefile
|
||||
login_capture/Makefile
|
||||
login_capture/linux/Makefile
|
||||
login_capture/windows/Makefile
|
||||
login_capture/linux/PAM/Makefile
|
||||
login_capture/linux/PAM/linux/Makefile
|
||||
c_jwrapper/Makefile
|
||||
c_jwrapper/src/Makefile
|
||||
c_jwrapper/jnsscs/Makefile
|
||||
c_jwrapper/jnsscs/linux/Makefile
|
||||
c_jwrapper/jnsscs/windows/Makefile
|
||||
micasacache/Makefile
|
||||
micasacache/linux/Makefile
|
||||
micasacache/windows/Makefile
|
||||
common/Makefile
|
||||
common/linux/Makefile
|
||||
common/windows/Makefile
|
||||
micasadk/Makefile
|
||||
micasadk/linux/Makefile
|
||||
micasadk/windows/Makefile
|
||||
micasad/lib/Makefile
|
||||
micasad/lib/common/Makefile
|
||||
micasad/lib/communication/Makefile
|
||||
micasad/startup/Makefile
|
||||
sharp/Makefile
|
||||
sharp/NSSCSWrapper/Makefile
|
||||
micasad/Makefile
|
||||
policy/Makefile
|
||||
adlib/ad_kw/Makefile
|
||||
adlib/ad_gk/native/Makefile
|
||||
adlib/ad_gk/Makefile
|
||||
adlib/ad_ff/native/Makefile
|
||||
adlib/ad_ff/Makefile
|
||||
adlib/Makefile
|
||||
gui/Makefile
|
||||
logincapture/Makefile
|
||||
logincapture/linux/Makefile
|
||||
logincapture/windows/Makefile
|
||||
logincapture/linux/PAM/Makefile
|
||||
logincapture/linux/PAM/linux/Makefile
|
||||
jwrapper/Makefile
|
||||
jwrapper/src/Makefile
|
||||
jwrapper/jnsscs/Makefile
|
||||
jwrapper/jnsscs/linux/Makefile
|
||||
jwrapper/jnsscs/windows/Makefile
|
||||
package/Makefile
|
||||
package/linux/Makefile
|
||||
package/windows/Makefile
|
||||
|
||||
31
CASA/readme/readme-linux
Normal file
31
CASA/readme/readme-linux
Normal file
@@ -0,0 +1,31 @@
|
||||
-----------------------------------------------------------------
|
||||
REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON LINUX
|
||||
-----------------------------------------------------------------
|
||||
|
||||
- Install latest mono and mono-devel (mono 1.1.13 or above)
|
||||
www.go-mono.org
|
||||
- Install JAVA 1.5
|
||||
www.java.sun.com
|
||||
|
||||
|
||||
-----------------------------------------------------------------
|
||||
BUILD
|
||||
-----------------------------------------------------------------
|
||||
|
||||
1. Generate autotools files:
|
||||
./autogen.sh --prefix=/<install_dir> [--enable-debug]
|
||||
|
||||
2. To reconfigure later, or to configure software that came from a source
|
||||
distribution (.tar.gz) file, use configure.
|
||||
./configure --prefix/<install_dir> [--enable-debug]
|
||||
(run ./configure --help for more options)
|
||||
|
||||
3. Choose your make target, here are a few interesting ones:
|
||||
make - compile and create binaries
|
||||
|
||||
make clean - clean up binaries
|
||||
|
||||
make package - create source.tar.gz and rpm
|
||||
|
||||
**make install - not available
|
||||
**make test - not available
|
||||
134
CASA/readme/readme-win.txt
Normal file
134
CASA/readme/readme-win.txt
Normal file
@@ -0,0 +1,134 @@
|
||||
-----------------------------------------------------------------
|
||||
REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON WINDOWS
|
||||
-----------------------------------------------------------------
|
||||
- Install Visual Studio .NET 2003
|
||||
- Install Cygwin
|
||||
- Install JAVA 1.5
|
||||
- Install GTK 2.6
|
||||
-----------------------------------------------------------------
|
||||
Installation and setup Cygwin
|
||||
-----------------------------------------------------------------
|
||||
Download and start cygwin install:
|
||||
Browse to http://sources.redhat.com/cygwin/
|
||||
|
||||
Click on "Install or update now!" or "Install Cygwin now"
|
||||
|
||||
Cygwin Setup:
|
||||
Next
|
||||
|
||||
Cygwin Setup - Choose Installation Type:
|
||||
Install from Internet
|
||||
Next
|
||||
|
||||
Cygwin Setup - Choose Installation Directory:
|
||||
Root Directory: C:\cygwin
|
||||
Install For: "All Users"
|
||||
|
||||
Default Text File Type: DOS
|
||||
|
||||
Cygwin Setup - Select Local Package Directory:
|
||||
Local Package Directory: C:\cygwin-packages
|
||||
|
||||
Cygwin Setup - Select Connection Type:
|
||||
Direct Connection
|
||||
|
||||
Choose A Download Site:
|
||||
ftp://ftp.nas.nasa.gov
|
||||
|
||||
Cywin Setup - Select Packages:
|
||||
Base:
|
||||
defaults
|
||||
|
||||
Devel:
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
make
|
||||
pkgconfig
|
||||
cvs
|
||||
gcc
|
||||
gcc-g++
|
||||
|
||||
Editors:
|
||||
vim (optional)
|
||||
|
||||
Net:
|
||||
openssh
|
||||
openssl
|
||||
|
||||
Text:
|
||||
more
|
||||
|
||||
Utils:
|
||||
clear (optional)
|
||||
|
||||
Cygwin Setup - Create Icons:
|
||||
Finish
|
||||
|
||||
------------------------------------------------------------------
|
||||
Installation of JAVA
|
||||
------------------------------------------------------------------
|
||||
Download the latest Jave JRE and J2EE from "http://java.sun.com"
|
||||
and install them on the machine.
|
||||
|
||||
|
||||
-----------------------------------------------------------------
|
||||
Installation of GTK
|
||||
-----------------------------------------------------------------
|
||||
|
||||
-----------------------------------------------------------------
|
||||
Example of cygwin.bat
|
||||
-----------------------------------------------------------------
|
||||
Edit cygwin.bat (c:\cygwin\cygwin.bat) to add a call to
|
||||
%VS71COMNTOOLS%\vsvars32.bat (see example below). Also
|
||||
add the MSCS and JAVA_HOME environment parameters to
|
||||
this file. This sets up the Visual Studio and Java tools
|
||||
in Cygwin.
|
||||
|
||||
Sample cygwin.bat:
|
||||
|
||||
@echo off
|
||||
|
||||
set JAVA_HOME=C:/Program Files/Java/jdk1.5.0_07
|
||||
set VSINSTALLDIR=C:/Program Files/Microsoft Visual Studio .NET 2003/Common7/IDE
|
||||
set MSC=C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7
|
||||
|
||||
set PATH=%PATH%:/cygdrive/c/Program Files/Java/jdk1.5.0_07/bin
|
||||
set PATH=%PATH%:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin
|
||||
set PATH=%PATH%:/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Common7/IDE
|
||||
|
||||
set INCLUDE=%INCLUDE%;c:\Program Files\Java\jdk1.5.0_07\include
|
||||
set INCLUDE=%INCLUDE%;c:\Program Files\Java\jdk1.5.0_07\include\win32
|
||||
set INCLUDE=%INCLUDE%;c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include
|
||||
|
||||
C:
|
||||
chdir C:\cygwin\bin
|
||||
|
||||
bash --login -i
|
||||
|
||||
|
||||
-----------------------------------------------------------------
|
||||
Build
|
||||
-----------------------------------------------------------------
|
||||
|
||||
1.Start cygin (or Run cygwin.bat to start up Cygwin).
|
||||
|
||||
2. Generate autotools files:
|
||||
./autogen.sh --prefix=/<install_dir> [--enable-debug]
|
||||
|
||||
3. To reconfigure later, or to configure software that came from a source
|
||||
distribution (.tar.gz) file, use configure.
|
||||
./configure --prefix/<install_dir> [--enable-debug]
|
||||
(run ./configure --help for more options)
|
||||
|
||||
4. Choose your make target, here are a few interesting ones:
|
||||
make - compile and create binaries
|
||||
|
||||
make clean - clean up binaries
|
||||
|
||||
make package - create source.tar.gz and rpm
|
||||
|
||||
**make install - not available
|
||||
**make test - not available
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ cd ~/bld_tst/CASA-$1.$2.$3
|
||||
|
||||
#do dos2unx and remove unncessary directory
|
||||
|
||||
dos2unix c_micasad/startup/micasad > /dev/null 2>&1
|
||||
chmod +x c_micasad/startup/micasad
|
||||
dos2unix micasad/startup/micasad > /dev/null 2>&1
|
||||
chmod +x micasad/startup/micasad
|
||||
rm -rf products bin bin64 lib lib64 obj obj64
|
||||
|
||||
find . -name "*.lux" | xargs dos2unix > /dev/null 2>&1
|
||||
@@ -43,10 +43,6 @@ find . -name "*.spec" | xargs dos2unix > /dev/null 2>&1
|
||||
find . -name "*.patch" | xargs dos2unix > /dev/null 2>&1
|
||||
find . -name "*.changes" | xargs dos2unix > /dev/null 2>&1
|
||||
|
||||
rm -rf ./casa-yast
|
||||
rm -rf ./c_kwallet
|
||||
|
||||
|
||||
#create spec file from spec template
|
||||
cp -f ./package/linux/CASA.spec.in ./package/linux/CASA.spec
|
||||
cp -f ./CASA.changes ./package/linux/CASA.changes
|
||||
|
||||
Reference in New Issue
Block a user