2 Summary: Open source system to enable inter-institutional resource sharing
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, curl-devel >= 7.10.6
12 BuildRequires: xerces%{?xercesver}-c-devel >= 2.6.1, xml-security-c-devel >= 1.4.0
13 BuildRequires: zlib-devel, opensaml-devel >= 2.0
14 %{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0}
15 %{!?_with_log4cpp:BuildRequires: log4shib-devel}
16 %{?_with_fastcgi:BuildRequires: fcgi-devel}
17 %if "%{_vendor}" == "redhat"
18 %{!?_without_builtinapache:BuildRequires: httpd-devel}
20 %if "%{_vendor}" == "suse"
21 %{!?_without_builtinapache:BuildRequires: apache2-devel}
26 Shibboleth, a project of Internet2/MACE, is developing architectures,
27 policy structures, practical technologies, and an open source
28 implementation to support inter-institutional sharing of web resources
29 subject to access controls. In addition, Shibboleth will develop a
30 policy framework that will allow inter-operation within the higher
33 This package contains the shibboleth runtime library and apache module.
36 Summary: Shibboleth development Headers
37 Group: Development/Libraries
38 Requires: %{name} = %{version}
41 Shibboleth, a project of Internet2/MACE, is developing architectures,
42 policy structures, practical technologies, and an open source
43 implementation to support inter-institutional sharing of web resources
44 subject to access controls. In addition, Shibboleth will develop a
45 policy framework that will allow inter-operation within the higher
48 This package contains the headers and other necessary files to build
49 applications that use the shibboleth library.
52 Summary: Shibboleth API Documentation
53 Group: Development/Libraries
54 Requires: %{name} = %{version}
57 Shibboleth Library API documentation generated by doxygen.
63 %configure %{?_without_odbc:--disable-odbc} %{?_without_adfs:--disable-adfs} %{?_with_fastcgi} %{?shib_options}
67 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70 %if "%{_vendor}" == "suse"
71 %{__sed} -i "s/\/var\/log\/httpd/\/var\/log\/apache2/g" \
72 $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/native.logger
79 [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
82 %ifnos solaris2.8 solaris2.9 solaris2.10
87 # Plug the SP into Apache on a recognized system.
89 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_13.so ] ; then
90 APACHE_CONFIG="apache.config"
92 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_20.so ] ; then
93 APACHE_CONFIG="apache2.config"
95 if [ -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/mod_shib_22.so ] ; then
96 APACHE_CONFIG="apache22.config"
98 if [ "$APACHE_CONFIG" != "no" ] ; then
100 if [ -d %{_sysconfdir}/httpd/conf.d ] ; then
101 APACHE_CONFD="%{_sysconfdir}/httpd/conf.d"
103 if [ -d %{_sysconfdir}/apache2/conf.d ] ; then
104 APACHE_CONFD="%{_sysconfdir}/apache2/conf.d"
106 if [ "$APACHE_CONFD" != "no" ] ; then
107 if [ ! -f $APACHE_CONFD/shib.conf ] ; then
108 %if "%{_vendor}" == "suse"
109 %{__sed} "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/packages\/%{name}/g" \
110 %{_sysconfdir}/%{name}/$APACHE_CONFIG \
111 > $APACHE_CONFD/shib.conf
113 %{__sed} "s/\/usr\/doc\/%{name}/\/usr\/share\/doc\/%{name}-@-VERSION-@/g" \
114 %{_sysconfdir}/%{name}/$APACHE_CONFIG \
115 > $APACHE_CONFD/shib.conf
121 # Install the shibd init.d scripts and service
122 %if "%{_vendor}" == "redhat"
123 if [ -d %{_sysconfdir}/init.d ] ; then
124 if [ ! -f %{_sysconfdir}/init.d/shibd ] ; then
125 %{__cp} -p %{_sysconfdir}/%{name}/shibd-%{_vendor} %{_sysconfdir}/init.d/shibd
126 %{__chmod} 755 %{_sysconfdir}/init.d/shibd
127 chkconfig --add shibd
133 %ifnos solaris2.8 solaris2.9 solaris2.10
137 # delete the Apache configuration if we're being removed
138 [ "$1" = 0 ] || exit 0
139 [ -f %{_sysconfdir}/httpd/conf.d/shib.conf ] && \
140 %{__rm} -f %{_sysconfdir}/httpd/conf.d/shib.conf
141 [ -f %{_sysconfdir}/apache2/conf.d/shib.conf ] && \
142 %{__rm} -f %{_sysconfdir}/apache2/conf.d/shib.conf
145 %if "%{_vendor}" == "redhat"
146 chkconfig --del shibd
147 [ -f %{_sysconfdir}/init.d/shibd ] && \
148 %{__rm} -f %{_sysconfdir}/init.d/shibd
152 %defattr(-,root,root,-)
155 %{_bindir}/resolvertest
156 %{_libdir}/libshibsp.so.*
157 %{_libdir}/libshibsp-lite.so.*
158 %dir %{_libdir}/%{name}
159 %{_libdir}/%{name}/*.so
160 %exclude %{_libdir}/%{name}/*.la
161 %dir %{_localstatedir}/log/%{name}
162 %dir %{_datadir}/xml/%{name}
163 %{_datadir}/xml/%{name}
164 %dir %{_sysconfdir}/%{name}
165 %config(noreplace) %{_sysconfdir}/%{name}/*.xml
166 %config(noreplace) %{_sysconfdir}/%{name}/*.html
167 %config(noreplace) %{_sysconfdir}/%{name}/*.logger
168 %config %{_sysconfdir}/%{name}/sp-example.crt
169 %config %{_sysconfdir}/%{name}/sp-example.key
170 %{_sysconfdir}/%{name}/*.dist
171 %{_sysconfdir}/%{name}/apache*.config
172 %{_sysconfdir}/%{name}/shibd-redhat
173 %{_sysconfdir}/%{name}/shibd-debian
174 %{_sysconfdir}/%{name}/shibd-osx.plist
175 %docdir %{_datadir}/doc/%{name}
176 %{_datadir}/doc/%{name}/CREDITS.txt
177 %{_datadir}/doc/%{name}/INSTALL.txt
178 %{_datadir}/doc/%{name}/LICENSE.txt
179 %{_datadir}/doc/%{name}/NOTICE.txt
180 %{_datadir}/doc/%{name}/README.txt
181 %{_datadir}/doc/%{name}/RELEASE.txt
182 %{_datadir}/doc/%{name}/LOG4CPP.LICENSE
183 %{_datadir}/doc/%{name}/OPENSSL.LICENSE
184 %{_datadir}/doc/%{name}/logo.jpg
185 %{_datadir}/doc/%{name}/main.css
188 %defattr(-,root,root,-)
190 %{_libdir}/libshibsp.so
191 %{_libdir}/libshibsp-lite.so
194 %defattr(644,root,root,755)
195 %doc %{_datadir}/doc/%{name}/api
198 * Sun Oct 21 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-4
199 - libexec -> lib/shibboleth changes
200 - Added doc subpackage
202 * Thu Aug 16 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-3
205 * Fri Jul 13 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-2
206 - Second alpha release.
208 * Sun Jun 10 2007 Scott Cantor <cantor.2@osu.edu> - 2.0-1
209 - First alpha release.
211 * Mon Oct 2 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-11
212 - Applied fix for secadv 20061002
213 - Fix for metadata loader loop
215 * Wed Jun 15 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-10
216 - Applied fix for sec 20060615
218 * Fri Apr 15 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-9
219 - Misc. patches, SuSE, Apache 2.2, gcc 4.1, and 64-bit support
221 * Mon Jan 9 2006 Scott Cantor <cantor.2@osu.edu> - 1.3-8
222 - Applied new fix for secadv 20060109
224 * Tue Nov 8 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-7
225 - Applied new fix for secadv 20050901 plus rollup
227 * Fri Sep 23 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-6
228 - Minor patches and default config changes
230 - Fix shib.conf creation
231 - Integrated init.d script
232 - Prevent replacement of config files
234 * Thu Sep 1 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-5
235 - Applied fix for secadv 20050901 plus rollup of NSAPI fixes
237 * Sun Apr 24 2005 Scott Cantor <cantor.2@osu.edu> - 1.3-1
238 - Updated test programs and location of schemas.
239 - move siterefresh to to sbindir
241 * Fri Apr 1 2005 Derek Atkins <derek@ihtfp.com> - 1.3-1
242 - Add selinux-targeted-policy package
243 - move shar to sbindir
245 * Tue Oct 19 2004 Derek Atkins <derek@ihtfp.com> - 1.2-1
246 - Create SPEC file based on various versions in existence.