dev-perl/Net-ARP: add 1.0.12

Closes: https://bugs.gentoo.org/713204
Closes: https://bugs.gentoo.org/801643
Closes: https://bugs.gentoo.org/883601
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2023-03-22 05:17:24 +00:00
parent e5514f4abf
commit fb0b632348
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 31 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST Net-ARP-1.0.11.tgz 18747 BLAKE2B 8cd30ba3c0f8ec64b108dfb05a57e89dda15ab4f4bf1758e15576f34d7da92e017a8e75f09b75f08f07b1f4cdf04b9260f33942d781325f62d05e91990c8fca9 SHA512 e0c2d468f3b7bb11a67cb94e9538680385c3e86c17ec7063ceaa5f495f4ca2c604028d9493fde697852144cebf59b0898afa3c63e2e023435e30379fe150e860
DIST Net-ARP-1.0.12.tar.gz 16984 BLAKE2B 703d17e254d2202cf474f7b9b4d41faf98d371388f365a6239a2195a3c4109a9ab335937035c9e9b89d638e912d3b2fede35ae0403c0875698c6101557f706ef SHA512 554ff00e86b5e3bb83be1f3e1803cd35aad22330c75ee088c04c537ede76f5de34f9f1dd5ae011843ff652567a034b3f2946919f7968482b759e78c31cb2b689

View File

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=CRAZYDJ
DIST_VERSION=1.0.12
DIST_WIKI="tests"
inherit perl-module
DESCRIPTION="Perl extension for creating ARP packets"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-perl/Net-Pcap"
BDEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/1.0.9-header.diff"
"${FILESDIR}/${PN}-1.0.9-perl-5.26.patch"
)
src_prepare() {
if [[ -z ${TEST_ARP_IF} ]]; then
perl_rm_files t/send_packet.t
fi
perl -MDevel::PPPort -e 'Devel::PPPort::WriteFile();'
perl-module_src_prepare
}