Bug#805923: patch

Ivan Kohler ivan-debian at 420.am
Tue Nov 24 01:38:35 UTC 2015


diff -urN libnet-mac-vendor-perl-1.25/debian/control libnet-mac-vendor-perl-1.25-ieee-data/debian/control
--- libnet-mac-vendor-perl-1.25/debian/control	2015-11-08 10:25:02.000000000 -0800
+++ libnet-mac-vendor-perl-1.25-ieee-data/debian/control	2015-11-23 17:32:36.173054912 -0800
@@ -22,7 +22,8 @@
 Depends: ${misc:Depends},
          ${perl:Depends},
          libmojolicious-perl,
-         libwww-perl
+         libwww-perl,
+         ieee-data
 Description: module to look up the vendor by OUI
  The Institute of Electrical and Electronics Engineers (IEEE) assigns an
  Organizational Unique Identifier (OUI) to manufacturers of network
diff -urN libnet-mac-vendor-perl-1.25/lib/Net/MAC/Vendor.pm libnet-mac-vendor-perl-1.25-ieee-data/lib/Net/MAC/Vendor.pm
--- libnet-mac-vendor-perl-1.25/lib/Net/MAC/Vendor.pm	2015-09-08 01:26:08.000000000 -0700
+++ libnet-mac-vendor-perl-1.25-ieee-data/lib/Net/MAC/Vendor.pm	2015-11-23 17:33:19.556569116 -0800
@@ -530,6 +530,10 @@
 =cut
 
 sub get_cache_hash { $Cached }
+
+my $file = '/var/lib/ieee-data/oui.txt'; #Debian
+-s $file and load_cache($file);
+
 }
 
 =back


-- 
Ivan Kohler
President and Head Geek, Freeside Internet Services, Inc.  http://freeside.biz/
Debian GNU/Linux developer  |  CPAN author  |  cat person  |  ski addict



More information about the pkg-perl-maintainers mailing list