net-analyzer/arpon: remove unused patches

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/19979
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2021-03-17 18:33:05 +01:00
committed by Sam James
parent c7c29c9b12
commit a87b0b257a
4 changed files with 0 additions and 49 deletions

View File

@@ -1,14 +0,0 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,11 +51,9 @@
if(cmake_build_type_tolower STREQUAL "debug")
message(STATUS "Build Type: Debug")
set(CMAKE_BUILD_TYPE "Debug")
- set(CMAKE_C_FLAGS "-Wall -Werror -pedantic -O0 -g")
else()
message(STATUS "Build Type: Release")
set(CMAKE_BUILD_TYPE "Release")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
endif()
include_directories(

View File

@@ -1,11 +0,0 @@
--- a/etc/CMakeLists.txt
+++ b/etc/CMakeLists.txt
@@ -14,7 +14,7 @@
COMPONENT Etcfile)
else(${CMAKE_INSTALL_PREFIX} STREQUAL "/")
install(FILES ${arpon_etc_src}
- DESTINATION ${CMAKE_INSTALL_PREFIX}/etc
+ DESTINATION /etc
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ
COMPONENT Etcfile)
endif(${CMAKE_INSTALL_PREFIX} STREQUAL "/")

View File

@@ -1,5 +0,0 @@
METHOD="--darpi"
IFACE="eth0"
LOGFILE="/var/log/arpon.log"
ARPON_OPTS="${METHOD} --iface ${IFACE} --log-file ${LOGFILE} --log"

View File

@@ -1,19 +0,0 @@
#!/sbin/openrc-run
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
ebegin "Starting arpon"
start-stop-daemon --start --background --make-pidfile --pidfile "/var/run/arpon.pid" \
--exec /usr/sbin/arpon -- ${ARPON_OPTS} >/dev/null 2>&1
eend $?
}
stop() {
ebegin "Stopping arpon"
start-stop-daemon --stop --pidfile "/var/run/arpon.pid"
eend $?
}