diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-10 13:42:18 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-10 13:42:18 +0000 |
commit | 5ba3c40c3d7497c40cf042e35093a8c0a7e095b1 (patch) | |
tree | be89d711a96d7432425e066f48259d14db34f3ef /net/samba/files/patch-ba | |
parent | Add missing patches (diff) |
Re-enable recycle bin support
Update default smb.conf to deal with new parameters
Fix VFS bug in samba
Rename patch to avoid confusion
PR: 37888
Submitted by: hetzels@westbend.net
Notes
Notes:
svn path=/head/; revision=58863
Diffstat (limited to 'net/samba/files/patch-ba')
-rw-r--r-- | net/samba/files/patch-ba | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/net/samba/files/patch-ba b/net/samba/files/patch-ba index 5cdf212300ad..35130d168337 100644 --- a/net/samba/files/patch-ba +++ b/net/samba/files/patch-ba @@ -1,6 +1,40 @@ ---- configure.in.orig Wed Feb 6 20:56:47 2002 -+++ configure.in Wed Mar 13 12:42:20 2002 -@@ -1792,7 +1792,7 @@ +--- source/configure.in.orig Thu May 2 20:02:46 2002 ++++ source/configure.in Thu May 9 02:29:20 2002 +@@ -498,9 +498,23 @@ + ############################################ + # we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the new VFS code + AC_CHECK_FUNCS(dlopen) ++case "$host_os" in ++ *bsd*) ++ AC_CHECK_LIB(c, dlopen, [LIBS="$LIBS -lc"; ++ AC_DEFINE(HAVE_DLOPEN)]) ++ ;; ++esac + if test x"$ac_cv_func_dlopen" = x"no"; then +- AC_CHECK_LIB(dl, dlopen, [LIBS="$LIBS -ldl"; +- AC_DEFINE(HAVE_DLOPEN)]) ++ case "$host_os" in ++ *bsd*) ++ AC_CHECK_LIB(c, dlopen, [LIBS="$LIBS -lc"; ++ AC_DEFINE(HAVE_DLOPEN)]) ++ ;; ++ *) ++ AC_CHECK_LIB(dl, dlopen, [LIBS="$LIBS -ldl"; ++ AC_DEFINE(HAVE_DLOPEN)]) ++ ;; ++ esac + fi + # dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then + +@@ -870,6 +884,7 @@ + ;; + *bsd*) BLDSHARED="true" + LDSHFLAGS="-shared" ++ DYNEXP="-Wl,--export-dynamic" + SONAMEFLAG="-Wl,-soname," + PICFLAG="-fPIC" + AC_DEFINE(STAT_ST_BLOCKSIZE,512) +@@ -1868,7 +1883,7 @@ yes) AC_MSG_RESULT(yes) AC_DEFINE(KRB5_AUTH) @@ -9,7 +43,7 @@ CFLAGS="$CFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib" ;; -@@ -1966,7 +1966,7 @@ +@@ -2042,7 +2057,7 @@ yes) AC_MSG_RESULT(yes) AC_DEFINE(WITH_LDAP_SAM) |