OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Oct-2007 21:08:53
Branch: HEAD Handle: 2007100920085200
Modified files:
openpkg-src/proftpd proftpd.spec
Log:
support building against both MIT and Heimdal Kerberos
Summary:
Revision Changes Path
1.135 +8 -4 openpkg-src/proftpd/proftpd.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/proftpd/proftpd.spec
============================================================================
$ cvs diff -u -r1.134 -r1.135 proftpd.spec
--- openpkg-src/proftpd/proftpd.spec 6 Oct 2007 07:55:06 -0000 1.134
+++ openpkg-src/proftpd/proftpd.spec 9 Oct 2007 19:08:52 -0000 1.135
@@ -44,7 +44,7 @@
Group: FTP
License: GPL
Version: %{V_proftpd}
-Release: 20071006
+Release: 20071009
# package options
%option with_ifsession no
@@ -122,8 +122,8 @@
PreReq: opie
%endif
%if "%{with_kerberos}" == "yes"
-BuildPreReq: kerberos
-PreReq: kerberos
+BuildPreReq: KERBEROS
+PreReq: KERBEROS
%endif
%if "%{with_ssl}" == "yes"
BuildPreReq: openssl
@@ -283,7 +283,11 @@
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
- --enable-mit
+ `if [ -d %{l_prefix}/include/heimdal ]; then \
+ echo "--enable-heimdal"; \
+ else \
+ echo "--enable-mit"; \
+ fi`
cp mod_gss.h ../include/
cp mod_gss.c ../contrib/
) || exit $?
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]