summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-21 04:21:29 +0000
committerSam James <sam@gentoo.org>2023-01-21 04:21:29 +0000
commit283ca370ed4362721c69ce37dfd1b811f57fd6db (patch)
treeb8fb78910d7c40890f3f4c98454b04cb131899b8 /dev-perl/Net-Pcap
parentdev-perl/File-RsyncP: fix build w/ LTO, clang 16 (diff)
downloadgentoo-283ca370ed4362721c69ce37dfd1b811f57fd6db.tar.gz
gentoo-283ca370ed4362721c69ce37dfd1b811f57fd6db.tar.bz2
gentoo-283ca370ed4362721c69ce37dfd1b811f57fd6db.zip
dev-perl/Net-Pcap: add 0.210.0
Closes: https://bugs.gentoo.org/811780 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Net-Pcap')
-rw-r--r--dev-perl/Net-Pcap/Manifest1
-rw-r--r--dev-perl/Net-Pcap/Net-Pcap-0.210.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/Net-Pcap/Manifest b/dev-perl/Net-Pcap/Manifest
index a62db12d7db5..a3b1ef25240c 100644
--- a/dev-perl/Net-Pcap/Manifest
+++ b/dev-perl/Net-Pcap/Manifest
@@ -1 +1,2 @@
DIST Net-Pcap-0.18.tar.gz 94207 BLAKE2B 257e2b7c5bf6ad05936b64171db3ee530249f40d695ca2aba21d4bfe4796989e3a4aa955472b9c39e33aab5d67d2eebb26b43e173dbd359d01201926fa3a6b6e SHA512 63cc216345eb65b1e76efa657623c9d444d20f4b54ab0c75e787483baaa4f1de7e3a9294967aa7eccbdca04c60b089194dd7e0d19838f899b332c5881a8c7f6d
+DIST Net-Pcap-0.21.tar.gz 97984 BLAKE2B 6eeabc78542eceaef1f8aa6ba28b19de8c6f66af38179bd35fe346cc60c3c09f793eab6b5c0af514cb769c1154277de4c373c46c05bc4bfbb465b03eca5a11b4 SHA512 aab50ac82283b976db6a848b54c5026edd2f1608d2119a8bea7478c1b588a6ca8111691e7b4c0d2d24820fb5036727db9780966ea7270ef82a5e85b2bf612461
diff --git a/dev-perl/Net-Pcap/Net-Pcap-0.210.0.ebuild b/dev-perl/Net-Pcap/Net-Pcap-0.210.0.ebuild
new file mode 100644
index 000000000000..097705fa0fce
--- /dev/null
+++ b/dev-perl/Net-Pcap/Net-Pcap-0.210.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=CORION
+DIST_VERSION=0.21
+DIST_EXAMPLES=( "eg/*" )
+inherit perl-module
+
+DESCRIPTION="Interface to the pcap(3) LBL packet capture library"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+
+RDEPEND="
+ net-libs/libpcap
+ dev-perl/IO-Interface
+"
+DEPEND="${RDEPEND}"
+
+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
+}