mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
wireshark-sap-plugin: drop unmaintained
This commit is contained in:
parent
87f76cf25c
commit
a337ac3606
6 changed files with 0 additions and 134 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST wireshark-sap-plugin-0.9.1.tar.gz 421737 BLAKE2B 73aa2443f0d71e1e24a6d0bd1af439b2d325564d7cfb4cc631f79e96d948cc3000bae17af441b7c761bd2621c42598ccd4b7e04f196c7576340e1549d2339926 SHA512 d540b790ab5ba518dcff663b5be1bd1c2a64d569246c454ed3b5d56a66e4c454ac336b49e9761674fcad59918d9fcfb3ec757c2979daaeaa7c415e3dd6959645
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
--- a/CMakeLists.txt 2018-04-26 13:49:20.697226472 +0800
|
||||
+++ b/CMakeLists.txt 2018-04-26 14:24:50.696207060 +0800
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
find_package(Wireshark)
|
||||
|
||||
-if(Wireshark_FOUND AND Wireshark_VERSION_MAJOR EQUAL 2 AND Wireshark_VERSION_MINOR EQUAL 4)
|
||||
+if(WIRESHARK_FOUND)
|
||||
|
||||
MESSAGE(STATUS "Wireshark libraries found, performing a stand-alone plug-in build.")
|
||||
|
||||
@@ -41,19 +41,19 @@
|
||||
find_package(GLIB2)
|
||||
include_directories (${GLIB2_INCLUDE_DIRS})
|
||||
|
||||
- include_directories (${Wireshark_INCLUDE_DIR})
|
||||
+ include_directories (${WIRESHARK_INCLUDE_DIRS})
|
||||
|
||||
set(LINK_MODE_LIB SHARED)
|
||||
set(LINK_MODE_MODULE MODULE)
|
||||
|
||||
-else(Wireshark_FOUND AND Wireshark_VERSION_MAJOR EQUAL 2 AND Wireshark_VERSION_MINOR EQUAL 4)
|
||||
+else()
|
||||
|
||||
MESSAGE(STATUS "Wireshark libraries not found, performing a Wireshark plug-in build.")
|
||||
|
||||
include(WiresharkPlugin)
|
||||
set_module_info(sap 0 5 2 0)
|
||||
|
||||
-endif(Wireshark_FOUND AND Wireshark_VERSION_MAJOR EQUAL 2 AND Wireshark_VERSION_MINOR EQUAL 4)
|
||||
+endif(WIRESHARK_FOUND)
|
||||
|
||||
set(DISSECTOR_SRC
|
||||
src/packet-sapdiag.c
|
||||
@@ -98,7 +98,7 @@
|
||||
${DISSECTOR_SUPPORT_SRC}
|
||||
)
|
||||
|
||||
-if(Wireshark_FOUND AND Wireshark_VERSION_MAJOR EQUAL 2 AND Wireshark_VERSION_MINOR EQUAL 4)
|
||||
+if(WIRESHARK_FOUND)
|
||||
|
||||
add_library(sap ${LINK_MODE_MODULE}
|
||||
${PLUGIN_FILES}
|
||||
@@ -115,7 +115,7 @@
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
)
|
||||
|
||||
-else(Wireshark_FOUND AND Wireshark_VERSION_MAJOR EQUAL 2 AND Wireshark_VERSION_MINOR EQUAL 4)
|
||||
+else()
|
||||
|
||||
add_plugin_library(sap)
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
${DISSECTOR_HEADERS}
|
||||
)
|
||||
|
||||
-endif(Wireshark_FOUND AND Wireshark_VERSION_MAJOR EQUAL 2 AND Wireshark_VERSION_MINOR EQUAL 4)
|
||||
+endif(WIRESHARK_FOUND)
|
||||
|
||||
#
|
||||
# Editor modelines - http://www.wireshark.org/tools/modelines.html
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
#
|
||||
# Try to find the wireshark library and its includes
|
||||
#
|
||||
# This snippet sets the following variables:
|
||||
# WIRESHARK_FOUND True if wireshark library got found
|
||||
# WIRESHARK_INCLUDE_DIRS Location of the wireshark headers
|
||||
# WIRESHARK_LIBRARIES List of libraries to use wireshark
|
||||
#
|
||||
# Copyright (c) 2011 Reinhold Kainhofer <reinhold@kainhofer.com>
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the New
|
||||
# BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
#
|
||||
|
||||
# wireshark does not install its library with pkg-config information,
|
||||
# so we need to manually find the libraries and headers
|
||||
|
||||
FIND_PATH( WIRESHARK_INCLUDE_DIRS epan/column-info.h PATH_SUFFIXES wireshark )
|
||||
FIND_LIBRARY( WIRESHARK_LIBRARIES wireshark )
|
||||
|
||||
# Report results
|
||||
IF ( WIRESHARK_LIBRARIES AND WIRESHARK_INCLUDE_DIRS )
|
||||
SET( WIRESHARK_FOUND 1 )
|
||||
ELSE ( WIRESHARK_LIBRARIES AND WIRESHARK_INCLUDE_DIRS )
|
||||
MESSAGE( SEND_ERROR "Could NOT find the wireshark library and headers" )
|
||||
ENDIF ( WIRESHARK_LIBRARIES AND WIRESHARK_INCLUDE_DIRS )
|
||||
|
||||
IF (WIRESHARK_FOUND)
|
||||
MESSAGE (STATUS "Found wireshark libs at ${WIRESHARK_INCLUDE_DIRS}")
|
||||
ELSE()
|
||||
MESSAGE (STATUS "Wireshark libs not found!")
|
||||
ENDIF()
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>email@linxon.ru</email>
|
||||
<name>Yury Martynov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR=emake
|
||||
inherit cmake eutils multilib
|
||||
|
||||
DESCRIPTION="Wireshark plugin for SAP's protocols"
|
||||
HOMEPAGE="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark"
|
||||
SRC_URI="https://github.com/CoreSecurity/SAP-Dissection-plug-in-for-Wireshark/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="=net-analyzer/wireshark-3.4*:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/SAP-Dissection-plug-in-for-Wireshark-${PV}"
|
||||
|
||||
get_PV() { local pv=$(best_version $1); pv=${pv#$1-}; pv=${pv%-r*}; pv=${pv//_}; echo ${pv}; }
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_LIBDIR="/usr/$(get_libdir)/wireshark/plugins/$(get_PV net-analyzer/wireshark)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
net-misc/sippts
|
||||
net-vpn/udp2raw-tunnel
|
||||
net-misc/wireshark-sap-plugin
|
||||
|
||||
#Gentoo
|
||||
=net-misc/seafile-9*
|
||||
|
|
|
|||
Loading…
Reference in a new issue