aboutsummaryrefslogtreecommitdiff
path: root/net/znc/Makefile
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2016-09-08 12:17:21 +0100
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2016-11-17 10:28:43 +0000
commita6715c17ffb1c50e1325ebbfac45abe7c512a0c5 (patch)
tree86c6fb8dc4df5fafa9d107fe0c263c0ea6a0a7c7 /net/znc/Makefile
parentb791b2aa9c0bf21f9f4b99a5eb1279fbe7019aa8 (diff)
znc: run as user znc & use procd
Create & run znc as a specific user rather than nobody. Converted to use procd, removing dependencies on znc's 'droproot' module & 'su' Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'net/znc/Makefile')
-rw-r--r--net/znc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/znc/Makefile b/net/znc/Makefile
index 4fa31c468..a36c8e010 100644
--- a/net/znc/Makefile
+++ b/net/znc/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=znc
PKG_VERSION:=1.6.3
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://znc.in/releases \
@@ -31,6 +31,7 @@ define Package/znc/default
CATEGORY:=Network
TITLE:=ZNC
URL:=http://en.znc.in/
+ USERID:=znc:znc
endef
define Package/znc
@@ -62,12 +63,11 @@ define Package/znc/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/znc.conf $(1)/etc/config/znc
$(INSTALL_DIR) $(1)/usr/lib/znc/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/droproot.so $(1)/usr/lib/znc/
endef
ZNC_MODULES :=
-ZNC_MODULE_TARGETS := droproot.so
+ZNC_MODULE_TARGETS :=
define module
define Package/znc-mod-$(strip $(1))