Date: Tue, 3 Nov 2009 13:18:41 GMT From: Chris Rees <chris@amnesiac.bayofrum.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/140247: [maintainer-update] Added feature WANT_RESTRICT_STATS (trivial) Message-ID: <200911031318.nA3DIfcS080702@amnesiac.bayofrum.net> Resent-Message-ID: <200911031320.nA3DK1w4036378@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140247 >Category: ports >Synopsis: [maintainer-update] Added feature WANT_RESTRICT_STATS (trivial) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Nov 03 13:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: utisoft@gmail.com >Release: FreeBSD 7.2-RELEASE-p4 i386 >Organization: bayofrum.net >Environment: System: FreeBSD amnesiac.bayofrum.net 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Added OPTION for WANT_RESTRICT_STATS as requested by user. Tidied whitespace in Makefile. Moved distfile on bayofrum.net to dist/opentracker (/opentracker will still work for a while, at least). By the way, would you please add me to Additional Contributors as well? I think port maintainers are supposed to be in there.... just to inflate my ego that little bit more! >How-To-Repeat: >Fix: Patch attached --- opentracker.port.1.2.patch begins here --- diff -ruN opentracker.orig/Makefile opentracker/Makefile --- opentracker.orig/Makefile 2009-11-03 13:04:39.000000000 +0000 +++ opentracker/Makefile 2009-11-03 13:05:18.000000000 +0000 @@ -5,25 +5,26 @@ # $FreeBSD: ports/net/opentracker/Makefile,v 1.1 2009/07/29 13:17:33 miwi Exp $ # -PORTNAME= opentracker +PORTNAME= opentracker PORTVERSION= 0.2009.06.27 CATEGORIES= net -MASTER_SITES= http://www.bayofrum.net/opentracker/ \ - http://freebsd.dev-urandom.com/opentracker/ +MASTER_SITES= http://www.bayofrum.net/dist/opentracker/ \ + http://freebsd.dev-urandom.com/opentracker/ -MAINTAINER= utisoft@gmail.com -COMMENT= A free lightweight bittorrent tracker using libowfat +MAINTAINER= utisoft@gmail.com +COMMENT= A free lightweight bittorrent tracker using libowfat BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat USE_RC_SUBR= opentracker -OPTIONS=WANT_ACCESSLIST_BLACK "Enable client blacklisting" Off \ - WANT_ACCESSLIST_WHITE "Enable client whitelisting" Off \ - WANT_COMPRESSION_GZIP "Deliver gzip compressed full scrapes" Off \ - DEBUG_HTTPERROR "Verbose HTTPERRORs" Off \ - WANT_FULLSCRAPE "Can query tracker for all torrents" On \ - WANT_V6 "IPv6-only" Off \ +OPTIONS= WANT_ACCESSLIST_BLACK "Enable client blacklisting" Off \ + WANT_ACCESSLIST_WHITE "Enable client whitelisting" Off \ + WANT_COMPRESSION_GZIP "Deliver gzip compressed full scrapes" Off \ + DEBUG_HTTPERROR "Verbose HTTPERRORs" Off \ + WANT_FULLSCRAPE "Can query tracker for all torrents" On \ + WANT_V6 "IPv6-only" Off \ + WANT_RESTRICT_STATS "Limit stats access based on IP" On .include <bsd.port.options.mk> @@ -45,13 +46,17 @@ .if defined(WITH_WANT_V6) FEATURES+=-DWANT_V6 .endif +.if defined(WITH_WANT_RESTRICT_STATS) +FEATURES+=-DWANT_RESTRICT_STATS +.endif MAKE_ENV+=FEATURES="${FEATURES}" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${MKDIR} ${PREFIX}/etc/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf.sample + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample \ + ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf.sample post-install: @if [ ! -f ${PREFIX}/etc/${PORTNAME}/${PORTNAME}.conf ]; then \ --- opentracker.port.1.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911031318.nA3DIfcS080702>