Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From a0657feeb2b349ffda895a53e36ea5c992d871cf Mon Sep 17 00:00:00 2001
|
||||
From: Peter Seiderer <ps.report@gmx.net>
|
||||
Date: Sat, 31 Oct 2015 22:38:48 +0100
|
||||
Subject: [PATCH] configure: do not assume broken inet_pton in case of cross
|
||||
compiling
|
||||
|
||||
Patch configure.ac to not assume broken inet_pton in case of cross
|
||||
compiling.
|
||||
|
||||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index aec0548..d640e0c 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2646,8 +2646,8 @@ int main()
|
||||
#endif
|
||||
}], [AC_MSG_RESULT(ok);
|
||||
have_inet_pton=yes], [AC_MSG_RESULT(broken);
|
||||
-have_inet_pton=no], [AC_MSG_RESULT(cross compiling, assume it is broken);
|
||||
-have_inet_pton=no])],
|
||||
+have_inet_pton=no], [AC_MSG_RESULT([cross compiling, assume it is broken... not here]);
|
||||
+have_inet_pton=yes])],
|
||||
have_inet_pton=no)
|
||||
if test "$have_inet_pton" = no; then
|
||||
INET_PTON_LO="inet_pton.lo"
|
||||
--
|
||||
2.1.4
|
||||
|
||||
15
deprecated/firmware/buildroot/package/wireshark/Config.in
Normal file
15
deprecated/firmware/buildroot/package/wireshark/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_WIRESHARK
|
||||
bool "wireshark"
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
depends on BR2_USE_MMU # fork(), glib2
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
help
|
||||
Network traffic sniffer and protocol decoder.
|
||||
|
||||
http://www.wireshark.org
|
||||
|
||||
comment "wireshark needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,2 @@
|
||||
# From: https://www.wireshark.org/download/src/all-versions/SIGNATURES-2.0.2.txt
|
||||
sha256 e921fb072085a5654d899949bb561d0687f4819f7b63ba35777bb949a9b6b9c1 wireshark-2.0.2.tar.bz2
|
||||
102
deprecated/firmware/buildroot/package/wireshark/wireshark.mk
Normal file
102
deprecated/firmware/buildroot/package/wireshark/wireshark.mk
Normal file
@@ -0,0 +1,102 @@
|
||||
################################################################################
|
||||
#
|
||||
# wireshark
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WIRESHARK_VERSION = 2.0.2
|
||||
WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.bz2
|
||||
WIRESHARK_SITE = http://www.wireshark.org/download/src/all-versions
|
||||
WIRESHARK_LICENSE = wireshark license
|
||||
WIRESHARK_LICENSE_FILES = COPYING
|
||||
WIRESHARK_DEPENDENCIES = host-pkgconf libpcap libglib2
|
||||
WIRESHARK_CONF_ENV = \
|
||||
ac_cv_path_PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config
|
||||
|
||||
# patch touching configure.ac
|
||||
WIRESHARK_AUTORECONF = YES
|
||||
|
||||
# wireshark adds -I$includedir to CFLAGS, causing host/target headers mixup.
|
||||
# Work around it by pointing includedir at staging
|
||||
WIRESHARK_CONF_OPTS = \
|
||||
--without-krb5 \
|
||||
--disable-usr-local \
|
||||
--enable-static=no \
|
||||
--with-libsmi=no \
|
||||
--with-lua=no \
|
||||
--with-pcap=$(STAGING_DIR)/usr \
|
||||
--includedir=$(STAGING_DIR)/usr/include
|
||||
|
||||
# wireshark GUI options
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
||||
WIRESHARK_CONF_OPTS += --with-gtk3=yes
|
||||
WIRESHARK_DEPENDENCIES += libgtk3
|
||||
else ifeq ($(BR2_PACKAGE_LIBGTK2),y)
|
||||
WIRESHARK_CONF_OPTS += --with-gtk2=yes
|
||||
WIRESHARK_DEPENDECIES += libgtk2
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --with-gtk3=no --with-gtk2=no
|
||||
endif
|
||||
|
||||
# Qt4 needs accessibility, we don't support it
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y)
|
||||
WIRESHARK_CONF_OPTS += --with-qt=5
|
||||
WIRESHARK_DEPENDENCIES += qt5base
|
||||
# Seems it expects wrappers and passes a -qt=X parameter for version
|
||||
WIRESHARK_MAKE_OPTS += \
|
||||
MOC="$(HOST_DIR)/usr/bin/moc" \
|
||||
RCC="$(HOST_DIR)/usr/bin/rcc" \
|
||||
UIC="$(HOST_DIR)/usr/bin/uic"
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --with-qt=no
|
||||
endif
|
||||
|
||||
# No GUI at all
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK2)$(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_QT5BASE_WIDGETS),)
|
||||
WIRESHARK_CONF_OPTS += --disable-wireshark
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
||||
WIRESHARK_CONF_OPTS += --with-c-ares=$(STAGING_DIR)/usr
|
||||
WIRESHARK_DEPENDENCIES += c-ares
|
||||
else
|
||||
WIREHARK_CONF_OPTS += --without-c-ares
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GEOIP),y)
|
||||
WIRESHARK_CONF_OPTS += --with-geoip=$(STAGING_DIR)/usr
|
||||
WIRESHARK_DEPENDENCIES += geoip
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --without-geoip
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
||||
WIRESHARK_CONF_OPTS += --with-gnutls=yes
|
||||
WIRESHARK_DEPENDENCIES += gnutls
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --with-gnutls=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
||||
WIRESHARK_CONF_ENV = LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
||||
WIRESHARK_CONF_OPTS += --with-gcrypt=yes
|
||||
WIRESHARK_DEPENDENCIES += libgcrypt
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --with-gcrypt=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
||||
WIRESHARK_CONF_OPTS += --with-libnl
|
||||
WIRESHARK_DEPENDENCIES += libnl
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --without-libnl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SBC),y)
|
||||
WIRESHARK_CONF_OPTS += --with-sbc=yes
|
||||
WIRESHARK_DEPENDENCIES += sbc
|
||||
else
|
||||
WIRESHARK_CONF_OPTS += --with-sbc=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user