platform/upstream/rpm.git
16 years agoPrep for 4.4.2.3-rc1 take II, doh rpm-4.4.2.3-rc1
Panu Matilainen [Fri, 25 Jan 2008 12:08:12 +0000 (14:08 +0200)]
Prep for 4.4.2.3-rc1 take II, doh

16 years agoAdded tag rpm-4.4.2.2-rc3 for changeset 3ea4498b9d9a
Panu Matilainen [Fri, 25 Jan 2008 12:04:57 +0000 (14:04 +0200)]
Added tag rpm-4.4.2.2-rc3 for changeset 3ea4498b9d9a

16 years agoOne more changes update..
Panu Matilainen [Fri, 25 Jan 2008 12:04:42 +0000 (14:04 +0200)]
One more changes update..

16 years agoBandaid for silly timeout on local fd on heavily loaded system (mdvbz#???)
Panu Matilainen [Fri, 25 Jan 2008 11:59:10 +0000 (13:59 +0200)]
Bandaid for silly timeout on local fd on heavily loaded system (mdvbz#???)
Patch from Pascal Rigaux

16 years agoQuote find-debuginfo builddir to avoid whitespace issues
Panu Matilainen [Fri, 25 Jan 2008 11:54:39 +0000 (13:54 +0200)]
Quote find-debuginfo builddir to avoid whitespace issues
(transplanted from efa68f942d992d81e007320c117dfd30c9d15afe)

16 years agoPreparing for 4.4.2.3-rc1
Panu Matilainen [Fri, 25 Jan 2008 11:11:18 +0000 (13:11 +0200)]
Preparing for 4.4.2.3-rc1

16 years agoUpdate changes...
Panu Matilainen [Fri, 25 Jan 2008 11:09:30 +0000 (13:09 +0200)]
Update changes...

16 years agoFix a bunch of whitespace-in-files issues in find-debuginfo
Panu Matilainen [Wed, 5 Sep 2007 12:21:43 +0000 (15:21 +0300)]
Fix a bunch of whitespace-in-files issues in find-debuginfo
(transplanted from 3ec8919bb1d4702fc9a247c326c28695343f0155)

16 years agoNew find-debuginfo script from Roland McGrath
Panu Matilainen [Wed, 5 Sep 2007 12:00:59 +0000 (15:00 +0300)]
New find-debuginfo script from Roland McGrath
- new options for using -g on DSO's
- support for multiple output files (multiple debuginfo subpackages)
- build ID support
- symlink and hardlink support
- new macro to optionally terminate build on missing build id's
(transplanted from a062a843e573b00d8509ff9b78da6b9d37b7c36b)

16 years agoFix various cases of build failing due to whitespace in dir/filenames.
Panu Matilainen [Wed, 29 Aug 2007 12:39:55 +0000 (15:39 +0300)]
Fix various cases of build failing due to whitespace in dir/filenames.
(transplanted from 5c8bcc362982e74757527f68fe43bbb404c6dd8b)

16 years agoDon't reset target when reading included rpmrc's.
Panu Matilainen [Fri, 25 Jan 2008 10:24:55 +0000 (12:24 +0200)]
Don't reset target when reading included rpmrc's.
Doesn't seem to break anything and fixes rhbz#232429 AFAICT...
(transplanted from ad6826072fde25c6a6065c76e41ed967e28f655a)

16 years agoHackery to get secondary arch macros included on x86_64 (rhbz#194123)
Panu Matilainen [Fri, 25 Jan 2008 10:20:56 +0000 (12:20 +0200)]
Hackery to get secondary arch macros included on x86_64 (rhbz#194123)
(transplanted from 4b5500bd8c96a35c74a0291903cfe6fc07bbc8c6)

16 years agoBandaid patch for truncated error message in russian (mdvbz#31680)
Panu Matilainen [Fri, 25 Jan 2008 10:14:23 +0000 (12:14 +0200)]
Bandaid patch for truncated error message in russian (mdvbz#31680)

Just up the stupid static reservation "high enuff" for now.
asprintf() would be nice here but it's not at all portable, revisit later.
(transplanted from 4cbeae866c0fdad6a6f38affa534ef509173bcdf)

16 years agoPrint regular provides on build too (mdvbz#36672)
Panu Matilainen [Fri, 25 Jan 2008 06:30:32 +0000 (08:30 +0200)]
Print regular provides on build too (mdvbz#36672)

Patch ported from rpm5.org by Pascal Rigaux
(transplanted from ad57035489932598f5f95c7c245877df20dc972f)

16 years agoMissing space in russian translation (mdvbz#36974)
Panu Matilainen [Thu, 24 Jan 2008 07:34:33 +0000 (09:34 +0200)]
Missing space in russian translation (mdvbz#36974)
Patch originally from Andrey Borzenkov
(transplanted from 6faedfdf31fbf2d31c060156f453f1d7124907c1)

16 years agoAdd support for Geode CPU (rhbz#428979)
Panu Matilainen [Sat, 19 Jan 2008 09:40:59 +0000 (11:40 +0200)]
Add support for Geode CPU (rhbz#428979)

Patch from Dennis Gilmore
(transplanted from 9269d690e5474862ed055e85e4ae69ca59bf954f)

16 years agoImplementation of triggerprein scriptlets.
Panu Matilainen [Fri, 25 Jan 2008 09:44:37 +0000 (11:44 +0200)]
Implementation of triggerprein scriptlets.
Ported from rpm5.org work of Jeff Johnson to 4.4.x by Pascal Rigaux

16 years agoPermit files with glob characters in *.rpm packages (#147383)
Panu Matilainen [Wed, 9 Jan 2008 08:39:55 +0000 (10:39 +0200)]
Permit files with glob characters in *.rpm packages (#147383)
Patch from Alexander Suvorov
(transplanted from be463253d84576c01e9f232c6506594f5b50d644)

16 years agoAvoid access(2) quirks querying symlinks, lstat(2) instead (#60288)
Panu Matilainen [Wed, 9 Jan 2008 08:34:08 +0000 (10:34 +0200)]
Avoid access(2) quirks querying symlinks, lstat(2) instead (#60288)
Ported from rpm5.org work of Jeff Johnson
(transplanted from fda8a242364cf0a3abee5983e50128fcd94ab6b7)

16 years agoHandle spaces in file path arguments correctly (#217258)
Panu Matilainen [Wed, 9 Jan 2008 08:21:01 +0000 (10:21 +0200)]
Handle spaces in file path arguments correctly (#217258)
Ported from rpm5.org work of Jeff Johnson with some differences:
- place into rpmfileutil instead of rpmgi as it's more generic than just rpmgi
- rename rpmgiEscapeSpaces -> rpmEscapeSpaces
- return char *, not const char * as the return string must be freed by caller
(transplanted from 170690912b55f79f2bb03f4869a38316d306a3d9)

16 years agoConvert '-' to '_' within --define macro names (#124995)
Panu Matilainen [Fri, 25 Jan 2008 09:27:24 +0000 (11:27 +0200)]
Convert '-' to '_' within --define macro names (#124995)
Patch derived from rpm5.org of Jeff Johnson
(transplanted from 447e4c6e1ada650c230bf6b7c077ef851af60415 + couple of
additional thinko/typo-fixes)

16 years agoLast 8 bytes of RSA modulus is keyid for V3 pubkeys (#205080)
Panu Matilainen [Wed, 9 Jan 2008 07:22:31 +0000 (09:22 +0200)]
Last 8 bytes of RSA modulus is keyid for V3 pubkeys (#205080)
- ported from rpm5.org work of Jeff Johnson
- minimal fix suitable for 4.4.2.x too, full rpm5.org changes require
  api changes which would be ok for HEAD but that's a bigger task...
(transplanted from 4077fc4f7383dba0719fe547484b58f3d7f7d41b)

16 years agoSet a default 0022 umask value always (#83006)
Panu Matilainen [Mon, 7 Jan 2008 14:09:20 +0000 (16:09 +0200)]
Set a default 0022 umask value always (#83006)
Patch derived from rpm5.org work of Jeff Johnson
(transplanted from 8db818c113a41fedc3f556ea881a603586404a5c)

16 years agoPrint --usage to stderr instead of stdout (rhbz#164021)
Panu Matilainen [Mon, 7 Jan 2008 13:37:43 +0000 (15:37 +0200)]
Print --usage to stderr instead of stdout (rhbz#164021)
Patch derived from rpm5.org work of Jeff Johnson
(transplanted from 2131d8386986e96d1d99f343da7f71b7f716933f)

16 years agoDon't unlink non-temporary file in FSM_UNDO (rhbz#223931)
Panu Matilainen [Mon, 7 Jan 2008 12:48:57 +0000 (14:48 +0200)]
Don't unlink non-temporary file in FSM_UNDO (rhbz#223931)
Ported from rpm5.org work of Jeff Johnson.
(transplanted from 2a07c7f9c8111c8be043f79a05ce66cdb3ffdad3)

16 years agoFix field-width specifiers when no space between (rhbz#323221)
Panu Matilainen [Mon, 7 Jan 2008 12:25:24 +0000 (14:25 +0200)]
Fix field-width specifiers when no space between (rhbz#323221)
Ported from rpm5.org work of Jeff Johnson.
(transplanted from 688940e60b900e3b85c50686e6b25b3ed8abe151)

16 years agoHandle "use vX.X.X" in perl dependency extraction (rhbz#140597)
Panu Matilainen [Mon, 7 Jan 2008 11:57:10 +0000 (13:57 +0200)]
Handle "use vX.X.X" in perl dependency extraction (rhbz#140597)
Patch by Steven Prichard
(transplanted from 8600acba2998a6dc39fcd40d171a4fbe84a2f992)

16 years agoAvoid compressFilelist() stack overflow in pathological cases
Panu Matilainen [Wed, 2 Jan 2008 14:18:55 +0000 (16:18 +0200)]
Avoid compressFilelist() stack overflow in pathological cases
- allocate dirNames etc arrays on heap, not stack
- the arrays can be rather large and alloca isn't very friendly when it
  fails...
(transplanted from 0f596d454a4c7df1d6f5883e4a661474fa7a33a7)

16 years agoFix multi-line macro expansion in last line of spec (mdvbz#27417)
Panu Matilainen [Fri, 11 Jan 2008 17:11:54 +0000 (19:11 +0200)]
Fix multi-line macro expansion in last line of spec (mdvbz#27417)

Patch from Pascal Rigaux:

1. creating functions restoreFirstChar(), copyNextLineFromOFI() and
   copyNextLineFinish() out of copyNextLine()
2. creating function readLineFromOFI() out of readLine()
3. inline copyNextLine
4. if we can restoreFirstChar, then use it, otherwise read from file
   (ie don't read from file when we have a remaining multiline macro in
   spec->nextline)

16 years agoOrdering fix (don't use RPMSENSE_PREREQ) from Pascal Rigaux
Panu Matilainen [Wed, 19 Dec 2007 07:12:59 +0000 (09:12 +0200)]
Ordering fix (don't use RPMSENSE_PREREQ) from Pascal Rigaux
(transplanted from 3d5a790288f279519c1f80028fa7902ff0bf33db)

16 years agoPull in Makefile.maint from HEAD, generate changelog from there...
Panu Matilainen [Fri, 25 Jan 2008 08:53:37 +0000 (10:53 +0200)]
Pull in Makefile.maint from HEAD, generate changelog from there...

16 years agoOS X Leopard fixes from Giulio Eulisse
Panu Matilainen [Tue, 11 Dec 2007 06:51:54 +0000 (08:51 +0200)]
OS X Leopard fixes from Giulio Eulisse
(transplanted from 9da4bcbfa3a0341be42c3f454f8c7a506224cdfb)

16 years agoAdd python method for for retrieving (without setting) ts vsflags
Panu Matilainen [Mon, 10 Dec 2007 14:06:22 +0000 (16:06 +0200)]
Add python method for for retrieving (without setting) ts vsflags
(transplanted from 9add0e624baff675b7d0821b8af8a54f3b246dab)

16 years agoDon't do tilde expansion if HOME not set
Panu Matilainen [Fri, 7 Dec 2007 09:33:18 +0000 (11:33 +0200)]
Don't do tilde expansion if HOME not set
- If you dont have a home, glob() will go out of its way to give you one,
  even a wrong one.  This isn't good when daemons etc have purposefully
  unset HOME...
(transplanted from df4542826894e1cd17c898f1f8f736e0b4765488)

16 years agoFix query return codes (rhbz#244236)
Panu Matilainen [Wed, 5 Dec 2007 13:56:18 +0000 (15:56 +0200)]
Fix query return codes (rhbz#244236)
- count + skip over errors in rpmgiNext() instead of stopping iteration
- add rpmgiNumErrors() for retrieving errors, use it in query
(transplanted from 86cf1ba3c7543c7e0059c721da73e759ec8ad934)

16 years agoFix up the download path in README
Panu Matilainen [Mon, 8 Oct 2007 12:40:31 +0000 (15:40 +0300)]
Fix up the download path in README
(transplanted from 177db29b7842bf449ca6f62ade1aebfed9687239)

16 years agoFix rpm -K segfaulting on corrupted header
Panu Matilainen [Tue, 13 Nov 2007 11:11:54 +0000 (13:11 +0200)]
Fix rpm -K segfaulting on corrupted header
(http://qa.mandriva.com/show_bug.cgi?id=#33735)

Patch from Pascal Rigaux
(transplanted from f9200a1583694735bd0c8d27060b112a955595fa)

16 years agoMake "rpmbuild -bb --quiet" quiet as should be
Panu Matilainen [Tue, 13 Nov 2007 11:09:01 +0000 (13:09 +0200)]
Make "rpmbuild -bb --quiet" quiet as should be
(without this patch, the option is simply ignored in rpmcliAllPoptTable)

Also rhbz#124300

Patch from Pascal Rigaux
(transplanted from 68aad7b29afb36e4f508dca402bc19eadfaeefd9)

16 years agoFix build without O2
Panu Matilainen [Tue, 13 Nov 2007 11:03:38 +0000 (13:03 +0200)]
Fix build without O2

HAVE_LOCALE_H is used by system.h, ensure it is defined properly
(the issue only occurs when compiling without __OPTIMIZE__ (ie -O2)
 otherwise libintl.h do include locale.h)

Patch from Pascal Rigaux
(transplanted from 1e32190cde0a63a1bf5fce8f9d7da3708af1d09f)

16 years agoAlign rpm -V output
Panu Matilainen [Tue, 13 Nov 2007 11:00:52 +0000 (13:00 +0200)]
Align rpm -V output
Patch from Pascal Rigaux
(transplanted from f8dd29b4b9fab59d16fc140336b8e36e5632d8c7)

16 years agoUse dgettext() instead of just gettext()
Panu Matilainen [Tue, 13 Nov 2007 10:57:49 +0000 (12:57 +0200)]
Use dgettext() instead of just gettext()
Patch from Pascal Rigaux
(transplanted from d27f1efa37370710715e3e8cda111301411f0714)

16 years agoFix free on invalid pointer after displaying "Unable to open temp file"
Panu Matilainen [Tue, 13 Nov 2007 10:47:22 +0000 (12:47 +0200)]
Fix free on invalid pointer after displaying "Unable to open temp file"
Patch from Pascal Rigaux
(transplanted from 967c33379b054a08db7cddeca0701a7ec096471c)

16 years ago- Fix segfault in %{lua:...}'s rpm_print
Peter Jones [Fri, 2 Nov 2007 13:23:05 +0000 (09:23 -0400)]
- Fix segfault in %{lua:...}'s rpm_print
- Don't automatically print a newline in rpm_print
(transplanted from a485e7269af0a7d69c400c774572867097032693)

16 years agoAdd Catalan translation (rhbz#350401)
Panu Matilainen [Wed, 24 Oct 2007 13:02:51 +0000 (16:02 +0300)]
Add Catalan translation (rhbz#350401)
From Xavier Conde & others

16 years agoUse NEVRA, not NEVR everywhere for rpmProblems
Panu Matilainen [Wed, 24 Oct 2007 07:31:42 +0000 (10:31 +0300)]
Use NEVRA, not NEVR everywhere for rpmProblems
(transplanted from 4474dd02c53edf7ce68412b435dbcd6f6322696d)

16 years agoDon't mess up problem pkgNEVR in python ts.check() (rhbz#349091)
Panu Matilainen [Wed, 24 Oct 2007 06:50:13 +0000 (09:50 +0300)]
Don't mess up problem pkgNEVR in python ts.check() (rhbz#349091)

16 years agodebugedit mishandles empty DW_AT_comp_dir (Roland McGrath)
Panu Matilainen [Thu, 18 Oct 2007 06:34:54 +0000 (09:34 +0300)]
debugedit mishandles empty DW_AT_comp_dir (Roland McGrath)
- fpc seems to produce DW_AT_comp_dir with value "" (empty string).
  This is dubious, but debugedit makes it even worse by getting confused by it.
(transplanted from e85a2f2f389e88ff020c1ed4d7a8efc80920f77c)

16 years agodebugedit mishandles DW_FORM_ref_addr (Roland McGrath)
Panu Matilainen [Thu, 18 Oct 2007 06:33:56 +0000 (09:33 +0300)]
debugedit mishandles DW_FORM_ref_addr (Roland McGrath)
(transplanted from d3415a3f351e1cd899489a10e4ccbd95bf093683)

16 years agomatch *.omf, not *omf in find-lang (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:49:18 +0000 (12:49 +0300)]
match *.omf, not *omf in find-lang (Ville Skyttä)
(transplanted from 3728a85f55a48e1c11fbe20c6eaeb68fde6f452a)

16 years agofind-lang Qt translation support (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:48:32 +0000 (12:48 +0300)]
find-lang Qt translation support (Ville Skyttä)
(transplanted from 629ce642ad8557d1cdaa36ca7234bb8fc3ae59b4)

16 years agofind-lang localized man page support (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:42:47 +0000 (12:42 +0300)]
find-lang localized man page support (Ville Skyttä)
(transplanted from 6a535cb5c754e7efef66699bd9de297310fe784e)

16 years agofind-lang POSIX-compliant find(1) usage (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:31:24 +0000 (12:31 +0300)]
find-lang POSIX-compliant find(1) usage (Ville Skyttä)
(transplanted from c1c85385d8502e28b645fdfff62e71e135a15cc5)

16 years agofind-lang spelling fixes (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:30:31 +0000 (12:30 +0300)]
find-lang spelling fixes (Ville Skyttä)
(transplanted from a762662896f872282a1b352d2191a85b1fe789f2)

16 years agoRename norwegian translation no -> nb (rhbz#332271)
Panu Matilainen [Tue, 16 Oct 2007 08:55:49 +0000 (11:55 +0300)]
Rename norwegian translation no -> nb (rhbz#332271)

16 years agoAdd OSGi dependency extractor script from Kyu Lee
Panu Matilainen [Thu, 6 Sep 2007 05:19:03 +0000 (08:19 +0300)]
Add OSGi dependency extractor script from Kyu Lee
(transplanted from 838c8ccfcf2619369e76bdca375721e049052dc8)

16 years agoClarify rpm manpage wrt rpmbuild binary vs package (rhbz#233232)
Panu Matilainen [Thu, 11 Oct 2007 11:14:00 +0000 (14:14 +0300)]
Clarify rpm manpage wrt rpmbuild binary vs package (rhbz#233232)

16 years agoClarify rpmtsCheck() documentation (rhbz#159638)
Panu Matilainen [Thu, 11 Oct 2007 10:50:05 +0000 (13:50 +0300)]
Clarify rpmtsCheck() documentation (rhbz#159638)

16 years agoAdd support for lzma compressed "Sources".
Ralf Corsépius [Wed, 10 Oct 2007 06:39:01 +0000 (08:39 +0200)]
Add support for lzma compressed "Sources".
(transplanted from eec3122377e213c34ae06a3fcf334834faca3819)

16 years agoKick out polish comment.
Ralf Corsépius [Wed, 10 Oct 2007 06:37:35 +0000 (08:37 +0200)]
Kick out polish comment.
(transplanted from 6b4e7092bfc65ed7a95f4be20b86db814c6d999c)

16 years agoPermit src.rpm installation to be interrupted
Panu Matilainen [Tue, 9 Oct 2007 12:47:15 +0000 (15:47 +0300)]
Permit src.rpm installation to be interrupted
(transplanted from 6c9d3925a3c85c4061f93093f2a3d9532c943b4c)

16 years agoUse enums instead of ints for processing isCompressed ret-val.
Ralf Corsépius [Tue, 9 Oct 2007 08:02:49 +0000 (10:02 +0200)]
Use enums instead of ints for processing isCompressed ret-val.
(transplanted from eb7aaa5f94af775fba736d67d576cbd6ab64934d)

16 years agoAdd __LZMA.
Ralf Corsépius [Mon, 8 Oct 2007 15:12:10 +0000 (17:12 +0200)]
Add __LZMA.
(transplanted from 234301e4a57916c72f8f9c69b36c73ded807b7c7)

16 years agoFix up release tag for popt version change rpm-4.4.2.2-release
Panu Matilainen [Wed, 3 Oct 2007 09:57:53 +0000 (12:57 +0300)]
Fix up release tag for popt version change

16 years agoRemember to bump popt version too, sigh
Panu Matilainen [Wed, 3 Oct 2007 09:54:50 +0000 (12:54 +0300)]
Remember to bump popt version too, sigh

16 years agoAdded tag rpm-4.4.2.2-release for changeset fe17fbb1eb49
Panu Matilainen [Wed, 3 Oct 2007 08:53:36 +0000 (11:53 +0300)]
Added tag rpm-4.4.2.2-release for changeset fe17fbb1eb49

16 years agoMark as 4.4.2.2
Panu Matilainen [Wed, 3 Oct 2007 08:53:15 +0000 (11:53 +0300)]
Mark as 4.4.2.2

16 years agoUpdate CHANGES
Panu Matilainen [Wed, 3 Oct 2007 08:48:53 +0000 (11:48 +0300)]
Update CHANGES

16 years agoSmall cronjob fixes (rhbz#315271)
Panu Matilainen [Wed, 3 Oct 2007 05:57:54 +0000 (08:57 +0300)]
Small cronjob fixes (rhbz#315271)
- create cronjob temp file in target directory to ensure corrent
  selinux context (rhbz#315271)
- dont leave empty files around in case of failure
(transplanted from ac563a9f839ff67694e4a79c79da2c1a5574af93)

16 years agoAdd %alpha arch macro for supported alpha cpus (rhbz#295941)
Panu Matilainen [Thu, 27 Sep 2007 11:11:00 +0000 (14:11 +0300)]
Add %alpha arch macro for supported alpha cpus (rhbz#295941)
(transplanted from 6907ea2854592cb6d089d2a9e4c7a4440735a95e)

16 years agoOwn omf directories found by find-lang (rhbz#296731)
Panu Matilainen [Thu, 27 Sep 2007 09:28:30 +0000 (12:28 +0300)]
Own omf directories found by find-lang (rhbz#296731)
(transplanted from 491ef7a952f8a2b6b77479594c174e8a9bb5cb61)

16 years agoFix disk space checking when zero blocks / inodes are available (rhbz#308171)
Panu Matilainen [Thu, 27 Sep 2007 07:37:19 +0000 (10:37 +0300)]
Fix disk space checking when zero blocks / inodes are available (rhbz#308171)

When installing a rpm that requires space on a filesystem with 0 blocks free,
rpm will not detect that there is insufficient space on the filesystem.

Patch from Patrick Bergamin
(transplanted from 446988cfb9c165fe5ed4bfde7cd305327a98e3bd)

16 years agoFix typos default in rpmrc.in optflags (rhbz#305221)
Panu Matilainen [Tue, 25 Sep 2007 18:54:34 +0000 (21:54 +0300)]
Fix typos default in rpmrc.in optflags (rhbz#305221)
Patch from Bill Nottingham

16 years agoAdded tag rpm-4.4.2.2-rc2 for changeset 81a8df15d727
Panu Matilainen [Tue, 11 Sep 2007 07:00:32 +0000 (10:00 +0300)]
Added tag rpm-4.4.2.2-rc2 for changeset 81a8df15d727

16 years agoUpdate translations rpm-4.4.2.2-rc2
Panu Matilainen [Tue, 11 Sep 2007 07:00:26 +0000 (10:00 +0300)]
Update translations

16 years agoUpdate CHANGES, mark as 4.4.2.2-rc2
Panu Matilainen [Tue, 11 Sep 2007 06:58:34 +0000 (09:58 +0300)]
Update CHANGES, mark as 4.4.2.2-rc2

16 years agorpmtsAddInstallElement() consistency (rhbz#180996, rhbz#281611)
Panu Matilainen [Tue, 11 Sep 2007 06:13:19 +0000 (09:13 +0300)]
rpmtsAddInstallElement() consistency (rhbz#180996, rhbz#281611)
Don't error out if the same (or older) package is attempted to add to the
transaction, only warn (because we can handle it)
(transplanted from 557fa00203ac2c861dcc0030d692696298899382)

16 years agoFake callbacks on erasure for packages without files (rhbz#259961)
Panu Matilainen [Tue, 11 Sep 2007 06:01:19 +0000 (09:01 +0300)]
Fake callbacks on erasure for packages without files (rhbz#259961)
(transplanted from 136bf9db5c60bd994fbf4b13a0565f4323b4d254)

16 years agoAdd Sparc Niagara support (rhbz#263521)
Panu Matilainen [Wed, 5 Sep 2007 13:11:04 +0000 (16:11 +0300)]
Add Sparc Niagara support (rhbz#263521)
Patch from Dennis Gilmore.
(transplanted from 7c221a424527d91374427551f0ed9f9b78cd3a72)

16 years agoHandle mire matching against binary blobs (rhbz#277161)
Panu Matilainen [Tue, 11 Sep 2007 06:45:15 +0000 (09:45 +0300)]
Handle mire matching against binary blobs (rhbz#277161)
- convert blob to hex string, miregexec() against that
- dont free RPM_BIN_TYPE data, causes segfaults.. hmm..

16 years agoMake formatValue() use the bin2hex helper.
Panu Matilainen [Wed, 5 Sep 2007 10:43:09 +0000 (13:43 +0300)]
Make formatValue() use the bin2hex helper.
(transplanted from 35ea34942e94de33867a04af58c7e6b524a32ac0)

16 years agoInternal helper function for converting binary blobs to hex strings.
Panu Matilainen [Wed, 5 Sep 2007 10:42:25 +0000 (13:42 +0300)]
Internal helper function for converting binary blobs to hex strings.
(transplanted from 5b4c099c3fdb253d5ed440333cb99ad56af24d9f)

16 years agoFix false mire matches on nonexistent headers.
Panu Matilainen [Wed, 5 Sep 2007 10:41:13 +0000 (13:41 +0300)]
Fix false mire matches on nonexistent headers.
(transplanted from e6ecf4e9585535cb2caf1b27844154de9abc0d32)

16 years agoFix error reporting on rpm --checksig (rhbz#155079)
Panu Matilainen [Tue, 4 Sep 2007 07:23:54 +0000 (10:23 +0300)]
Fix error reporting on rpm --checksig (rhbz#155079)
(transplanted from a35fdc78aa7ad2b049fb8fff30cd376bed1cf4d5)

16 years agoDon't read *.rpmnew etc macro files
Panu Matilainen [Thu, 30 Aug 2007 10:02:12 +0000 (13:02 +0300)]
Don't read *.rpmnew etc macro files
(transplanted from ae24df9cdc383c7244543d1af23191929792c8c7)

16 years agoDebugedit fixes.
Panu Matilainen [Tue, 4 Sep 2007 05:19:03 +0000 (08:19 +0300)]
Debugedit fixes.

This makes debugedit's -l file get files that already match the -d rewrite
directory, not just those that match the -b build directory and get rewritten.

Patch from Roland McGrath
(transplanted from 7093a54a1d9534b7be4a00cb9a51c4c14b03f958)

16 years agoAdded tag rpm-4.4.2.2-rc1 for changeset 408814d1fd92
Panu Matilainen [Tue, 28 Aug 2007 09:48:14 +0000 (12:48 +0300)]
Added tag rpm-4.4.2.2-rc1 for changeset 408814d1fd92

16 years agoUpdate change summary rpm-4.4.2.2-rc1
Panu Matilainen [Tue, 28 Aug 2007 09:27:19 +0000 (12:27 +0300)]
Update change summary

16 years agoAdd expandMacro() to python bindings.
Panu Matilainen [Tue, 28 Aug 2007 09:03:34 +0000 (12:03 +0300)]
Add expandMacro() to python bindings.
Patch by Jeremy Katz.
(transplanted from 5138a16777dfa38be2bfc8e0dbab11b9f064e4a7)

16 years agoUpdate translations
Panu Matilainen [Tue, 28 Aug 2007 08:22:40 +0000 (11:22 +0300)]
Update translations

16 years agoMark as 4.4.2.2-rc1 (and bump popt too..)
Panu Matilainen [Tue, 28 Aug 2007 08:19:00 +0000 (11:19 +0300)]
Mark as 4.4.2.2-rc1 (and bump popt too..)

16 years agoDont link debugedit statically
Panu Matilainen [Tue, 28 Aug 2007 08:15:18 +0000 (11:15 +0300)]
Dont link debugedit statically

16 years agoDon't create unused/dangling symlink cruft in /usr/lib
Panu Matilainen [Tue, 28 Aug 2007 08:10:11 +0000 (11:10 +0300)]
Don't create unused/dangling symlink cruft in /usr/lib

16 years agoInstall packages with preferred color first (rhbz#214737)
Panu Matilainen [Tue, 28 Aug 2007 08:00:42 +0000 (11:00 +0300)]
Install packages with preferred color first (rhbz#214737)

Patch by Jeff Johnson.
(transplanted from e8c1a2d43970f1746ff2ba8cf6fe7707534a116b)

16 years agoCosmetical cleanups.
Panu Matilainen [Tue, 28 Aug 2007 07:42:03 +0000 (10:42 +0300)]
Cosmetical cleanups.
- remove unused rpm.c
- fix permissions of rpmqv.c

16 years agoFix busted merge of changeset 26bc21a7912
Panu Matilainen [Tue, 28 Aug 2007 07:36:13 +0000 (10:36 +0300)]
Fix busted merge of changeset 26bc21a7912

16 years agoShow pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)
Panu Matilainen [Tue, 28 Aug 2007 07:11:06 +0000 (10:11 +0300)]
Show pre- and posttrans scripts in rpm -q --scripts query (susebz#253620)
Patch from Michal Marek.
(transplanted from b46afebc527d7f2d64a8eddcf533b73fef2244f8)

16 years agoCreate x86_64 compat macros for ia32e and amd64 (rhbz#211119, 223355)
Panu Matilainen [Tue, 28 Aug 2007 06:10:11 +0000 (09:10 +0300)]
Create x86_64 compat macros for ia32e and amd64 (rhbz#211119, 223355)
(transplanted from 83857f39f6a982190f862a9db9bdb744f58e7b0b)

16 years agoAvoid .rpmnew when the file hasn't changed in package (rhbz#194246)
Panu Matilainen [Tue, 28 Aug 2007 06:04:09 +0000 (09:04 +0300)]
Avoid .rpmnew when the file hasn't changed in package (rhbz#194246)

The current behavior of %config(noreplace) creates a .rpmnewfile iff the type
of the current file has been changed wrto what was originally installed.

The patch changes this behavior so when old and new (in db and in package) is
identical -> not changed, the function returns FA_SKIP -> it won't clobber
anything, it simply skips installation of the file from the package.
This patch handles also the opposite case when old and new packages contain
%config symlink and we have regular file on disk.

Patch from Tomas Mraz.
(transplanted from 5a57ec437cf4ec0605264ed311ff28e0e751302d)

16 years agoFix perl version provide for packages defined in multiple blocks (#rhbz214496)
Panu Matilainen [Tue, 28 Aug 2007 05:52:06 +0000 (08:52 +0300)]
Fix perl version provide for packages defined in multiple blocks (#rhbz214496)

Successive definitions of the same package shouldn't stomp on previously
found $VERSION, this is how perl itself behaves.
Patch from James Ralston.
(transplanted from 433bae323daf6f2541f41b00747582d6cc048666)

16 years agoDon't check for termination signals in middle of transaction (!)
Panu Matilainen [Mon, 27 Aug 2007 07:19:43 +0000 (10:19 +0300)]
Don't check for termination signals in middle of transaction (!)
(transplanted from 16992a5152c04b105a7939a733383739d7013674)