2006-07-27 20:12:55 +02:00
|
|
|
#
|
|
|
|
# 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
|
2006-09-15 19:09:32 +02:00
|
|
|
BuildRequires: libstdc++ gcc-c++ glib2-devel libstdc++-devel pkgconfig java-1_5_0-ibm java-1_5_0-ibm-devel java-1_5_0-ibm-alsa update-alternatives mono-devel servletapi5 identity-abstraction
|
2006-07-27 20:12:55 +02:00
|
|
|
%define prefix /usr
|
|
|
|
License: LGPL
|
|
|
|
Group: Applications/System
|
|
|
|
Autoreqprov: on
|
2006-08-09 21:36:15 +02:00
|
|
|
%define bldno @VERSION@
|
2006-07-27 20:12:55 +02:00
|
|
|
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
|
2006-09-14 18:03:57 +02:00
|
|
|
Requires: java-1_5_0-ibm servletapi5 tomcat5
|
2006-07-27 20:12:55 +02:00
|
|
|
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.
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
%package -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
Summary: Libraries needed for JAAS applications development.
|
|
|
|
Group: Applications/System
|
2006-09-14 18:03:57 +02:00
|
|
|
Requires: java-1_5_0-ibm
|
2006-07-27 20:12:55 +02:00
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
%description -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
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".
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
The CASA_auth_token_jaas_support package contains the CASA (Common Authentication
|
2006-07-27 20:12:55 +02:00
|
|
|
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
|
|
|
|
|
2006-09-28 19:36:26 +02:00
|
|
|
export NO_BRP_CHECK_BYTECODE_VERSION="true"
|
2006-09-27 01:15:27 +02:00
|
|
|
|
2006-07-27 20:12:55 +02:00
|
|
|
## Prime the file system ##
|
|
|
|
install -d %{buildroot}%{prefix}
|
|
|
|
install -d %{buildroot}%{prefix}/share
|
|
|
|
install -d %{buildroot}%{prefix}/share/java
|
2006-09-14 18:03:57 +02:00
|
|
|
install -d %{buildroot}%{prefix}/share/java/CASA
|
|
|
|
install -d %{buildroot}%{prefix}/share/java/CASA/authtoken
|
|
|
|
install -d %{buildroot}%{prefix}/share/java/CASA/authtoken/external
|
2006-09-08 23:53:13 +02:00
|
|
|
install -d %{buildroot}/etc
|
2006-09-14 18:03:57 +02:00
|
|
|
install -d -m 755 %{buildroot}/var/lib/CASA
|
|
|
|
install -d -m 755 %{buildroot}/var/lib/CASA/authtoken
|
|
|
|
install -d -m 755 %{buildroot}/var/lib/CASA/authtoken/svc
|
|
|
|
install -d -m 755 %{buildroot}/etc/CASA
|
|
|
|
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d
|
|
|
|
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d
|
|
|
|
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/svc.d
|
|
|
|
install -d -m 755 %{buildroot}/etc/CASA/authtoken.d/java-keys
|
2006-07-27 20:12:55 +02:00
|
|
|
|
|
|
|
## CASA_auth_token_svc ##
|
|
|
|
# Libs
|
2006-09-14 18:03:57 +02:00
|
|
|
install -m 755 %{_lib}/java/CasaAuthTokenSvc.war %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc-%{bldno}.war
|
2006-07-27 20:12:55 +02:00
|
|
|
|
|
|
|
# Lib Symbolic Links
|
2006-09-14 18:03:57 +02:00
|
|
|
ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war
|
|
|
|
ln -sf CasaAuthTokenSvc-%{bldno}.war %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war.1
|
2006-07-27 20:12:55 +02:00
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
## CASA_auth_token_jaas_support ##
|
2006-07-27 20:12:55 +02:00
|
|
|
# Libs
|
2006-09-14 18:03:57 +02:00
|
|
|
install -m 755 %{_lib}/java/CasaJaasSupport.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaJaasSupport-%{bldno}.jar
|
|
|
|
install -m 755 %{_lib}/java/CasaAuthToken.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthToken-%{bldno}.jar
|
|
|
|
install -m 755 server/Svc/external/axis.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/axis.jar
|
|
|
|
install -m 755 server/Svc/external/axis-ant.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/axis-ant.jar
|
|
|
|
install -m 755 server/Svc/external/commons-discovery-0.2.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/commons-discovery-0.2.jar
|
|
|
|
install -m 755 server/Svc/external/commons-logging-1.0.4.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/commons-logging-1.0.4.jar
|
|
|
|
install -m 755 server/Svc/external/commons-logging-api.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/commons-logging-api.jar
|
|
|
|
install -m 755 server/Svc/external/jaxrpc.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/jaxrpc.jar
|
|
|
|
install -m 755 server/Svc/external/log4j.properties %{buildroot}%{prefix}/share/java/CASA/authtoken/external/log4j.properties
|
|
|
|
install -m 755 server/Svc/external/log4j-1.2.8.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/log4j-1.2.8.jar
|
|
|
|
install -m 755 server/Svc/external/saaj.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/saaj.jar
|
|
|
|
install -m 755 server/Svc/external/wsdl4j-1.5.1.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/wsdl4j-1.5.1.jar
|
|
|
|
install -m 755 server/Svc/external/wss4j-1.5.0.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/wss4j-1.5.0.jar
|
|
|
|
install -m 755 server/Svc/external/xalan.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xalan.jar
|
|
|
|
install -m 755 server/Svc/external/xercesImpl.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xercesImpl.jar
|
|
|
|
install -m 755 server/Svc/external/xml-apis.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xml-apis.jar
|
|
|
|
install -m 755 server/Svc/external/xmlsec-1.2.1.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/external/xmlsec-1.2.1.jar
|
|
|
|
install -m 644 server/Svc/crypto.properties %{buildroot}/etc/CASA/authtoken.d/crypto.properties
|
|
|
|
install -m 644 server/Svc/jaas.conf %{buildroot}/etc/CASA/authtoken.d/svc.d/jaas.conf
|
2006-07-27 20:12:55 +02:00
|
|
|
|
|
|
|
# Lib Symbolic Links
|
2006-09-14 18:03:57 +02:00
|
|
|
ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar
|
|
|
|
ln -sf CasaJaasSupport-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar.1
|
|
|
|
ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar
|
|
|
|
ln -sf CasaAuthToken-%{bldno}.jar %{buildroot}%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar.1
|
2006-07-27 20:12:55 +02:00
|
|
|
|
|
|
|
%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)
|
2006-09-14 18:03:57 +02:00
|
|
|
%dir %{prefix}/share/java/CASA
|
|
|
|
%dir %{prefix}/share/java/CASA/authtoken
|
|
|
|
%dir /var/lib/CASA
|
|
|
|
%dir /var/lib/CASA/authtoken
|
|
|
|
%dir /var/lib/CASA/authtoken/svc
|
2006-09-08 23:53:13 +02:00
|
|
|
%dir /etc/CASA
|
2006-09-14 18:03:57 +02:00
|
|
|
%dir /etc/CASA/authtoken.d
|
|
|
|
%dir /etc/CASA/authtoken.d/svc.d
|
|
|
|
%dir /etc/CASA/authtoken.d/java-keys
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc-%{bldno}.war
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaAuthTokenSvc.war.1
|
2006-07-27 20:12:55 +02:00
|
|
|
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
## CASA_auth_token_jaas_support ##
|
|
|
|
%pre -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
# Nothing to do in this pre script
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
%post -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
/sbin/ldconfig
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
%preun -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
# Nothing to do in this preun script
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
%postun -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
# Nothing to do in this postun script
|
|
|
|
|
2006-08-03 19:25:30 +02:00
|
|
|
%files -n CASA_auth_token_jaas_support
|
2006-07-27 20:12:55 +02:00
|
|
|
%defattr(-,root,root)
|
2006-09-14 18:03:57 +02:00
|
|
|
%dir %{prefix}/share/java/CASA
|
|
|
|
%dir %{prefix}/share/java/CASA/authtoken
|
|
|
|
%dir %{prefix}/share/java/CASA/authtoken/external
|
2006-09-08 23:53:13 +02:00
|
|
|
%dir /etc/CASA
|
2006-09-14 18:03:57 +02:00
|
|
|
%dir /etc/CASA/authtoken.d
|
|
|
|
%dir /etc/CASA/authtoken.d/java-keys
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaJaasSupport-%{bldno}.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaJaasSupport.jar.1
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaAuthToken-%{bldno}.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/CasaAuthToken.jar.1
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/axis.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/axis-ant.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/commons-discovery-0.2.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/commons-logging-1.0.4.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/commons-logging-api.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/jaxrpc.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/log4j.properties
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/log4j-1.2.8.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/saaj.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/wsdl4j-1.5.1.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/wss4j-1.5.0.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/xalan.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/xercesImpl.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/xml-apis.jar
|
|
|
|
%{prefix}/share/java/CASA/authtoken/external/xmlsec-1.2.1.jar
|
|
|
|
/etc/CASA/authtoken.d/crypto.properties
|
|
|
|
/etc/CASA/authtoken.d/svc.d/jaas.conf
|
2006-07-27 20:12:55 +02:00
|
|
|
|
|
|
|
|
2006-07-31 19:22:17 +02:00
|
|
|
%changelog -n CASA_auth_token_svc
|