diff options
-rw-r--r-- | recipes/perl/libnet-rawip-perl/kill-pcap-check.patch | 14 | ||||
-rw-r--r-- | recipes/perl/libnet-rawip-perl_0.25.bb | 23 |
2 files changed, 37 insertions, 0 deletions
diff --git a/recipes/perl/libnet-rawip-perl/kill-pcap-check.patch b/recipes/perl/libnet-rawip-perl/kill-pcap-check.patch new file mode 100644 index 0000000000..f82b9a1545 --- /dev/null +++ b/recipes/perl/libnet-rawip-perl/kill-pcap-check.patch @@ -0,0 +1,14 @@ +Index: Net-RawIP-0.25/Makefile.PL +=================================================================== +--- Net-RawIP-0.25.orig/Makefile.PL 2010-02-02 16:29:08.000000000 +0300 ++++ Net-RawIP-0.25/Makefile.PL 2010-02-02 16:29:16.000000000 +0300 +@@ -57,9 +57,6 @@ + print "Compiler: $Config{cc}\n"; + system "$Config{cc} --version"; + +-locate_pcap(); +- +- + WriteMakefile( + NAME => 'Net::RawIP', + LICENSE => 'perl', diff --git a/recipes/perl/libnet-rawip-perl_0.25.bb b/recipes/perl/libnet-rawip-perl_0.25.bb new file mode 100644 index 0000000000..ec57c7a9cf --- /dev/null +++ b/recipes/perl/libnet-rawip-perl_0.25.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Perl extension to manipulate raw IP packets with interface to libpcap" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "libpcap" +RDEPENDS = " \ + perl-module-class-struct \ + perl-module-data-dumper \ + perl-module-english \ + perl-module-getopt-long \ + perl-module-subs \ + perl-module-test-more \ + " + +SRC_URI = " \ + http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-RawIP-${PV}.tar.gz;name=net-rawip-perl-${PV} \ + file://kill-pcap-check.patch;patch=1 \ + " +SRC_URI[net-rawip-perl-0.25.md5sum] = "a99f461e20e7894154f64729a4652448" +SRC_URI[net-rawip-perl-0.25.sha256sum] = "6d104b2f0e453eff7a1b479c528798670b15729ed6ecf41430405ff6d7e1ee58" + +S = "${WORKDIR}/Net-RawIP-${PV}" + +inherit cpan |