Panu Matilainen [Wed, 20 Jun 2007 08:07:53 +0000 (11:07 +0300)]
Duh, remember to initialize opt_F
Panu Matilainen [Wed, 20 Jun 2007 07:58:10 +0000 (10:58 +0300)]
Add reminder about enabling mmap() use after 4.4.2.1.
The code's been unused for years so too risky to enable right now but should
offer good performance improvement. Fix the HAVE_MMAP checks.
Panu Matilainen [Wed, 20 Jun 2007 07:26:14 +0000 (10:26 +0300)]
Move SELinux specifics to the section of configure.ac where SELinux is already
handled instead of mixing it into the 'static linking' section.
Patch from rpm5.org.
Panu Matilainen [Wed, 20 Jun 2007 07:23:38 +0000 (10:23 +0300)]
More configure.ac cleanups.
From rpm5.org
Panu Matilainen [Wed, 20 Jun 2007 07:20:15 +0000 (10:20 +0300)]
Throw out unused stuff from configure.ac
Patch from rpm5.org
Panu Matilainen [Tue, 19 Jun 2007 13:12:04 +0000 (16:12 +0300)]
Rename headerCheckPayload() -> headerCheckPayloadFormat()
to remove any potential confusion as to what it really does.
Panu Matilainen [Tue, 19 Jun 2007 12:16:13 +0000 (15:16 +0300)]
Update mailinglist address in error message, ugh..
Panu Matilainen [Tue, 19 Jun 2007 12:10:25 +0000 (15:10 +0300)]
Add support for specifying fuzz factor to %patch (rhbz#243720)
Based on rpm5.org patch, additionally support both -F1 and -F 1 formats.
Use stpcpy() instead of strcat() for doPatch() args processing.
Panu Matilainen [Tue, 19 Jun 2007 11:35:40 +0000 (14:35 +0300)]
Update translations
Panu Matilainen [Tue, 19 Jun 2007 11:29:10 +0000 (14:29 +0300)]
Fix variable double definition.
Panu Matilainen [Tue, 19 Jun 2007 11:21:01 +0000 (14:21 +0300)]
Fix CVE-2007-2799 integer overflow in internal libmagic. Patch from RHEL4.
Panu Matilainen [Tue, 19 Jun 2007 11:19:36 +0000 (14:19 +0300)]
Fix CVE-2007-1536 in internal libmagic, patch from RHEL4.
Panu Matilainen [Tue, 19 Jun 2007 10:45:42 +0000 (13:45 +0300)]
Don't treat provides as implicit obsoletes (rhbz#111071 etc).
This isn't really desired behavior by anybody.
Patch from OpenSuSE / Michael Schroeder
Panu Matilainen [Tue, 19 Jun 2007 10:33:50 +0000 (13:33 +0300)]
Open non-temporary db's before chroot (rhbz#103952, 173285)
Panu Matilainen [Tue, 19 Jun 2007 10:22:41 +0000 (13:22 +0300)]
Don't open temporary databases at rpmdbOpenAll():
Add a helper function for filtering out temp databases and use it in all
the various places.
Panu Matilainen [Tue, 19 Jun 2007 10:00:13 +0000 (13:00 +0300)]
Remove rpm and popt specs, spec files are vendor specific anyway.
Panu Matilainen [Tue, 19 Jun 2007 09:49:07 +0000 (12:49 +0300)]
Nuke antique "reference" baddeps list.
Panu Matilainen [Tue, 19 Jun 2007 09:47:21 +0000 (12:47 +0300)]
Nuke all dependency whiteouts, very much vendor-specific...
Panu Matilainen [Tue, 19 Jun 2007 09:28:12 +0000 (12:28 +0300)]
Nuke default skipDirs list (rhbz#140055 & others).
The skipDir() mechanism left in place for now for vendors to tweak if
they see necessary.
Panu Matilainen [Tue, 19 Jun 2007 04:30:01 +0000 (07:30 +0300)]
Make %_signature default to gpg.
Paul Nasrat [Mon, 18 Jun 2007 13:31:13 +0000 (14:31 +0100)]
Ensure the status of the file which be replaced by another rpm package is
updated
Panu Matilainen [Mon, 18 Jun 2007 09:48:07 +0000 (12:48 +0300)]
Don't segfault on a header without RPMTAG_NAME (rhbz#239557).
Patch from JBJ.
Panu Matilainen [Mon, 18 Jun 2007 05:50:52 +0000 (08:50 +0300)]
Check all header strings to resize buffer CVE-2006-5466 (#212833).
Patch backported from rpm5.org / JBJ.
Panu Matilainen [Mon, 18 Jun 2007 05:29:01 +0000 (08:29 +0300)]
Flush query format buffer before listing files (rhbz#212833).
Patch from JBJ.
Panu Matilainen [Fri, 15 Jun 2007 07:33:36 +0000 (10:33 +0300)]
Don't try to open nonexistent file twice.
Patch from JBJ.
Panu Matilainen [Tue, 12 Jun 2007 08:22:49 +0000 (11:22 +0300)]
Skip packages/headers with non-verifiable signatures and treat
them as errors (rhbz#239557)
Panu Matilainen [Tue, 12 Jun 2007 06:38:35 +0000 (09:38 +0300)]
Updated Polish popt translation (Piotr Drąg)
Panu Matilainen [Mon, 11 Jun 2007 18:08:28 +0000 (21:08 +0300)]
Updated Polish translation from Piotr Drąg.
Panu Matilainen [Mon, 11 Jun 2007 10:22:25 +0000 (13:22 +0300)]
Fix query output when querying for non-installed <name>.<arch> (rhbz#124016)
Panu Matilainen [Mon, 11 Jun 2007 08:59:09 +0000 (11:59 +0300)]
Permit multiple versions of a package to be installed (-i)
within a single transaction (rhbz#213399)
Panu Matilainen [Mon, 11 Jun 2007 07:37:40 +0000 (10:37 +0300)]
Treat null epoch equal to zero epoch in python labelCompare (rhbz#227860).
Patch from JBJ.
Panu Matilainen [Mon, 11 Jun 2007 07:30:29 +0000 (10:30 +0300)]
Treat null epoch equal to zero epoch in freshen (rhbz#143301). Patch from JBJ.
Panu Matilainen [Fri, 8 Jun 2007 13:07:05 +0000 (16:07 +0300)]
Allow characters >127 that don't fit the current locale in the
specfile (e.g. latin1 in utf-8 locale).
Patch from OpenSuSE.
Panu Matilainen [Fri, 8 Jun 2007 11:22:30 +0000 (14:22 +0300)]
Fix a few format string errors in German translation.
Panu Matilainen [Fri, 8 Jun 2007 11:18:53 +0000 (14:18 +0300)]
Run msgfmt in check-mode to detect format string etc errors.
Panu Matilainen [Fri, 8 Jun 2007 10:57:08 +0000 (13:57 +0300)]
Updated Finnish translation.
Fix (by correcting or removing) tonne of dangerously incorrect fuzzy
translations.
Panu Matilainen [Thu, 7 Jun 2007 18:51:59 +0000 (21:51 +0300)]
Ts/db reference counting for match-iterators in python (rhbz#241751)
Adds additional refcounting to the python level ts/db object to avoid
anonymous ts/db from getting deleted while still iterating over it.
Panu Matilainen [Thu, 7 Jun 2007 11:59:45 +0000 (14:59 +0300)]
Ooops, rpmdbFindFpList() not finding anything is not an error...
Panu Matilainen [Thu, 7 Jun 2007 11:56:48 +0000 (14:56 +0300)]
Return error codes from rpmdbFindFpList() on "can't happen" situations.
rpmtsRun() already checks it, and those things can happen in some exotic
cases like rhbz#106057 as non-root, unless the non-temporary db's are opened
before chroot...
Paul Nasrat [Thu, 7 Jun 2007 10:49:48 +0000 (11:49 +0100)]
Detect python2.5
Panu Matilainen [Thu, 7 Jun 2007 10:19:43 +0000 (13:19 +0300)]
Add new srcdefattr macro (Michael Schroeder / OpenSuSE)
Helps avoiding useless warnings when installing src.rpm's etc.
(susebz#48870, rhbz#125515)
Panu Matilainen [Thu, 7 Jun 2007 09:56:22 +0000 (12:56 +0300)]
Another TODO-update.
Panu Matilainen [Thu, 7 Jun 2007 09:15:52 +0000 (12:15 +0300)]
Remove old testing cruft.
Panu Matilainen [Thu, 7 Jun 2007 07:29:54 +0000 (10:29 +0300)]
Minor fix to zh_TW translation (Wei-Lun Chao)
Panu Matilainen [Thu, 7 Jun 2007 06:09:49 +0000 (09:09 +0300)]
Add zh_TW translation (Wei-Lun Chao). Remove empty zh and zh_CN.GB2312 po's.
Panu Matilainen [Wed, 6 Jun 2007 13:56:17 +0000 (16:56 +0300)]
Disable strict aliasing to stop type-punning warning spew.
Panu Matilainen [Wed, 6 Jun 2007 13:12:58 +0000 (16:12 +0300)]
Add db3 back to AC_CONFIG_SUBDIRS. Oops...
Panu Matilainen [Wed, 6 Jun 2007 11:46:47 +0000 (14:46 +0300)]
Make po Makefiles honor datarootdir
Panu Matilainen [Wed, 6 Jun 2007 11:42:19 +0000 (14:42 +0300)]
More auto*foo cleanups:
- move AIX and MINIX checks earlier to avoid complaints
- use AC_PROG_LIBTOOL instead of -RANLIB to avoid obsoletion warning
Panu Matilainen [Wed, 6 Jun 2007 11:40:54 +0000 (14:40 +0300)]
autogen.sh tweaking:
- generate config.rpath from autogen for now (kludge...)
- update autogen "documented versions" to F7 level, remove double versions
checks (and complaints) from file/autogen
Panu Matilainen [Wed, 6 Jun 2007 10:37:18 +0000 (13:37 +0300)]
Unbreak zlib configure check.
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)
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.
Panu Matilainen [Wed, 6 Jun 2007 09:01:24 +0000 (12:01 +0300)]
Allow tests to pass in distcheck where builddir != srcdir.
Panu Matilainen [Tue, 5 Jun 2007 12:34:52 +0000 (15:34 +0300)]
Force FILEVERIFYFLAGS to be a list in python bindings.
Panu Matilainen [Tue, 5 Jun 2007 12:18:49 +0000 (15:18 +0300)]
Python rpm.te Key() refcount fix (rhbz#182063) from JBJ.
Panu Matilainen [Tue, 5 Jun 2007 12:16:37 +0000 (15:16 +0300)]
Fix typo in check-prereq (rhbz#203182) by Steve Grubb.
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.
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.
Panu Matilainen [Tue, 29 May 2007 10:43:06 +0000 (13:43 +0300)]
Restore SIGILL handler in machine detection code.
Patch from OpenSuSE.
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.
Paul Nasrat [Thu, 24 May 2007 13:40:54 +0000 (14:40 +0100)]
Fail if no beecrypt found
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.
Panu Matilainen [Wed, 23 May 2007 09:12:07 +0000 (12:12 +0300)]
Remove hardcoded RH GPG-keys from the source.
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.
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.
Panu Matilainen [Fri, 18 May 2007 13:25:02 +0000 (16:25 +0300)]
Small TODO-update.
Paul Nasrat [Thu, 17 May 2007 10:06:55 +0000 (11:06 +0100)]
Emit diff headers (#237561)
Patch derived from Ville Skytta
Peter Jones [Wed, 16 May 2007 14:59:15 +0000 (10:59 -0400)]
- let diff arguments be specified in the environment
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>
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.
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.
Panu Matilainen [Wed, 16 May 2007 13:18:05 +0000 (16:18 +0300)]
Make rebuilddb work with the --root option.
Patch from OpenSuSE.
Panu Matilainen [Wed, 16 May 2007 13:16:45 +0000 (16:16 +0300)]
Fix building without Lua support.
Patch from OpenSuSE.
pmatilai@dhcp115.koti.laiskiainen.org [Mon, 14 May 2007 13:52:48 +0000 (16:52 +0300)]
- initial TODO for collecting future ideas
Paul Nasrat [Thu, 10 May 2007 12:20:11 +0000 (13:20 +0100)]
Remove SELinux context verification (#193488)
Paul Nasrat [Thu, 10 May 2007 12:15:34 +0000 (13:15 +0100)]
Add mono req/provides support
Alexander Larsson alexl@redhat.com
Paul Nasrat [Thu, 10 May 2007 12:08:38 +0000 (13:08 +0100)]
Use older perl helper scripts by default
Paul Nasrat [Thu, 10 May 2007 11:35:49 +0000 (12:35 +0100)]
Add patch to treat changelog as list
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
Paul Nasrat [Mon, 23 Apr 2007 09:49:31 +0000 (10:49 +0100)]
Fix debugedit for relative paths (#232222)
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
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
Paul Nasrat [Mon, 16 Apr 2007 12:31:04 +0000 (13:31 +0100)]
Fix to handle oldpackages that use HEADERIMAGE
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
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
Paul Nasrat [Mon, 16 Apr 2007 12:23:13 +0000 (13:23 +0100)]
Make rpmdbSync obey the no_dbsync flag
Patch from OpenSuSE
Paul Nasrat [Mon, 16 Apr 2007 12:22:34 +0000 (13:22 +0100)]
Build lua without readline support.
Patch from OpenSuSE
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
Paul Nasrat [Mon, 16 Apr 2007 12:20:30 +0000 (13:20 +0100)]
Fix off-by-one error in glob call.
Fix from OpenSuSE
Paul Nasrat [Mon, 16 Apr 2007 12:19:39 +0000 (13:19 +0100)]
Fix --noghost query option. rh#103207
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
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
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
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
Paul Nasrat [Mon, 16 Apr 2007 12:15:10 +0000 (13:15 +0100)]
Allow "--ignoresize" for erase operations.
Patch from OpenSuSE
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
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
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
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