283608e
%global commit be1e01ea173defc9837bd1b90dc72ed63c8131e7
283608e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
283608e
342527b
Name:           mod_auth_cas
85e20ed
Version:        1.2
283608e
Release:        8%{?dist}
85e20ed
Summary:        Apache CAS Authentication Module for the JASIG/Apereo CAS Server
342527b
85e20ed
License:        Apache-2.0
85e20ed
URL:            https://github.com/apereo/mod_auth_cas
283608e
Source0:        https://github.com/apereo/mod_auth_cas/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
342527b
Source1:        auth_cas_mod.conf
342527b
Source2:        auth_cas_httpd.conf
342527b
342527b
BuildRequires:  openssl-devel
342527b
BuildRequires:  httpd-devel
342527b
BuildRequires:  m4, readline-devel, autoconf, automake
342527b
BuildRequires:  libcurl-devel
342527b
BuildRequires:  libtool
85e20ed
# Created issue with upstream https://github.com/apereo/mod_auth_cas/issues/208
85e20ed
BuildRequires:  pcre2-devel
85e20ed
BuildRequires:  gcc
342527b
85e20ed
Requires:       httpd-mmn = %{_httpd_mmn}
342527b
Requires:       mod_ssl
342527b
342527b
%description
85e20ed
The purpose of this module is to allow an Apache web server to interact
85e20ed
with an authentication server that conforms to the CAS version 1 or 2
85e20ed
protocol or SAML protocol as used by the JASIG/Apereo CAS Server
342527b
342527b
%prep
85e20ed
%autosetup -p1
342527b
342527b
%build
342527b
autoreconf -vif #BZ926155 - support aarch64
342527b
%configure --with-apxs=%{_httpd_apxs}
85e20ed
%make_build
342527b
342527b
%install
85e20ed
%make_install
342527b
install -Dp -m 644 %{SOURCE1} %{buildroot}%{_httpd_modconfdir}/10-auth_cas.conf
342527b
install -Dp -m 644 %{SOURCE2} %{buildroot}%{_httpd_confdir}/auth_cas.conf
342527b
85e20ed
mkdir -p %{buildroot}%{_localstatedir}/cache/httpd/%{name}
342527b
342527b
%files
342527b
%doc README
85e20ed
%{_libdir}/httpd/modules/mod_auth_cas.so
85e20ed
%config(noreplace) %{_httpd_confdir}/auth_cas.conf
85e20ed
%config(noreplace) %{_httpd_modconfdir}/10-auth_cas.conf
342527b
85e20ed
%dir %attr(-,apache,apache) %{_localstatedir}/cache/httpd/%{name}
342527b
342527b
%changelog
283608e
* Tue Feb 20 2024 Scott Williams <vwbusguy@fedoraproject.org> - 1.2-8
283608e
- Rebase to upstream be1e01ea173defc9837bd1b90dc72ed63c8131e7
283608e
- Remove patches that were merged upstream
283608e
- BZ2249532 - Fix tilde operator
283608e
fec4382
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-7
fec4382
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
fec4382
6b21b21
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-6
6b21b21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
6b21b21
e839498
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-5
e839498
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
e839498
85e20ed
* Tue Mar 14 2023 Scott Williams <vwbusguy@fedoraproject.org> - 1.2-4
85e20ed
- Patch whitespace in spec file
85e20ed
- Fix syntax for applying patches during rpm build
85e20ed
- Bump BuildRequires to use pcre2-devel
342527b
85e20ed
* Tue Mar 14 2023 Tim Hansen <timhansen46@fedoraproject.org> - 1.2-3
85e20ed
- Add patches for pending upstream pull requests.
342527b
85e20ed
* Tue Mar 07 2023 Tim Hansen <timhansen46@fedoraproject.org> - 1.2-2
85e20ed
- spec file modernization
342527b
85e20ed
* Tue Mar 02 2021 Scott Williams <vwbusguy@fedoraproject.org> - 1.2-1
85e20ed
- Version bump to v1.2 and support for EL8
342527b
342527b
* Fri Sep 02 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.1-3
342527b
- Fix /var/cache/httpd/mod_auth_cas directory ownership (BZ#1368448)
342527b
342527b
* Fri Sep 02 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.1-2
342527b
- Fix EPEL6 conditionals for 1.1 update
342527b
342527b
* Thu Jun 16 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.1-1
342527b
- Update to latest stable upstream
342527b
342527b
* Wed May 11 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.1-0.2.rc3
342527b
- Update refs to apache versions
342527b
- Fix entry module conf in _httpd_modconfdir
342527b
- Add conf to _httpd_confdir
342527b
- Add cachedir
342527b
342527b
* Tue May 10 2016 Adam Miller <maxamillion@fedoraproject.org> - 1.1-0.1.rc3
342527b
- Pull in latest RC from upstream
342527b
342527b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9.1-2
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
342527b
342527b
* Fri Oct 30 2015 Adam Miller <maxamillion@fedoraproject.org> - 1.0.9.1-1
342527b
- Update to latest upstream.
342527b
342527b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-12
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
342527b
342527b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-11
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
342527b
342527b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-10
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
342527b
342527b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-9
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
342527b
342527b
* Thu Mar 07 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.0.8.1-8
342527b
- BZ926155 - support aarch64
342527b
342527b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-7
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
342527b
342527b
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-6
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
342527b
342527b
* Wed May  2 2012 Joe Orton <jorton@redhat.com> - 1.0.8.1-5
342527b
- update packaging (#803065)
342527b
342527b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-4
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
342527b
342527b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8.1-3
342527b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
342527b
342527b
* Tue Jun 29 2010 Adam Miller <maxamillion@fedoraproject.org> - 1.0.8.1-2
342527b
- Fixed svn export link, upstream changed canonical URL names.
342527b
342527b
* Wed Apr 28 2010 Adam Miller <maxamillion@fedoraproject.org> - 1.0.8.1-1
342527b
- added requires of httpd
342527b
- fixed mixed use of macros
342527b
- updated to latest version
342527b
342527b
* Fri Aug 07 2009 Adam Miller <maxamillion@fedoraproject.org> - 1.0.8-1
342527b
- First attempt to package mod_auth_cas for Fedora