Commit Graph

1041 Commits

Author SHA1 Message Date
Alexey Tourbin
19e6de9d5e added support for .xz/.lzma compressed sources and patches
This also fixes some bugs:
- %uncompress macro never worked;
- %patch -s -b .orig never worked.
2009-09-29 14:18:01 +04:00
Alexey Tourbin
222b98db0b 4.0.4-alt77.M40.25
- build/parsePrep.c (doUntar): Remove "-L" option from "unzip" invocation
  (Igor Vlasenko; closes: ALT#17407).
2009-09-29 09:20:07 +04:00
Igor Vlasenko
4e4aa34d9d build/parsePrep.c (doUntar): Remove "-L" option from "unzip" invocation
This unzip mode is more compatible with rpm4.4 and rpm5.
Fixes ALT#17407

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
(cherry picked from commit 01431efc01)
2009-09-29 09:09:08 +04:00
Alexey Tourbin
254345b682 4.0.4-alt77.M40.24
- rpmio: Tweak lzma preset options for better compression.
2009-09-26 02:49:13 +04:00
Alexey Tourbin
147801d6a6 rpmio.c: tweak lzma preset options for better compression 2009-09-26 02:47:34 +04:00
Alexey Tourbin
b8221108bb 4.0.4-alt77.M40.23
- rpmio: Updated lzma compression routines for xz-5.0 API.
- Packaged /usr/bin/rpm2cpio.static.
2009-09-24 12:37:05 +04:00
Alexey Tourbin
7407fd6de4 pack.c, rpmlibprov.c: updated for xz compression 2009-09-24 12:35:43 +04:00
Alexey Tourbin
9abb0ba661 rpm2cpio.sh: output raw/compressed cpio stream 2009-09-24 12:35:42 +04:00
Alexey Tourbin
416a432059 spec, Makefile.am: packaged rpm2cpio.static 2009-09-24 12:35:41 +04:00
Alexey Tourbin
0b739a3a9f psm.c, rpm2cpio.c: updated for xz decompression 2009-09-24 12:35:37 +04:00
Alexey Tourbin
0cded3969f rpmio.c: updated lzdio for xz-5.0 API, added xzdio 2009-09-24 12:30:07 +04:00
Alexey Tourbin
2c384eccb0 4.0.4-alt77.M40.22
- Backported changes by Dmitry V. Levin:
- rpmio/macro.c (doShellEscape): Fixed potential buffer underflow (closes: #11921).
- python: Fixed build with libtool.
2009-09-24 11:47:58 +04:00
04d5860a7b lib/header_internal.c (headerGetLangs): Fix stupid X<=Y<=Z comparison
(cherry picked from commit 4ce1b4bead)
2009-09-24 11:36:29 +04:00
d32efd14bf python/Makefile.am: Fix build with libtool
(cherry picked from commit 199c65f90d)
2009-09-24 11:32:08 +04:00
7e293aed59 rpmio/macro.c (doShellEscape): Fix potential buffer underflow (ALT#11921) 2009-07-13 23:01:04 +00: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
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
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
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
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
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
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