mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
If you kill -HUP or kill the spreadlogd process, it will not actually process the signal until after it has received its next message from Spread. You can move you log files to new names and then kill -HUP and it will reopen the log files. This is useful for seamless log rotation without losing any messages. Spread is really cool. It is a poweful group communication toolkit developed at the Center for Networking and Distributed Systems at the Johns Hopkins University (http://www.spread.org/ and http://www.cnds.jhu.edu/, respectively). WWW: http://www.lethargy.org/mod_log_spread/ PR: ports/80877 Submitted by: Meno Abels <meno.abels@adviser.com>
36 lines
913 B
Text
36 lines
913 B
Text
--- makefile.orig Mon Nov 13 02:43:19 2000
|
|
+++ makefile Sat May 14 12:50:07 2005
|
|
@@ -1,11 +1,9 @@
|
|
-CC=gcc
|
|
-CFLAGS=-g -D__USE_LARGEFILE64 -Wall
|
|
-INCLUDES=-I/usr/local/include
|
|
+INCLUDES=-I${LOCALBASE}/include
|
|
|
|
#### BEGIN ARCH DEPENDANT SECTION ####
|
|
-# For Linux
|
|
-LDFLAGS=-L/usr/local/lib -L.
|
|
-LIBS=-lsp -lskiplist
|
|
+# For FreeBSD
|
|
+LDFLAGS=-L${LOCALBASE}/lib -L.
|
|
+LIBS=-lskiplist -lgnuregex -lspread
|
|
|
|
# For Solaris
|
|
#LIBS=-lsp -lskiplist -lnsl -lsocket -lucb
|
|
@@ -13,7 +11,7 @@
|
|
#BSDINCLUDES=-I/usr/ucbinclude
|
|
#### END ARCH DEPENDANT SECTION ####
|
|
|
|
-YACC=bison -y
|
|
+YACC=yacc
|
|
LEX=flex
|
|
|
|
OBJS=spreadlogd.o lex.yy.o y.tab.o config.o hash.o timefuncs.o
|
|
@@ -46,7 +44,7 @@
|
|
$(AR) cq libskiplist.a $(LSLOBJS)
|
|
|
|
spreadlogd: libskiplist.a $(OBJS)
|
|
- $(CC) -g -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
|
|
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f *~ *.o spreadlogd libskiplist.a y.tab.h y.tab.c lex.yy.c
|