Commit Graph

1334 Commits

Author SHA1 Message Date
Alexey Tourbin
fbac8f2ea4 4.0.4-alt95.M41.21
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:42:20 +04:00
Alexey Tourbin
b93c9a4ed8 4.0.4-alt77.M40.21
- Removed _noDirTokens support (producing legacy filelist format).
- Disabled rpmlib(PayloadFilesHavePrefix), rpmlib(CompressedFileNames),
  and rpmlib(VersionedDependencies) dependencies.
- Disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma)
  dependencies.
2009-06-17 06:40:01 +04:00
Alexey Tourbin
2b87185206 pack.c: disabled versioning for rpmlib(PayloadIsBzip2) and rpmlib(PayloadIsLzma) dependencies 2009-06-17 06:34:49 +04:00
Alexey Tourbin
ad02667313 reqprov.c (rpmlibNeedsFeature): allow NULL featureEVR 2009-06-17 06:34:23 +04:00
Alexey Tourbin
9476a4b41a disabled rpmlib(VersionedDependencies) dependencies 2009-06-17 06:32:50 +04:00
Alexey Tourbin
920cbe9b49 removed rpm.spec.in 2009-06-17 06:32:20 +04:00
Alexey Tourbin
35ca8f78ab disabled rpmlib(PayloadFilesHavePrefix) and rpmlib(CompressedFileNames) dependencies 2009-06-17 06:32:19 +04:00
Alexey Tourbin
23317f11b7 removed _noDirTokens (producing legacy filelist format)
Some code (e.g. apt/genpkglist) explicitly relies on the fact that
header file list is represented with baseNames+dirNames+dirIndexes
arrays.  Thus, generating legacy headers might have issues, and should
be disabled.
2009-06-17 06:32:18 +04:00
Alexey Tourbin
2c81cc39eb 4.0.4-alt77.M40.20
- build/files.c, build/parseReqs.c: allow versioned path dependencies
2009-06-17 06:31:55 +04:00
Alexey Tourbin
a15d548dec lib/depends.c: adjust provides check for versioned paths
(cherry picked from commit fb5f3e4c88)
2009-06-17 06:30:53 +04:00
Alexey Tourbin
9889b7db55 build/parseReqs.c: allow versioned path-like dependencies
(cherry picked from commit 3dff3cd285)
2009-06-17 06:30:31 +04:00
Alexey Tourbin
de903ed718 4.0.4-alt95.M41.20
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-14 05:38:27 +04:00
Alexey Tourbin
95c231c10f 4.0.4-alt77.M40.19
- Remove artificial limit in dependency loop elimination attempts (Panu Matilainen).
2009-06-14 05:37:13 +04:00
Panu Matilainen
3dfb7d4b01 Remove artificial limit in dependency loop elimination attempts
- continue processing as long as progress can be made instead of artificial
  hardcoded magic "try ten times"

[rpm.org f39d2432f74bdc328ceafa8abc6cac517e02c73b]
2009-06-14 05:34:36 +04:00
Alexey Tourbin
044e556faa 4.0.4-alt95.M41.19
- rpmdb: Minor fingerprint cache improvement.
2009-06-13 09:05:23 +04:00
Alexey Tourbin
01f323c74c 4.0.4-alt77.M40.18
- rpmdb: Minor fingerprint cache improvement.
2009-06-13 08:58:10 +04:00
Alexey Tourbin
c57d3c753b fprint.h: turned entry.dirName into flexible array 2009-06-13 08:56:04 +04:00
Alexey Tourbin
d68195b463 fprint.c: renamed "ht" member to "dn2de" 2009-06-13 08:55:41 +04:00
Alexey Tourbin
1d7007eae4 fprint.h: moved struct fprintCache_s to fprint.c 2009-06-13 08:55:20 +04:00
Alexey Tourbin
9e87611786 4.0.4-alt95.M41.18
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
2009-05-10 23:41:33 +04:00
Alexey Tourbin
29ab0634b1 4.0.4-alt77.M40.17
- package.c (readPackageHeaders): Use posix_fadvise(2) to disable readahead.
  When scanning a large number of packages (with e.g. rpmquery), readahead
  might cause negative effects on the buffer cache.
2009-05-10 23:34:49 +04:00
Alexey Tourbin
66b17f5fd5 package.c (readPackageHeaders): use posix_fadvise(2) to disable readahead 2009-05-10 23:32:48 +04:00
Alexey Tourbin
af944d993e package.c (readPackageHeaders): factored do_readPackageHeaders 2009-05-10 23:32:43 +04:00
Alexey Tourbin
fcf51a9c59 4.0.4-alt95.M41.17
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-23 17:31:39 +04:00
Alexey Tourbin
5bc035fdbd 4.0.4-alt77.M40.16
- rpmdb: Removed db1 support.
- db3.c (db3close): Backported fix for double close (RH#138589).
2009-04-23 17:18:49 +04:00
Alexey Tourbin
d141414717 db3.c (db3close): removed dobule close code (rpm5.org, RH#138589) 2009-04-23 16:48:19 +04:00
Alexey Tourbin
37bfe52994 rpmdb: include <db.h> and link with -ldb without configure check for now 2009-04-23 14:46:46 +04:00
Alexey Tourbin
2ec0a7bf9f rpmdb.c (rpmdbNextIterator): removed db1-related part 2009-04-23 13:57:36 +04:00
Alexey Tourbin
4657ef7c57 rpmdb.c (openDatabase): removed db1-related part 2009-04-23 13:57:15 +04:00
Alexey Tourbin
af4053bfa0 rpmdb: removed db1 support 2009-04-23 13:49:52 +04:00
3df8cccd04 Reduce macro abuse in %pre and %post scripts
(cherry picked from commit 0ecfddcdcd)
2009-04-23 13:39:13 +04:00
9538baeb7d 4.0.4-alt95.M41.16
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 20:31:03 +00:00
24b4ba2e3a 4.0.4-alt77.M40.15
- rpm.8: Fixed typo (closes: #19356).
- platform.in: Added macros: %_logrotatedir, %_runtimedir (closes: #13639).
2009-04-18 18:56:45 +00:00
b40f11aecb platform.in: Add %_runtimedir (ALT#13639) 2009-04-18 18:52:59 +00:00
8c7f046905 rpm.8: Fix typo (ALT#19356) 2009-04-16 22:38:54 +00:00
722d84d86e platform.in: Add %_logrotatedir 2009-04-16 22:19:13 +00:00
ba484a92a3 platform.in: Add %_initddir for FC compatibility 2009-04-16 22:12:47 +00:00
Alexey Tourbin
0890b6456f 4.0.4-alt95.M41.15
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-26 11:23:19 +03:00
Alexey Tourbin
de9c375951 4.0.4-alt77.M40.14
- Improved fingerprint cache performance (credits: Florian Festi).
2009-03-26 11:21:54 +03:00
Alexey Tourbin
1ea6ca8d22 rpmhash.c (hashEqualityString): bare strcmp call 2009-03-26 11:20:50 +03:00
Alexey Tourbin
6652e778ca rpmhash.c (hashBucket_s): added const and unsigned 2009-03-26 11:20:41 +03:00
Alexey Tourbin
34d8d48726 rpmhash.c: renamed findEntry to findBucket and made it inline 2009-03-26 11:20:34 +03:00
Alexey Tourbin
c204d6ad7a rpmhash.c: allocate hash table and its buckets in single chunk 2009-03-26 11:20:23 +03:00
Alexey Tourbin
732a880e8c fprint.h (fprintCacheEntry_s): removed isFake (unused) 2009-03-26 11:20:17 +03:00
Alexey Tourbin
6a2cc38410 fprint.c: fpCacheFree returns NULL 2009-03-26 11:20:07 +03:00
Alexey Tourbin
dba96abac5 deal with fpCacheCreate() size parameter 2009-03-26 11:19:53 +03:00
Alexey Tourbin
02104ae61f Use only one, global fingerPrintCache to save a lot of stat calls
[Based on rpm.org af80c3de by Florian Festi.]
2009-03-26 11:19:43 +03:00
Alexey Tourbin
a443927f78 fprint.c (fpHashFunction): use Jenkins hash 2009-03-26 11:19:30 +03:00
Alexey Tourbin
6d4fea769d jhash.h, rpmhash.c: switch to Jenkins One-at-a-time hash 2009-03-26 11:19:01 +03:00
Alexey Tourbin
6a9eae99c7 fprint.c: removed fpLookupHeader(), unused 2009-03-26 11:18:11 +03:00