net-mgmt/netdata: fix pkg-plist @sample for ebpf_kernel_reject_list.txt.
A @sample line with one file name argument that does not end in .sample would compare the file against itself and remove the configuration file even if modified in the pre-deinstall phase. Fix that. Bump PORTREVISION.
This commit is contained in:
parent
f2d1022c2f
commit
1997461778
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548885
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
PORTNAME= netdata
|
||||
PORTVERSION= 1.24.0
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/
|
||||
|
||||
|
@ -109,8 +110,9 @@ post-install:
|
|||
${MKDIR} ${STAGEDIR}${NETDATA_CACHE}
|
||||
${MKDIR} ${STAGEDIR}${NETDATA_LOG}
|
||||
${MKDIR} ${STAGEDIR}${NETDATA_PERST}
|
||||
(for fi in ${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*.conf \
|
||||
${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*/*.conf; do \
|
||||
(for fi in ${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*.conf \
|
||||
${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*/*.conf \
|
||||
${STAGEDIR}${LOCALBASE}/lib/${PORTNAME}/conf.d/*.txt ; do \
|
||||
${MV} $$fi $$fi".sample"; \
|
||||
done)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/opensips.conf.sample
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/charts.d/sensors.conf.sample
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf.conf.sample
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf_kernel_reject_list.txt
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/ebpf_kernel_reject_list.txt.sample
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/exporting.conf.sample
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/fping.conf.sample
|
||||
@sample(netdata,netdata,0640) lib/netdata/conf.d/health.d/adaptec_raid.conf.sample
|
||||
|
|
Loading…
Reference in a new issue