major source structure and module name changes - continue2
This commit is contained in:
parent
6cb9470b74
commit
f74f226813
0
CASA-auth-token/AUTHORS
Normal file
0
CASA-auth-token/AUTHORS
Normal file
0
CASA-auth-token/ChangeLog
Normal file
0
CASA-auth-token/ChangeLog
Normal file
0
CASA-auth-token/NEWS
Normal file
0
CASA-auth-token/NEWS
Normal file
130
CASA-auth-token/autogen.sh
Executable file
130
CASA-auth-token/autogen.sh
Executable file
@ -0,0 +1,130 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
ORIGDIR=`pwd`
|
||||
cd $srcdir
|
||||
PROJECT=CASA
|
||||
TEST_TYPE=-f
|
||||
FILE=include/micasa.h
|
||||
|
||||
DIE=0
|
||||
|
||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "You must have autoconf installed to compile $PROJECT."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
AUTOMAKE=automake-1.9
|
||||
ACLOCAL=aclocal-1.9
|
||||
|
||||
($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
|
||||
AUTOMAKE=automake
|
||||
ACLOCAL=aclocal
|
||||
}
|
||||
|
||||
($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
|
||||
echo
|
||||
echo "You must have automake installed to compile $PROJECT."
|
||||
echo "Download the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
|
||||
DIE=1
|
||||
}
|
||||
|
||||
if test "$DIE" -eq 1; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
test $TEST_TYPE $FILE || {
|
||||
echo "You must run this script in the top-level $PROJECT directory"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if test -z "$*"; then
|
||||
echo "I am going to run ./configure with no arguments - if you wish "
|
||||
echo "to pass any to it, please specify them on the $0 command line."
|
||||
fi
|
||||
|
||||
case $CC in
|
||||
*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
|
||||
esac
|
||||
|
||||
for coin in `find $srcdir -name configure.in -print`
|
||||
do
|
||||
dr=`dirname $coin`
|
||||
if test -f $dr/NO-AUTO-GEN; then
|
||||
echo skipping $dr -- flagged as no auto-gen
|
||||
else
|
||||
echo processing $dr
|
||||
macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
|
||||
( cd $dr
|
||||
aclocalinclude="$ACLOCAL_FLAGS"
|
||||
for k in $macrodirs; do
|
||||
if test -d $k; then
|
||||
aclocalinclude="$aclocalinclude -I $k"
|
||||
##else
|
||||
## echo "**Warning**: No such directory \`$k'. Ignored."
|
||||
fi
|
||||
done
|
||||
if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
|
||||
if grep "sed.*POTFILES" configure.in >/dev/null; then
|
||||
: do nothing -- we still have an old unmodified configure.in
|
||||
else
|
||||
echo "Creating $dr/aclocal.m4 ..."
|
||||
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
|
||||
echo "Running gettextize... Ignore non-fatal messages."
|
||||
echo "no" | gettextize --force --copy
|
||||
echo "Making $dr/aclocal.m4 writable ..."
|
||||
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
|
||||
fi
|
||||
fi
|
||||
if grep "^AM_GNOME_GETTEXT" configure.in >/dev/null; then
|
||||
echo "Creating $dr/aclocal.m4 ..."
|
||||
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
|
||||
echo "Running gettextize... Ignore non-fatal messages."
|
||||
echo "no" | gettextize --force --copy
|
||||
echo "Making $dr/aclocal.m4 writable ..."
|
||||
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
|
||||
fi
|
||||
if grep "^AM_GLIB_GNU_GETTEXT" configure.in >/dev/null; then
|
||||
echo "Creating $dr/aclocal.m4 ..."
|
||||
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
|
||||
echo "Running gettextize... Ignore non-fatal messages."
|
||||
echo "no" | glib-gettextize --force --copy
|
||||
echo "Making $dr/aclocal.m4 writable ..."
|
||||
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
|
||||
fi
|
||||
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
|
||||
echo "Running libtoolize..."
|
||||
libtoolize --force --copy
|
||||
fi
|
||||
echo "Running $ACLOCAL $aclocalinclude ..."
|
||||
$ACLOCAL $aclocalinclude
|
||||
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
|
||||
echo "Running autoheader..."
|
||||
autoheader
|
||||
fi
|
||||
echo "Running $AUTOMAKE --gnu $am_opt ..."
|
||||
$AUTOMAKE --add-missing --gnu $am_opt
|
||||
echo "Running autoconf ..."
|
||||
autoconf
|
||||
)
|
||||
fi
|
||||
done
|
||||
|
||||
conf_flags="--config-cache --enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
|
||||
|
||||
cd "$ORIGDIR"
|
||||
|
||||
if test x$NOCONFIGURE = x; then
|
||||
echo Running $srcdir/configure $conf_flags "$@" ...
|
||||
$srcdir/configure $conf_flags "$@" \
|
||||
&& echo Now type \`make\' to compile $PROJECT || exit 1
|
||||
else
|
||||
echo Skipping configure process.
|
||||
fi
|
278
CASA-auth-token/configure.in
Normal file
278
CASA-auth-token/configure.in
Normal file
@ -0,0 +1,278 @@
|
||||
#######################################################################
|
||||
#
|
||||
# Copyright (C) 2006 Novell, Inc.
|
||||
#
|
||||
# This program 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 program 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
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public
|
||||
# License along with this program; if not, write to the Free
|
||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
#
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
AC_INIT(client/internal.h)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_INIT_AUTOMAKE(CASA-auth-token, 1.7.678)
|
||||
RELEASE=`date +%Y%m%d_%H%M`
|
||||
AC_SUBST(RELEASE)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
#
|
||||
# Check for a valid C# compiler
|
||||
#
|
||||
#AC_CHECK_PROG(CSC, csc, csc)
|
||||
#test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs)
|
||||
#test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH])
|
||||
|
||||
#
|
||||
# Check for valid C# compiler in linux
|
||||
#
|
||||
case $host_os in
|
||||
cygwin*)
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_PROG(CSC, csc, csc)
|
||||
test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs)
|
||||
test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH])
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
case $CSC in
|
||||
#
|
||||
# Mono-specific configuration
|
||||
#
|
||||
mcs)
|
||||
CSC_EXEFLAG=/target:exe
|
||||
CSC_LIBFLAG=/target:library
|
||||
CSC_EXEFLAG=/target:exe
|
||||
CSC_WINEXEFLAG=/target:winexe
|
||||
CSCFLAGS='/d:MONO /warn:4 /d:TRACE -d:LINUX'
|
||||
CSCFLAGS_DEBUG="/debug+ /d:DEBUG"
|
||||
CSCFLAGS_OPTIMIZE="/optimize+"
|
||||
MONO=mono
|
||||
MONO_DEBUG='mono --debug'
|
||||
MONO_PATH=
|
||||
SYSTEM_XML='System.Xml.dll'
|
||||
;;
|
||||
#
|
||||
# .NET-specific configuration
|
||||
#
|
||||
csc)
|
||||
CSC_EXEFLAG=/target:exe
|
||||
CSC_LIBFLAG=/target:library
|
||||
CSC_EXEFLAG=/target:exe
|
||||
CSC_WINEXEFLAG=/target:winexe
|
||||
CSCFLAGS='/d:DOTNET /warn:4 /d:TRACE /nologo'
|
||||
CSCFLAGS_DEBUG="/debug+ /d:DEBUG"
|
||||
CSCFLAGS_OPTIMIZE="/optimize+"
|
||||
MONO=
|
||||
MONO_DEBUG=
|
||||
MONO_PATH=
|
||||
SYSTEM_XML='System.XML.dll'
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(CSC)
|
||||
AC_SUBST(CSC_EXEFLAG)
|
||||
AC_SUBST(CSC_LIBFLAG)
|
||||
AC_SUBST(CSC_WINEXEFLAG)
|
||||
AC_SUBST(CSCFLAGS)
|
||||
AC_SUBST(CSCFLAGS_DEBUG)
|
||||
AC_SUBST(MONO)
|
||||
AC_SUBST(MONO_PATH)
|
||||
AC_SUBST(SYSTEM_XML)
|
||||
|
||||
SRCDIR='$(top_srcdir)'
|
||||
DOCDIR="$SRCDIR/doc"
|
||||
TOOLDIR='$(top_srcdir)/tools'
|
||||
AC_SUBST(SRCDIR)
|
||||
AC_SUBST(DOCDIR)
|
||||
AC_SUBST(TOOLDIR)
|
||||
EMPTY=
|
||||
SPACE='$(EMPTY) $(EMPTY)'
|
||||
|
||||
AC_SUBST(EMPTY)
|
||||
AC_SUBST(SPACE)
|
||||
|
||||
#
|
||||
# Check for operating system and set TARGET_OS
|
||||
#
|
||||
case $host_os in
|
||||
cygwin*)
|
||||
TARGET_OS='windows'
|
||||
;;
|
||||
*)
|
||||
TARGET_OS='linux'
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(TARGET_OS)
|
||||
AM_CONDITIONAL(LINUX, test "$TARGET_OS" = "linux")
|
||||
AM_CONDITIONAL(WINDOWS, test "$TARGET_OS" = "windows")
|
||||
|
||||
#
|
||||
# Check for architecture and set TARGET_ARCH
|
||||
# ia64 needs to be treated as non64.
|
||||
|
||||
case $target_cpu in
|
||||
x86_64|p*pc64|s390x)
|
||||
LIB=lib64
|
||||
;;
|
||||
*ia64|*)
|
||||
LIB=lib
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(LIB)
|
||||
AM_CONDITIONAL(LIB64, test "$LIB" = lib64)
|
||||
|
||||
#
|
||||
#
|
||||
# Set platform-specific variables
|
||||
#
|
||||
case $TARGET_OS in
|
||||
#
|
||||
# Linux-specific configuration
|
||||
#
|
||||
linux)
|
||||
#
|
||||
# Set variables
|
||||
#
|
||||
COMMON_CLEAN_FILES=''
|
||||
ICON_EXT='.ico'
|
||||
ICON_FLAG='/resource:'
|
||||
PLATFORM_SUBDIRS=$LINUX_SUBDIRS
|
||||
SEP='/'
|
||||
LINK=gcc
|
||||
;;
|
||||
#
|
||||
# Windows-specific configuration
|
||||
#
|
||||
windows)
|
||||
COMMON_CLEAN_FILES='*.suo */*.suo *.csproj.user */*.csproj.user bin obj */bin */obj *.xml */*.xml *.pdb */*.pdb'
|
||||
ICON_EXT='.ico'
|
||||
ICON_FLAG='/win32icon:'
|
||||
PLATFORM_SUBDIRS=$WINDOWS_SUBDIRS
|
||||
SEP='$(EMPTY)\\$(EMPTY)'
|
||||
LINK=link.exe
|
||||
;;
|
||||
esac
|
||||
AC_SUBST(COMMON_CLEAN_FILES)
|
||||
AC_SUBST(ICON_EXT)
|
||||
AC_SUBST(ICON_FLAG)
|
||||
AC_SUBST(PLATFORM_SUBDIRS)
|
||||
AC_SUBST(SEP)
|
||||
AC_SUBST(LINK)
|
||||
|
||||
#
|
||||
# Run standard macros
|
||||
#
|
||||
AM_PROG_CC_STDC
|
||||
AC_PROG_INSTALL
|
||||
AC_HEADER_STDC
|
||||
|
||||
#######
|
||||
#
|
||||
# set CFLAGS
|
||||
#
|
||||
case $host_os in
|
||||
linux*)
|
||||
CFLAGS="$CFLAGS"
|
||||
;;
|
||||
cygwin*)
|
||||
CC=cl.exe
|
||||
CFLAGS="-D WIN32 -D SSCS_WIN32_PLAT_F -D N_PLAT_CLIENT -MT -Ox"
|
||||
;;
|
||||
esac
|
||||
|
||||
#
|
||||
# Handle --enable-debug
|
||||
#
|
||||
AC_ARG_ENABLE(debug, [
|
||||
--enable-debug configure the Makefiles to build in DEBUG mode],
|
||||
[case "${enableval}" in
|
||||
yes) enable_debug=true ;;
|
||||
no) enable_debug=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
|
||||
esac],[enable_debug=false])
|
||||
AM_CONDITIONAL(DEBUG, test x$enable_debug = xtrue)
|
||||
if test "$enable_debug" = "true"
|
||||
then
|
||||
# Build debug version.
|
||||
# CFLAGS="$CFLAGS_DEBUG $CFLAGS -DDBG -DDEBUG"
|
||||
CFLAGS="$CFLAGS_DEBUG $CFLAGS -g -DDBG -DDEBUG \
|
||||
-fPIC -DPIC -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \
|
||||
-D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \
|
||||
-DUNIX -DLINUX -DIAPX38"
|
||||
CSCFLAGS="$CSCFLAGS_DEBUG $CSCFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS_DEBUG $CXXFLAGS"
|
||||
DEVENV_CONFIGURATION=Debug
|
||||
MONO=$MONO_DEBUG
|
||||
else
|
||||
# Build optimized version.
|
||||
CFLAGS="$CFLAGS_OPTIMIZE $CFLAGS -g -fPIC -DPIC \
|
||||
-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \
|
||||
-D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \
|
||||
-DUNIX -DLINUX -DIAPX38"
|
||||
CSCFLAGS="$CSCFLAGS_OPTIMIZE $CSCFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS_OPTIMIZE $CXXFLAGS"
|
||||
DEVENV_CONFIGURATION=Release
|
||||
fi
|
||||
AC_SUBST(CSCFLAGS)
|
||||
AC_SUBST(DEVENV_CONFIGURATION)
|
||||
|
||||
##comment out due to build failure
|
||||
# Check for GCC version to add fstack-protector flag
|
||||
#
|
||||
#GCC_VER="`gcc -dumpversion`"
|
||||
#case "$GCC_VER" in
|
||||
# 3*)
|
||||
# ;;
|
||||
# 4*)
|
||||
# CFLAGS="$CFLAGS -fstack-protector"
|
||||
# ;;
|
||||
# *)
|
||||
# ;;
|
||||
#esac
|
||||
|
||||
AC_SUBST(GCC_VER)
|
||||
|
||||
#
|
||||
# Configure PKG_CONFIG
|
||||
#
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
if test "x$PKG_CONFIG" = "xno"; then
|
||||
AC_MSG_ERROR([You need to install pkg-config])
|
||||
fi
|
||||
|
||||
#
|
||||
# Configure files
|
||||
#
|
||||
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
|
||||
])
|
||||
|
@ -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
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user