[gentoo-commits] repo/gentoo:master commit in: net-analyzer/arpon/files/
commit: a87b0b257a4ab67db6f6b325a8b6f0a4e236695c Author: Michael Mair-Keimberger levelnine at> AuthorDate: Wed Mar 17 17:33:05 2021 + Commit: Sam James gentoo org> CommitDate: Thu Mar 18 00:16:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87b0b25 net-analyzer/arpon: remove unused patches Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/19979 Signed-off-by: Sam James gentoo.org> net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch | 14 -- net-analyzer/arpon/files/arpon-2.7.2-etc.patch| 11 --- net-analyzer/arpon/files/arpon.confd | 5 - net-analyzer/arpon/files/arpon.initd | 19 --- 4 files changed, 49 deletions(-) diff --git a/net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch b/net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch deleted file mode 100644 index 525f03740dd..000 --- a/net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch +++ /dev/null @@ -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( diff --git a/net-analyzer/arpon/files/arpon-2.7.2-etc.patch b/net-analyzer/arpon/files/arpon-2.7.2-etc.patch deleted file mode 100644 index 03e80f9d595..000 --- a/net-analyzer/arpon/files/arpon-2.7.2-etc.patch +++ /dev/null @@ -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 "/") diff --git a/net-analyzer/arpon/files/arpon.confd b/net-analyzer/arpon/files/arpon.confd deleted file mode 100644 index d1ce050fa4c..000 --- a/net-analyzer/arpon/files/arpon.confd +++ /dev/null @@ -1,5 +0,0 @@ -METHOD="--darpi" -IFACE="eth0" -LOGFILE="/var/log/arpon.log" - -ARPON_OPTS="${METHOD} --iface ${IFACE} --log-file ${LOGFILE} --log" diff --git a/net-analyzer/arpon/files/arpon.initd b/net-analyzer/arpon/files/arpon.initd deleted file mode 100644 index dc69135c26e..000 --- a/net-analyzer/arpon/files/arpon.initd +++ /dev/null @@ -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 $? -}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/arpon/files/, net-analyzer/arpon/
commit: fbb974e265054c64a553d3bd5e0a9700710b2a1b Author: Jeroen Roovers gentoo org> AuthorDate: Sun Sep 27 11:03:41 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Sep 27 11:40:24 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb974e2 net-analyzer/arpon: Version 3.0 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/arpon/Manifest | 1 + net-analyzer/arpon/arpon-3.0.ebuild | 40 +++ net-analyzer/arpon/files/arpon-3.0-CFLAGS.patch | 17 +++ net-analyzer/arpon/files/arpon-3.0-gentoo.patch | 146 net-analyzer/arpon/files/arpon.confd-3 | 4 + net-analyzer/arpon/files/arpon.initd-3 | 21 6 files changed, 229 insertions(+) diff --git a/net-analyzer/arpon/Manifest b/net-analyzer/arpon/Manifest index 1ff3b41863a..032e98bce0d 100644 --- a/net-analyzer/arpon/Manifest +++ b/net-analyzer/arpon/Manifest @@ -1 +1,2 @@ DIST ArpON-2.7.2.tar.gz 2780607 BLAKE2B 58d7a0db475658d90112441508d4c4d9babd601533a6ab9a22b24f07e037b6f3debcbe0f3c1f09a87b7e0cdf9217a38f52b85431db023d12b0f1ee58765e0bfb SHA512 7518f8f8920817725c9b3e0a6420190dcc101b1c0c7cd9eec50870b3f893fe2322eddc90cb71e9c3c35326b4e1730aa02797ca51775caa9401807da3978628b4 +DIST ArpON-3.0-ng.tar.gz 8795979 BLAKE2B 81b1fe9a426b5b0960911cbbac984482aeea15a957fac72a10e7dd9a45a609da90ca14163957cc008541be4cfaf426f07fa9c64ac4dff933f568b20284c5211d SHA512 e6338018d65f3f8300958e168a9eb6f6be85cba21ae0aee4b03e9838a29a06afbf2448c2f104367aa18389cc549e4489bcf8dad384ad46eadf2884a0908238af diff --git a/net-analyzer/arpon/arpon-3.0.ebuild b/net-analyzer/arpon/arpon-3.0.ebuild new file mode 100644 index 000..6d1866670e8 --- /dev/null +++ b/net-analyzer/arpon/arpon-3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake + +DESCRIPTION="ArpON (Arp handler inspectiON) is a portable Arp handler" + +MY_PN="ArpON" +MY_P="${MY_PN}-${PV}" +HOMEPAGE="http://arpon.sourceforge.net/"; +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-ng.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/libdnet + net-libs/libnet:1.1 + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-3.0-CFLAGS.patch + "${FILESDIR}"/${PN}-3.0-gentoo.patch +) +DOCS=( AUTHOR CHANGELOG README THANKS ) +S="${WORKDIR}"/${MY_P}-ng + +src_install() { + cmake_src_install + newinitd "${FILESDIR}"/${PN}.initd-3 ${PN} + newconfd "${FILESDIR}"/${PN}.confd-3 ${PN} + + rm -r "${ED}"/var/{log,run} || die + mv "${ED}"/usr/share/doc/{${PN},${PF}} || die +} diff --git a/net-analyzer/arpon/files/arpon-3.0-CFLAGS.patch b/net-analyzer/arpon/files/arpon-3.0-CFLAGS.patch new file mode 100644 index 000..7cc917b305c --- /dev/null +++ b/net-analyzer/arpon/files/arpon-3.0-CFLAGS.patch @@ -0,0 +1,17 @@ +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -88,12 +88,12 @@ + message(STATUS "Build type: Debug") + + set(CMAKE_BUILD_TYPE "Debug") +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -Wformat=2 -Winit-self -Wreturn-type -Wswitch-default -Wswitch-enum -Wunused-parameter -Wuninitialized -Wstrict-aliasing=3 -Wstrict-overflow=5 -Wdeclaration-after-statement -Wundef -Wpointer-arith -Wunsafe-loop-optimizations -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsizeof-pointer-memaccess -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wlong-long -Wvariadic-macros -Wvarargs -Wvla -Wdisabled-optimization -Woverlength-strings -O0 -g -ggdb") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -Winit-self -Wreturn-type -Wswitch-default -Wswitch-enum -Wunused-parameter -Wuninitialized -Wstrict-aliasing=3 -Wstrict-overflow=5 -Wdeclaration-after-statement -Wundef -Wpointer-arith -Wunsafe-loop-optimizations -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsizeof-pointer-memaccess -Wlogical-op -Waggregate-return -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wlong-long -Wvariadic-macros -Wvarargs -Wvla -Wdisabled-optimization -Woverlength-strings") + else(cmake_build_type_tolower STREQUAL "debug") + message(STATUS "Build type: Release") + + set(CMAKE_BUILD_TYPE "Release") +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -O3 -DNDEBUG") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -DNDEBUG") + endif(cmake_build_type_tolower STREQUAL "debug") + + find_package(Headers) diff --git a/net-analyzer/arpon/files/arpon-3.0-gentoo.patch b/net-analyzer/arpon/files/arpon-3.0-gentoo.patch new file mode 10
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/arpon/files/, net-analyzer/arpon/
commit: 6c7b97d38da92e053a8df2942c87449c825d3305 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Oct 18 12:14:41 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Fri Oct 18 18:11:06 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7b97d3 net-analyzer/arpon: EAPI=7 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/arpon/arpon-2.7.2-r1.ebuild | 37 +++ net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch | 14 + net-analyzer/arpon/files/arpon-2.7.2-etc.patch| 11 +++ 3 files changed, 62 insertions(+) diff --git a/net-analyzer/arpon/arpon-2.7.2-r1.ebuild b/net-analyzer/arpon/arpon-2.7.2-r1.ebuild new file mode 100644 index 000..92f553b7ab1 --- /dev/null +++ b/net-analyzer/arpon/arpon-2.7.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit cmake-utils + +DESCRIPTION="ArpON (Arp handler inspectiON) is a portable Arp handler" + +MY_PN="ArpON" +MY_P="${MY_PN}-${PV}" +HOMEPAGE="http://arpon.sourceforge.net/"; +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/libdnet + net-libs/libnet:1.1 + net-libs/libpcap +" +RDEPEND=" + ${DEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-2.7.2-CFLAGS.patch + "${FILESDIR}"/${PN}-2.7.2-etc.patch +) +DOCS=( AUTHOR CHANGELOG ) +S="${WORKDIR}"/${MY_P} + +src_install() { + cmake-utils_src_install + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} diff --git a/net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch b/net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch new file mode 100644 index 000..525f03740dd --- /dev/null +++ b/net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch @@ -0,0 +1,14 @@ +--- 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( diff --git a/net-analyzer/arpon/files/arpon-2.7.2-etc.patch b/net-analyzer/arpon/files/arpon-2.7.2-etc.patch new file mode 100644 index 000..03e80f9d595 --- /dev/null +++ b/net-analyzer/arpon/files/arpon-2.7.2-etc.patch @@ -0,0 +1,11 @@ +--- 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 "/")