diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /net-analyzer/arpon | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'net-analyzer/arpon')
-rw-r--r-- | net-analyzer/arpon/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/arpon/arpon-2.7.2-r1.ebuild | 37 | ||||
-rw-r--r-- | net-analyzer/arpon/files/arpon-2.7.2-CFLAGS.patch | 14 | ||||
-rw-r--r-- | net-analyzer/arpon/files/arpon-2.7.2-etc.patch | 11 |
4 files changed, 65 insertions, 0 deletions
diff --git a/net-analyzer/arpon/Manifest b/net-analyzer/arpon/Manifest index 692d5bd1a145..fb1db0ee2712 100644 --- a/net-analyzer/arpon/Manifest +++ b/net-analyzer/arpon/Manifest @@ -1,5 +1,8 @@ +AUX arpon-2.7.2-CFLAGS.patch 407 BLAKE2B 5cb747ba4f8153a1f1e13da49fc9cb8f55b75b8f80b17ea3c336d4feb863f23dfe08d93209a646b85301d8d0ba7d76a958e5d5468b47b08dcb6ec8be307d7b92 SHA512 9029ddc9b024e62f21a49faab5c39008bec22b88cd6fac5f31ebb7327357159d6ec36f0f750bb4d5e985115d553b95b8c1daf2794e9edb7c40dae06fd8872a07 +AUX arpon-2.7.2-etc.patch 356 BLAKE2B 5cbec9b24dfd2a75f1a743e7a08031945fbadb7f6f50d3b62c611fa797abf3f866fca7f4f2e8d880544effa5411c1fec408ef4e43d96af2859bcb16215ae4121 SHA512 2bafa030d87d9b216902246053d2521ed4395c89d12b2bddef4e38671442a5d1e54afc8bde3a77944e93f93b703f1f60b0f6f84535fefc8331ec59aecb69e492 AUX arpon.confd 128 BLAKE2B 864417d8892d037f005123938b3ffd970c69f6ad06fdc6e031872250a126fb92a63ccb247e6f49a8e6e716a1138443df29d2838e5a1c73e44e04632977f78789 SHA512 1300ffd903366a5970c5c2b6b7a570ee6e1e696d18a5f16340c7f192c5ff4e41694a180e0d5ab86c1fb64bd015dab94eb52ef5ff429280b56f5ec4112abe3b11 AUX arpon.initd 406 BLAKE2B b519b05207a2cf54301493d85a5b50205d27bacc5c4eb2dedb18ccc450a01b74b9d159da0c66b6aed20a31ec454747e0ab533906633cd8dc7ab6bdaaa9d44ca0 SHA512 5a889f94fa495ee63475a8ca2774b09247548a0a7170b32b0c74ed5808822818fda23516959ad4c3598ed39f31ad2a2ab68b81f00a715267b0d12e194532324a DIST ArpON-2.7.2.tar.gz 2780607 BLAKE2B 58d7a0db475658d90112441508d4c4d9babd601533a6ab9a22b24f07e037b6f3debcbe0f3c1f09a87b7e0cdf9217a38f52b85431db023d12b0f1ee58765e0bfb SHA512 7518f8f8920817725c9b3e0a6420190dcc101b1c0c7cd9eec50870b3f893fe2322eddc90cb71e9c3c35326b4e1730aa02797ca51775caa9401807da3978628b4 +EBUILD arpon-2.7.2-r1.ebuild 739 BLAKE2B c339647bd01e8d1b6dc4b2c60b13f06ed87f72ba0a9514265139cd5a4f82baf7505f97fd829b3bfa8a143b46a18fb0a0630cca47fd4cbdb563b9552eb0b2bfb1 SHA512 b8ea3e5c19ef796c3aae4206ebe022f1d2dd1424f23b9282fe65999f96ca38280bb832516c1035a5732806e25a096cd1aa1ecb2a0f4d310c58c593f978283622 EBUILD arpon-2.7.2.ebuild 884 BLAKE2B e83db5a744d62b0a7f7f3e7441a300345f81799617c93f220f320cb61f653c209aaa631fb0525d159c95337d83d339ca19e979a8cd3f4a35580e487c8085101d SHA512 4427110fc2ac7557d57d2bf9b453bb2b121ac5121e287d4273f1aea4bdc503ab38f64092c1776ca64d2ad66fddbeae4a25c82b53b98d6734b3a3347b070adbbe MISC metadata.xml 242 BLAKE2B ff85d6f7c94b7a327031d666c89344f6d69ed7a8c5cac45f89650c5f3aeb43edd3a4c7b5814ace420c7804a411235ba0f7deda58424e417681f74f9468e0ef0e SHA512 a01133ba691e36e58aa94e18a91db4a4a42b8ae621540319cab84241a07cc541263f753268ab759430699332a77018423c1a54d886d9c2fd3fab24537b64742d 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 000000000000..92f553b7ab10 --- /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 000000000000..525f03740dd9 --- /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 000000000000..03e80f9d5955 --- /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 "/") |