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: 12-Oct-2007 09:00:15
Branch: HEAD Handle: 2007101208001300
Modified files:
openpkg-src/libgsasl libgsasl.spec
Log:
make Kerberos an optional thing
Summary:
Revision Changes Path
1.29 +14 -3 openpkg-src/libgsasl/libgsasl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/libgsasl/libgsasl.spec
============================================================================
$ cvs diff -u -r1.28 -r1.29 libgsasl.spec
--- openpkg-src/libgsasl/libgsasl.spec 22 Aug 2007 20:57:37 -0000
1.28
+++ openpkg-src/libgsasl/libgsasl.spec 12 Oct 2007 07:00:13 -0000
1.29
@@ -33,7 +33,10 @@
Group: Cryptography
License: LGPL
Version: 0.2.21
-Release: 20070822
+Release: 20071012
+
+# package options
+%option with_kerberos no
# list of sources
Source0: http://josefsson.org/gsasl/releases/libgsasl-%{version}.tar.gz
@@ -45,6 +48,10 @@
PreReq: OpenPKG, openpkg >= 20040130
BuildPreReq: gcrypt, libidn
PreReq: gcrypt, libidn
+%if "%{with_kerberos}" == "yes"
+BuildPreReq: KERBEROS
+PreReq: KERBEROS
+%endif
AutoReq: no
AutoReqProv: no
@@ -75,6 +82,11 @@
--with-libgcrypt \
--with-libgcrypt-prefix=%{l_prefix} \
--with-stringprep \
+%if "%{with_kerberos}" == "yes"
+ --with-libgss-prefix=%{l_prefix} \
+%else
+ --without-libgss-prefix \
+%endif
--disable-shared \
--disable-nls
%{l_make} %{l_mflags -O}
@@ -83,8 +95,7 @@
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
- %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
- %{l_files_std}
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]