Index: head/dns/dsc/Makefile =================================================================== --- head/dns/dsc/Makefile +++ head/dns/dsc/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dsc -PORTVERSION= 2.7.0 -PORTREVISION= 1 +PORTVERSION= 2.8.0 CATEGORIES= dns MASTER_SITES= https://www.dns-oarc.net/files/dsc/ \ https://dns.company/files/dsc/ @@ -26,9 +25,20 @@ CONFIGURE_ARGS= --with-extra-cflags=-I${LOCALBASE}/include SUB_FILES= pkg-message +SHEBANG_FILES= cron/upload-prep.pl -USE_RC_SUBR= dsc +USE_RC_SUBR= dsc OPTIONS_DEFINE= DOCS + +post-extract: + ${REINPLACE_CMD} -e 's|/usr/local/dsc/etc|${PREFIX}/etc/dsc|' \ + ${WRKSRC}/cron/upload-prep.pl + ${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' \ + ${WRKSRC}/cron/upload-rsync.sh \ + ${WRKSRC}/cron/upload-ssh.sh \ + ${WRKSRC}/cron/upload-x509.sh \ + ${WRKSRC}/src/dsc.conf.5.in \ + ${WRKSRC}/src/dsc.sh .include Index: head/dns/dsc/distinfo =================================================================== --- head/dns/dsc/distinfo +++ head/dns/dsc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1534374842 -SHA256 (dsc-2.7.0.tar.gz) = eab7f79229a800087d96cb8bac39927558f1d512428d7825d5edb5f7064d2c31 -SIZE (dsc-2.7.0.tar.gz) = 325520 +TIMESTAMP = 1550048113 +SHA256 (dsc-2.8.0.tar.gz) = a8e7ee0063f1ac34f686bdba773ec209a0a974ccdf0e032ba10163800ec86880 +SIZE (dsc-2.8.0.tar.gz) = 333408 Index: head/dns/dsc/files/patch-cron_upload-prep.pl =================================================================== --- head/dns/dsc/files/patch-cron_upload-prep.pl +++ head/dns/dsc/files/patch-cron_upload-prep.pl @@ -1,17 +0,0 @@ ---- 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 () {