Mail archive
alpine-aports

Re: [alpine-aports] [PATCH v3] testing/flow-tools: new aport

From: Leonardo Arena <rnalrd_at_gmail.com>
Date: Tue, 30 May 2017 08:36:38 +0200

Hi,


On 04/26/2017 03:04 PM, Valery Kartel wrote:
> Tool set for working with NetFlow data
> https://code.google.com/p/flow-tools
>
> ---
> 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_@ -0,0 +1,106 @@
> +# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
> +# Maintainer: Valery Kartel <valery.kartel_at_gmail.com>
> +pkgname=flow-tools
> +pkgver=0.68.5.1
> +pkgrel=0
> +_pkgreal=flow
> +pkgdesc="Tool set for working with NetFlow data"
> +url="https://code.google.com/p/flow-tools"
> +arch="all"
> +license="BSD"
> +options="!check"
> +install="$_pkgreal-capture.pre-install"
> +pkgusers=$_pkgreal
> +pkggroups=$_pkgreal
> +depends_dev="perl"
> +makedepends="zlib-dev"
> +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"
> +_tools_list="$_pkgreal-capture"
> +for _tool in $_tools; do
> + subpackages="$subpackages $_pkgreal-$_tool:_tool"
> + _tools_list="$_tools_list $_pkgreal-$_tool"
> +done

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?

Thanks!

/eo




---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue May 30 2017 - 08:36:38 GMT