summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/Types.pm
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2009-10-09 16:39:26 +0200
committerRaphaël Hertzog <hertzog@debian.org>2009-10-09 16:39:26 +0200
commit6e1998224f8a218257b9af8ed3e3e082698d1a8a (patch)
tree6bb5e7764dd3b02e0f82ab731851da470c3c7403 /scripts/Dpkg/Control/Types.pm
parent2a194c6cc6e534d090b9c99b6ef53b5b1a0e2ce1 (diff)
downloaddpkg-6e1998224f8a218257b9af8ed3e3e082698d1a8a.tar.gz
Dpkg::Control: rename CTRL_APT_* to CTRL_INDEX_*
The Packages and Sources files are not really specific to APT. Those files are indexes that can be used by other programs.
Diffstat (limited to 'scripts/Dpkg/Control/Types.pm')
-rw-r--r--scripts/Dpkg/Control/Types.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Dpkg/Control/Types.pm b/scripts/Dpkg/Control/Types.pm
index 7908f6d1d..19a8fe4c5 100644
--- a/scripts/Dpkg/Control/Types.pm
+++ b/scripts/Dpkg/Control/Types.pm
@@ -1,8 +1,8 @@
package Dpkg::Control::Types;
use base qw(Exporter);
-our @EXPORT = qw(CTRL_UNKNOWN CTRL_INFO_SRC CTRL_INFO_PKG CTRL_APT_SRC
- CTRL_APT_PKG CTRL_PKG_SRC CTRL_PKG_DEB CTRL_FILE_CHANGES
+our @EXPORT = qw(CTRL_UNKNOWN CTRL_INFO_SRC CTRL_INFO_PKG CTRL_INDEX_SRC
+ CTRL_INDEX_PKG CTRL_PKG_SRC CTRL_PKG_DEB CTRL_FILE_CHANGES
CTRL_FILE_VENDOR CTRL_FILE_STATUS CTRL_CHANGELOG);
=head1 NAME
@@ -23,8 +23,8 @@ use constant {
CTRL_UNKNOWN => 0,
CTRL_INFO_SRC => 1, # First control block in debian/control
CTRL_INFO_PKG => 2, # Subsequent control blocks in debian/control
- CTRL_APT_SRC => 4, # Entry in APT's Packages files
- CTRL_APT_PKG => 8, # Entry in APT's Sources files
+ CTRL_INDEX_SRC => 4, # Entry in APT's Packages files
+ CTRL_INDEX_PKG => 8, # Entry in APT's Sources files
CTRL_PKG_SRC => 16, # .dsc file of source package
CTRL_PKG_DEB => 32, # DEBIAN/control in binary packages
CTRL_FILE_CHANGES => 64, # .changes file