summaryrefslogtreecommitdiff
path: root/net/spread/files
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2003-08-09 13:07:40 +0000
committerrecht <recht@pkgsrc.org>2003-08-09 13:07:40 +0000
commite2741bcd7a3fbeb414c677d50f0efcae12c59825 (patch)
tree476296ed263d2b8849f3b69590ebece0bfb93ece /net/spread/files
parentd79d408c34d5683a13c16a22e686990b377539e7 (diff)
downloadpkgsrc-e2741bcd7a3fbeb414c677d50f0efcae12c59825.tar.gz
Update to 3.17.1
The NetBSD project now has the permission to download the archive from the official Spread site and to mirror it, so remove the restrictions. changes: *) Fix memory corruption and crash with groups of large size. *) Correct make install so it installs header files. *) Fix syntax error in build.xml file for Java/Ant. *) Cleanup prototypes to remove compiler warnings. *) Fix parser to correctly recognize upper, lower, and mixed case command options. *) During make install, remove old symlinks. *) Change setgroups call to be more portable. (fixes MacOSX) *) Change name of r and s to sprecv and spsend, and add as make targets. They can be built by "make testprog" (not built by default). *) Work on making long group names possible. *) Increase listen backlog for accepting client connections. *) Fix Win32 project files to have correct path to source files. (note CVS was always ok, but 3.17.0 release had incorrect path) *) Fix bug where large groups overflow Mess_buf in groups.c. *) Fix memory corruption bug when a message header is received in several separate packets in session.c. Thanks to Ryan Caudy for many, many hours tracking this down. *) Change order of build in Makefile so binaries are built before documentation. *) Fix Java bug where connection objects cannot be disconnected and then reconnected, but must be created anew. They can now be reused. *) Fix compile error on AIX for struct if_info. *) Fix security issue with buffer checks in the C library. *) Fix obscure off-by-one buffer error with the parser.
Diffstat (limited to 'net/spread/files')
-rw-r--r--net/spread/files/spread.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/net/spread/files/spread.sh b/net/spread/files/spread.sh
index 80973c9b3b6..d00c3347ef2 100644
--- a/net/spread/files/spread.sh
+++ b/net/spread/files/spread.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: spread.sh,v 1.1 2003/02/22 23:37:14 mjl Exp $
+# $NetBSD: spread.sh,v 1.2 2003/08/09 13:07:42 recht Exp $
#
# PROVIDE: spread
# REQUIRE: DAEMON
@@ -27,6 +27,17 @@ fi
required_files="@PKG_SYSCONFDIR@/spread.conf"
command_args="${log} </dev/null &"
+start_precmd="spread_precmd"
+
+spread_precmd()
+{
+ if [ ! -d @RUNTIME_DIR@ ]
+ then
+ @MKDIR@ @RUNTIME_DIR@
+ @CHMOD@ 0750 @RUNTIME_DIR@
+ @CHOWN@ @PKG_USERS@ @RUNTIME_DIR@
+ fi
+}
load_rc_config $name
run_rc_command "$1"