diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-17 09:07:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-17 09:07:15 +0000 |
commit | 9bd54251864651f49e673a08aec9ef79cfe08f04 (patch) | |
tree | bac28788ab54849c5d28edb190a687167737e736 /dev-perl/Net-RawIP | |
parent | 6b933047f46efec1aa747570f945344254227457 (diff) |
gentoo resync : 17.12.2017
Diffstat (limited to 'dev-perl/Net-RawIP')
-rw-r--r-- | dev-perl/Net-RawIP/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/Net-RawIP/Net-RawIP-0.250.0-r2.ebuild | 20 | ||||
-rw-r--r-- | dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch | 25 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-perl/Net-RawIP/Manifest b/dev-perl/Net-RawIP/Manifest index cbceafd22339..d44dbf847832 100644 --- a/dev-perl/Net-RawIP/Manifest +++ b/dev-perl/Net-RawIP/Manifest @@ -1,3 +1,5 @@ +AUX Net-RawIP-0.25-no-network-tests.patch 727 BLAKE2B 419aaa8355b63e5128698a5fc625c67c364371dd61c1f4d02e2259895591349a0e142c59828bbea3d92ec6bf46d1e1117b5574fc33b025c64ca63e4f880e8952 SHA512 df4d6b376637da7bef5786ae1dd443ef91cd1d8a75f6dac074674408629c8cde02bb8a5adb3494adbfe0d5554292693f4b4cb2dd1104ce5ab09c66f37ecebcf6 DIST Net-RawIP-0.25.tar.gz 43474 BLAKE2B aa6b4f5e7a697bf0d64760ca5fa7cf199c09e178e509dd21bebe1a13d833351ca57396b840f2fe21aacf5f2216edd06688e9278e9744cb41312a7495648076e8 SHA512 c48c77389db9dc8d5c64d67e5c62bac5e3314dbc36bcfa51aa20d07224492edaa65f5c71d47ca0b804ac62b1b02387e172cd3561eadaa3a1a8040968b182b3ca EBUILD Net-RawIP-0.250.0-r1.ebuild 357 BLAKE2B bc69f5dbad7e69ddee2decd109328cf59af053de8a1f5e84e3aef228b39d0b6e1e7cf8d993b37c1fe47dd1ec3404ce42f941824f98a6887b7037f751a33edf7b SHA512 be0981c5cb41104611139f84c69ec52f36cdd1bb901529bbc31c1e6ebb03c5330928fb2d3c6047f9db6442839a39226a4c402e4bea5675d28c6993fb5b2eeceb +EBUILD Net-RawIP-0.250.0-r2.ebuild 498 BLAKE2B 360635c5b7b9a2321fcce70f883acf4d11dbf99241ca338f6902561f1b11968549532f186a46b768fb2dc56a7d04728d63e05e25b51b854e3ff6e1792fc94280 SHA512 3861b881c652b8553ec364f22c0a6fbe3ffb35733052b2449254cdb73f119e62b289c803ce5eedb366e43a25798acd356f6bf132a0b80420599f6df25557ee1b MISC metadata.xml 846 BLAKE2B 8cce702f40688fc23679abbae21602eb27c9d4d4674ae21c0fc0983100e81e3675a7781b1d2bb99d531ddf1ea4f5626ffa44509caedad8fa414710600f26a2cc SHA512 b3fec49c85d47f83582c905d0a17fa7c0b478a6753f89ad1ef14d7efc9d087665ab64582d649eaee61c0ae0b0f10424325a1e60f782f19abf41b5a94b25500cc diff --git a/dev-perl/Net-RawIP/Net-RawIP-0.250.0-r2.ebuild b/dev-perl/Net-RawIP/Net-RawIP-0.250.0-r2.ebuild new file mode 100644 index 000000000000..7705fe8901e6 --- /dev/null +++ b/dev-perl/Net-RawIP/Net-RawIP-0.250.0-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=SAPER +DIST_VERSION=0.25 +DIST_EXAMPLES=("examples/*") +inherit perl-module + +DESCRIPTION="Raw IP packets manipulation Module" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="net-libs/libpcap" +DEPEND="${RDEPEND}" +PERL_RM_FILES=( "t/90-pod.t" "t/91-pod-coverage.t" "t/99-critic.t" ) +PATCHES=("${FILESDIR}/${PN}-0.25-no-network-tests.patch") diff --git a/dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch b/dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch new file mode 100644 index 000000000000..8eddbdd9a1d0 --- /dev/null +++ b/dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch @@ -0,0 +1,25 @@ +From ba688d50d538e571f124ebbfd8b8a8402c50fdfb Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Fri, 15 Dec 2017 20:36:58 +1300 +Subject: Disable world-wide DNS lookups when NO_NETWORK_TESTING + +--- + t/iflist.t | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/t/iflist.t b/t/iflist.t +index 0982c77..d8026cd 100644 +--- a/t/iflist.t ++++ b/t/iflist.t +@@ -32,6 +32,8 @@ BEGIN { $tests += 4 } SKIP: { + like( $@, qr{host_to_ip: failed}, "rdev('ab cd') => undef" ); + + # this test will fail if there is not network connection ++ skip "NO_NETWORK_TESTING=1", 1 ++ if 1 eq ( $ENV{NO_NETWORK_TESTING} || '0' ); + $r = rdev('cisco.com'); + ok( $r, "rdev('cisco.com') => $r" ); + } +-- +2.15.1 + |