Modifications to get us closer to submit this part of the project to
autobuild.
This commit is contained in:
parent
c71a90410c
commit
bb9f421dff
@ -22,7 +22,7 @@
|
||||
|
||||
SUBDIRS = server package
|
||||
|
||||
DIST_SUBDIRS = include server package
|
||||
DIST_SUBDIRS = server package
|
||||
|
||||
EXTRA_DIST = autogen.sh
|
||||
|
||||
|
@ -8,7 +8,7 @@ ORIGDIR=`pwd`
|
||||
cd $srcdir
|
||||
PROJECT=CASA
|
||||
TEST_TYPE=-f
|
||||
FILE=server/AuthTokenSvc/authtoken.settings
|
||||
FILE=configure.in
|
||||
|
||||
DIE=0
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
AC_INIT(autogen.sh)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_INIT_AUTOMAKE(CASA_auth_token, 0.1.1)
|
||||
AM_INIT_AUTOMAKE(CASA_auth_token_svc, 0.1.1)
|
||||
RELEASE=`date +%Y%m%d_%H%M`
|
||||
AC_SUBST(RELEASE)
|
||||
AM_MAINTAINER_MODE
|
||||
@ -262,30 +262,19 @@ AC_OUTPUT([
|
||||
Makefile
|
||||
package/Makefile
|
||||
package/linux/Makefile
|
||||
package/linux/CASA-auth-token-service.spec
|
||||
include/Makefile
|
||||
package/linux/CASA_auth_token_svc.spec
|
||||
server/Makefile
|
||||
server/AuthTokenValidate/Makefile
|
||||
server/AuthTokenValidate/linux/Makefile
|
||||
server/AuthTokenValidate/idenTokenProviders/Makefile
|
||||
server/AuthTokenValidate/idenTokenProviders/casa/Makefile
|
||||
server/AuthTokenValidate/idenTokenProviders/casa/linux/Makefile
|
||||
server/PamSupport/Makefile
|
||||
server/PamSupport/linux/Makefile
|
||||
server/ApacheSupport/Makefile
|
||||
server/ApacheSupport/2.2/Makefile
|
||||
server/ApacheSupport/2.2/linux/Makefile
|
||||
server/AuthTokenSvc/Makefile
|
||||
server/AuthTokenSvc/src/Makefile
|
||||
server/AuthTokenSvc/src/com/Makefile
|
||||
server/AuthTokenSvc/src/com/novell/Makefile
|
||||
server/AuthTokenSvc/src/com/novell/casa/Makefile
|
||||
server/AuthTokenSvc/src/com/novell/casa/authtoksvc/Makefile
|
||||
server/JaasSupport/Makefile
|
||||
server/JaasSupport/src/Makefile
|
||||
server/JaasSupport/src/com/Makefile
|
||||
server/JaasSupport/src/com/novell/Makefile
|
||||
server/JaasSupport/src/com/novell/casa/Makefile
|
||||
server/JaasSupport/src/com/novell/casa/jaas/Makefile
|
||||
server/Svc/Makefile
|
||||
server/Svc/src/Makefile
|
||||
server/Svc/src/com/Makefile
|
||||
server/Svc/src/com/novell/Makefile
|
||||
server/Svc/src/com/novell/casa/Makefile
|
||||
server/Svc/src/com/novell/casa/authtoksvc/Makefile
|
||||
server/Jaas/Makefile
|
||||
server/Jaas/src/Makefile
|
||||
server/Jaas/src/com/Makefile
|
||||
server/Jaas/src/com/novell/Makefile
|
||||
server/Jaas/src/com/novell/casa/Makefile
|
||||
server/Jaas/src/com/novell/casa/jaas/Makefile
|
||||
])
|
||||
|
||||
|
@ -1,312 +0,0 @@
|
||||
#
|
||||
# spec file for the CASA-auth-token packages.
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
# For debug build, please replace Release to Debug and set debug_opt to --enable-debug
|
||||
%define cfg Release
|
||||
%define debug_opt ""
|
||||
|
||||
|
||||
Name: @PACKAGE@
|
||||
URL: http://www.novell.com/products
|
||||
BuildRequires: libstdc++ libgcc gcc-c++ glib2-devel krb5-devel libgssapi libstdc++-devel pam-devel pkgconfig java-1_5_0-ibm-devel apache2-devel update-alternatives mono-devel CASA-devel servletapi5 identity-abstraction
|
||||
%define prefix /usr
|
||||
%define jprefix /usr/share/java
|
||||
License: LGPL
|
||||
Group: Applications/System
|
||||
Autoreqprov: on
|
||||
%define bldno 1.0.0
|
||||
Version: @VERSION@
|
||||
Release: 0
|
||||
Summary: Novell Common Authentication Services Adapter Authentication Token Infrastructure (CASA-auth-token)
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: java-1_5_0-ibm servletapi5 tomcat5
|
||||
PreReq: %fillup_prereq %insserv_prereq
|
||||
|
||||
%description
|
||||
CASA-auth-token is an authentication token infrastructure with support for multiple
|
||||
authentication mechanisms with an emphasis on providing a scalable single
|
||||
sign-on solution.
|
||||
|
||||
A key feature of CASA-auth-token is that its authentication tokens contain identity
|
||||
information about the entity being authenticated. This information is made available
|
||||
to the consuming services. The amount of information contained in the tokens is
|
||||
configured on a per-service basis. Because of this feature, we say that CASA-auth-token
|
||||
projects an "Authenticated Identity".
|
||||
|
||||
The CASA-auth-token-service is the infrastructure component responsible for authenticating
|
||||
entities using the native authentication mechanism and for issuing tokens that can later
|
||||
be used by applications to authenticate the entity o services that are CASA authentication
|
||||
enabled.
|
||||
|
||||
%package -n CASA-auth-token-server-support
|
||||
Summary: Libraries needed for "C" applications development.
|
||||
Group: Applications/System
|
||||
Requires: CASA-devel
|
||||
|
||||
%description -n CASA-auth-token-server-support
|
||||
This package contains the CASA (Common Authentication Services Adapter)
|
||||
authentication token infrastructure lower level libraries for token
|
||||
verification from native code ("C"). It is recomended that this library
|
||||
not be invoked directly by applications, instead it is recomended that
|
||||
appplication invoke its services through the support modules provided to
|
||||
integrate with PAM or the Apache Web Server.
|
||||
|
||||
%package -n CASA-auth-token-pam-support
|
||||
Summary: Libraries needed for PAM applications development.
|
||||
Group: Applications/System
|
||||
Requires: CASA-auth-token-server-support pam
|
||||
|
||||
%description -n CASA-auth-token-pam-support
|
||||
This package contains the CASA (Common Authentication Services Adapter)
|
||||
authentication token infrastructure PAM module for token verification.
|
||||
|
||||
%package -n CASA-auth-token-apache2_2-support
|
||||
Summary: Libraries needed for Apache 2.2 applications development.
|
||||
Group: Applications/System
|
||||
Requires: apache2 CASA-auth-token-server-support
|
||||
|
||||
%description -n CASA-auth-token-apache2_2-support
|
||||
This package contains the CASA (Common Authentication Services Adapter)
|
||||
authentication token infrastructure Apache v2.2 authentication provider
|
||||
module for token verification. The module expects that users authenticate
|
||||
utilizing the HTTP Basic authentication scheme and that the password utilized consist
|
||||
of a CASA authentication token. Information about the authenticated identity is
|
||||
made available to other Apache modules via the Apache request environment variable.
|
||||
|
||||
%package -n CASA-auth-token-jaas-support
|
||||
Summary: Libraries needed for JAAS applications development.
|
||||
Group: Applications/System
|
||||
Requires: java-1_5_0-ibm
|
||||
|
||||
%description -n CASA-auth-token-jaas-support
|
||||
This package contains the CASA (Common Authentication Services Adapter)
|
||||
authentication token infrastructure JAAS module and supporting libraries
|
||||
for token verification.
|
||||
|
||||
%package -n CASA-auth-token-devel
|
||||
Summary: Include files needed for applications development.
|
||||
Group: Applications/System
|
||||
Requires: CASA-devel CASA-auth-token-server-support CASA-auth-token-jaas-support CASA-auth-token-pam-support CASA-auth-token-apache2_2-support CASA-auth-token-service
|
||||
|
||||
%description -n CASA-auth-token-devel
|
||||
This package contains the files necessary for the development of client and
|
||||
server applications that utilize the CASA (Common Authentication Service Adapter)
|
||||
authentication token infrastructure for authentication.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch
|
||||
%if %{_lib} == "lib64"
|
||||
%define binsource bin64
|
||||
%else
|
||||
%define binsource bin
|
||||
%endif
|
||||
|
||||
%build
|
||||
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
||||
%if %suse_version > 1000
|
||||
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
|
||||
%endif
|
||||
|
||||
./autogen.sh
|
||||
make
|
||||
|
||||
|
||||
%install
|
||||
|
||||
## Prime the file system ##
|
||||
install -d %{buildroot}%{prefix}
|
||||
install -d %{buildroot}%{prefix}/%{_lib}
|
||||
install -d %{buildroot}%{prefix}/%{_lib}/security
|
||||
install -d %{buildroot}%{prefix}/include
|
||||
install -d %{buildroot}%{prefix}/share
|
||||
install -d %{buildroot}%{prefix}/share/java
|
||||
|
||||
## CASA-auth-token-service ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/java/CasaAuthTokenSvc.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war.%{bldno}
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf CasaAuthTokenSvc.war.%{bldno} %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war
|
||||
ln -sf CasaAuthTokenSvc.war.%{bldno} %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war.1
|
||||
|
||||
## CASA-auth-token-server-support ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/%{cfg}/libcasa_s_authtoken.so %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so.%{bldno}
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so
|
||||
ln -sf libcasa_s_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
|
||||
|
||||
## CASA-auth-token-pam-support ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so.%{bldno}
|
||||
#install -m 755 %{_lib}/%{cfg}/pam_casaauthtok.so %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf pam_casaauthtok.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so
|
||||
ln -sf pam_casaauthtok.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/security/pam_casaauthtok.so.1
|
||||
|
||||
## CASA-auth-token-apache2_2-support ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/%{cfg}/mod_authn_casa.so %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so.%{bldno}
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so
|
||||
ln -sf mod_authn_casa.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/mod_authn_casa.so.1
|
||||
|
||||
## CASA-auth-token-jaas-support ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/java/CasaJaasSupport.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar.%{bldno}
|
||||
install -m 755 %{_lib}/java/CasaAuthToken.jar %{buildroot}%{prefix}/share/java/CasaAuthToken.jar.%{bldno}
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf CasaJaasSupport.jar.%{bldno} %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar
|
||||
ln -sf CasaJaasSupport.jar.%{bldno} %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar.1
|
||||
ln -sf CasaAuthToken.jar.%{bldno} %{buildroot}%{prefix}/share/java/CasaAuthToken.jar
|
||||
ln -sf CasaAuthToken.jar.%{bldno} %{buildroot}%{prefix}/share/java/CasaAuthToken.jar.1
|
||||
|
||||
## CASA-auth-token-devel ##
|
||||
# Header Files
|
||||
install -m 644 include/casa_c_authtoken.h %{buildroot}%{prefix}/include
|
||||
install -m 644 include/casa_s_authtoken.h %{buildroot}%{prefix}/include
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
## CASA-auth-token-service ##
|
||||
%pre
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/share/java/CasaAuthTokenSvc.war.%{bldno}
|
||||
%{prefix}/share/java/CasaAuthTokenSvc.war
|
||||
%{prefix}/share/java/CasaAuthTokenSvc.war.1
|
||||
|
||||
|
||||
## CASA-auth-token-server-support ##
|
||||
%pre -n CASA-auth-token-server-support
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA-auth-token-server-support
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun -n CASA-auth-token-server-support
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA-auth-token-server-support
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA-auth-token-server-support
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/%{_lib}/libcasa_s_authtoken.so.%{bldno}
|
||||
%{prefix}/%{_lib}/libcasa_s_authtoken.so
|
||||
%{prefix}/%{_lib}/libcasa_s_authtoken.so.1
|
||||
|
||||
|
||||
## CASA-auth-token-pam-support ##
|
||||
%pre -n CASA-auth-token-pam-support
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA-auth-token-pam-support
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun -n CASA-auth-token-pam-support
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA-auth-token-pam-support
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA-auth-token-pam-support
|
||||
%defattr(-,root,root)
|
||||
%dir %{prefix}/%{_lib}/security
|
||||
%{prefix}/%{_lib}/security/pam_casaauthtok.so.%{bldno}
|
||||
%{prefix}/%{_lib}/security/pam_casaauthtok.so
|
||||
%{prefix}/%{_lib}/security/pam_casaauthtok.so.1
|
||||
|
||||
|
||||
## CASA-auth-token-apache2_2-support ##
|
||||
%pre -n CASA-auth-token-apache2_2-support
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA-auth-token-apache2_2-support
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun -n CASA-auth-token-apache2_2-support
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA-auth-token-apache2_2-support
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA-auth-token-apache2_2-support
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so.%{bldno}
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so
|
||||
%{prefix}/%{_lib}/mod_authn_casa.so.1
|
||||
|
||||
|
||||
## CASA-auth-token-jaas-support ##
|
||||
%pre -n CASA-auth-token-jaas-support
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA-auth-token-jaas-support
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun -n CASA-auth-token-jaas-support
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA-auth-token-jaas-support
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA-auth-token-jaas-support
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/share/java/CasaJaasSupport.jar.%{bldno}
|
||||
%{prefix}/share/java/CasaJaasSupport.jar
|
||||
%{prefix}/share/java/CasaJaasSupport.jar.1
|
||||
%{prefix}/share/java/CasaAuthToken.jar.%{bldno}
|
||||
%{prefix}/share/java/CasaAuthToken.jar
|
||||
%{prefix}/share/java/CasaAuthToken.jar.1
|
||||
|
||||
|
||||
## CASA-auth-token-devel ##
|
||||
%pre -n CASA-auth-token-devel
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA-auth-token-devel
|
||||
# Nothing to do in this post script
|
||||
|
||||
%preun -n CASA-auth-token-devel
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA-auth-token-devel
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA-auth-token-devel
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/include/casa_c_authtoken.h
|
||||
%{prefix}/include/casa_s_authtoken.h
|
||||
|
||||
%changelog -n CASA-auth-token
|
163
CASA-auth-token/java/package/linux/CASA_auth_token_svc.spec.in
Normal file
163
CASA-auth-token/java/package/linux/CASA_auth_token_svc.spec.in
Normal file
@ -0,0 +1,163 @@
|
||||
#
|
||||
# spec file for the CASA_auth_token java packages.
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
# For debug build, please replace Release to Debug and set debug_opt to --enable-debug
|
||||
%define cfg Release
|
||||
%define debug_opt ""
|
||||
|
||||
|
||||
Name: @PACKAGE@
|
||||
URL: http://www.novell.com/products
|
||||
BuildRequires: libstdc++ libgcc gcc-c++ glib2-devel libstdc++-devel pkgconfig java-1_5_0-ibm-devel update-alternatives mono-devel servletapi5 identity-abstraction
|
||||
%define prefix /usr
|
||||
License: LGPL
|
||||
Group: Applications/System
|
||||
Autoreqprov: on
|
||||
%define bldno 1.0.0
|
||||
Version: @VERSION@
|
||||
Release: 0
|
||||
Summary: Novell Common Authentication Services Adapter Authentication Token Infrastructure "Java" (CASA_auth_token)
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: java-1_5_0-ibm servletapi5 tomcat5
|
||||
PreReq: %fillup_prereq %insserv_prereq
|
||||
BuildArchitectures: noarch
|
||||
|
||||
%description
|
||||
CASA_auth_token is an authentication token infrastructure with support for multiple
|
||||
authentication mechanisms with an emphasis on providing a scalable single
|
||||
sign-on solution.
|
||||
|
||||
A key feature of CASA_auth_token is that its authentication tokens contain identity
|
||||
information about the entity being authenticated. This information is made available
|
||||
to the consuming services. The amount of information contained in the tokens is
|
||||
configured on a per-service basis. Because of this feature, we say that CASA_auth_token
|
||||
projects an "Authenticated Identity".
|
||||
|
||||
The CASA_auth_token_svc is the infrastructure component responsible for authenticating
|
||||
entities using the native authentication mechanism and for issuing tokens that can later
|
||||
be used by applications to authenticate the entity o services that are CASA authentication
|
||||
enabled.
|
||||
|
||||
%package -n CASA_auth_token_jaas-support
|
||||
Summary: Libraries needed for JAAS applications development.
|
||||
Group: Applications/System
|
||||
Requires: java-1_5_0-ibm
|
||||
|
||||
%description -n CASA_auth_token_jaas-support
|
||||
CASA_auth_token is an authentication token infrastructure with support for multiple
|
||||
authentication mechanisms with an emphasis on providing a scalable single
|
||||
sign-on solution.
|
||||
|
||||
A key feature of CASA_auth_token is that its authentication tokens contain identity
|
||||
information about the entity being authenticated. This information is made available
|
||||
to the consuming services. The amount of information contained in the tokens is
|
||||
configured on a per-service basis. Because of this feature, we say that CASA_auth_token
|
||||
projects an "Authenticated Identity".
|
||||
|
||||
The CASA_auth_token_jaas-support package contains the CASA (Common Authentication
|
||||
Services Adapter) authentication token infrastructure JAAS module and supporting libraries
|
||||
for token verification.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch
|
||||
%if %{_lib} == "lib64"
|
||||
%define binsource bin64
|
||||
%else
|
||||
%define binsource bin
|
||||
%endif
|
||||
|
||||
%build
|
||||
export PATH=.:$PATH:/usr/%_lib/qt3/bin
|
||||
%if %suse_version > 1000
|
||||
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fstack-protector"
|
||||
%endif
|
||||
|
||||
./autogen.sh
|
||||
make
|
||||
|
||||
|
||||
%install
|
||||
|
||||
## Prime the file system ##
|
||||
install -d %{buildroot}%{prefix}
|
||||
install -d %{buildroot}%{prefix}/share
|
||||
install -d %{buildroot}%{prefix}/share/java
|
||||
|
||||
## CASA_auth_token_svc ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/java/CasaAuthTokenSvc.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc-%{bldno}.war
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war
|
||||
ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CasaAuthTokenSvc.war.1
|
||||
|
||||
## CASA_auth_token_jaas-support ##
|
||||
# Libs
|
||||
install -m 755 %{_lib}/java/CasaJaasSupport.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport-%{bldno}.jar
|
||||
install -m 755 %{_lib}/java/CasaAuthToken.jar %{buildroot}%{prefix}/share/java/CasaAuthToken-%{bldno}.jar
|
||||
|
||||
# Lib Symbolic Links
|
||||
ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar
|
||||
ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaJaasSupport.jar.1
|
||||
ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaAuthToken.jar
|
||||
ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CasaAuthToken.jar.1
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
## CASA_auth_token_svc ##
|
||||
%pre
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/share/java/CasaAuthTokenSvc-%{bldno}.war
|
||||
%{prefix}/share/java/CasaAuthTokenSvc.war
|
||||
%{prefix}/share/java/CasaAuthTokenSvc.war.1
|
||||
|
||||
|
||||
## CASA_auth_token_jaas-support ##
|
||||
%pre -n CASA_auth_token_jaas-support
|
||||
# Nothing to do in this pre script
|
||||
|
||||
%post -n CASA_auth_token_jaas-support
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun -n CASA_auth_token_jaas-support
|
||||
# Nothing to do in this preun script
|
||||
|
||||
%postun -n CASA_auth_token_jaas-support
|
||||
# Nothing to do in this postun script
|
||||
|
||||
%files -n CASA_auth_token_jaas-support
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/share/java/CasaJaasSupport-%{bldno}.jar
|
||||
%{prefix}/share/java/CasaJaasSupport.jar
|
||||
%{prefix}/share/java/CasaJaasSupport.jar.1
|
||||
%{prefix}/share/java/CasaAuthToken-%{bldno}.jar
|
||||
%{prefix}/share/java/CasaAuthToken.jar
|
||||
%{prefix}/share/java/CasaAuthToken.jar.1
|
||||
|
||||
|
||||
%changelog -n package
|
@ -23,7 +23,7 @@ RPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).$(target_cpu).rpm
|
||||
#SRPM_FILE = $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
|
||||
SRPM_FILE = $(PACKAGE)-$(VERSION)*.src.rpm
|
||||
|
||||
SPEC_FILE = CASA-auth-token-service.spec
|
||||
SPEC_FILE = CASA_auth_token_svc.spec
|
||||
|
||||
.PHONY: package package-clean package-install package-uninstall casa
|
||||
|
||||
|
@ -20,10 +20,9 @@
|
||||
#
|
||||
#######################################################################
|
||||
|
||||
#SUBDIRS = AuthTokenValidate ApacheSupport PamSupport
|
||||
SUBDIRS = AuthTokenValidate ApacheSupport PamSupport AuthTokenSvc JaasSupport
|
||||
SUBDIRS = Svc Jaas
|
||||
|
||||
DIST_SUBDIRS = AuthTokenValidate ApacheSupport PamSupport AuthTokenSvc JaasSupport
|
||||
DIST_SUBDIRS = Svc Jaas
|
||||
|
||||
CFILES =
|
||||
|
||||
|
@ -33,8 +33,10 @@ ROOT = ../..
|
||||
|
||||
LIBDIR = $(ROOT)/$(LIB)
|
||||
|
||||
IDENT_ABSTRACTION_DIR = /usr/share/java/identity-abstraction
|
||||
IDENT_ABSTRACTION_DEPENDANCIES_DIR = /usr/share/java/identity-abstraction/dependancies
|
||||
#IDENT_ABSTRACTION_DIR = /usr/share/java/identity-abstraction
|
||||
#IDENT_ABSTRACTION_DEPENDANCIES_DIR = /usr/share/java/identity-abstraction/dependancies
|
||||
IDENT_ABSTRACTION_DIR = /usr/share/java/identity-abstraction-0.1.145
|
||||
IDENT_ABSTRACTION_DEPENDANCIES_DIR = /usr/share/java/identity-abstraction-0.1.145
|
||||
|
||||
JAVAROOT = .
|
||||
JAVAC= javac
|
||||
@ -79,7 +81,8 @@ AUTHTOKEN_FILES = -C $(BUILDDIR)/webapp/WEB-INF/classes com
|
||||
CLASSES = $(addprefix $(BUILDDIR)/, $(JAVAFILES:%.java=%.class))
|
||||
|
||||
LIBS = /usr/share/java/servletapi5.jar
|
||||
CLASSPATH = $(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar:$(LIBS)
|
||||
#CLASSPATH = $(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar:$(LIBS)
|
||||
CLASSPATH = $(IDENT_ABSTRACTION_DIR)/identity-abstraction-0.1.145.jar:$(LIBS)
|
||||
|
||||
CUR_DIR := $(shell pwd)
|
||||
|
Loading…
Reference in New Issue
Block a user