Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_auth_kerb
> apache2-mod_auth_kerb.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache2-mod_auth_kerb.spec of Package apache2-mod_auth_kerb
# # spec file for package apache2-mod_auth_kerb (Version 5.1) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org # # norootforbuild %define apxs /usr/sbin/apxs2 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR) Name: apache2-mod_auth_kerb Version: 5.4 Release: 0 Summary: Kerberos Module for Apache URL: http://modauthkerb.sourceforge.net/install.html License: BSD License Group: Productivity/Networking/Web/Servers Source: http://prdownloads.sourceforge.net/modauthkerb/mod_auth_kerb-%{version}.tar.gz Patch1: mod_auth_kerb-5.1-defproblem.dif Patch2: mod_auth_kerb-fix_warnings.patch Patch3: mod_auth_kerb-5.4-configure.patch Patch4: mod_auth_kerb-cache_auth.patch Patch5: mod_auth_kerb.apache22.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires:apache2-devel autoconf automake libtool gcc glibc-devel %if 0%{?sles_version} == 9 BuildRequires:heimdal-devel openssl-devel %else BuildRequires:krb5-devel %endif # sles_version %description Mod_auth_kerb is an Apache module designed to provide Kerberos authentication to the Apache web server. Using the Basic Auth mechanism, it retrieves a username/password pair from the browser and checks them against a Kerberos server as set up by your particular organization. The module also supports the Negotiate authentication method, which performs full Kerberos authentication based on ticket exchanges, and does not require users to insert their passwords to the browser. Authors: -------- Daniel Kouril <kouril@users.sourceforge.net> %if 0%{?!__debug_package} %debug_package %endif %prep %setup -q -n "mod_auth_kerb-%{version}" %patch1 %patch2 %patch3 %patch4 %patch5 -p1 %build autoreconf -fiv # help SLES9 a bit to find krb5: export PATH="/usr/lib/mit/bin:$PATH" # Necessary when building with apr 1.2.x instead of the apr that comes with httpd export CPPFLAGS="-I/usr/include/apr-1" %configure --with-krb4=no \ --with-krb5 \ --with-apache="%{_usr}" || { cat "config.log"; exit 1; } %__make %{?jobs:-j%jobs} %install %__install -D -m0755 src/.libs/mod_auth_kerb.so "%{buildroot}/%{apache_libexecdir}/mod_auth_kerb.so" %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc INSTALL LICENSE README %dir %{apache_libexecdir} %{apache_libexecdir}/mod_auth_kerb.so %changelog