From 5d9ebe90b268bb6565b8d324b931596971c16526 Mon Sep 17 00:00:00 2001 From: dwcjr Date: Wed, 13 Mar 2002 18:49:52 +0000 Subject: Fix ldap support Add SSL support Add Syslog support Submitted by: U.Drolshagen@t-online.de, rehsack@liwing.de, rolnas@takas.lt --- net/samba/Makefile | 8 ++++++++ net/samba/files/patch-ba | 15 ++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/net/samba/Makefile b/net/samba/Makefile index afbc508c3b15..b6991ca93f33 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -41,6 +41,14 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \ .include +.if defined(WITH_SYSLOG) +CONFIGURE_ARGS+= --with-syslog +.endif + +.if defined(WITH_SSL) +CONFIGURE_ARGS+= --with-ssl -ssl-inc=/usr/include/openssl --ssl-lib=/usr/lib +.endif + .if defined(WITH_LDAP) LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2 CONFIGURE_ARGS+=--with-ldapsam diff --git a/net/samba/files/patch-ba b/net/samba/files/patch-ba index c721da053dff..5cdf212300ad 100644 --- a/net/samba/files/patch-ba +++ b/net/samba/files/patch-ba @@ -1,6 +1,6 @@ ---- configure.in.orig Sat Oct 13 17:09:16 2001 -+++ configure.in Fri Jan 11 19:58:14 2002 -@@ -1622,7 +1607,7 @@ +--- configure.in.orig Wed Feb 6 20:56:47 2002 ++++ configure.in Wed Mar 13 12:42:20 2002 +@@ -1792,7 +1792,7 @@ yes) AC_MSG_RESULT(yes) AC_DEFINE(KRB5_AUTH) @@ -9,3 +9,12 @@ CFLAGS="$CFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib" ;; +@@ -1966,7 +1966,7 @@ + yes) + AC_MSG_RESULT(yes) + AC_DEFINE(WITH_LDAP_SAM) +- LIBS="-lldap -llber -lresolv $LIBS" ++ LIBS="-lldap -llber $LIBS" + with_smbpasswd_sam=no + ;; + *) -- cgit