View | Details | Raw Unified | Return to bug 86901
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	spread
8
PORTNAME=	spread
9
PORTVERSION=	3.17.2
9
PORTVERSION=	3.17.3
10
CATEGORIES=	net perl5
10
CATEGORIES=	net perl5
11
MASTER_SITES=	http://www.cnds.jhu.edu/download/noformdown/
11
MASTER_SITES=	http://www.cnds.jhu.edu/download/noformdown/
12
DISTNAME=	${PORTNAME}-src-${PORTVERSION}
12
DISTNAME=	${PORTNAME}-src-${PORTVERSION}
Lines 14-20 Link Here
14
MAINTAINER=	joshua@roughtrade.net
14
MAINTAINER=	joshua@roughtrade.net
15
COMMENT=	The Spread Group Communication System, a network toolkit
15
COMMENT=	The Spread Group Communication System, a network toolkit
16
16
17
WRKSRC=		${WRKDIR}/${PORTNAME}_src-${PORTVERSION}
17
WRKSRC=		${WRKDIR}/${PORTNAME}-src-${PORTVERSION}
18
USE_REINPLACE=	yes
18
USE_REINPLACE=	yes
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
20
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (spread-src-3.17.2.tar.gz) = 5ed0fae793978353a4ed5f195989b9d1
1
MD5 (spread-src-3.17.3.tar.gz) = 2eec25b5adc96fd840aa251e44325f9f
2
SIZE (spread-src-3.17.2.tar.gz) = 289180
2
SIZE (spread-src-3.17.3.tar.gz) = 299975
(-)files/patch-Makefile.in (-15 / +15 lines)
Lines 1-5 Link Here
1
--- Makefile.in	Thu Nov 13 08:42:54 2003
1
--- Makefile.in	Thu Sep 23 12:12:52 2004
2
+++ Makefile.in	Thu Jul 15 21:42:27 2004
2
+++ Makefile.in	Tue Oct  4 14:49:56 2005
3
@@ -26,7 +26,7 @@
3
@@ -26,7 +26,7 @@
4
 #Rules: major  -- inc for incompatible change
4
 #Rules: major  -- inc for incompatible change
5
 #     : minor  -- inc for bugfix or forward compatible change
5
 #     : minor  -- inc for bugfix or forward compatible change
Lines 30-36 Link Here
30
 
30
 
31
 LIBSP_OBJS= alarm.o events.o memory.o sp.o
31
 LIBSP_OBJS= alarm.o events.o memory.o sp.o
32
 
32
 
33
@@ -124,8 +126,11 @@
33
@@ -127,8 +129,11 @@
34
 	$(INSTALL) -m 0755 libspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libspread.$(LIBVERSION).dylib
34
 	$(INSTALL) -m 0755 libspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libspread.$(LIBVERSION).dylib
35
 	(cd $(DESTDIR)$(libdir); $(SOFTLINK) -f libspread.$(LIBVERSION).dylib libspread.dylib)
35
 	(cd $(DESTDIR)$(libdir); $(SOFTLINK) -f libspread.$(LIBVERSION).dylib libspread.dylib)
36
 
36
 
Lines 44-50 Link Here
44
 
44
 
45
 install-libspread.so:	libspread.so
45
 install-libspread.so:	libspread.so
46
 	$(INSTALL) -m 0755 libspread.so $(DESTDIR)$(libdir)/libspread.so.$(LIBVERSION)
46
 	$(INSTALL) -m 0755 libspread.so $(DESTDIR)$(libdir)/libspread.so.$(LIBVERSION)
47
@@ -143,8 +148,11 @@
47
@@ -146,8 +151,11 @@
48
 	$(INSTALL) -m 0755 libtspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libtspread.$(LIBVERSION).dylib
48
 	$(INSTALL) -m 0755 libtspread.$(LIBVERSION).dylib $(DESTDIR)$(libdir)/libtspread.$(LIBVERSION).dylib
49
 	(cd $(DESTDIR)$(libdir); $(SOFTLINK) -f libtspread.$(LIBVERSION).dylib libtspread.dylib)
49
 	(cd $(DESTDIR)$(libdir); $(SOFTLINK) -f libtspread.$(LIBVERSION).dylib libtspread.dylib)
50
 
50
 
Lines 58-88 Link Here
58
 
58
 
59
 install-libtspread.so:	libtspread.so
59
 install-libtspread.so:	libtspread.so
60
 	$(INSTALL) -m 0755 libtspread.so $(DESTDIR)$(libdir)/libtspread.so.$(LIBVERSION)
60
 	$(INSTALL) -m 0755 libtspread.so $(DESTDIR)$(libdir)/libtspread.so.$(LIBVERSION)
61
@@ -153,17 +161,17 @@
61
@@ -156,11 +164,11 @@
62
 spread$(EXEEXT): $(SPREADOBJS)
62
 spread$(EXEEXT): $(SPREADOBJS)
63
 	$(LD) -o $@ $(SPREADOBJS) $(LDFLAGS) $(LIBS)
63
 	$(LD) -o $@ $(SPREADOBJS) $(LDFLAGS) $(LIBS)
64
 
64
 
65
-spuser$(EXEEXT): libspread.a	user.o
65
-spuser$(EXEEXT): libspread.a	user.o
66
-	$(LD) -o $@ user.o $(LDFLAGS) libspread.a $(LIBS)
66
-	$(LD) -o $@ user.o $(LDFLAGS) libspread.a $(LIBS)
67
+spuser$(EXEEXT): libspread.so	user.o
67
+spuser$(EXEEXT): libspread.a user.o
68
+	$(LD) -o $@ user.o $(LDFLAGS) -lspread $(LIBS)
68
+	$(LD) -o $@ user.o $(LDFLAGS) -lspread $(LIBS)
69
 
69
 
70
-spflooder$(EXEEXT): libspread.a flooder.o
70
 spflooder$(EXEEXT): libspread.a flooder.o
71
-	$(LD) -o $@ flooder.o $(LDFLAGS) libspread.a $(LIBS)
71
-	$(LD) -o $@ flooder.o $(LDFLAGS) libspread.a $(LIBS)
72
+spflooder$(EXEEXT): libspread.so flooder.o
73
+	$(LD) -o $@ flooder.o $(LDFLAGS) -lspread $(LIBS)
72
+	$(LD) -o $@ flooder.o $(LDFLAGS) -lspread $(LIBS)
74
 
73
 
75
 spmonitor$(EXEEXT): $(MONITOROBJS)
74
 spmonitor$(EXEEXT): $(MONITOR_OBJS)
76
 	$(LD) -o $@ $(MONITOROBJS) $(LDFLAGS) $(LIBS) 
75
 	$(LD) -o $@ $(MONITOR_OBJS) $(LDFLAGS) $(LIBS) 
76
@@ -169,7 +177,7 @@
77
 	$(LD) $(THLDFLAGS) -o $@ $(TMONITOR_OBJS) $(LDFLAGS) $(LIBS) $(THLIBS) 
77
 
78
 
78
-sptuser$(EXEEXT): user.to libtspread.a
79
 sptuser$(EXEEXT): user.to libtspread.a
79
-	$(LD) $(THLDFLAGS) -o $@ user.to libtspread.a $(LDFLAGS) $(LIBS) $(THLIBS)
80
-	$(LD) $(THLDFLAGS) -o $@ user.to libtspread.a $(LDFLAGS) $(LIBS) $(THLIBS)
80
+sptuser$(EXEEXT): user.to libtspread.so
81
+	$(LD) $(THLDFLAGS) -o $@ user.to -lspread $(LDFLAGS) $(LIBS) $(THLIBS)
81
+	$(LD) $(THLDFLAGS) -o $@ user.to -ltspread $(LDFLAGS) $(LIBS) $(THLIBS)
82
 
82
 
83
 spsimple_user$(EXEEXT): simple_user.o libspread.a
83
 spsimple_user$(EXEEXT): simple_user.o libspread.a
84
 	$(LD) -o $@ simple_user.o $(LDFLAGS) libspread.a $(LIBS) 
84
 	$(LD) -o $@ simple_user.o $(LDFLAGS) libspread.a $(LIBS) 
85
@@ -192,7 +200,7 @@
85
@@ -198,7 +206,7 @@
86
 	fi
86
 	fi
87
 
87
 
88
 clean:
88
 clean:
Lines 91-97 Link Here
91
 	rm -f config.cache config.log docs/*.out core
91
 	rm -f config.cache config.log docs/*.out core
92
 	rm -rf autom4te.cache
92
 	rm -rf autom4te.cache
93
 
93
 
94
@@ -248,11 +256,6 @@
94
@@ -254,11 +262,6 @@
95
 	done
95
 	done
96
 	if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
96
 	if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
97
 		$(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
97
 		$(buildtoolsdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
(-)files/patch-configuration.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- configuration.c	Sun Sep 22 12:56:52 2002
1
--- configuration.c	Mon Sep 27 00:15:48 2004
2
+++ configuration.c	Tue Aug  5 21:24:19 2003
2
+++ configuration.c	Tue Oct  4 14:40:51 2005
3
@@ -128,9 +128,6 @@
3
@@ -130,9 +130,6 @@
4
 
4
 
5
 	if (NULL != (yyin = fopen(file_name,"r")) )
5
 	if (NULL != (yyin = fopen(file_name,"r")) )
6
                 Alarm( PRINT, "Conf_init: using file: %s\n", file_name);
6
                 Alarm( PRINT, "Conf_init: using file: %s\n", file_name);
(-)files/patch-sp.c (-7 / +7 lines)
Lines 1-11 Link Here
1
--- sp.c	Tue Aug  5 21:35:28 2003
1
--- sp.c	Tue Oct  5 09:08:10 2004
2
+++ sp.c	Tue Aug  5 21:24:19 2003
2
+++ sp.c	Tue Oct  4 14:44:27 2005
3
@@ -551,7 +551,7 @@
3
@@ -591,7 +591,7 @@
4
 		Alarm( SESSION, "SP_connect: set sndbuf/rcvbuf to %d\n", 1024*(i-5) );
4
                 set_large_socket_buffers(s);
5
 
5
 
6
 		unix_addr.sun_family = AF_UNIX;
6
 		unix_addr.sun_family = AF_UNIX;
7
-		sprintf( unix_addr.sun_path, "/tmp/%d", port );
7
-		sprintf( unix_addr.sun_path, "/tmp/%d", port );
8
+		sprintf( unix_addr.sun_path, "%s/spread.sock", _PATH_SPREAD_PIDDIR );
8
+		sprintf( unix_addr.sun_path, "%s/spread.sock", _PATH_SPREAD_PIDDIR );
9
 		while( ((ret = connect( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr) )) == -1)
9
 		ret = connect_nointr_timeout( s, (struct sockaddr *)&unix_addr, sizeof(unix_addr), &time_out);
10
                        && ((sock_errno == EINTR) || (sock_errno == EAGAIN) || (sock_errno == EWOULDBLOCK)) )
10
 #endif	/* !ARCH_PC_WIN95 */
11
                 {
11
 	}

Return to bug 86901