OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 30-Jan-2009 18:38:50 Branch: HEAD Handle: 2009013017385000 Modified files: openpkg-src/libgsasl libgsasl.spec Log: add optional NTLM support Summary: Revision Changes Path 1.37 +12 -0 openpkg-src/libgsasl/libgsasl.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/libgsasl/libgsasl.spec ============================================================================ $ cvs diff -u -r1.36 -r1.37 libgsasl.spec --- openpkg-src/libgsasl/libgsasl.spec 30 Jan 2009 17:34:42 -0000 1.36 +++ openpkg-src/libgsasl/libgsasl.spec 30 Jan 2009 17:38:50 -0000 1.37 @@ -36,6 +36,7 @@ # package options %option with_kerberos no +%option with_ntlm no # list of sources Source0: ftp://alpha.gnu.org/gnu/gsasl/libgsasl-%{version}.tar.gz @@ -51,6 +52,10 @@ BuildPreReq: KERBEROS PreReq: KERBEROS %endif +%if "%{with_ntlm}" == "yes" +BuildPreReq: libntlm +PreReq: libntlm +%endif AutoReq: no AutoReqProv: no @@ -88,6 +93,13 @@ --disable-gssapi \ --without-libgss-prefix \ %endif +%if "%{with_ntlm}" == "yes" + --enable-ntlm \ + --with-libntlm-prefix=%{l_prefix} \ +%else + --disable-ntlm \ + --without-libntlm-prefix \ +%endif --disable-shared \ --disable-nls %{l_make} %{l_mflags -O} @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org