mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
Assign some PKG_CPE_IDs to enhance CVE coverage. https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=aardvark-dns https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=alpine_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=boringssl https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ecdsautils https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=file_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=knot_resolver https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=libwrap https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=lsof_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nfdump https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nlnetlabs%20name_server_daemon https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=rclone https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=setserial https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tang_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tesseract_project https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tmate-ssh-server https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ttyd https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=uw-imap https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=v2ray-core https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=zstandard Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
62 lines
1.5 KiB
Makefile
62 lines
1.5 KiB
Makefile
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=nfdump
|
|
PKG_VERSION:=1.7.4
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
|
PKG_SOURCE_URL:=https://github.com/phaag/nfdump
|
|
PKG_MIRROR_HASH:=83eacf974c0ca9e81df1bcac9e5fcfa89e520d0bd002fcebeee93390e2a3f55e
|
|
|
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_CPE_ID:=cpe:/a:nfdump_project:nfdump
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_BUILD_FLAGS:=lto
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/nfdump
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:= +flex +libbz2 +USE_MUSL:musl-fts +libatomic +libzstd +liblz4
|
|
TITLE:= nfdump
|
|
URL:=https://github.com/phaag/nfdump/
|
|
endef
|
|
|
|
define Package/nfdump/description
|
|
NetFlow collecting and processing tools
|
|
endef
|
|
|
|
define Package/nfdump/conffiles
|
|
/etc/config/nfcapd
|
|
endef
|
|
|
|
TARGET_LDFLAGS += -Wl,--as-needed $(if $(CONFIG_USE_MUSL),-lfts)
|
|
|
|
define Package/nfdump/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libnfdump-$(PKG_VERSION).so $(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_DATA) ./files/nfcapd.config $(1)/etc/config/nfcapd
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/nfcapd.init $(1)/etc/init.d/nfcapd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,nfdump))
|