aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-03-14 02:49:52 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-03-14 02:49:52 +0800
commit5d9ebe90b268bb6565b8d324b931596971c16526 (patch)
treeca634fd5f2639cc1c727e62aaa47146c70f9163e
parent39d987a612fffa2f60e0b9c1b423dca85a87debf (diff)
downloadfreebsd-ports-gnome-5d9ebe90b268bb6565b8d324b931596971c16526.tar.gz
freebsd-ports-gnome-5d9ebe90b268bb6565b8d324b931596971c16526.tar.zst
freebsd-ports-gnome-5d9ebe90b268bb6565b8d324b931596971c16526.zip
Fix ldap support
Add SSL support Add Syslog support Submitted by: U.Drolshagen@t-online.de, rehsack@liwing.de, rolnas@takas.lt
-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
+ ;;
+ *)