platform/upstream/rpm.git
17 years agoMake peace with auto*foo.
Panu Matilainen [Wed, 6 Jun 2007 09:50:56 +0000 (12:50 +0300)]
Make peace with auto*foo.

- Remove checks for internal zlib
- Don't try to auto*foo'ize nonexistent zlib, sqlite subdirs. Db3 subdir
  isn't auto*-enabled
- Set AM_GNU_GETTEXT_VERSION to make auto"#ยค"# to realize we're using gettext
- Don't stomp into auto*** namespace with LUA_SPLINT stuff (from JBJ)

17 years agoRemove popt internal gettext, make peace with auto*foo.
Panu Matilainen [Wed, 6 Jun 2007 09:45:20 +0000 (12:45 +0300)]
Remove popt internal gettext, make peace with auto*foo.

Rpm internal gettext was already removed, but there was another copy in popt...
Fiddle with auto*foo to quieten various warnings and actually pass
make distcheck.

17 years agoAllow tests to pass in distcheck where builddir != srcdir.
Panu Matilainen [Wed, 6 Jun 2007 09:01:24 +0000 (12:01 +0300)]
Allow tests to pass in distcheck where builddir != srcdir.

17 years agoForce FILEVERIFYFLAGS to be a list in python bindings.
Panu Matilainen [Tue, 5 Jun 2007 12:34:52 +0000 (15:34 +0300)]
Force FILEVERIFYFLAGS to be a list in python bindings.

17 years agoPython rpm.te Key() refcount fix (rhbz#182063) from JBJ.
Panu Matilainen [Tue, 5 Jun 2007 12:18:49 +0000 (15:18 +0300)]
Python rpm.te Key() refcount fix (rhbz#182063) from JBJ.

17 years agoFix typo in check-prereq (rhbz#203182) by Steve Grubb.
Panu Matilainen [Tue, 5 Jun 2007 12:16:37 +0000 (15:16 +0300)]
Fix typo in check-prereq (rhbz#203182) by Steve Grubb.

17 years agoPayload compatibility checking fixes.
Panu Matilainen [Tue, 5 Jun 2007 09:43:53 +0000 (12:43 +0300)]
Payload compatibility checking fixes.

Only check for payload compatibility when dealing with packages (and not
eg build headers). Don't crash if no payload format defined in header.

17 years agoAdd --dupes popt alias for detecting duplicate packages in rpmdb from JBJ.
Panu Matilainen [Tue, 5 Jun 2007 06:45:58 +0000 (09:45 +0300)]
Add --dupes popt alias for detecting duplicate packages in rpmdb from JBJ.

17 years agoRestore SIGILL handler in machine detection code.
Panu Matilainen [Tue, 29 May 2007 10:43:06 +0000 (13:43 +0300)]
Restore SIGILL handler in machine detection code.

Patch from OpenSuSE.

17 years agoRun filelist checks even if other errors are present.
Panu Matilainen [Fri, 25 May 2007 09:57:10 +0000 (12:57 +0300)]
Run filelist checks even if other errors are present.

This causes the unpackaged files check to be run even if there are other
errors in the file processing. This is rather handy in spotting spec typos
and such.

Patch from OpenSuSE, somewhat modified.

17 years agoFail if no beecrypt found
Paul Nasrat [Thu, 24 May 2007 13:40:54 +0000 (14:40 +0100)]
Fail if no beecrypt found

17 years agoCheck for supported payload format on package install. (rhbz#140052)
Panu Matilainen [Thu, 24 May 2007 07:56:53 +0000 (10:56 +0300)]
Check for supported payload format on package install. (rhbz#140052)

Add a new API function to check for supported payload format from header, have
rpmtsAddInstallElement() check and fail if not. Check for tsadd failure
on src.rpm install as well.

17 years agoRemove hardcoded RH GPG-keys from the source.
Panu Matilainen [Wed, 23 May 2007 09:12:07 +0000 (12:12 +0300)]
Remove hardcoded RH GPG-keys from the source.

17 years agoRaise an exception if adding an install/upgrade element to transaction fails.
Panu Matilainen [Wed, 23 May 2007 07:27:15 +0000 (10:27 +0300)]
Raise an exception if adding an install/upgrade element to transaction fails.

17 years agoMore informative error message when lstat() in verification fails.
Panu Matilainen [Wed, 23 May 2007 05:40:22 +0000 (08:40 +0300)]
More informative error message when lstat() in verification fails.
Eg when running verification as non-root, it can lead to confusing results
until you realize you didn't have permission to verify the file.

Patch originally from OpenSuSE, slightly modified.

17 years agoSmall TODO-update.
Panu Matilainen [Fri, 18 May 2007 13:25:02 +0000 (16:25 +0300)]
Small TODO-update.

17 years agoEmit diff headers (#237561)
Paul Nasrat [Thu, 17 May 2007 10:06:55 +0000 (11:06 +0100)]
Emit diff headers (#237561)
Patch derived from Ville Skytta

17 years ago- let diff arguments be specified in the environment
Peter Jones [Wed, 16 May 2007 14:59:15 +0000 (10:59 -0400)]
- let diff arguments be specified in the environment

17 years agodbmatch keys can be unicode objects also (#219008)
Paul Nasrat [Wed, 16 May 2007 13:45:24 +0000 (14:45 +0100)]
dbmatch keys can be unicode objects also (#219008)
Jeremy Katz <katzj@redhat.com>

17 years agoDo not run pre/posttrans scripts in test mode.
Panu Matilainen [Wed, 16 May 2007 13:22:01 +0000 (16:22 +0300)]
Do not run pre/posttrans scripts in test mode.

Patch from OpenSuSE.

17 years agoDeal with bad lines in --setperms and --setugids.
Panu Matilainen [Wed, 16 May 2007 13:19:18 +0000 (16:19 +0300)]
Deal with bad lines in --setperms and --setugids.
Happens for example if a package is not installed (--pipe also captures stderr).

Patch from OpenSuSE.

17 years agoMake rebuilddb work with the --root option.
Panu Matilainen [Wed, 16 May 2007 13:18:05 +0000 (16:18 +0300)]
Make rebuilddb work with the --root option.

Patch from OpenSuSE.

17 years agoFix building without Lua support.
Panu Matilainen [Wed, 16 May 2007 13:16:45 +0000 (16:16 +0300)]
Fix building without Lua support.

Patch from OpenSuSE.

17 years ago- initial TODO for collecting future ideas
pmatilai@dhcp115.koti.laiskiainen.org [Mon, 14 May 2007 13:52:48 +0000 (16:52 +0300)]
- initial TODO for collecting future ideas

17 years agoRemove SELinux context verification (#193488)
Paul Nasrat [Thu, 10 May 2007 12:20:11 +0000 (13:20 +0100)]
Remove SELinux context verification (#193488)

17 years agoAdd mono req/provides support
Paul Nasrat [Thu, 10 May 2007 12:15:34 +0000 (13:15 +0100)]
Add mono req/provides support
Alexander Larsson alexl@redhat.com

17 years agoUse older perl helper scripts by default
Paul Nasrat [Thu, 10 May 2007 12:08:38 +0000 (13:08 +0100)]
Use older perl helper scripts by default

17 years agoAdd patch to treat changelog as list
Paul Nasrat [Thu, 10 May 2007 11:35:49 +0000 (12:35 +0100)]
Add patch to treat changelog as list

17 years agoEnable configurable preferable elf colour policy (#235757)
Paul Nasrat [Tue, 1 May 2007 04:55:14 +0000 (05:55 +0100)]
Enable configurable preferable elf colour policy (#235757)
Patch from: dwmw2 at redhat.com

17 years agoFix debugedit for relative paths (#232222)
Paul Nasrat [Mon, 23 Apr 2007 09:49:31 +0000 (10:49 +0100)]
Fix debugedit for relative paths (#232222)

17 years agoFix default verify flags for %doc rh#235353
Paul Nasrat [Mon, 16 Apr 2007 15:13:27 +0000 (16:13 +0100)]
Fix default verify flags for %doc rh#235353
Patch from Michael Schroeder

17 years agoCall Fflush at the end of writeing a signed package to catch out
Paul Nasrat [Mon, 16 Apr 2007 12:31:37 +0000 (13:31 +0100)]
Call Fflush at the end of writeing a signed package to catch out
of disk space errors.
Patch from OpenSuSE

17 years agoFix to handle oldpackages that use HEADERIMAGE
Paul Nasrat [Mon, 16 Apr 2007 12:31:04 +0000 (13:31 +0100)]
Fix to handle oldpackages that use HEADERIMAGE

17 years agoWhen deleting files, drop any s-bit first, so that a malicious
Paul Nasrat [Mon, 16 Apr 2007 12:26:12 +0000 (13:26 +0100)]
When deleting files, drop any s-bit first, so that a malicious
user does not have access to old programs if he hard links them
to some other directory. [#50376] rh#125517
Patch from OpenSuSE

17 years agoAlso decode early for PGP sigtags, which are actually header+payload
Paul Nasrat [Mon, 16 Apr 2007 12:23:58 +0000 (13:23 +0100)]
Also decode early for PGP sigtags, which are actually header+payload
RSA signatures. Without this patch, verification of a package
that has just a header+payload RSA signature but no header-only RSA
signature fails.
Patch from OpenSuSE

17 years agoMake rpmdbSync obey the no_dbsync flag
Paul Nasrat [Mon, 16 Apr 2007 12:23:13 +0000 (13:23 +0100)]
Make rpmdbSync obey the no_dbsync flag
Patch from OpenSuSE

17 years agoBuild lua without readline support.
Paul Nasrat [Mon, 16 Apr 2007 12:22:34 +0000 (13:22 +0100)]
Build lua without readline support.
Patch from OpenSuSE

17 years agoCheck rpmtsInitDB return value. Also patches rpm.c, which
Paul Nasrat [Mon, 16 Apr 2007 12:21:22 +0000 (13:21 +0100)]
Check rpmtsInitDB return value. Also patches rpm.c, which
actually is not used anymore.
Patch from OpenSuSE

17 years agoFix off-by-one error in glob call.
Paul Nasrat [Mon, 16 Apr 2007 12:20:30 +0000 (13:20 +0100)]
Fix off-by-one error in glob call.
Fix from OpenSuSE

17 years agoFix --noghost query option. rh#103207
Paul Nasrat [Mon, 16 Apr 2007 12:19:39 +0000 (13:19 +0100)]
Fix --noghost query option. rh#103207

17 years agoCheck getcwd return value, abort if rpm cannot determine current
Paul Nasrat [Mon, 16 Apr 2007 12:18:19 +0000 (13:18 +0100)]
Check getcwd return value, abort if rpm cannot determine current
directory.
Patch from OpenSuSE

17 years agoReturn an error if Fileno is called with NULL instead of segfaulting.
Paul Nasrat [Mon, 16 Apr 2007 12:17:19 +0000 (13:17 +0100)]
Return an error if Fileno is called with NULL instead of segfaulting.
Patch from OpenSuSE

17 years agoDeal with a return value of "-2" when database locking failed.
Paul Nasrat [Mon, 16 Apr 2007 12:16:35 +0000 (13:16 +0100)]
Deal with a return value of "-2" when database locking failed.
Patch from OpenSuSE

17 years agoDo not call rpmtsRun with an empty transaction list, it returns -1
Paul Nasrat [Mon, 16 Apr 2007 12:15:54 +0000 (13:15 +0100)]
Do not call rpmtsRun with an empty transaction list, it returns -1
which messes up the numFailed counter. [#43267]
Patch from OpenSuSE

17 years agoAllow "--ignoresize" for erase operations.
Paul Nasrat [Mon, 16 Apr 2007 12:15:10 +0000 (13:15 +0100)]
Allow "--ignoresize" for erase operations.
Patch from OpenSuSE

17 years agoFix segfault when rpmbuild stumbles over an empty file list.
Paul Nasrat [Mon, 16 Apr 2007 12:14:17 +0000 (13:14 +0100)]
Fix segfault when rpmbuild stumbles over an empty file list.
The "+ 1" is a remedy for xmalloc(0), which would return NULL.
Patch from OpenSuSE

17 years agoAdd support for a new macro, %{_docdir}. It can be used to specify
Paul Nasrat [Mon, 16 Apr 2007 12:12:32 +0000 (13:12 +0100)]
Add support for a new macro, %{_docdir}. It can be used to specify
the name of the directory for %doc files.
Default is "%{NAME}-%{VERSION}", SUSE uses just "%{NAME}".
rh#125514
Patch from OpenSuSE

17 years agoFix uncompress waitpid logic to shut up the compiler [#160434]
Paul Nasrat [Mon, 16 Apr 2007 12:07:52 +0000 (13:07 +0100)]
Fix uncompress waitpid logic to shut up the compiler [#160434]
Patch from OpenSuSE

17 years agoFix a typo: the macro is currently called %{buildsubdir}
Paul Nasrat [Mon, 16 Apr 2007 12:06:24 +0000 (13:06 +0100)]
Fix a typo: the macro is currently called %{buildsubdir}
Patch from OpenSuSE

17 years agoThis fixes a typo that caused a compiler warning [#178055].
Paul Nasrat [Mon, 16 Apr 2007 12:05:18 +0000 (13:05 +0100)]
This fixes a typo that caused a compiler warning [#178055].
Patch from OpenSuSE

17 years agoFork failure patch from OpenSuSE
Paul Nasrat [Mon, 16 Apr 2007 11:49:38 +0000 (12:49 +0100)]
Fork failure patch from OpenSuSE

17 years agoAllow customisable diff and use -p by default (#146981)
Paul Nasrat [Mon, 16 Apr 2007 11:42:56 +0000 (12:42 +0100)]
Allow customisable diff and use -p by default (#146981)

17 years agoIgnore cscope/ctags output
Paul Nasrat [Tue, 27 Mar 2007 13:55:48 +0000 (14:55 +0100)]
Ignore cscope/ctags output

17 years agoFix for debugedit with ../../ in paths
Paul Nasrat [Thu, 15 Mar 2007 15:59:55 +0000 (15:59 +0000)]
Fix for debugedit with ../../ in paths

17 years agoFix debugedit for O0
Paul Nasrat [Thu, 15 Mar 2007 15:59:22 +0000 (15:59 +0000)]
Fix debugedit for O0

17 years agoFix up debuginfo for various issues - inc. libc-client debuginfo (rh#205339)
Paul Nasrat [Thu, 15 Mar 2007 15:58:27 +0000 (15:58 +0000)]
Fix up debuginfo for various issues - inc. libc-client debuginfo (rh#205339)

17 years agoFix for thinko in debugedit on ppc
Paul Nasrat [Thu, 15 Mar 2007 15:57:30 +0000 (15:57 +0000)]
Fix for thinko in debugedit on ppc

17 years agoCleanup: Remove old mpw references
Paul Nasrat [Wed, 14 Mar 2007 15:52:12 +0000 (15:52 +0000)]
Cleanup: Remove old mpw references

17 years agoCleanup: Remove dumpasn1 util
Paul Nasrat [Wed, 14 Mar 2007 15:46:35 +0000 (15:46 +0000)]
Cleanup: Remove dumpasn1 util

17 years agoRequire external gettext
Paul Nasrat [Wed, 14 Mar 2007 15:46:17 +0000 (15:46 +0000)]
Require external gettext

17 years agoCleanup: remove internal gettext
Paul Nasrat [Wed, 14 Mar 2007 15:08:28 +0000 (15:08 +0000)]
Cleanup: remove internal gettext

17 years agoCleanup: remove vendor GPG/PGP keys
Paul Nasrat [Wed, 14 Mar 2007 15:05:00 +0000 (15:05 +0000)]
Cleanup: remove vendor GPG/PGP keys

17 years agoCleanup: remove old convertdb utility
Paul Nasrat [Wed, 14 Mar 2007 15:03:21 +0000 (15:03 +0000)]
Cleanup: remove old convertdb utility

17 years agoCleanup: remove oldrpmdb utility
Paul Nasrat [Wed, 14 Mar 2007 15:02:32 +0000 (15:02 +0000)]
Cleanup: remove oldrpmdb utility

17 years agoCleanup: remove xmlspec
Paul Nasrat [Wed, 14 Mar 2007 14:54:26 +0000 (14:54 +0000)]
Cleanup: remove xmlspec

17 years agoCleanup - move gendiff to scripts subdir
Paul Nasrat [Wed, 14 Mar 2007 14:47:08 +0000 (14:47 +0000)]
Cleanup - move gendiff to scripts subdir

17 years agoRemove rpm 4.0.4 examples
Paul Nasrat [Wed, 14 Mar 2007 14:31:21 +0000 (14:31 +0000)]
Remove rpm 4.0.4 examples

17 years agoFix potential segfault if no rpmlock_path defined (rh#231146)
Paul Nasrat [Tue, 13 Mar 2007 10:32:40 +0000 (10:32 +0000)]
Fix potential segfault if no rpmlock_path defined (rh#231146)

17 years agoRemove unused library
Paul Nasrat [Thu, 22 Feb 2007 17:20:23 +0000 (17:20 +0000)]
Remove unused library

17 years agoThis fixes doxygen generation by removing a reference to a non-existent file
Paul Nasrat [Thu, 22 Feb 2007 14:17:02 +0000 (14:17 +0000)]
This fixes doxygen generation by removing a reference to a non-existent file
(rh#187714).

17 years agoThis patch from Peter Bowen fixes rpm version comparison for strings with
Paul Nasrat [Thu, 22 Feb 2007 14:16:27 +0000 (14:16 +0000)]
This patch from Peter Bowen fixes rpm version comparison for strings with
trailing null segments (rh#178798).

17 years agoMake fcntl lock sensitive to --root (#151255)
Paul Nasrat [Thu, 22 Feb 2007 14:15:30 +0000 (14:15 +0000)]
Make fcntl lock sensitive to --root (#151255)

17 years agoFix netshared path comparison (rh#52725) fix by jbj.
Paul Nasrat [Thu, 22 Feb 2007 12:27:42 +0000 (12:27 +0000)]
Fix netshared path comparison (rh#52725) fix by jbj.

17 years agoFix from James Olin Oden for a scriptlet deadlock (#146549).
Paul Nasrat [Thu, 22 Feb 2007 12:26:56 +0000 (12:26 +0000)]
Fix from James Olin Oden for a scriptlet deadlock (#146549).

17 years agoFilter out incorrect perl(main) provides (rh#177960).
Paul Nasrat [Thu, 22 Feb 2007 12:26:10 +0000 (12:26 +0000)]
Filter out incorrect perl(main) provides (rh#177960).

17 years agoThis patch synchronises the internal file sources.
Paul Nasrat [Thu, 22 Feb 2007 12:22:56 +0000 (12:22 +0000)]
This patch synchronises the internal file sources.

17 years agoThis patch ensures the rpm cronjob to record rpmpkgs uses the full path to
Paul Nasrat [Thu, 22 Feb 2007 12:21:11 +0000 (12:21 +0000)]
This patch ensures the rpm cronjob to record rpmpkgs uses the full path to
prevent potential PATH issues (rh#174211).

17 years agoThis patch fixes up the calculation total install size when we have excluded
Paul Nasrat [Thu, 22 Feb 2007 12:19:49 +0000 (12:19 +0000)]
This patch fixes up the calculation total install size when we have excluded
files in the manifest (rh#89661).

17 years agoFix popt CHARSET for various languages (#172155)
Paul Nasrat [Thu, 22 Feb 2007 12:17:26 +0000 (12:17 +0000)]
Fix popt CHARSET for various languages (#172155)

17 years agoThis fixes the db build to handle newer CFLAGS which can contain the long
Paul Nasrat [Thu, 22 Feb 2007 12:16:04 +0000 (12:16 +0000)]
This fixes the db build to handle newer CFLAGS which can contain the long
option --param.

17 years agoThis patch fixes how Requires(pre,postun) is handled to bring it in line with
Paul Nasrat [Thu, 22 Feb 2007 12:14:43 +0000 (12:14 +0000)]
This patch fixes how Requires(pre,postun) is handled to bring it in line with
seperate Requires() lines (rh#155700).

17 years agoThis patch fixes an off-by-one error in rpmalAllFileSatisfiesDepend() which
Paul Nasrat [Thu, 22 Feb 2007 12:09:46 +0000 (12:09 +0000)]
This patch fixes an off-by-one error in rpmalAllFileSatisfiesDepend() which
could lead to a segfault.

17 years agoRe-enable fileconflicts
Paul Nasrat [Thu, 22 Feb 2007 12:00:22 +0000 (12:00 +0000)]
Re-enable fileconflicts
This patch re-enables fileconflicts by default (rh#151609).

17 years agoDisable hkp lookup by default
Paul Nasrat [Thu, 22 Feb 2007 11:57:46 +0000 (11:57 +0000)]
Disable hkp lookup by default
This patch turns off RPM's hkp lookup by default.  Having this on by default
caused heavy load on the keyservers.

17 years agoIgnore popt tarball
Paul Nasrat [Fri, 16 Feb 2007 17:42:02 +0000 (17:42 +0000)]
Ignore popt tarball

17 years agoRemove cvs based archive target
Paul Nasrat [Fri, 16 Feb 2007 17:38:43 +0000 (17:38 +0000)]
Remove cvs based archive target

17 years agoRemove some cvs targets
Paul Nasrat [Fri, 16 Feb 2007 17:36:26 +0000 (17:36 +0000)]
Remove some cvs targets

17 years agoRemove reference to sqlite
Paul Nasrat [Fri, 16 Feb 2007 17:33:43 +0000 (17:33 +0000)]
Remove reference to sqlite

17 years agoRemove wraptastic.org url from spec
Paul Nasrat [Fri, 16 Feb 2007 17:20:09 +0000 (17:20 +0000)]
Remove wraptastic.org url from spec

17 years agoPoint to correct mailing list
Paul Nasrat [Fri, 16 Feb 2007 17:18:50 +0000 (17:18 +0000)]
Point to correct mailing list
James Bowes <jbowes@redhat.com>

17 years agoAdd hgignore for clean hg status following build
Paul Nasrat [Fri, 16 Feb 2007 16:31:40 +0000 (16:31 +0000)]
Add hgignore for clean hg status following build

17 years agoAllow build without the neon library.
Paul Nasrat [Fri, 16 Feb 2007 16:27:54 +0000 (16:27 +0000)]
Allow build without the neon library.
Resurrects old httpOpen code from rpm-4.1.1.
Building without neon means no webdav file uploads, though.
Michael Schroeder <mls@suse.de>

17 years agoDon't exit on differing autotools.
Paul Nasrat [Fri, 16 Feb 2007 16:26:41 +0000 (16:26 +0000)]
Don't exit on differing autotools.

17 years agoRemove internal zlib
Paul Nasrat [Fri, 16 Feb 2007 16:25:20 +0000 (16:25 +0000)]
Remove internal zlib

17 years agoRemove internal neon
Paul Nasrat [Fri, 16 Feb 2007 16:25:10 +0000 (16:25 +0000)]
Remove internal neon

17 years agoRemove internal sqlite
Paul Nasrat [Fri, 16 Feb 2007 16:24:52 +0000 (16:24 +0000)]
Remove internal sqlite

17 years agoRemove mvista dir from tree
Paul Nasrat [Fri, 16 Feb 2007 16:24:26 +0000 (16:24 +0000)]
Remove mvista dir from tree

17 years agoRemove lsbpkgchk from tree
Paul Nasrat [Fri, 16 Feb 2007 16:24:16 +0000 (16:24 +0000)]
Remove lsbpkgchk from tree

17 years agoRemove internal librsync
Paul Nasrat [Fri, 16 Feb 2007 16:23:54 +0000 (16:23 +0000)]
Remove internal librsync

17 years agoRemove internal libelf
Paul Nasrat [Fri, 16 Feb 2007 16:22:20 +0000 (16:22 +0000)]
Remove internal libelf