diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-03-14 02:49:52 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-03-14 02:49:52 +0800 |
commit | 5d9ebe90b268bb6565b8d324b931596971c16526 (patch) | |
tree | ca634fd5f2639cc1c727e62aaa47146c70f9163e | |
parent | 39d987a612fffa2f60e0b9c1b423dca85a87debf (diff) | |
download | freebsd-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/Makefile | 8 | ||||
-rw-r--r-- | 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 <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 + ;; + *) |