Index: head/dns/dsc/Makefile =================================================================== --- head/dns/dsc/Makefile (revision 478273) +++ head/dns/dsc/Makefile (revision 478274) @@ -1,28 +1,30 @@ # Created by: Leo Vandewoestijne # $FreeBSD$ PORTNAME= dsc -PORTVERSION= 2.6.1 +PORTVERSION= 2.7.0 CATEGORIES= dns MASTER_SITES= https://www.dns-oarc.net/files/dsc/ \ https://dns.company/files/dsc/ MAINTAINER= freebsd@dns.company COMMENT= Tool used for collecting and exploring statistics from DNS servers LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= libpcap>=1.8.1:net/libpcap \ GeoIP>=1.6.12:net/GeoIP \ p5-Proc-PID-File>=1.28:devel/p5-Proc-PID-File \ p5-XML-Simple>=2.24:textproc/p5-XML-Simple \ dsp>=2.0.0:dns/dsp - GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-extra-cflags=-I${PREFIX}/include USES= gmake perl5 shebangfix SUB_FILES= pkg-message + +USE_RC_SUBR= dsc .include Index: head/dns/dsc/distinfo =================================================================== --- head/dns/dsc/distinfo (revision 478273) +++ head/dns/dsc/distinfo (revision 478274) @@ -1,3 +1,3 @@ -TIMESTAMP = 1520903828 -SHA256 (dsc-2.6.1.tar.gz) = e11019dc8cebd971bec420bb28dc97acc851dfd328c5d40bbf6b41df467db285 -SIZE (dsc-2.6.1.tar.gz) = 320065 +TIMESTAMP = 1534374842 +SHA256 (dsc-2.7.0.tar.gz) = eab7f79229a800087d96cb8bac39927558f1d512428d7825d5edb5f7064d2c31 +SIZE (dsc-2.7.0.tar.gz) = 325520 Index: head/dns/dsc/files/dsc.in =================================================================== --- head/dns/dsc/files/dsc.in (nonexistent) +++ head/dns/dsc/files/dsc.in (revision 478274) @@ -0,0 +1,42 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: dsc +# REQUIRE: DAEMON +# KEYWORD: shutdown + +# Add the following lines to +# /etc/rc.conf.d/dsc /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# dsc_enable (bool): Set to NO by default. +# Set it to YES to enable dsc. +# dsc_config (path): Set to %%PREFIX%%/etc/dsc/dsc.conf +# by default. +# dsc_pidfile (path): Set to /var/run/dsc.pid +# by default (must match pid_file setting in dsc.conf). +# dsc_flags (additional arguments): Set to -p (don't use promiscuous mode) +# by default. +# + +. /etc/rc.subr + +name="dsc" +rcvar=dsc_enable + +command=%%PREFIX%%/bin/${name} + +load_rc_config $name + +: ${dsc_enable="NO"} +: ${dsc_config="%%PREFIX%%/etc/${name}/${name}.conf"} +: ${dsc_pidfile="/var/run/${name}.pid"} +: ${dsc_flags="-p"} + +required_files="${dsc_config}" +pidfile="${dsc_pidfile}" +command_args="${dsc_config}" + +run_rc_command "$1" Property changes on: head/dns/dsc/files/dsc.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/dsc/files/patch-cron_upload-prep.pl =================================================================== --- head/dns/dsc/files/patch-cron_upload-prep.pl (revision 478273) +++ head/dns/dsc/files/patch-cron_upload-prep.pl (revision 478274) @@ -1,8 +1,17 @@ ---- cron/upload-prep.pl.orig 2018-03-13 22:05:23 UTC +--- cron/upload-prep.pl.orig 2017-08-21 08:14:08 UTC +++ cron/upload-prep.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/local/bin/perl # # Copyright (c) 2016-2017, OARC, Inc. # Copyright (c) 2007, The Measurement Factory, Inc. +@@ -54,7 +54,7 @@ exit 0 if Proc::PID::File->running(dir = + sleep 3; + + +-foreach my $conf () { ++foreach my $conf () { + next unless open (CONF, $conf); + my $rundir = undef; + while () {