Re: [alpine-aports] [PATCH v3] testing/flow-tools: new aport
All those subpackages are very specific tools. Most of them are used very
rarely. I have no idea how to combine it in a set, so I just split it one
In real life, to collect, filter and have readable output I use the only 3
of them: flow-capture, flow-nfilter, flow-print.
Somebody, who have simple filter rules, can change flow-nfilter to
If somebody want to have a deal with several flow-files in a time, can add
flow-cat command, etc.
So it's like "lego" constructor.
2017-05-30 9:36 GMT+03:00 Leonardo Arena <rnalrd_at_gmail.com>:
> On 04/26/2017 03:04 PM, Valery Kartel wrote:
>> Tool set for working with NetFlow data
>> v1 -> v2: split to subpackages
>> v2 -> v3: fix and improve $command_args in init-script
>> testing/flow-tools/APKBUILD | 106
>> testing/flow-tools/flow-capture.confd | 33 +++++++++
>> testing/flow-tools/flow-capture.initd | 18 +++++
>> testing/flow-tools/flow-capture.pre-install | 6 ++
>> 4 files changed, 163 insertions(+)
>> create mode 100644 testing/flow-tools/APKBUILD
>> create mode 100644 testing/flow-tools/flow-capture.confd
>> create mode 100644 testing/flow-tools/flow-capture.initd
>> create mode 100644 testing/flow-tools/flow-capture.pre-install
>> diff --git a/testing/flow-tools/APKBUILD b/testing/flow-tools/APKBUILD
>> new file mode 100644
>> index 0000000000..4d6c222889
>> --- /dev/null
>> +++ b/testing/flow-tools/APKBUILD
>> _at__at_ -0,0 +1,106 @@
>> +# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
>> +# Maintainer: Valery Kartel <valery.kartel_at_gmail.com>
>> +pkgdesc="Tool set for working with NetFlow data"
>> +subpackages="$pkgname-doc libft-dev libft:libs
>> + $_pkgreal-capture $_pkgreal-log2rrd::noarch
>> + $_pkgreal-rptfmt::noarch $_pkgreal-rpt2rrd::noarch
>> + "
>> +_tools="cat dscan expire export fanout filter gen header import
>> + mask merge nfilter print receive report send split stat tag xlate"
>> +for _tool in $_tools; do
>> + subpackages="$subpackages $_pkgreal-$_tool:_tool"
>> + _tools_list="$_tools_list $_pkgreal-$_tool"
> I see that 26 subpackages are created which are few KB in size. Is it
> really recommended to have such amount of subpkgs or the APKBUILD could be
Received on Tue May 30 2017 - 13:41:11 UTC