openwrtv3/package/network/utils/conntrack-tools/Makefile
John Crispin c10d97484a Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43155
2014-11-03 08:01:08 +00:00

67 lines
1.8 KiB
Makefile

#
# Copyright (C) 2009-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=conntrack-tools
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \
http://www.netfilter.org/projects/conntrack-tools/files \
ftp://ftp.netfilter.org/pub/conntrack-tools \
http://mirrors.evolva.ro/netfilter.org/conntrack-tools
PKG_MD5SUM:=5add24d4761baf17af630d5627a71752
PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
PKG_LICENSE:=GPL-2.0
PKG_LICENSE:=GPL-2.0+
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
TAR_OPTIONS += --exclude='*.rej'
include $(INCLUDE_DIR)/package.mk
define Package/conntrack-tools
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libnetfilter-conntrack
SUBMENU:=Firewall
TITLE:=Connection tracking userspace tools
URL:=http://conntrack-tools.netfilter.org/
endef
define Package/conntrack-tools/description
The conntrack-tools are a set of free software userspace tools for Linux
that allow system administrators interact with the Connection Tracking
System, which is the module that provides stateful packet inspection for
iptables. The conntrack-tools are the userspace daemon conntrackd and the
command line interface conntrack.
endef
define Package/conntrack-tools/conffiles
/etc/conntrackd/conntrackd.conf
endef
define Package/conntrack-tools/install
$(INSTALL_DIR) $(1)/etc/conntrackd
$(INSTALL_CONF) \
$(PKG_BUILD_DIR)/doc/stats/conntrackd.conf \
$(1)/etc/conntrackd/
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/sbin/conntrack \
$(PKG_INSTALL_DIR)/usr/sbin/conntrackd \
$(1)/usr/sbin/
endef
$(eval $(call BuildPackage,conntrack-tools))