For change log, see [1].
Buildroot commit [2] changed _SITE from using the ftp site to a
github download. This github generated archive has a different hash
compare to release files, due to a different directory name in the
archive. This does not allow to check the published PGP signatures.
This new 3.0.0 version is published as a github release asset. This
commit updates _SITE and _SOURCE to use those release files. The
archive is switched to bz2 archive which is smaller. Finally, this
commit adds a comment in the hash file, with the signature link and
the pgp key used for the signature.
[1] https://github.com/FreeRADIUS/pam_radius/blob/release_3_0_0/Changelog
[2] 860b1b9587
Signed-off-by: Vincent Jardin <vjardin@free.fr>
[Julien: change to use the release archive so the PGP
signature can be checked]
Signed-off-by: Julien Olivain <ju.o@free.fr>
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libpam-radius-auth
|
|
#
|
|
################################################################################
|
|
|
|
LIBPAM_RADIUS_AUTH_VERSION = 3.0.0
|
|
LIBPAM_RADIUS_AUTH_SITE = https://github.com/FreeRADIUS/pam_radius/releases/download/release_$(subst .,_,$(LIBPAM_RADIUS_AUTH_VERSION))
|
|
LIBPAM_RADIUS_AUTH_SOURCE = pam_radius-$(LIBPAM_RADIUS_AUTH_VERSION).tar.bz2
|
|
LIBPAM_RADIUS_AUTH_DEPENDENCIES = linux-pam
|
|
LIBPAM_RADIUS_AUTH_INSTALL_STAGING = YES
|
|
LIBPAM_RADIUS_AUTH_LICENSE = GPL-2.0+
|
|
LIBPAM_RADIUS_AUTH_LICENSE_FILES = LICENSE
|
|
# While autoconf is used for configuration, the Makefile is
|
|
# hand-written, so we need to pass CC, LD, CFLAGS at build time.
|
|
LIBPAM_RADIUS_AUTH_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
|
|
|
|
define LIBPAM_RADIUS_AUTH_INSTALL_STAGING_CMDS
|
|
mkdir -p $(STAGING_DIR)/lib/security/
|
|
cp -dpfr $(@D)/pam_radius_auth.so* $(STAGING_DIR)/lib/security/
|
|
endef
|
|
|
|
define LIBPAM_RADIUS_AUTH_INSTALL_TARGET_CMDS
|
|
mkdir -p $(TARGET_DIR)/lib/security/
|
|
cp -dpfr $(@D)/pam_radius_auth.so* $(TARGET_DIR)/lib/security/
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|