Package Details: perl-netpacket 1.6.0-1

Git Clone URL: https://aur.archlinux.org/perl-netpacket.git (read-only)
Package Base: perl-netpacket
Description: assemble/disassemble network packets at the protocol level
Upstream URL: https://metacpan.org/release/NetPacket
Licenses: GPL, PerlArtistic
Submitter: oso96_2000
Maintainer: oso96_2000
Last Packager: oso96_2000
Votes: 13
Popularity: 0.000339
First Submitted: 2010-08-06 06:18
Last Updated: 2015-06-11 21:18

Latest Comments

Xaekai commented on 2015-04-20 18:42

:ihavenoideawhatimdoing:
http://paste.lymjeh.me/vNlS

Working as of 1.6.0

oso96_2000 commented on 2013-11-24 07:44

Updated PKGBUILD using CPANPLUS::Dist::Arch for a most valid format :)

Thanks hydranix and revel

oso96_2000 commented on 2013-11-24 07:17

I've updated with the PKGBUILD provided by hydranix and disowned the file, so if someone else wants to maintain it, feel free to do it :)

hydranix commented on 2013-11-24 03:55

Heres an updated PKGBUILD.

------------------------------------------------------------------------------
# Updated by Hydranix [ Hydranix@gmx.ru ]
# Original Maintainer Abandoned

pkgname=perl-netpacket
pkgver=1.4.3
pkgrel=1
pkgdesc="Assemble/disassemble network packets at the protocol level"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/NetPacket/"
license=('artistic2')
source=('http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-1.4.3.tar.gz')
md5sums=('9ca7dfe00957a3bcb54f3bb10671eaef')
sha256sums=('758de523c14c112a6ce3fcd8a9f4a584d1212cce44249e0b2b026a34705d49c2')
makedepends=('perl-module-build>=0.360.100')
provides=('perl-netpacket-arp=0.43.1' 'perl-netpacket-ethernet=0.43.1' 'perl-netpacket-icmp=0.43.1' 'perl-netpacket-icmpv6=0.43.1' 'perl-netpacket-igmp=0.43.1' 'perl-netpacket-ip=0.43.1' 'perl-netpacket-ipv6=0.43.1' 'perl-netpacket-pflog=0.43.1' 'perl-netpacket-tcp=0.43.1' 'perl-netpacket-udp=0.43.1')
options=(!emptydirs)

build() {
_dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
if [ ! -z "$_dir" ]; then
cd $(dirname "$_dir")
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR="${pkgdir}" || return 1

else
_dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
if [ ! -z "$_dir" ]; then
cd $(dirname "$_dir")
PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
./Build || return 1
./Build install destdir=${pkgdir} || return 1

else
echo "error: failed to detect build method for $pkgname"
echo "you may be able to fix this by editing the PKGBUILD"
return 1
fi fi

# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
}

# vim:set ts=2 sw=2 et:
------------------------------------------------------------------------------

revel commented on 2013-11-22 18:51

There is a problem with the source:
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading NetPacket-1.2.0.tar.gz