From: Bernd Kuhls Date: Tue, 13 Jul 2021 19:13:59 +0000 (+0200) Subject: package/apg: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=99eb1a7019a4333f99e93b844962db301a8c3f98;p=buildroot.git package/apg: new package Reviewed-by: Yegor Yefremov Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/DEVELOPERS b/DEVELOPERS index 72d76b1f44..596670993a 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -311,6 +311,7 @@ N: Bernd Kuhls 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 d4150f3cd6..be70150764 100644 --- a/package/Config.in +++ b/package/Config.in @@ -2399,6 +2399,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..94c286a178 --- /dev/null +++ b/package/apg/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_APG + bool "apg" + help + Automated Password Generator (APG). + + 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..ac4dce77f9 --- /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-3-Clause +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))