FreeBSD Bugzilla – Attachment 106603 Details for
Bug 147222
Update port: net/opentracker New version from CVS, pkg-message added
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 4.79 KB, created by
Chris Rees
on 2010-05-30 16:40:07 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Chris Rees
Created:
2010-05-30 16:40:07 UTC
Size:
4.79 KB
patch
obsolete
>diff -ruN opentracker.orig/Makefile opentracker/Makefile >--- opentracker.orig/Makefile 2010-04-15 22:46:50.000000000 +0100 >+++ opentracker/Makefile 2010-05-30 16:30:02.000000000 +0100 >@@ -6,7 +6,7 @@ > # > > PORTNAME= opentracker >-PORTVERSION= 0.2009.06.27 >+PORTVERSION= 0.2010.05.30 > CATEGORIES= net > MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ \ > http://www.glenbarber.us/ports/net/${PORTNAME}/ >@@ -16,6 +16,7 @@ > > BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat > >+USE_BZIP2= yes > USE_RC_SUBR= ${PORTNAME} > > OPTIONS= WANT_ACCESSLIST_BLACK "Enable client blacklisting" Off \ >@@ -63,5 +64,6 @@ > ${CP} -p ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf.sample \ > ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf ; \ > fi >+ @${CAT} ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -ruN opentracker.orig/distinfo opentracker/distinfo >--- opentracker.orig/distinfo 2009-07-29 14:17:33.000000000 +0100 >+++ opentracker/distinfo 2010-05-30 16:30:08.000000000 +0100 >@@ -1,3 +1,3 @@ >-MD5 (opentracker-0.2009.06.27.tar.gz) = b453bbd8b557f6cdd633ab000b9ef6db >-SHA256 (opentracker-0.2009.06.27.tar.gz) = e8b3437bc98ab6f9f25cbb107a272ae1e4c86ce635c11195c197cae5f0d40fe7 >-SIZE (opentracker-0.2009.06.27.tar.gz) = 45117 >+MD5 (opentracker-0.2010.05.30.tar.bz2) = cf0836a3c54254ae98ce1037c55ea9fb >+SHA256 (opentracker-0.2010.05.30.tar.bz2) = 53b111cafd101ead61fb2b26760935b66657e5eba9067e28115be325391ec0bc >+SIZE (opentracker-0.2010.05.30.tar.bz2) = 48228 >diff -ruN opentracker.orig/files/patch-Makefile opentracker/files/patch-Makefile >--- opentracker.orig/files/patch-Makefile 2009-07-29 14:17:33.000000000 +0100 >+++ opentracker/files/patch-Makefile 2010-05-30 16:18:10.000000000 +0100 >@@ -1,5 +1,5 @@ >---- Makefile.orig 2009-06-27 16:48:37.000000000 +0100 >-+++ Makefile 2009-06-27 18:19:43.000000000 +0100 >+--- Makefile.orig 2010-05-30 16:16:13.000000000 +0100 >++++ Makefile 2010-05-30 16:17:20.000000000 +0100 > @@ -8,14 +8,14 @@ > # LIBOWFAT_LIBRARY=$(PREFIX)/lib > >@@ -8,51 +8,41 @@ > -# LIBOWFAT_HEADERS=$(PREFIX)/include/libowfat > -# LIBOWFAT_LIBRARY=$(PREFIX)/lib > +PREFIX?=/usr/local >-+LIBOWFAT_HEADERS=$(LOCALBASE)/include/libowfat >-+LIBOWFAT_LIBRARY=$(LOCALBASE)/lib >++LIBOWFAT_HEADERS=$(PREFIX)/include/libowfat >++LIBOWFAT_LIBRARY=$(PREFIX)/lib > > # Debug flavour > -PREFIX?=.. > -LIBOWFAT_HEADERS=$(PREFIX)/libowfat > -LIBOWFAT_LIBRARY=$(PREFIX)/libowfat >-+# PREFIX?=.. >-+# LIBOWFAT_HEADERS=$(PREFIX)/libowfat >-+# LIBOWFAT_LIBRARY=$(PREFIX)/libowfat >++#PREFIX?=.. >++#LIBOWFAT_HEADERS=$(PREFIX)/libowfat >++#LIBOWFAT_LIBRARY=$(PREFIX)/libowfat > > BINDIR?=$(PREFIX)/bin > >-@@ -31,7 +31,7 @@ >- #FEATURES+=-DWANT_LOG_NETWORKS >- #FEATURES+=-DWANT_RESTRICT_STATS >- #FEATURES+=-DWANT_IP_FROM_PROXY >+@@ -35,7 +35,7 @@ >+ #FEATURES+=-DWANT_MODEST_FULLSCRAPES >+ #FEATURES+=-DWANT_SPOT_WOODPECKER >+ #FEATURES+=-DWANT_SYSLOGS > -FEATURES+=-DWANT_FULLSCRAPE > +#FEATURES+=-DWANT_FULLSCRAPE > > #FEATURES+=-D_DEBUG_HTTPERROR > >-@@ -46,23 +46,15 @@ >- SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c ot_http.c ot_livesync.c >+@@ -56,14 +56,13 @@ > >- OBJECTS = $(SOURCES:%.c=%.o) >--OBJECTS_debug = $(SOURCES:%.c=%.debug.o) >- >--.SUFFIXES: .debug.o .o .c >-+.SUFFIXES: .o .c >+ .SUFFIXES: .debug.o .o .c > > -all: $(BINARY) $(BINARY).debug > +all: $(BINARY) > > CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) >--CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) >+ CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) > > $(BINARY): $(OBJECTS) $(HEADERS) > $(CC) -o $@ $(OBJECTS) $(LDFLAGS) > - strip $@ >--$(BINARY).debug: $(OBJECTS_debug) $(HEADERS) >-- $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS) >-- >--.c.debug.o : $(HEADERS) >-- $(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c) >- >- .c.o : $(HEADERS) >- $(CC) -c -o $@ $(CFLAGS_production) $< >+ $(BINARY).debug: $(OBJECTS_debug) $(HEADERS) >+ $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS) >+ proxy: $(OBJECTS_proxy) $(HEADERS) >diff -ruN opentracker.orig/pkg-message opentracker/pkg-message >--- opentracker.orig/pkg-message 1970-01-01 01:00:00.000000000 +0100 >+++ opentracker/pkg-message 2010-05-30 16:05:06.000000000 +0100 >@@ -0,0 +1,14 @@ >+This tracker is open in a sense that everyone announcing a torrent is welcome >+to do so and will be informed about anyone else announcing the same torrent. >+Unless -DWANT_IP_FROM_QUERY_STRING is enabled (which is meant for debugging >+purposes only), only source IPs are accepted. The tracker implements a minimal >+set of essential features only but was able respond to far more than 10000 >+requests per second on a Sun Fire 2200 M2 (thats where we found no more clients >+able to fire more of our testsuite.sh script). >+ >+Some tweaks you may want to try under FreeBSD: >+ >+sysctl kern.ipc.somaxconn=1024 >+sysctl kern.ipc.nmbclusters=32768 >+sysctl net.inet.tcp.msl=10000 >+sysctl kern.maxfiles=10240
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 147222
: 106603