[oe-commits] Roman I Khimov : libnet-rawip-perl: add Net::RawIP Perl module

git version control git at git.openembedded.org
Sat Mar 20 15:48:02 UTC 2010


Module: openembedded.git
Branch: rik/perl-5.10
Commit: de2512f180403a0451c82f405d6f9416498eac15
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=de2512f180403a0451c82f405d6f9416498eac15

Author: Roman I Khimov <khimov at altell.ru>
Date:   Thu Mar 18 17:54:02 2010 +0300

libnet-rawip-perl: add Net::RawIP Perl module

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 .../perl/libnet-rawip-perl/kill-pcap-check.patch   |   14 ++++++++++++
 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 0000000..f82b9a1
--- /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 0000000..ec57c7a
--- /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





More information about the Openembedded-commits mailing list