diff options
author | recht <recht> | 2003-08-09 13:07:40 +0000 |
---|---|---|
committer | recht <recht> | 2003-08-09 13:07:40 +0000 |
commit | dc857ba7e47e743fa99cdc8b588ef166058edb32 (patch) | |
tree | 476296ed263d2b8849f3b69590ebece0bfb93ece /net/spread/patches | |
parent | af76f76e192c2ea4ddabd28c09bd85c2a813dddf (diff) | |
download | pkgsrc-dc857ba7e47e743fa99cdc8b588ef166058edb32.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/patches')
-rw-r--r-- | net/spread/patches/patch-aa | 32 | ||||
-rw-r--r-- | net/spread/patches/patch-bc | 21 | ||||
-rw-r--r-- | net/spread/patches/patch-bd | 116 | ||||
-rw-r--r-- | net/spread/patches/patch-be | 21 |
4 files changed, 4 insertions, 186 deletions
diff --git a/net/spread/patches/patch-aa b/net/spread/patches/patch-aa deleted file mode 100644 index d113a89a3f3..00000000000 --- a/net/spread/patches/patch-aa +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2003/02/22 23:37:15 mjl Exp $ - ---- configure.orig 2003-02-19 09:56:29.000000000 +0100 -+++ configure 2003-02-19 09:55:41.000000000 +0100 -@@ -1250,9 +1250,9 @@ - { echo "configure: error: *** 'ar' missing, please install or fix your \$PATH ***" 1>&2; exit 1; } - fi - --if test -z "$LD" ; then -+# if test -z "$LD" ; then - LD=$CC --fi -+# fi - - - # C Compiler features -@@ -3956,6 +3956,7 @@ - G=`eval echo ${piddir}` ; G=`eval echo ${G}` - H=`eval echo ${LIBSPSO}`; H=`eval echo ${H}` - I=`eval echo ${LIBTSPSO}`; I=`eval echo ${I}` -+J=`eval echo ${includedir}`; J=`eval echo ${J}` - - echo "" - echo "Spread has been configured with the following options:" -@@ -3965,6 +3966,7 @@ - echo " User libraries: $E" - echo " Shared Spread LIbrary: $H" - echo "Shared Thread-safe Spread LIbrary: $I" -+echo " Header files: $J" - echo " Manual pages: $F" - echo " PID file: $G" - echo " Manpage format: $MANTYPE" diff --git a/net/spread/patches/patch-bc b/net/spread/patches/patch-bc deleted file mode 100644 index 5d41a78516d..00000000000 --- a/net/spread/patches/patch-bc +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-bc,v 1.1.1.1 2003/02/18 22:11:55 mjl Exp $ - ---- spread.c.orig 2003-02-18 20:57:01.000000000 +0100 -+++ spread.c 2003-02-18 20:59:32.000000000 +0100 -@@ -47,6 +47,7 @@ - #include <grp.h> - #include <pwd.h> - #include <unistd.h> -+#include <util.h> - #include <sys/types.h> - #endif - -@@ -144,6 +145,8 @@ - - #endif /* ARCH_PC_WIN95 */ - -+ pidfile("spread"); -+ - /* initialize each valid authentication protocol */ - null_init(); - ip_init(); diff --git a/net/spread/patches/patch-bd b/net/spread/patches/patch-bd index f6caa0a7f58..66d7fe4db49 100644 --- a/net/spread/patches/patch-bd +++ b/net/spread/patches/patch-bd @@ -1,116 +1,8 @@ -$NetBSD: patch-bd,v 1.2 2003/02/22 23:37:15 mjl Exp $ +$NetBSD: patch-bd,v 1.3 2003/08/09 13:07:43 recht Exp $ ---- Makefile.in.orig 2003-02-19 09:53:03.000000000 +0100 -+++ Makefile.in 2003-02-19 09:52:48.000000000 +0100 -@@ -5,6 +5,7 @@ - bindir=@bindir@ - sbindir=@sbindir@ - libdir=@libdir@ -+includedir=@includedir@ - mandir=@mandir@ - mansubdir=@mansubdir@ - sysconfdir=@sysconfdir@ -@@ -25,7 +26,7 @@ - #Rules: major -- inc for incompatible change - # : minor -- inc for bugfix or forward compatible change - --LIBVERSION=1.0 -+LIBVERSION=1 - - PATHS= - -@@ -33,7 +34,7 @@ - LD=@LD@ - CFLAGS=@CFLAGS@ - CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@ --LDFLAGS=@LDFLAGS@ -+LDFLAGS=@LDFLAGS@ -L. - LIBS=@LIBS@ - THLDFLAGS=@THLDFLAGS@ - THLIBS=@THLIBS@ -@@ -51,8 +52,10 @@ - PERL=@PERL@ - ENT=@ENT@ - EXEEXT=@EXEEXT@ -+SHLDSONAME=-Wl,-soname,libspread.so.$(LIBVERSION) -+TSHLDSONAME=-Wl,-soname,libtspread.so.$(LIBVERSION) - --TARGETS=spread$(EXEEXT) spuser$(EXEEXT) spflooder$(EXEEXT) spmonitor$(EXEEXT) sptuser${EXEEXT} @LIBSPSO@ @LIBTSPSO@ -+TARGETS=spread$(EXEEXT) spuser$(EXEEXT) spflooder$(EXEEXT) spmonitor$(EXEEXT) sptuser${EXEEXT} @LIBSPSO@ @LIBTSPSO@ libspread.a libtspread.a - - LIBSP_OBJS= alarm.o events.o memory.o sp.o - -@@ -123,8 +126,11 @@ - $(INSTALL) -m 0755 libspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libspread.$(LIBVERSION).dylib - (cd $(DESTDIR)$(libdir); $(SOFTLINK) libspread.$(LIBVERSION).dylib libspread.dylib) - --libspread.so: $(LIBSP_SHOBJS) -- $(SHLD) -o $@ $(LIBSP_SHOBJS) $(SHLDFLAGS) $(SHLIBS) -+libspread.so: $@.$(LIBVERSION) -+ $(SOFTLINK) $@.$(LIBVERSION) $@ -+ -+libspread.so.$(LIBVERSION): $(LIBSP_SHOBJS) -+ $(SHLD) -o $@ $(LIBSP_SHOBJS) $(SHLDSONAME) $(SHLDFLAGS) $(SHLIBS) - - install-libspread.so: libspread.so - $(INSTALL) -m 0755 libspread.so $(DESTDIR)$(libdir)/libspread.so.$(LIBVERSION) -@@ -142,8 +148,11 @@ - $(INSTALL) -m 0755 libtspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libtspread.$(LIBVERSION).dylib - (cd $(DESTDIR)$(libdir); $(SOFTLINK) libtspread.$(LIBVERSION).dylib libtspread.dylib) - --libtspread.so: $(LIBTSP_SHOBJS) -- $(SHLD) -o $@ $(LIBTSP_SHOBJS) $(SHLDFLAGS) $(SHLIBS) $(THLIBS) -+libtspread.so: $@.$(LIBVERSION) -+ $(SOFTLINK) $@.$(LIBVERSION) $@ -+ -+libtspread.so.$(LIBVERSION): $(LIBTSP_SHOBJS) -+ $(SHLD) -o $@ $(LIBTSP_SHOBJS) $(TSHLDSONAME) $(SHLDFLAGS) $(SHLIBS) $(THLIBS) - - install-libtspread.so: libtspread.so - $(INSTALL) -m 0755 libtspread.so $(DESTDIR)$(libdir)/libtspread.so.$(LIBVERSION) -@@ -152,17 +161,17 @@ - spread$(EXEEXT): $(SPREADOBJS) - $(LD) -o $@ $(SPREADOBJS) $(LDFLAGS) $(LIBS) - --spuser$(EXEEXT): libspread.a user.o -- $(LD) -o $@ user.o $(LDFLAGS) libspread.a $(LIBS) -+spuser$(EXEEXT): libspread.so user.o -+ $(LD) -o $@ user.o $(LDFLAGS) -lspread $(LIBS) - --spflooder$(EXEEXT): libspread.a flooder.o -- $(LD) -o $@ flooder.o $(LDFLAGS) libspread.a $(LIBS) -+spflooder$(EXEEXT): libspread.so flooder.o -+ $(LD) -o $@ flooder.o $(LDFLAGS) -lspread $(LIBS) - - spmonitor$(EXEEXT): $(MONITOROBJS) - $(LD) -o $@ $(MONITOROBJS) $(LDFLAGS) $(LIBS) - --sptuser$(EXEEXT): user.to libtspread.a -- $(LD) $(THLDFLAGS) -o $@ user.to libtspread.a $(LDFLAGS) $(LIBS) $(THLIBS) -+sptuser$(EXEEXT): user.to libtspread.so -+ $(LD) $(THLDFLAGS) -o $@ user.to -ltspread $(LDFLAGS) $(LIBS) $(THLIBS) - - spsimple_user$(EXEEXT): simple_user.o libspread.a - $(LD) -o $@ simple_user.o $(LDFLAGS) libspread.a $(LIBS) -@@ -211,6 +220,7 @@ - install-files: - $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(bindir) - $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sbindir) -+ $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(includedir) - $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir) - $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1 - $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)3 -@@ -222,6 +232,9 @@ - $(INSTALL) -m 0755 -s spread$(EXEEXT) $(DESTDIR)$(sbindir)/spread$(EXEEXT) - $(INSTALL) -m 644 libspread.a $(DESTDIR)$(libdir)/libspread.a - $(INSTALL) -m 644 libtspread.a $(DESTDIR)$(libdir)/libtspread.a -+ $(INSTALL) -m 644 sp.h $(DESTDIR)$(includedir)/spread/sp.h -+ $(INSTALL) -m 644 sp_func.h $(DESTDIR)$(includedir)/spread/sp_func.h -+ $(INSTALL) -m 644 sp_events.h $(DESTDIR)$(includedir)/spread/sp_events.h - $(INSTALL) -m 644 docs/spread.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/spread.1 - $(INSTALL) -m 644 docs/spuser.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/spuser.1 - $(INSTALL) -m 644 docs/sptuser.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sptuser.1 -@@ -235,11 +248,11 @@ +--- Makefile.in.orig 2003-06-17 21:00:10.000000000 +0200 ++++ Makefile.in 2003-06-21 10:52:24.000000000 +0200 +@@ -248,11 +256,11 @@ if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \ $(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \ fi diff --git a/net/spread/patches/patch-be b/net/spread/patches/patch-be deleted file mode 100644 index e0723c6eef9..00000000000 --- a/net/spread/patches/patch-be +++ /dev/null @@ -1,21 +0,0 @@ -+$NetBSD: patch-be,v 1.1 2003/02/22 23:37:15 mjl Exp $ -+ -+Index: sp_func.h -+=================================================================== -+RCS file: /storage/cvsroot/spread/daemon/sp_func.h,v -+retrieving revision 1.3 -+diff -u -u -r1.3 sp_func.h -+--- sp_func.h 22 Sep 2002 02:56:52 -0000 1.3 -++++ sp_func.h 1 Oct 2002 15:43:22 -0000 -+@@ -90,9 +90,9 @@ -+ scatter *scat_mess ); -+ -+ /* returns offset in memb. message of gid (group id), num_vs and vs_set */ -+-int SP_get_gid_offset_memb_mess(); -+-int SP_get_num_vs_offset_memb_mess(); -+-int SP_get_vs_set_offset_memb_mess(); -++int SP_get_gid_offset_memb_mess(void); -++int SP_get_num_vs_offset_memb_mess(void); -++int SP_get_vs_set_offset_memb_mess(void); -+ -+ int SP_poll( mailbox mbox ); |