pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/opentracker
Module Name: pkgsrc
Committed By: wiz
Date: Mon Nov 16 08:43:13 UTC 2020
Added Files:
pkgsrc/net/opentracker: options.mk
Log Message:
opentracker: add options.mk forgotten in previous
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/opentracker/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/opentracker/options.mk
diff -u /dev/null pkgsrc/net/opentracker/options.mk:1.1
--- /dev/null Mon Nov 16 08:43:13 2020
+++ pkgsrc/net/opentracker/options.mk Mon Nov 16 08:43:13 2020
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2020/11/16 08:43:13 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.opentracker
+PKG_SUPPORTED_OPTIONS= opentracker-ipv6-only opentracker-restrictions
+PKG_SUGGESTED_OPTIONS= opentracker-restrictions
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mopentracker-ipv6-only)
+CFLAGS+= -DWANT_V6
+.endif
+
+.if !empty(PKG_OPTIONS:Mopentracker-restrictions)
+CFLAGS+= -DWANT_ACCESSLIST_WHITE
+CFLAGS+= -DWANT_RESTRICT_STATS
+DEPENDS+= torrentutils-[0-9]*:../../net/torrentutils
+.endif
Home |
Main Index |
Thread Index |
Old Index