[Buildroot] [PATCH 1/1] package/apg: new package
Yegor Yefremov
yegorslists at googlemail.com
Tue Jul 13 18:26:38 UTC 2021
Hi Bernd,
On Tue, Jul 13, 2021 at 6:11 PM Bernd Kuhls <bernd.kuhls at t-online.de> wrote:
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
> test-pkg -a reports no errors:
>
> 45 builds, 0 skipped, 0 build failed, 0 legal-info failed
>
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/apg/Config.in | 6 ++++++
> package/apg/apg.hash | 3 +++
> package/apg/apg.mk | 21 +++++++++++++++++++++
> 5 files changed, 32 insertions(+)
> create mode 100644 package/apg/Config.in
> create mode 100644 package/apg/apg.hash
> create mode 100644 package/apg/apg.mk
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 15ea800f4b..4eb76e0fe1 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -314,6 +314,7 @@ N: Bernd Kuhls <bernd.kuhls at t-online.de>
> F: package/alsa-lib/
> F: package/alsa-utils/
> F: package/apache/
> +F: package/apg/
> F: package/apr/
> F: package/apr-util/
> F: package/bcg729/
> diff --git a/package/Config.in b/package/Config.in
> index 1a8ba3c23c..f5fb97f3cd 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2400,6 +2400,7 @@ comment "Shells"
> source "package/mksh/Config.in"
> source "package/zsh/Config.in"
> comment "Utilities"
> + source "package/apg/Config.in"
> source "package/at/Config.in"
> source "package/bash-completion/Config.in"
> source "package/ccrypt/Config.in"
> diff --git a/package/apg/Config.in b/package/apg/Config.in
> new file mode 100644
> index 0000000000..b7f1ca0454
> --- /dev/null
> +++ b/package/apg/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_APG
> + bool "apg"
> + help
> + Automated Password Generator (APG)
Dot is missing.
> +
> + https://github.com/wilx/apg
> diff --git a/package/apg/apg.hash b/package/apg/apg.hash
> new file mode 100644
> index 0000000000..5532289a68
> --- /dev/null
> +++ b/package/apg/apg.hash
> @@ -0,0 +1,3 @@
> +# Locally computed
> +sha256 89539aa734a47d68124fca5ba7acbe559edc5003b6791f5200ef9e706dd00fe9 apg-2.3.0b.tar.gz
> +sha256 5d0c892ea452c3828f1e311637cde4e3a04eb6431554308b3fcdac8c1b330168 COPYING
> diff --git a/package/apg/apg.mk b/package/apg/apg.mk
> new file mode 100644
> index 0000000000..8ab76ea923
> --- /dev/null
> +++ b/package/apg/apg.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# apg
> +#
> +################################################################################
> +
> +APG_VERSION = 2.3.0b
> +APG_SITE = $(call github,wilx,apg,v$(APG_VERSION))
> +APG_LICENSE = BSD
s/BSD/BSD-3-Clause
Other than that, it looks good to me. You can add my Reviewed-by:
Yegor Yefremov <yegorslists at googlemail.com> for v2.
Best regards,
Yegor
> +APG_LICENSE_FILES = COPYING
> +
> +define APG_BUILD_CMDS
> + $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(APG_CFLAGS)" \
> + -C $(@D)
> +endef
> +
> +define APG_INSTALL_TARGET_CMDS
> + $(INSTALL) -D -m 0755 $(@D)/apg $(TARGET_DIR)/usr/bin/apg
> +endef
> +
> +$(eval $(generic-package))
> --
> 2.30.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list