summaryrefslogtreecommitdiff
path: root/net/samba3/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-11-23 17:34:51 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-11-23 17:34:51 +0000
commit6fc70a0fafebbbbedacf4b6fa53ca60cbfc4e8c3 (patch)
tree9009de286ecc3d5a45cde861080aa3c6dab43f05 /net/samba3/files
parentUpdate to 1.10.1 (diff)
Update to 3.0.9
o Problem updating roaming user profiles. o Crash in smbd when printing from a Windows 9x client. o Unresolved symbols in libsmbclient which caused applications such as KDE's konqueror to fail when accessing smb:// URLs. PR: ports/74223 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=122235
Diffstat (limited to 'net/samba3/files')
-rw-r--r--net/samba3/files/patch-lib_module.c15
-rw-r--r--net/samba3/files/patch-script_installswat.sh11
-rw-r--r--net/samba3/files/samba.sh.sample2
3 files changed, 27 insertions, 1 deletions
diff --git a/net/samba3/files/patch-lib_module.c b/net/samba3/files/patch-lib_module.c
new file mode 100644
index 000000000000..03cb509895bc
--- /dev/null
+++ b/net/samba3/files/patch-lib_module.c
@@ -0,0 +1,15 @@
+--- lib/module.c.orig Sun Nov 21 00:14:24 2004
++++ lib/module.c Sun Nov 21 00:38:36 2004
+@@ -40,9 +40,11 @@
+ */
+ handle = sys_dlopen(module_name, RTLD_LAZY);
+
++ /* This call should reset any possible non-fatal errors that
++ occured since last call to dl* functions */
++ error = sys_dlerror();
+ if(!handle) {
+ int level = is_probe ? 3 : 0;
+- error = sys_dlerror();
+ DEBUG(level, ("Error loading module '%s': %s\n", module_name, error ? error : ""));
+ return NT_STATUS_UNSUCCESSFUL;
+ }
diff --git a/net/samba3/files/patch-script_installswat.sh b/net/samba3/files/patch-script_installswat.sh
new file mode 100644
index 000000000000..ee4f20bbcd37
--- /dev/null
+++ b/net/samba3/files/patch-script_installswat.sh
@@ -0,0 +1,11 @@
+--- script/installswat.sh.orig Fri Nov 19 21:11:15 2004
++++ script/installswat.sh Fri Nov 19 21:11:45 2004
+@@ -103,7 +103,7 @@
+ fi
+ fi
+ for f in $SRCDIR../docs/$dir/images/*.png; do
+- FNAME=$INSTALLDIR/`basename $f`
++ FNAME=$INSTALLDIR/images/`basename $f`
+ echo $FNAME
+ cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges?
+ chmod 0644 $FNAME
diff --git a/net/samba3/files/samba.sh.sample b/net/samba3/files/samba.sh.sample
index 6fea8f03478a..15476b31d399 100644
--- a/net/samba3/files/samba.sh.sample
+++ b/net/samba3/files/samba.sh.sample
@@ -7,7 +7,7 @@
%%WINBIND%%# PROVIDE: winbindd
# REQUIRE: NETWORKING SERVERS named %%CUPS%%
# BEFORE: DAEMON
-# KEYWORD: FreeBSD shutdown
+# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable samba: