diff --git a/.cvsignore b/.cvsignore index e69de29..723af93 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +mod_auth_cas-1.0.8.1.tar.gz diff --git a/auth_cas.conf b/auth_cas.conf new file mode 100644 index 0000000..c8980b8 --- /dev/null +++ b/auth_cas.conf @@ -0,0 +1,6 @@ +# +# mod_auth_cas is an Apache 2.0/2.2 compliant module that supports the +# CASv1 and CASv2 protocols +# + +LoadModule auth_cas_module modules/mod_auth_cas.so diff --git a/import.log b/import.log new file mode 100644 index 0000000..dc98da9 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +mod_auth_cas-1_0_8_1-2_fc13:HEAD:mod_auth_cas-1.0.8.1-2.fc13.src.rpm:1277824549 diff --git a/mod_auth_cas.spec b/mod_auth_cas.spec new file mode 100644 index 0000000..3dc93be --- /dev/null +++ b/mod_auth_cas.spec @@ -0,0 +1,68 @@ +Name: mod_auth_cas +Version: 1.0.8.1 +Release: 2%{?dist} +Summary: Apache 2.0/2.2 compliant module that supports the CASv1 and CASv2 protocols + +Group: System Environment/Daemons +License: GPLv3+ with exceptions +URL: http://www.ja-sig.org/wiki/display/CASC/mod_auth_cas +# The source for this package was pulled from the upstream's vcs. Their +# releases are stored in SVN instead of exported to a tar.gz, I used the +# following commands to do so: +# svn export https://source.jasig.org/cas-clients/mod_auth_cas/tags/mod_auth_cas-1.0.8.1 mod_auth_cas-1.0.8.1 + +# tar -czvf mod_auth_cas-1.0.8.1.tar.gz mod_auth_cas-1.0.8.1/ +Source0: mod_auth_cas-1.0.8.1.tar.gz +Source1: auth_cas.conf + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: openssl-devel +BuildRequires: httpd-devel + +Requires: httpd + +%description +mod_auth_cas is an Apache 2.0/2.2 compliant module that supports the CASv1 +and CASv2 protocols + +%prep +%setup -q + + +%build +%configure --with-apxs=%{_sbindir}/apxs +make %{?_smp_mflags} + + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot}/%{_libdir}/httpd/modules/ + +mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d +install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/auth_cas.conf + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc README +%{_libdir}/httpd/modules/*.so +%config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf + +%changelog +* Tue Jun 29 2010 Adam Miller - 1.0.8.1-2 +- Fixed svn export link, upstream changed canonical URL names. + +* Wed Apr 28 2010 Adam Miller - 1.0.8.1-1 +- added requires of httpd +- fixed mixed use of macros +- updated to latest version + +* Fri Aug 07 2009 Adam Miller - 1.0.8-1 +- First attempt to package mod_auth_cas for Fedora + diff --git a/sources b/sources index e69de29..99117d3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +41e2c8268c1f8c84a98ca76133e1d870 mod_auth_cas-1.0.8.1.tar.gz