2 Summary: Open source system for attribute-based Web SSO
6 Group: System Environment/Libraries
8 URL: http://shibboleth.internet2.edu/
9 Source0: http://shibboleth.internet2.edu/downloads/%{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-root
11 BuildRequires: openssl-devel
12 BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0
13 BuildRequires: xml-security-c-devel >= 1.4.0
14 BuildRequires: zlib-devel, opensaml-devel >= 2.0
15 %{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0}
16 %{!?_with_log4cpp:BuildRequires: log4shib-devel}
17 %{?_with_fastcgi:BuildRequires: fcgi-devel}
18 %if "%{_vendor}" == "redhat"
19 %{!?_without_builtinapache:BuildRequires: httpd-devel}
21 %if "%{_vendor}" == "suse"
22 %{!?_without_builtinapache:BuildRequires: apache2-devel}
27 Shibboleth, a project of Internet2/MACE, is developing architectures,
28 policy structures, practical technologies, and an open source
29 implementation to support inter-institutional sharing of web resources
30 subject to access controls. In addition, Shibboleth will develop a
31 policy framework that will allow inter-operation within the higher
34 This package contains the shibboleth runtime library and apache module.
37 Summary: Shibboleth development Headers
38 Group: Development/Libraries
39 Requires: %{name} = %{version}
42 Shibboleth, a project of Internet2/MACE, is developing architectures,
43 policy structures, practical technologies, and an open source
44 implementation to support inter-institutional sharing of web resources
45 subject to access controls. In addition, Shibboleth will develop a
46 policy framework that will allow inter-operation within the higher
49 This package contains the headers and other necessary files to build
50 applications that use the shibboleth library.
53 Summary: Shibboleth API Documentation
54 Group: Development/Libraries
55 Requires: %{name} = %{version}
58 Shibboleth Library API documentation generated by doxygen.
64 %configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{?shib_options}
68 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
69 %{__make} install NOKEYGEN=1 DESTDIR=$RPM_BUILD_ROOT
71 %if "%{_vendor}" == "suse"
72 %{__sed} -i "s/\/var\/log\/httpd/\/var\/log\/apache2/g" \
73 $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/native.logger
80 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
83 %ifnos solaris2.8 solaris2.9 solaris2.10
88 # Plug the SP into Apache on a recognized system.
90 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_13.so ] ; then
91 APACHE_CONFIG="apache.config"
93 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_20.so ] ; then
94 APACHE_CONFIG="apache2.config"
96 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_22.so ] ; then
97 APACHE_CONFIG="apache22.config"
99 if [ "$APACHE_CONFIG" != "no" ] ; then
101 if [ -d %{_sysconfdir}/httpd/conf.d ] ; then
102 APACHE_CONFD="%{_sysconfdir}/httpd/conf.d"
104 if [ -d %{_sysconfdir}/apache2/conf.d ] ; then
105 APACHE_CONFD="%{_sysconfdir}/apache2/conf.d"
107 if [ "$APACHE_CONFD" != "no" ] ; then
108 if [ ! -f $APACHE_CONFD/shib.conf ] ; then
109 %if "%{_vendor}" == "suse"
110 %{__sed} "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/packages\/%{name}/g" \
111 %{_sysconfdir}/%{name}/$APACHE_CONFIG \
112 > $APACHE_CONFD/shib.conf
114 %{__sed} "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/%{name}-2.0/g" \
115 %{_sysconfdir}/%{name}/$APACHE_CONFIG \
116 > $APACHE_CONFD/shib.conf
122 # Install the shibd init.d scripts and service
123 %if "%{_vendor}" == "redhat"
124 if [ -d %{_sysconfdir}/init.d ] ; then
125 if [ ! -f %{_sysconfdir}/init.d/shibd ] ; then
126 %{__cp} -p %{_sysconfdir}/%{name}/shibd-%{_vendor} %{_sysconfdir}/init.d/shibd
127 %{__chmod} 755 %{_sysconfdir}/init.d/shibd
128 chkconfig --add shibd
134 cd %{_sysconfdir}/%{name}
138 %ifnos solaris2.8 solaris2.9 solaris2.10
142 # delete the Apache configuration if we're being removed
143 [ "$1" = 0 ] || exit 0
144 [ -f %{_sysconfdir}/httpd/conf.d/shib.conf ] && \
145 %{__rm} -f %{_sysconfdir}/httpd/conf.d/shib.conf
146 [ -f %{_sysconfdir}/apache2/conf.d/shib.conf ] && \
147 %{__rm} -f %{_sysconfdir}/apache2/conf.d/shib.conf
150 %if "%{_vendor}" == "redhat"
151 chkconfig --del shibd
152 [ -f %{_sysconfdir}/init.d/shibd ] && \
153 %{__rm} -f %{_sysconfdir}/init.d/shibd
157 %defattr(-,root,root,-)
160 %{_bindir}/resolvertest
161 %{_libdir}/libshibsp.so.*
162 %{_libdir}/libshibsp-lite.so.*
163 %dir %{_libdir}/%{name}
165 %exclude %{_libdir}/%{name}/*.la
166 %dir %{_localstatedir}/log/%{name}
167 %dir %{_localstatedir}/run/%{name}
168 %dir %{_datadir}/xml/%{name}
169 %{_datadir}/xml/%{name}/*
170 %dir %{_sysconfdir}/%{name}
171 %config(noreplace) %{_sysconfdir}/%{name}/*.xml
172 %config(noreplace) %{_sysconfdir}/%{name}/*.html
173 %config(noreplace) %{_sysconfdir}/%{name}/*.logger
174 %{_sysconfdir}/%{name}/*.dist
175 %{_sysconfdir}/%{name}/apache*.config
176 %{_sysconfdir}/%{name}/shibd-redhat
177 %{_sysconfdir}/%{name}/shibd-debian
178 %{_sysconfdir}/%{name}/shibd-osx.plist
179 %{_sysconfdir}/%{name}/keygen.sh
180 %{_sysconfdir}/%{name}/*.xsl
181 %docdir %{_datadir}/doc/%{name}
182 %{_datadir}/doc/%{name}/CREDITS.txt
183 %{_datadir}/doc/%{name}/FASTCGI.LICENSE
184 %{_datadir}/doc/%{name}/LICENSE.txt
185 %{_datadir}/doc/%{name}/LOG4CPP.LICENSE
186 %{_datadir}/doc/%{name}/logo.jpg
187 %{_datadir}/doc/%{name}/main.css
188 %{_datadir}/doc/%{name}/NOTICE.txt
189 %{_datadir}/doc/%{name}/OPENSSL.LICENSE
190 %{_datadir}/doc/%{name}/README.txt
191 %{_datadir}/doc/%{name}/RELEASE.txt
194 %defattr(-,root,root,-)
196 %{_libdir}/libshibsp.so
197 %{_libdir}/libshibsp-lite.so
200 %defattr(644,root,root,755)
201 %doc %{_datadir}/doc/%{name}/api
204 * Mon Mar 17 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-6
207 * Fri Jan 18 2008 Scott Cantor <cantor.2@osu.edu> - 2.0-5
208 - Release candidate 1.
210 * Sun Oct 21 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-4
211 - libexec -> lib/shibboleth changes
212 - Added doc subpackage
214 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-3
217 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-2
218 - Second alpha release.
220 * Sun Jun 10 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-1
221 - First alpha release.
223 * Mon Oct 2 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-11
224 - Applied fix for secadv 20061002
225 - Fix for metadata loader loop
227 * Wed Jun 15 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-10
228 - Applied fix for sec 20060615
230 * Fri Apr 15 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-9
231 - Misc. patches, SuSE, Apache 2.2, gcc 4.1, and 64-bit support
233 * Mon Jan 9 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-8
234 - Applied new fix for secadv 20060109
236 * Tue Nov 8 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-7
237 - Applied new fix for secadv 20050901 plus rollup
239 * Fri Sep 23 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-6
240 - Minor patches and default config changes
242 - Fix shib.conf creation
243 - Integrated init.d script
244 - Prevent replacement of config files
246 * Thu Sep 1 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-5
247 - Applied fix for secadv 20050901 plus rollup of NSAPI fixes
249 * Sun Apr 24 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-1
250 - Updated test programs and location of schemas.
251 - move siterefresh to to sbindir
253 * Fri Apr 1 2005 Derek Atkins <derek@ihtfp.com> - 1.3-1
254 - Add selinux-targeted-policy package
255 - move shar to sbindir
257 * Tue Oct 19 2004 Derek Atkins <derek@ihtfp.com> - 1.2-1
258 - Create SPEC file based on various versions in existence.