diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2009-09-13 15:15:53 +0200 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2009-09-16 08:46:21 +0200 |
commit | b9c82a9db20dc3a9955982b7e5917699d5e52038 (patch) | |
tree | 32a222f424521f09ea5f2391f71d220934abeaba /scripts | |
parent | ed1828956a24d429a5a488d55e4bf77ef52ede5c (diff) | |
download | dpkg-b9c82a9db20dc3a9955982b7e5917699d5e52038.tar.gz |
Rename Dpkg::Cdata into Dpkg::Control
Update all scripts and modules to use the new module names.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dpkg/Changelog.pm | 2 | ||||
-rw-r--r-- | scripts/Dpkg/Control.pm (renamed from scripts/Dpkg/Cdata.pm) | 8 | ||||
-rw-r--r-- | scripts/Dpkg/Control/Info.pm | 2 | ||||
-rw-r--r-- | scripts/Dpkg/Source/Package.pm | 2 | ||||
-rw-r--r-- | scripts/Dpkg/Vendor.pm | 2 | ||||
-rw-r--r-- | scripts/Makefile.am | 2 | ||||
-rwxr-xr-x | scripts/dpkg-genchanges.pl | 2 | ||||
-rwxr-xr-x | scripts/dpkg-name.pl | 2 | ||||
-rwxr-xr-x | scripts/dpkg-scansources.pl | 2 | ||||
-rw-r--r-- | scripts/po/POTFILES.in | 2 |
10 files changed, 13 insertions, 13 deletions
diff --git a/scripts/Dpkg/Changelog.pm b/scripts/Dpkg/Changelog.pm index 8c37f13f1..8caf37d7b 100644 --- a/scripts/Dpkg/Changelog.pm +++ b/scripts/Dpkg/Changelog.pm @@ -41,7 +41,7 @@ use English; use Dpkg; use Dpkg::Gettext; use Dpkg::ErrorHandling qw(:DEFAULT report); -use Dpkg::Cdata; +use Dpkg::Control; use Dpkg::Fields; use Dpkg::Version qw(compare_versions); diff --git a/scripts/Dpkg/Cdata.pm b/scripts/Dpkg/Control.pm index 58fdc3a04..c5badcc40 100644 --- a/scripts/Dpkg/Cdata.pm +++ b/scripts/Dpkg/Control.pm @@ -14,7 +14,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -package Dpkg::Cdata; +package Dpkg::Control; use strict; use warnings; @@ -28,18 +28,18 @@ our @EXPORT = qw(parsecdata); =head1 NAME -Dpkg::Cdata - parse and manipulate a block of RFC822-like fields +Dpkg::Control - parse and manipulate a block of RFC822-like fields =head1 DESCRIPTION -The Dpkg::Cdata module exports one function 'parsecdata' that reads a +The Dpkg::Control module exports one function 'parsecdata' that reads a block of data (usually a block following the debian/control format) =head1 FUNCTIONS =over 4 -=item $obj = Dpkg::Cdata::parsecdata($input, $file, %options) +=item $obj = Dpkg::Control::parsecdata($input, $file, %options) $input is a filehandle, $file is the name of the file corresponding to $input. %options can contain two parameters: allow_pgp=>1 allows the parser diff --git a/scripts/Dpkg/Control/Info.pm b/scripts/Dpkg/Control/Info.pm index 31ca1bc27..0ada49f5d 100644 --- a/scripts/Dpkg/Control/Info.pm +++ b/scripts/Dpkg/Control/Info.pm @@ -19,7 +19,7 @@ package Dpkg::Control::Info; use strict; use warnings; -use Dpkg::Cdata; +use Dpkg::Control; use Dpkg::ErrorHandling; use Dpkg::Gettext; diff --git a/scripts/Dpkg/Source/Package.pm b/scripts/Dpkg/Source/Package.pm index 3d98d9591..6821ff1f8 100644 --- a/scripts/Dpkg/Source/Package.pm +++ b/scripts/Dpkg/Source/Package.pm @@ -22,7 +22,7 @@ use warnings; use Dpkg::Gettext; use Dpkg::ErrorHandling; use Dpkg::Fields; -use Dpkg::Cdata; +use Dpkg::Control; use Dpkg::Checksums; use Dpkg::Version qw(parseversion check_version); use Dpkg::Deps qw(@src_dep_fields); diff --git a/scripts/Dpkg/Vendor.pm b/scripts/Dpkg/Vendor.pm index 0061c2968..5120654e9 100644 --- a/scripts/Dpkg/Vendor.pm +++ b/scripts/Dpkg/Vendor.pm @@ -21,7 +21,7 @@ use warnings; use Dpkg::ErrorHandling; use Dpkg::Gettext; -use Dpkg::Cdata; +use Dpkg::Control; use base qw(Exporter); our @EXPORT_OK = qw(get_vendor_info get_current_vendor get_vendor_file diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5e75b9344..e15e45e56 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -91,11 +91,11 @@ perllibdir = $(PERL_LIBDIR) nobase_dist_perllib_DATA = \ Dpkg/Arch.pm \ Dpkg/BuildOptions.pm \ - Dpkg/Cdata.pm \ Dpkg/Changelog.pm \ Dpkg/Changelog/Debian.pm \ Dpkg/Checksums.pm \ Dpkg/Compression.pm \ + Dpkg/Control.pm \ Dpkg/Control/Info.pm \ Dpkg/Deps.pm \ Dpkg/ErrorHandling.pm \ diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl index e5f438748..97a66cf01 100755 --- a/scripts/dpkg-genchanges.pl +++ b/scripts/dpkg-genchanges.pl @@ -14,7 +14,7 @@ use Dpkg::Arch qw(get_host_arch debarch_eq debarch_is); use Dpkg::Fields qw(:list capit unknown); use Dpkg::Compression; use Dpkg::Control::Info; -use Dpkg::Cdata; +use Dpkg::Control; use Dpkg::Substvars; use Dpkg::Vars; use Dpkg::Changelog qw(parse_changelog); diff --git a/scripts/dpkg-name.pl b/scripts/dpkg-name.pl index a17cab23b..0df15d246 100755 --- a/scripts/dpkg-name.pl +++ b/scripts/dpkg-name.pl @@ -29,7 +29,7 @@ use File::Path; use Dpkg; use Dpkg::Gettext; use Dpkg::ErrorHandling; -use Dpkg::Cdata; +use Dpkg::Control; use Dpkg::Arch qw(get_host_arch); textdomain("dpkg-dev"); diff --git a/scripts/dpkg-scansources.pl b/scripts/dpkg-scansources.pl index 39ad9a549..ad4483d86 100755 --- a/scripts/dpkg-scansources.pl +++ b/scripts/dpkg-scansources.pl @@ -31,7 +31,7 @@ use warnings; use Dpkg; use Dpkg::Gettext; use Dpkg::ErrorHandling; -use Dpkg::Cdata; +use Dpkg::Control; use Dpkg::Checksums; textdomain("dpkg-dev"); diff --git a/scripts/po/POTFILES.in b/scripts/po/POTFILES.in index b5fb758be..914ea5014 100644 --- a/scripts/po/POTFILES.in +++ b/scripts/po/POTFILES.in @@ -15,10 +15,10 @@ scripts/dpkg-shlibdeps.pl scripts/dpkg-source.pl scripts/changelog/debian.pl scripts/Dpkg/Arch.pm -scripts/Dpkg/Cdata.pm scripts/Dpkg/Changelog.pm scripts/Dpkg/Changelog/Debian.pm scripts/Dpkg/Checksums.pm +scripts/Dpkg/Control.pm scripts/Dpkg/Control/Info.pm scripts/Dpkg/Deps.pm scripts/Dpkg/ErrorHandling.pm |