mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 03:29:52 +00:00
0c10c224be
Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=yubico-pam
|
|
PKG_VERSION:=2.27
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=pam_yubico-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://developers.yubico.com/yubico-pam/Releases
|
|
PKG_HASH:=63d02788852644d871746e1a7a1d16c272c583c226f62576f5ad232a6a44e18c
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/pam_yubico-$(PKG_VERSION)
|
|
|
|
PKG_MAINTAINER:=Stuart B. Wilkins <stuwilkins@mac.com>
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/yubico-pam
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=The Yubico PAM module
|
|
URL:=https://developers.yubico.com/yubico-pam/
|
|
DEPENDS:=+ykclient +ykpers +libyubikey +libpam +curl
|
|
endef
|
|
|
|
define Package/yubico-pam/description
|
|
The Yubico PAM module provides an easy way to integrate the YubiKey
|
|
into your existing user authentication infrastructure.
|
|
endef
|
|
|
|
CONFIGURE_ARGS += \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--without-ldap
|
|
|
|
define Package/yubico-pam/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/security
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/security/pam_yubico.so $(1)/usr/lib/security
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,yubico-pam))
|