mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
Update to latest version. Changelog: https://github.com/snort3/libdaq/releases/tag/v3.0.15 ,,_ -*> Snort++ <*- o" )~ Version 3.1.84.0 '''' By Martin Roesch & The Snort Team http://snort.org/contact#team Copyright (C) 2014-2024 Cisco and/or its affiliates. All rights reserved. Copyright (C) 1998-2013 Sourcefire, Inc., et al. Using DAQ version 3.0.15 Using LuaJIT version 2.1.0-beta3 Using OpenSSL 3.0.13 30 Jan 2024 Using libpcap version 1.10.4 (with TPACKET_V3) Using PCRE version 10.42 2022-12-11 Using ZLIB version 1.3.1 Using Hyperscan version 5.4.2 2024-05-26 Using LZMA version 5.4.6 Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
69 lines
1.9 KiB
Makefile
69 lines
1.9 KiB
Makefile
#
|
|
# Copyright (C) 2012-2015 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:=libdaq3
|
|
PKG_VERSION:=3.0.15
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
PKG_LICENSE_FILES:=COPYING LICENSE
|
|
|
|
PKG_SOURCE:=libdaq-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/snort3/libdaq/tar.gz/v$(PKG_VERSION)?
|
|
PKG_HASH:=174c639d59f7bda84d71bda50257febbb2646138aa7bbf948bb4d4a8be60f2d8
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/libdaq-$(PKG_VERSION)
|
|
|
|
PKG_FIXUP:=autoreconf
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/libdaq3
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=DAQ library
|
|
URL:=$(PKG_SOURCE_URL)
|
|
DEPENDS:=+libdnet +libpcap +libstdcpp +libmnl +libnetfilter-queue
|
|
endef
|
|
|
|
define Package/libdaq3/description
|
|
Data Acquisition library for packet I/O.
|
|
endef
|
|
|
|
CONFIGURE_ARGS+= \
|
|
--disable-static \
|
|
--enable-nfq-module \
|
|
--with-dnet-includes="$(STAGING_DIR)/usr/include" \
|
|
--with-dnet-libraries="$(STAGING_DIR)/usr/lib" \
|
|
--with-libpcap-includes="$(STAGING_DIR)/usr/include" \
|
|
--with-libpcap-libraries="$(STAGING_DIR)/usr/lib" \
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(STAGING_DIR)/usr/include/daq3
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/. $(STAGING_DIR)/usr/include/daq3/
|
|
$(INSTALL_DIR) $(STAGING_DIR)/usr/lib/daq3
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(STAGING_DIR)/usr/lib/daq3/
|
|
$(INSTALL_DIR) $(STAGING_DIR)/usr/lib/daq3/daq
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/daq/* $(STAGING_DIR)/usr/lib/daq3/daq/
|
|
endef
|
|
|
|
define Package/libdaq3/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
|
|
$(INSTALL_DIR) $(1)/usr/lib/daq
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/daq/*.so* $(1)/usr/lib/daq/
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libdaq3))
|