summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-03-13 18:49:52 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-03-13 18:49:52 +0000
commit4de8da50400c5b4393f6b5524f58215baff80f47 (patch)
tree395a2e6da92f810de19850a393744544679f1b87 /net
parentDefine PATCH_SITE_SUBDIR to make use of the PATCH_SITES properly. (diff)
Fix ldap support
Add SSL support Add Syslog support Submitted by: U.Drolshagen@t-online.de, rehsack@liwing.de, rolnas@takas.lt
Notes
Notes: svn path=/head/; revision=56017
Diffstat (limited to 'net')
-rw-r--r--net/samba/Makefile8
-rw-r--r--net/samba/files/patch-ba15
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 <bsd.port.pre.mk>
+.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
+ ;;
+ *)