Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

12
package/ngrep/Config.in Normal file
View File

@@ -0,0 +1,12 @@
config BR2_PACKAGE_NGREP
bool "ngrep"
depends on BR2_USE_WCHAR
select BR2_PACKAGE_LIBPCAP
select BR2_PACKAGE_PCRE2
help
Network grep.
https://github.com/jpr5/ngrep/
comment "ngrep needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR

3
package/ngrep/ngrep.hash Normal file
View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 6c94b31681316b7469a3ace92d2aeec7c9f490bd6782453dff2ade0e289a3348 ngrep-1.49.0.tar.gz
sha256 de8f2aca6f09c8b7d6e4dde36ece0fc71be1584ff8ce6b1ef40fbe47f054467e LICENSE

34
package/ngrep/ngrep.mk Normal file
View File

@@ -0,0 +1,34 @@
################################################################################
#
# ngrep
#
################################################################################
NGREP_VERSION = 1.49.0
NGREP_SITE = $(call github,jpr5,ngrep,v$(NGREP_VERSION))
NGREP_LICENSE = BSD-4-Clause-like, BSD-3-Clause (tcpkill)
NGREP_LICENSE_FILES = LICENSE
NGREP_INSTALL_STAGING = YES
ifeq ($(BR2_STATIC_LIBS),y)
NGREP_CONF_ENV += LIBS=`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
endif
NGREP_CONF_OPTS = \
--with-pcap-includes=$(STAGING_DIR)/usr/include \
--enable-pcre2 \
--disable-dropprivs \
--disable-pcap-restart
NGREP_CONF_ENV += ac_cv_path_NGREP_PCRE2_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/pcre2-config
NGREP_DEPENDENCIES = host-pkgconf libpcap pcre2
ifeq ($(BR2_PACKAGE_LIBNET),y)
NGREP_DEPENDENCIES += libnet
NGREP_CONF_OPTS += --enable-tcpkill
NGREP_CONF_ENV += ac_cv_path_LIBNET_CONFIG_BIN=$(STAGING_DIR)/usr/bin/libnet-config
else
NGREP_CONF_OPTS += --disable-tcpkill
endif
$(eval $(autotools-package))