From ef39562723e3c7ed37b967e8dcc3755beaa2b8bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 1 Apr 2007 17:26:35 +0000 Subject: [PATCH] - updated to 5.3 - removed obsolete aprfix - added krb4 bcond Changed files: apache-mod_auth_kerb.spec -> 1.12 --- apache-mod_auth_kerb.spec | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/apache-mod_auth_kerb.spec b/apache-mod_auth_kerb.spec index c2a3009..e164bdc 100644 --- a/apache-mod_auth_kerb.spec +++ b/apache-mod_auth_kerb.spec @@ -1,18 +1,20 @@ +# +# Conditional build: +%bcond_with krb4 # build with Kerberos V4 support +# %define mod_name auth_kerb %define apxs /usr/sbin/apxs Summary: This is the Kerberos authentication module for Apache Summary(pl.UTF-8): Moduł uwierzytelnienia Kerberos dla Apache Name: apache-mod_%{mod_name} -Version: 5.0 -%define pre rc6 -Release: 0.%{pre}.2 +Version: 5.3 +Release: 1 Epoch: 1 License: GPL Group: Networking/Daemons -Source0: http://dl.sourceforge.net/modauthkerb/mod_%{mod_name}-%{version}-%{pre}.tar.gz -# Source0-md5: 274edfb950af20ce6ef0ddcb7c20263a +Source0: http://dl.sourceforge.net/modauthkerb/mod_%{mod_name}-%{version}.tar.gz +# Source0-md5: a363588578050b3d320a2ceccf3ed666 Source1: %{name}.conf -Patch1: %{name}-aprfix.patch URL: http://modauthkerb.sourceforge.net/ BuildRequires: %{apxs} BuildRequires: apache-devel @@ -35,11 +37,14 @@ To jest moduł uwierzytelnienia dla Apache pozwalający na uwierzytelnianie klientów HTTP z użyciem wpisów w katalogu Kerberosa. %prep -%setup -q -n mod_%{mod_name}-%{version}-%{pre} -%patch1 -p1 +%setup -q -n mod_%{mod_name}-%{version} %build -%configure +%configure \ + %{?with_krb4:--with-krb4} \ + %{!?with_krb4:--without-krb4} \ + --with-apache=%{_prefix} + %{__sed} -i -e 's/-pthread/-lpthread/' Makefile %{__make} -- 2.43.0