nodogsplash: fix SPDX License Identifier and reordering

- Add PKG_LICENSE_FILES
- Use two spaces instead of tabs

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer 2022-02-26 13:35:26 +01:00 committed by Nick Hainke
parent eefb80705e
commit c64e02c5b5
1 changed files with 17 additions and 17 deletions

View File

@ -6,38 +6,38 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=nodogsplash PKG_NAME:=nodogsplash
PKG_FIXUP:=autoreconf
PKG_VERSION:=5.0.0 PKG_VERSION:=5.0.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/nodogsplash/nodogsplash/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/nodogsplash/nodogsplash/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=nodogsplash-$(PKG_VERSION).tar.gz
PKG_HASH:=a7665f4a42997746a31e9217f2f54e360aa7fc4bc72bd89faa08f1ccf7875b5e PKG_HASH:=a7665f4a42997746a31e9217f2f54e360aa7fc4bc72bd89faa08f1ccf7875b5e
PKG_BUILD_DIR:=$(BUILD_DIR)/nodogsplash-$(PKG_VERSION)
PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de> PKG_MAINTAINER:=Moritz Warning <moritzwarning@web.de>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=GPL-2.0+
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/nodogsplash define Package/nodogsplash
SUBMENU:=Captive Portals SUBMENU:=Captive Portals
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+libpthread +iptables-mod-ipopt +libmicrohttpd-no-ssl DEPENDS:=+libpthread +iptables-mod-ipopt +libmicrohttpd-no-ssl
TITLE:=Open public network gateway daemon TITLE:=Open public network gateway daemon
URL:=https://github.com/nodogsplash/nodogsplash URL:=https://github.com/nodogsplash/nodogsplash
CONFLICTS:=nodogsplash2 CONFLICTS:=nodogsplash2
endef endef
define Package/nodogsplash/description define Package/nodogsplash/description
Nodogsplash is a Captive Portal that offers a simple way to Nodogsplash is a Captive Portal that offers a simple way to
provide restricted access to the Internet by showing a splash provide restricted access to the Internet by showing a splash
page to the user before Internet access is granted. page to the user before Internet access is granted.
It also incorporates an API that allows the creation of It also incorporates an API that allows the creation of
sophisticated authentication applications. sophisticated authentication applications.
endef endef
define Package/nodogsplash/install define Package/nodogsplash/install