Package: apt-file
Severity: normal
Tags: patch

libconfigfile-perl has been updated to libconfig-file-perl, as the
module it packages has been uploaded to CPAN as
Config::File. libconfigfile-perl will soon be removed from the
archive. There is a minor change when including/calling ConfigFile -
The namespace has changed to Config::File.

Although apt-file will still work as it is now, it will now print a
warning regarding the deprecated old style. This simple (but untested)
patch should fix it:

diff -ur apt-file-2.0.8.current/apt-file apt-file-2.0.8.new/apt-file
--- apt-file-2.0.8.current/apt-file     2006-03-01 17:03:00.000000000 -0600
+++ apt-file-2.0.8.new/apt-file 2006-09-11 12:32:47.000000000 -0500
@@ -23,7 +23,7 @@
 #
 
 use strict;
-use ConfigFile "read_config_file";
+use Config::File "read_config_file";
 use Getopt::Long qw/:config no_ignore_case/;
 use Data::Dumper;
 use File::Basename;
diff -ur apt-file-2.0.8.current/debian/control apt-file-2.0.8.new/debian/control
--- apt-file-2.0.8.current/debian/control       2006-03-01 15:46:39.000000000 
-0600
+++ apt-file-2.0.8.new/debian/control   2006-09-11 12:32:50.000000000 -0500
@@ -7,7 +7,7 @@
 
 Package: apt-file
 Architecture: all
-Depends: ${perl:Depends}, wget | curl,gzip (>= 1.2.4), libconfigfile-perl, 
libapt-pkg-perl
+Depends: ${perl:Depends}, wget | curl,gzip (>= 1.2.4), libconfig-file-perl, 
libapt-pkg-perl
 Suggests: ssh, sudo
 Description: APT package searching utility -- command-line interface
  apt-file is a command line tool for searching packages for the APT


-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.14-cajita
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to