hidapi: remove now obsolete iconv patch
[feed/packages.git] / net / netstinky / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=netstinky
4 PKG_VERSION:=1.0.0
5 PKG_RELEASE:=2
6
7 PKG_SOURCE:=nsids-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=https://github.com/wanduow/netstinky-ids/releases/download/v$(PKG_VERSION)/
9 PKG_HASH:=143e8d7a9ee7f58893d92b065aed7eca35798f5807b07d9a78f404ea8614e216
10 PKG_BUILD_DIR:=$(BUILD_DIR)/nsids-$(PKG_VERSION)
11
12 PKG_MAINTAINER:=Andrew Mackintosh <amackint@waikato.ac.nz>
13 PKG_LICENSE:=BSD-2-Clause
14 PKG_LICENSE_FILES:=LICENSE
15
16 PKG_BUILD_PARALLEL:=1
17 PKG_INSTALL:=1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/netstinky
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+libpcap +libuv +libopenssl +umdns
25 TITLE:=NetStinky IDS for detecting IoCs on an active network
26 URL:=https://netstinky.wand.net.nz/
27 endef
28
29 define Package/netstinky/description
30 The NetStinky IDS is a component of the NetStinky suite of tools. It
31 monitors the traffic on the LAN interfaces of your router for Indications
32 of Compromise (IoCs), drawn from an auto-updating list of definitions.
33 IoCs are subsequently reported to the NetStinky smartphone applications.
34 endef
35
36 CONFIGURE_ARGS += \
37 --enable-mdns=no \
38 --enable-updates
39
40 define Package/netstinky/conffiles
41 /etc/config/netstinky
42 endef
43
44 define Package/netstinky/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) \
47 $(PKG_INSTALL_DIR)/usr/bin/nsids \
48 $(1)/usr/bin
49
50 $(INSTALL_DIR) $(1)/etc/init.d
51 $(INSTALL_BIN) \
52 ./files/nsids.init \
53 $(1)/etc/init.d/nsids
54
55 $(INSTALL_DIR) $(1)/etc/config
56 $(INSTALL_CONF) \
57 ./files/nsids.conf \
58 $(1)/etc/config/netstinky
59 endef
60
61 $(eval $(call BuildPackage,netstinky))
62