| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
- We haven't actually supported versions that old in a while, and
this happens to cure build for newer versions...
|
| |
|
|
|
|
| |
(cherry picked from commit 89be57ad9239c9ada0cba94a5003876b456d46bf)
|
|
|
|
|
|
|
| |
- We were adding a trailing newline to urlhelper command line passed
to execvp(), with the newline ending up in the URL passed to curl.
Many servers dont seem to mind the extra newline, but some do. Oh well...
(cherry picked from commit 15c0c4e7a1291915a4ea4115e94d2b747d5091ac)
|
|
|
|
|
|
|
| |
- Just like suid/sgid bits, hardlinks to executables with capabilities
set can "leak" permissions to old, potentially vulnerable versions
of binaries. Related to RhBug:598775.
(cherry picked from commit 4d172a194addc49851e558ea390d3045894e3230)
|
|
|
|
|
|
|
| |
- Previously only actual package removal would clear s-bits from
s[ug]id files. This needs to be done on upgrade too to prevent
leaving vulnerable hardlinks of s[ug]id binaries around.
- backported from commit ca2d6b2b484f1501eafdde02e1688409340d2383
|
|
|
|
|
|
|
| |
- RFC-4880 doesn't requires unix-style line-endings, we shouldn't either.
This is probably still oversly strict as RFC-4880 appears to permit
any whitespace to follow armor headers but ... shrug.
(cherry picked from commit cadab3afa55388f3082a3468d582896caabfd55c)
|
|
|
|
|
|
| |
- instead of copy-slopping (and forgetting to do so whenever something
changes) just use the values we know from pgpVals..
(cherry picked from commit e63293b0ea1c6a3a4be6aca328ee9fae4c3bfcdb)
|
|
|
|
|
|
|
| |
- The equivalent used to be possible in 4.4.x era as the value tables
were all exported, but this way we need to export far less
and the implementation details stay internal.
(cherry picked from commit 2be413810cd78b0a503699ceca3f8e1505f1b425)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- rpmdsNew() returns NULL if the requested dependency type doesn't
exist in the header. The C-side API can handle NULL to all rpmds
"methods" and this is how librpm deals with non-existent sets rather
than waste memory on for empty ds structures. However the python side
wasn't expecting NULL for legal requests (but not setting error either)
and thus blowing up with SystemError exception.
- Raise TypeError on illegal arguments to rpm.ds constructor, and present
non-existent dependency sets as empty rpm.ds objects to python. This
lets python callers use iteration over ds items regardless of whether
the dependency actually exists or not. The alternative of returning
None (or raising exceptions) would break existing code for no
particularly good reason.
(cherry picked from commit 0e0e332b466a9784620c483faa374067381e96ce)
|
|
|
|
|
|
|
| |
- a couple of important steps in chroot() in and out sequence missing,
causing "No such file or directory" whining on return from chroot()
unless cwd happened to be /
- backported from commit 2b7884ce2914c48514023dbe61dc7a126964f438
|
|
|
|
|
|
| |
- fix dumb double-initialization error introduced somewhere between
4.4 and 4.6, also while-loop is more natural here than for-loop
(cherry picked from commit 834c8383476fe54c65fe07b69c01cd3d35f5a488)
|
|
|
|
| |
(cherry picked from commit 3b96dfb29ab75a4f7f37713a93ec39460c158ef0)
|
|
|
|
|
| |
- backported from commits ed74161b7e5b90ba886926ced14ba3aca018a4f4 and
21962ab6142cd1e54f1087a545244de506d9abf1
|
|
|
|
| |
(cherry picked from commit d131c3393a2a43d87047bffdd73cf9ae3c8146c2)
|
|
|
|
|
|
|
| |
- this currently fails due to commit e16695e932e294ec600e673d38c41bde20931204,
on reinstall element header vs db header mismatch, adding this as
a reminder to fix it...
(cherry picked from commit a0ed26b894e301d479c8092c9c7fa16f2d6c3c2c)
|
|
|
|
|
| |
- dumb copy-paste error from commit a317eaadc3f7b9b4ec373719e7d60fb8b98e2c21
(cherry picked from commit a761daa2f8a0edb66733444f49f032f3a13035b1)
|
|
|
|
| |
(cherry picked from commit 538ddff69cacbd0db346cac3c10171424ae9b229)
|
|
|
|
|
| |
rpmbuild -ta.
(cherry picked from commit b2efc89d7db4f3a31dfd7f91028c5a9f9643334f)
|
|
|
|
| |
(cherry picked from commit dfa98e7a064d9ea28b416b52f2673202799bcb9f)
|
|
|
|
| |
(cherry picked from commit 18c3e1a37c482811b7b3af1415ef67aac527b869)
|
|
|
|
|
| |
ofi after calling it
(cherry picked from commit daec6ebf58331776279f389738af4788b865033d)
|
|
|
|
| |
(cherry picked from commit cad147070e5513312d851f44998012e8f0cdf1e3)
|
|
|
|
|
| |
defattr setting. Unfortunatelly this broke %defattr(-).
(cherry picked from commit 64e7f2aeb4ce01fccacde021fb22c85083284efb)
|
|
|
|
|
|
|
|
| |
- This makes eg --xml query of packages give out the true contents
of the package, raw i18n strings and all, which is what you probably
want when examining the contents on this level. Regular queries still
run with all bells 'n whistless enabled.
(cherry picked from commit c397a09be3efd087afeb25a5b01715eb8c889cdb)
|
|
|
|
|
|
| |
- without HEADERGET_RAW here, only one of the translations in header
(whatever happens to be "current" locale) gets copied
- backported from commit 3ac99bd8c21436d8c70d462b64bf63453415a689
|
|
|
|
|
|
| |
- dont make assumptions about which bits can be enabled simultaneously,
just dump 'em all
(cherry picked from commit 750b534942f0191f2d14d2974541ecaaa13820a5)
|
|
|
|
| |
(cherry picked from commit e50e3d14e5149f5c7b30c8a0208e7e8bd80ee24a)
|
|
|
|
| |
(cherry picked from commit ee98a373cf79d3248122ae147d98ac461d59c9b7)
|
|
|
|
|
|
|
|
|
|
|
| |
- Objects supporting __len__() use (len > 0) for boolean representation,
which normally makes sense but as the match iterator count is often
zero despite the iterator actually existing and returning something,
and breaks existing code (rpmlint at least)
- Adding a __bool__() (known as __nonzero__() in Python < 3) method
returning true for non-NULL iterator fixes this and gives more
meaningful answers than pre 4.8.0 which simply always returned True
(cherry picked from commit 40f788a7bf3741f9c613ff302d4e1b0ceec2658c)
|
|
|
|
| |
(cherry picked from commit 09423eb47039a6f830592cc326d40bcd71650530)
|
|
|
|
| |
(cherry picked from commit d2d7ca7d43be0491f2f43d4867d4adbefbf922de)
|
|
|
|
|
|
| |
- this appears to have been broken since its introduction in 2002,
commit d89ce5854d39a9e896759fb96e6e303c67573bb6...
- backported from commit a609aa7dbcf4738f3b47a63d3062dcadf58ef2fa
|
|
|
|
|
|
|
| |
- In spec %prep context empty lines don't usually matter but they can
be significant in eg here-documents.
- Fixes regression from commit 94ff22b129aeb31c38848231e40f87aa4a5613a1
(cherry picked from commit 12802c36c9a3b7260d9f788afc826b1cc5ee05e2)
|
|
|
|
|
|
|
|
|
| |
- Returns the newly created argv instead of useless "this always returns 0"
- By default make a "real" split, including empty strings
- Flags argument allows controlling behavior, for now only flag is to
preserve argvSplit() behavior but leaves room for future enhancements
such as quoted splitting etc
(cherry picked from commit 35052b96232810cbf0d91a4f1d1d3ff25a142fd0)
|
|
|
|
| |
(cherry picked from commit 8c5332984e32d27d28f9a440947b070af0d14c45)
|
|
|
|
| |
(cherry picked from commit f3ca4fb48171b4bd0549fe67f302517135c465ff)
|
|
|
|
|
|
|
|
|
|
|
| |
- erased packages in the transaction cause space needs to shrink, which
commit 2222e81e1cf74bbf78acb9969592ab06e2289929 failed to take into
account, causing false disk space errors from unaffected packages
- adjust obneeded and oineeded when the requirements shrink
- new disk space problems can only occur when the requirements grow,
change the pmtsCheckDSIProblems() check to reflect that (although not
strictly necessary)
(cherry picked from commit 4e4aec28c544f2884cb76be37d508f376db5cb7c)
|
|
|
|
| |
(cherry picked from commit 27b216694a9e19f932f24e6fceb6c114aeae5fb9)
|
|
|
|
| |
(cherry picked from commit ee35635243f1e282d04066014af6349227cd6498)
|
|
|
|
|
|
| |
This patch is heavily based on the "lazystatfs" patch by Michael Schroeder from
Novell/SUSE. Thanks!
(cherry picked from commit 647a809641a15cf0fcbc02ada85adcd493f2dc3b)
|
|
|
|
| |
(cherry picked from commit 53e3f65b8e2f3b8883a8410c7732062155b87957)
|
|
|
|
| |
(cherry picked from commit d390e2544660e028bf42441c8cec57b4b92c018e)
|
|
|
|
|
|
|
| |
- whole lotta unnecessary wankery here (what have I been thinking)
- avoid using the non-standard strndup(), we checked for it in configure
but didn't provide an alternative so checking was just bogus
- backported from commit 0edc291e50f9b6023a3e8e560d590e1dd2149a7f
|
|
|
|
|
|
|
| |
- earlier fix from commit 6649c23cac5823d0c7415df5cfd66e5aac5eebd2 was
broken as it could reset return code to zero after detecting errors
earlier
(cherry picked from commit 04ad4b1155ec4b082fbac425a575a0ba05337ab1)
|
|
|
|
| |
(cherry picked from commit ce1d2e87157f4a7ebc4f4d6f26024ac597400367)
|
| |
|
|
|
|
|
|
|
| |
- besides the logic being backwards wrt intended --nodirtokens linkage,
LSB wants this to be 3 and .. it just makes no difference whatsover
anyway
(cherry picked from commit 0bac1d421ccdcc719e2e60bcfb4859d0f602510c)
|