Re: [alpine-aports] [PATCH v3] testing/flow-tools: new aport
Sorry for getting back so late.
Given that subpkgs are few KBs each, and don't depend on any other big
package, I'd just ship a monolithic package.
On 05/30/2017 12:41 PM, Valery Kartel wrote:
> 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 by 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
> 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 simplified?
Received on Mon Jun 05 2017 - 15:57:28 UTC