mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Fwknop: add flexibility to uci support
Styling cleanups signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
This commit is contained in:
committed by
Steven Barth
parent
8c1e0d4bfd
commit
7d72d8b170
+7
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fwknop
|
||||
PKG_VERSION:=2.6.6
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://www.cipherdyne.org/fwknop/download
|
||||
@@ -102,6 +102,8 @@ define Build/InstallDev
|
||||
endef
|
||||
|
||||
define Package/fwknopd/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./files/fwknopd $(1)/etc/config/fwknopd
|
||||
$(INSTALL_DIR) $(1)/etc/fwknop
|
||||
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/fwknop/{access,fwknopd}.conf \
|
||||
$(1)/etc/fwknop/
|
||||
@@ -111,6 +113,10 @@ define Package/fwknopd/install
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/fwknopd $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
define Package/fwknopd/conffiles
|
||||
/etc/config/fwknopd
|
||||
endef
|
||||
|
||||
define Package/fwknop/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/fwknop $(1)/usr/bin/
|
||||
|
||||
Reference in New Issue
Block a user