diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-12-18 01:51:37 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-12-18 01:51:37 +0000 |
commit | 576a7e5919e3be9ab779864f078351bbe732f8fe (patch) | |
tree | 8e97167823c1af7e6fc17bf730e74ea66d68fcf8 /rpmconstant/rpmh2tbl | |
parent | 777781aa71ee8234935d6a61decbcdd01bd84760 (diff) | |
download | perl-RPM4-576a7e5919e3be9ab779864f078351bbe732f8fe.tar perl-RPM4-576a7e5919e3be9ab779864f078351bbe732f8fe.tar.gz perl-RPM4-576a7e5919e3be9ab779864f078351bbe732f8fe.tar.bz2 perl-RPM4-576a7e5919e3be9ab779864f078351bbe732f8fe.tar.xz perl-RPM4-576a7e5919e3be9ab779864f078351bbe732f8fe.zip |
merge 4 years old rpm-4.6 support patch from pixel
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@247 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'rpmconstant/rpmh2tbl')
-rwxr-xr-x | rpmconstant/rpmh2tbl | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/rpmconstant/rpmh2tbl b/rpmconstant/rpmh2tbl index 8efa9aa..35b0e18 100755 --- a/rpmconstant/rpmh2tbl +++ b/rpmconstant/rpmh2tbl @@ -33,17 +33,9 @@ my @availlabletables; my %file_const = ( 'rpmlib.h' => { - '^(RPMDBI_[\w_]+)' => 'rpmdbi', - '^(RPMRC_[\w_]+)' => 'rpmRC', - '^(RPMFILE_[^(STATE_)][\w_]+)' => 'rpmfileAttrs', - '^(RPMFILE_STATE_[\w_]+)' => 'rpmfileState', '^(RPM_MACHTABLE_[\w_]+)' => 'rpm_machtable', - '^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags', - '^(FA_[\w_]+)' => 'fileAction', - '^(PIPE|CDEV|XDIR|BDEV|REG|LINK|SOCK)$' => 'fileTypes', '^(INSTALL_[\w_]+)' => 'rpmInstallInterfaceFlags', '^(UNINSTALL_[\w_]+)' => 'rpmEraseInterfaceFlags', - '^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature', }, 'header.h' => { '^(HEADER_MAGIC_[\w_]+)' => 'hMagic', @@ -54,7 +46,6 @@ my %file_const = ( }, 'rpmcli.h' => { '^(RPMSIGN_[\w_]+)' => 'rpmSignFlags', - '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags', }, 'rpmdb.h' => { '^(RPMMIRE_[\w_]+)' => 'rpmMireMode', @@ -65,6 +56,12 @@ my %file_const = ( 'rpmerr.h' => { '^(RPMERR_[\w_]+)' => 'rpmerrCode', }, + 'rpmfi.h' => { + '^(RPMFILE_[^(STATE_)][\w_]+)' => 'rpmfileAttrs', + '^(RPMFILE_STATE_[\w_]+)' => 'rpmfileState', + '^(PIPE|CDEV|XDIR|BDEV|REG|LINK|SOCK)$' => 'fileTypes', + '^(FA_[\w_]+)' => 'fileAction', + }, 'rpmlog.h' => { '^(RPMLOG_(?!PRI$|MAKEPRI$|FAC$|MASK$|UPTO$)[\w_]+)' => 'rpmlog', }, @@ -76,9 +73,13 @@ my %file_const = ( '^(RPMMESS_[\w_]+)' => 'rpmmess', }, 'rpmps.h' => { - '^(RPMPROB_[\w_]+)' => 'rpmProblemType', + '^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags', + '^(RPMPROB_[^(FILTER_)][\w_]+)' => 'rpmProblemType', + }, 'rpmtag.h' => { + '^(RPMDBI_[\w_]+)' => 'rpmdbi', + '^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature', '^(RPMTAG_[\w_]+)' => 'rpmTag', '^(RPM_[\w]+)_TYPE$' => 'rpmTagType', }, @@ -91,6 +92,12 @@ my %file_const = ( '^(RPMTRANS_TYPE_[\w_]+)' => 'rpmtsType', '^(RPMTS_OP_[\w_]+)' => 'rpmtsOpX', }, + 'rpmtypes.h' => { + '^(RPMRC_[\w_]+)' => 'rpmRC', + }, + 'rpmvf.h' => { + '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags', + }, ); my %tableprefix = ( |