OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # |
2 | # Copyright (C) 2009-2011 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | |||
10 | PKG_NAME:=conntrack-tools |
||
11 | PKG_RELEASE:=1 |
||
12 | |||
13 | PKG_SOURCE_PROTO:=git |
||
14 | PKG_SOURCE_URL:=https://git.netfilter.org/conntrack-tools |
||
15 | PKG_SOURCE_DATE:=2017-09-27 |
||
16 | PKG_SOURCE_VERSION:=eefe649ca51ed0cbb995454cdc366f5072f6443c |
||
17 | PKG_MIRROR_HASH:=1c207c3e423d741fbb31e3c29486a811e6dad493f26ec47a2df75b6262a1b4bd |
||
18 | |||
19 | PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io> |
||
20 | PKG_LICENSE:=GPL-2.0 |
||
21 | PKG_CPE_ID:=cpe:/a:conntrack-tools_project:conntrack-tools |
||
22 | |||
23 | PKG_FIXUP:=autoreconf |
||
24 | PKG_INSTALL:=1 |
||
25 | |||
26 | PKG_BUILD_DEPENDS:=librpc |
||
27 | |||
28 | include $(INCLUDE_DIR)/package.mk |
||
29 | |||
30 | define Package/conntrack-tools/default |
||
31 | SECTION:=net |
||
32 | CATEGORY:=Network |
||
33 | DEPENDS:=+libnetfilter-conntrack +libnetfilter-cttimeout +libnetfilter-cthelper +libnetfilter-queue |
||
34 | SUBMENU:=Firewall |
||
35 | URL:=http://conntrack-tools.netfilter.org/ |
||
36 | endef |
||
37 | |||
38 | define Package/conntrack |
||
39 | $(call Package/conntrack-tools/default) |
||
40 | TITLE:=Connection tracking tool |
||
41 | endef |
||
42 | |||
43 | define Package/conntrack/description |
||
44 | Conntrack is a userspace command line program targeted at system |
||
45 | administrators. It enables them to view and manage the in-kernel |
||
46 | connection tracking state table. |
||
47 | endef |
||
48 | |||
49 | define Package/conntrack/install |
||
50 | $(INSTALL_DIR) $(1)/usr/sbin |
||
51 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/conntrack $(1)/usr/sbin/ |
||
52 | endef |
||
53 | |||
54 | define Package/conntrackd |
||
55 | $(call Package/conntrack-tools/default) |
||
56 | TITLE:=Connection tracking daemon |
||
57 | endef |
||
58 | |||
59 | define Package/conntrackd/conffiles |
||
60 | /etc/conntrackd/ |
||
61 | endef |
||
62 | |||
63 | define Package/conntrackd/description |
||
64 | Conntrackd can replicate the status of the connections that are |
||
65 | currently being processed by your stateful firewall based on Linux. |
||
66 | Conntrackd can also run as statistics daemon. |
||
67 | endef |
||
68 | |||
69 | define Package/conntrackd/install |
||
70 | $(INSTALL_DIR) \ |
||
71 | $(1)/etc/conntrackd \ |
||
72 | $(1)/etc/init.d \ |
||
73 | $(1)/usr/sbin |
||
74 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/conntrackd $(1)/usr/sbin/ |
||
75 | $(INSTALL_BIN) ./files/conntrackd.init $(1)/etc/init.d/conntrackd |
||
76 | endef |
||
77 | |||
78 | $(eval $(call BuildPackage,conntrack)) |
||
79 | $(eval $(call BuildPackage,conntrackd)) |