You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=yubico-pam
  3. PKG_VERSION:=2.27
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=pam_yubico-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://developers.yubico.com/yubico-pam/Releases
  7. PKG_HASH:=63d02788852644d871746e1a7a1d16c272c583c226f62576f5ad232a6a44e18c
  8. PKG_BUILD_DIR:=$(BUILD_DIR)/pam_yubico-$(PKG_VERSION)
  9. PKG_MAINTAINER:=Stuart B. Wilkins <stuwilkins@mac.com>
  10. PKG_LICENSE_FILES:=COPYING
  11. PKG_LICENSE:=BSD-2-Clause
  12. PKG_INSTALL:=1
  13. PKG_BUILD_PARALLEL:=1
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/yubico-pam
  16. SECTION:=libs
  17. CATEGORY:=Libraries
  18. TITLE:=The Yubico PAM module
  19. URL:=https://developers.yubico.com/yubico-pam/
  20. DEPENDS:=+ykclient +ykpers +libyubikey +libpam +curl
  21. endef
  22. define Package/yubico-pam/description
  23. The Yubico PAM module provides an easy way to integrate the YubiKey
  24. into your existing user authentication infrastructure.
  25. endef
  26. CONFIGURE_ARGS += \
  27. --enable-shared \
  28. --disable-static \
  29. --without-ldap
  30. define Package/yubico-pam/install
  31. $(INSTALL_DIR) $(1)/usr/lib/security
  32. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/security/pam_yubico.so $(1)/usr/lib/security
  33. endef
  34. $(eval $(call BuildPackage,yubico-pam))