FreeBSD Bugzilla – Attachment 196238 Details for
Bug 230661
[PATCH] dns/dsc Update to 2.7.0 and add rc.d script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.txt (text/plain), 3.29 KB, created by
Craig Leres
on 2018-08-16 00:11:40 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Craig Leres
Created:
2018-08-16 00:11:40 UTC
Size:
3.29 KB
patch
obsolete
>Index: dns/dsc/Makefile >=================================================================== >--- dns/dsc/Makefile (revision 477237) >+++ dns/dsc/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $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/ >@@ -19,10 +19,12 @@ > 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 <bsd.port.mk> >Index: dns/dsc/distinfo >=================================================================== >--- dns/dsc/distinfo (revision 477237) >+++ dns/dsc/distinfo (working copy) >@@ -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: dns/dsc/files/dsc.in >=================================================================== >--- dns/dsc/files/dsc.in (nonexistent) >+++ dns/dsc/files/dsc.in (working copy) >@@ -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: dns/dsc/files/dsc.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:executable >## -0,0 +1 ## >+* >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: dns/dsc/files/patch-cron_upload-prep.pl >=================================================================== >--- dns/dsc/files/patch-cron_upload-prep.pl (revision 477237) >+++ dns/dsc/files/patch-cron_upload-prep.pl (working copy) >@@ -1,4 +1,4 @@ >---- 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 >@@ -6,3 +6,12 @@ > # > # 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 (</usr/local/dsc/etc/*.conf>) { >++foreach my $conf (</usr/local/etc/dsc/*.conf>) { >+ next unless open (CONF, $conf); >+ my $rundir = undef; >+ while (<CONF>) {
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
Flags:
leres
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 230661
: 196238