google-authenticator-libpam: Update to version 1.06 9135/head
authorRosen Penev <rosenp@gmail.com>
Mon, 3 Jun 2019 23:48:15 +0000 (16:48 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 3 Jun 2019 23:54:41 +0000 (16:54 -0700)
Simplifies the Makefile slightly. This also uses a proper release instead
of a random git commit.

Added LICENSE Information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/google-authenticator-libpam/Makefile

index 978b5630a05cb321f169b0e70d5c7f8a61c41dd5..de7bd36dfbfecfb1b1a683fbd8ee73da339ef3f8 100644 (file)
@@ -4,17 +4,18 @@
 #
 
 include $(TOPDIR)/rules.mk
+
 PKG_NAME:=google-authenticator-libpam
-PKG_SOURCE_DATE:=2019-01-03
+PKG_VERSION:=1.06
 PKG_RELEASE:=1
 
-PKG_SOURCE_VERSION:=60207b6c4cebf825863043e963bf67f6a0520076
-PKG_SOURCE_URL:=https://codeload.github.com/google/google-authenticator-libpam/tar.gz/$(PKG_SOURCE_VERSION)?
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
-PKG_HASH:=39267ba837f870b3f4cbf9166a76eed35879d3f87d058740f2c0a5e16570bce3
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/google/google-authenticator-libpam/tar.gz/$(PKG_VERSION)?
+PKG_HASH:=52f03ec746e8deb1af37911697d096f0fa87583491b7cc460cdf09a6ef0d6b06
 
+PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
+PKG_LICENSE:=Apache-2.0
+PKG_LICENSE_FILES:=LICENSE
 
 PKG_BUILD_PARALLEL:=1
 PKG_FIXUP:=autoreconf
@@ -28,7 +29,6 @@ define Package/google-authenticator-libpam
   DEPENDS:=+libpam +libqrencode
   TITLE:=Google Authenticator PAM module
   URL:=https://github.com/google/google-authenticator-libpam
-  MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
 endef
 
 define Package/google-authenticator-libpam/description