summaryrefslogtreecommitdiff
path: root/net/spread/patches/patch-bd
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
commit029d2145f1d349e70ffb7c0429edb59276c67b12 (patch)
tree476296ed263d2b8849f3b69590ebece0bfb93ece /net/spread/patches/patch-bd
parent599efbed80c7acbd318f0273fcb1040b0ecd3a4b (diff)
downloadpkgsrc-029d2145f1d349e70ffb7c0429edb59276c67b12.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/patch-bd')
-rw-r--r--net/spread/patches/patch-bd116
1 files changed, 4 insertions, 112 deletions
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