Commits

Rainer Müller authored cb8db635842
collectd: Add a hint how to use dep-gen.sh
No tags

sysutils/collectd/files/dep-gen.sh

Modified
1 1 #!/usr/bin/env bash
2 2 # portfile generator for collectd plugins and their dependencies
3 3 # vim:set noet ts=4 sw=4:
4 4
5 5 # these lists are generated from collectd's ./configure output by applying the following regex:
6 6 # s/\v\s*--enable-(\w+)\s+(.*)$/[\1]="\2"/
7 7
8 +# After changing this script, run the following shell command to update the Portfile:
9 +# ( awk '/^# WARNING: This list is generated/ { exit } { print }' < Portfile | sed '$d' ; ./files/dep-gen.sh ) > Portfile.tmp; mv Portfile.tmp Portfile
10 +
11 +
8 12 declare -a OPTIONS_ENABLE
9 13 OPTIONS_ENABLE=(
10 14 match_empty_counter
11 15 match_hashed
12 16 match_regex
13 17 match_timediff
14 18 match_value
15 19 target_notification
16 20 target_replace
17 21 target_scale

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut