summaryrefslogtreecommitdiff
path: root/dev-perl/Net-Pcap
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Net-Pcap')
-rw-r--r--dev-perl/Net-Pcap/Manifest4
-rw-r--r--dev-perl/Net-Pcap/Net-Pcap-0.180.0-r1.ebuild34
-rw-r--r--dev-perl/Net-Pcap/files/Net-Pcap-0.18-libpcap-1.9.0.patch41
-rw-r--r--dev-perl/Net-Pcap/files/Net-Pcap-0.18-test-error.patch39
4 files changed, 0 insertions, 118 deletions
diff --git a/dev-perl/Net-Pcap/Manifest b/dev-perl/Net-Pcap/Manifest
index 8bc03b068ea8..5fc3872a6f22 100644
--- a/dev-perl/Net-Pcap/Manifest
+++ b/dev-perl/Net-Pcap/Manifest
@@ -1,7 +1,3 @@
-AUX Net-Pcap-0.18-libpcap-1.9.0.patch 1300 BLAKE2B 65cd73c1f6f3b097dd8fa2b86c409e3ffb914c69945cb7535bb09a62c34c11423d7557e00515fc472a197182842399fb798dffd7b3e8eab0690fb3913f138fea SHA512 aef7911bff9284a45c2d6943f3970892750548e1bcb3f5521123dadb5addd408cd976b7274fa0ade27107cd2d993a7709c918afc32ca3541108722d95e6ec2af
-AUX Net-Pcap-0.18-test-error.patch 1302 BLAKE2B 5b61333702676ace4b987fea8b3df9fc0177ba41785b5471a170d3826c29175d39ef8b827ea40842598c4847e4aada61e2a86849bceafb2343e219694155358a SHA512 82fa8950ceb84966905646a1a210bfef23c8c3be8ef66b2db3702b3ccc66329c7148e3d74931f5e9bd1a73a312a16e7c10ce0232f344e4fb97e938b196c3daf9
-DIST Net-Pcap-0.18.tar.gz 94207 BLAKE2B 257e2b7c5bf6ad05936b64171db3ee530249f40d695ca2aba21d4bfe4796989e3a4aa955472b9c39e33aab5d67d2eebb26b43e173dbd359d01201926fa3a6b6e SHA512 63cc216345eb65b1e76efa657623c9d444d20f4b54ab0c75e787483baaa4f1de7e3a9294967aa7eccbdca04c60b089194dd7e0d19838f899b332c5881a8c7f6d
DIST Net-Pcap-0.21.tar.gz 97984 BLAKE2B 6eeabc78542eceaef1f8aa6ba28b19de8c6f66af38179bd35fe346cc60c3c09f793eab6b5c0af514cb769c1154277de4c373c46c05bc4bfbb465b03eca5a11b4 SHA512 aab50ac82283b976db6a848b54c5026edd2f1608d2119a8bea7478c1b588a6ca8111691e7b4c0d2d24820fb5036727db9780966ea7270ef82a5e85b2bf612461
-EBUILD Net-Pcap-0.180.0-r1.ebuild 816 BLAKE2B b6c13c400f617676bdf5cb7f56661a6ce8ab7ff7a7e4ee9122a362c264e718492b8f08d04f0aa0c78c3cca3276ee39a5e0428f73e4be889e5d623df7bcc369dc SHA512 dfb79e87f108f85bc03078ca4b9f03d7a906d887919fee2fb2e749d018c2441d3cd19ed21406c2156ac20de4df702ca97bdd9138f43966d9a8531691669d6cb6
EBUILD Net-Pcap-0.210.0.ebuild 690 BLAKE2B a0a5f8c6e24f521e9d286a24e434baf6b67803f205e2178caf638bee33b82b135d42542cefb00d345a5150f070504e6243f9875d032c706150c8df0364f12d7c SHA512 566427e2865289fa49eba89e184cdd91af7d4ccbd61564690d47dcef0febddc315a9aba0b727ac27a0064e86d6dba86e726ef8f34f4a838e425b0743e09ccd1c
MISC metadata.xml 389 BLAKE2B b7dca741c922d71cd4ce13ee71a1534b3c728096409d32088065dc7afc3735f9937da5052c93fd74091b7146d238816563dab20380a7b4dbb5f30e7cecedf804 SHA512 117d7ba2d6627ab14e414f262db9bc46d1d38906e19acb94190a06b986a53f3bacf80165f2b8d1358d81944f4f8e10d7f903f9bd778a5b1636a4c072f20993f2
diff --git a/dev-perl/Net-Pcap/Net-Pcap-0.180.0-r1.ebuild b/dev-perl/Net-Pcap/Net-Pcap-0.180.0-r1.ebuild
deleted file mode 100644
index 13b2f5be3ad7..000000000000
--- a/dev-perl/Net-Pcap/Net-Pcap-0.180.0-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DIST_AUTHOR=SAPER
-DIST_VERSION=0.18
-DIST_EXAMPLES=( "eg/*" )
-inherit perl-module
-
-DESCRIPTION="Interface to the pcap(3) LBL packet capture library"
-
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc x86"
-IUSE=""
-
-RDEPEND="net-libs/libpcap
- dev-perl/IO-Interface"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-${DIST_VERSION}-libpcap-1.9.0.patch"
- "${FILESDIR}/${PN}-${DIST_VERSION}-test-error.patch"
-)
-
-src_test() {
- if [[ $EUID != 0 ]]; then
- elog "Comprehensive testing of this module requires root permissions."
- elog "For details, see:"
- elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
- fi
- perl_rm_files t/pod{,cover,spell}.t t/distchk.t t/portfs.t
- perl-module_src_test
-}
diff --git a/dev-perl/Net-Pcap/files/Net-Pcap-0.18-libpcap-1.9.0.patch b/dev-perl/Net-Pcap/files/Net-Pcap-0.18-libpcap-1.9.0.patch
deleted file mode 100644
index 2495600e5d0a..000000000000
--- a/dev-perl/Net-Pcap/files/Net-Pcap-0.18-libpcap-1.9.0.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -106,7 +106,7 @@ REASON
- # We also store the list of available functions in a file for skipping the
- # corresponding tests.
- my @funcs = have_functions(find_functions());
--$options{DEFINE} .= cpp_defines(@funcs);
-+$options{DEFINE} .= cpp_defines(@funcs). "-DHAVE_PCAP_SETSAMPLING";
- open(FUNCS, '>funcs.txt') or warn "warning: can't write 'funcs.txt': $!\n";
- print FUNCS join("\n", @funcs), "\n";
- close(FUNCS);
---- a/stubs.inc
-+++ b/stubs.inc
-@@ -354,11 +354,6 @@ int pcap_parsesrcstr(const char *source,
- #ifdef _MSC_VER
- #pragma message( "Warning: the function pcap_open() is not available" )
- #endif
--struct pcap_rmtauth {
-- int type;
-- char *username;
-- char *password;
--};
-
- pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err);
- pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) {
-@@ -511,6 +511,7 @@ HANDLE pcap_getevent(pcap_t *p) {
- #ifdef _MSC_VER
- #pragma message( "Warning: the function pcap_setsampling() is not available" )
- #endif
-+#if 0
- struct pcap_samp {
- int method;
- int value;
-@@ -522,6 +523,7 @@ struct pcap_samp *pcap_setsampling(pcap_
- return NULL;
- }
- #endif
-+#endif
-
-
- /*
diff --git a/dev-perl/Net-Pcap/files/Net-Pcap-0.18-test-error.patch b/dev-perl/Net-Pcap/files/Net-Pcap-0.18-test-error.patch
deleted file mode 100644
index 1bd8af5e87a9..000000000000
--- a/dev-perl/Net-Pcap/files/Net-Pcap-0.18-test-error.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 7c831efcb06d6254e54423cdcd95bebbb7725270 Mon Sep 17 00:00:00 2001
-From: Kent Fredric <kentnl@gentoo.org>
-Date: Fri, 8 Dec 2017 17:52:13 +1300
-Subject: Allow error message to be a suffix
-
-Previously, the error message emitted by the native calls was of the
-form:
-
- 'syntax error'
-
-However, more recently the error message takes the form:
-
- 'syntax error in filter expression: syntax error'
-
-This patch pretends the part before the ":" is functionally equivalent
-to a line start, for the purposes of testing.
-
-Bug: https://github.com/maddingue/Net-Pcap/issues/8
-Bug: https://github.com/maddingue/Net-Pcap/pull/9
----
- t/09-error.t | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/t/09-error.t b/t/09-error.t
-index 90337b8..eee679d 100644
---- a/t/09-error.t
-+++ b/t/09-error.t
-@@ -22,7 +22,7 @@ is( $@, '', "compile() with an invalid filter string" );
- is( $res, -1, " - result must not be null: $res" );
- eval { $err = Net::Pcap::geterr($pcap) };
- is( $@, '', "geterr()" );
--like( $err, '/^(?:parse|syntax) error$/', " - \$err must not be null: $err" );
-+like( $err, '/(^|: )(?:parse|syntax) error$/', " - \$err must not be null: $err" );
-
- # Testing compile() with a valid filter
- eval { $res = Net::Pcap::compile($pcap, \$filter, "tcp", 0, $mask) };
---
-2.14.3
-