dns/dsc: Improve out-of-box behavior
(From the PR) The sample configuration refers to an invalid PID file location, and a non-existent data directory. - Set PID file location to match RC script default - Create default data directory - While here, drop dependency on dns/dsp, which is not required to collect stats PR: 245141 Submitted by: John W. O'Brien Approved by: Leo Vandewoestijne (maintainer timeout, 2 weeks)
This commit is contained in:
parent
b43e22eaa5
commit
06fa50c3e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531533
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= dsc
|
||||
PORTVERSION= 2.8.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= https://www.dns-oarc.net/files/dsc/ \
|
||||
https://dns.company/files/dsc/
|
||||
@ -16,14 +17,14 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
|
||||
RUN_DEPENDS= libpcap>=1.8.1:net/libpcap \
|
||||
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
|
||||
p5-XML-Simple>=2.24:textproc/p5-XML-Simple
|
||||
|
||||
USES= gmake perl5 shebangfix
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-extra-cflags=-I${LOCALBASE}/include \
|
||||
--with-extra-ldflags=-L${LOCALBASE}/lib
|
||||
--with-extra-ldflags=-L${LOCALBASE}/lib \
|
||||
--with-pid-file=/var/run/${PORTNAME}.pid
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SHEBANG_FILES= cron/upload-prep.pl
|
||||
@ -42,4 +43,7 @@ post-extract:
|
||||
${WRKSRC}/src/dsc.conf.5.in \
|
||||
${WRKSRC}/src/dsc.sh
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}/var/lib/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -10,3 +10,5 @@ man/man5/dsc.conf.5.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.md
|
||||
%%PORTDOCS%%%%DOCSDIR%%/UPGRADE.md
|
||||
@dir /var/lib/dsc
|
||||
@dir /var/lib
|
||||
|
Loading…
Reference in New Issue
Block a user