Mark wrote a useful post about building mod_auth_cas for CentOS 7. It works, but I prefer to build RPM packages on a build server and deploy them to production servers, rather than building on production servers.
Basically I took the spec file from the mod_auth_cas source package for CentOS 6 from the EPEL 6 repository, tweaked it, and replaced the source tarball with the forked copy Mark recommended. This built cleanly for CentOS 7.
I’ve sent a pull request back to the upstream project with the Red Hat build files and documentation and for those who are keen, here are the EL7 RPM and source RPM:
There’s an even better way of building this for CentOS 7. Fedora 21 includes Apache 2.4 and mod_auth_cas and it is really easy to backport this source package.
Rebuild is as simple as issuing:
rpmbuild --rebuild mod_auth_cas-188.8.131.52-11.fc22.src.rpm
It will spit out an RPM file suitable for deployment on CentOS 7. Add
--sign if you routinely sign your packages with an RPM-GPG key.