platform/upstream/rpm.git
17 years agoAdd comment about checking --help to manuals (rhbz#164281)
Panu Matilainen [Fri, 10 Aug 2007 09:09:36 +0000 (12:09 +0300)]
Add comment about checking --help to manuals (rhbz#164281)
As users + admins can tweak popt aliases to their liking, it's impossible
to guarantee than man pages are in sync with what's available...

17 years agoCut down on false perl requires (rhbz#198033...)
Panu Matilainen [Fri, 10 Aug 2007 08:41:24 +0000 (11:41 +0300)]
Cut down on false perl requires (rhbz#198033...)
Patch from John Owens.

17 years agoDepend on external libbeecrypt
Ralf Corsépius [Fri, 10 Aug 2007 08:02:25 +0000 (10:02 +0200)]
Depend on external libbeecrypt

17 years agoDepend on external libpopt
Ralf Corsépius [Fri, 10 Aug 2007 07:43:52 +0000 (09:43 +0200)]
Depend on external libpopt

17 years agoAdd arch to default query output, finally... (rhbz#221148)
Panu Matilainen [Thu, 9 Aug 2007 20:43:39 +0000 (23:43 +0300)]
Add arch to default query output, finally... (rhbz#221148)

17 years agoAvoid truncating /var/log/rpmpkgs in case of errors (rhbz#232830)
Panu Matilainen [Thu, 9 Aug 2007 19:34:49 +0000 (22:34 +0300)]
Avoid truncating /var/log/rpmpkgs in case of errors (rhbz#232830)

17 years agoClarify --initdb usage in manual (rhbz#218057)
Panu Matilainen [Thu, 9 Aug 2007 19:02:02 +0000 (22:02 +0300)]
Clarify --initdb usage in manual (rhbz#218057)

17 years agoSkip stale and unaccessible (FUSE) mountpoints (rhbz#190496, 220991)
Panu Matilainen [Thu, 9 Aug 2007 18:50:56 +0000 (21:50 +0300)]
Skip stale and unaccessible (FUSE) mountpoints (rhbz#190496, 220991)
Ported from rpm5.org work of Jeff Johnson.

17 years agoAvoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
Panu Matilainen [Thu, 9 Aug 2007 16:26:05 +0000 (19:26 +0300)]
Avoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
Don't create .rpmnew and .rpmsave files when file/symlink on disk differs
just by timestamp. Patch by Tomas Mraz.

17 years agoLink rpminject against librpmbuild.
Ralf Corsépius [Thu, 9 Aug 2007 16:03:59 +0000 (18:03 +0200)]
Link rpminject against librpmbuild.

17 years agoUpdate.
Ralf Corsépius [Thu, 9 Aug 2007 14:54:50 +0000 (16:54 +0200)]
Update.

17 years agoFix contact address.
Ralf Corsépius [Thu, 9 Aug 2007 13:45:48 +0000 (15:45 +0200)]
Fix contact address.

17 years agoRun update-po.
Ralf Corsépius [Thu, 9 Aug 2007 13:42:41 +0000 (15:42 +0200)]
Run update-po.

17 years agoConvert to UTF-8.
Ralf Corsépius [Thu, 9 Aug 2007 13:28:10 +0000 (15:28 +0200)]
Convert to UTF-8.

17 years agoRemove ro.po (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 13:20:13 +0000 (15:20 +0200)]
Remove ro.po (Unused).

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 13:19:25 +0000 (15:19 +0200)]
Remove (Unused).

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 13:11:59 +0000 (15:11 +0200)]
Remove (Unused).

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 13:09:57 +0000 (15:09 +0200)]
Remove (Unused).

17 years agoBring tdbi and tsql under automake control.
Ralf Corsépius [Thu, 9 Aug 2007 13:04:18 +0000 (15:04 +0200)]
Bring tdbi and tsql under automake control.

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 12:59:31 +0000 (14:59 +0200)]
Remove (Unused).

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 12:58:33 +0000 (14:58 +0200)]
Remove (Unused).

17 years agoRemove gl.
Ralf Corsépius [Thu, 9 Aug 2007 12:57:06 +0000 (14:57 +0200)]
Remove gl.

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 12:56:54 +0000 (14:56 +0200)]
Remove (Unused).

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 12:46:11 +0000 (14:46 +0200)]
Remove (Unused).

17 years agoRemove (Unused).
Ralf Corsépius [Thu, 9 Aug 2007 12:45:20 +0000 (14:45 +0200)]
Remove (Unused).

17 years agoAvoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
Panu Matilainen [Thu, 9 Aug 2007 12:15:24 +0000 (15:15 +0300)]
Avoid unnecessary .rpmnew and .rpmsave files (rhbz#128622)
Don't create .rpmnew and .rpmsave files when file/symlink on disk differs
just by timestamp. Patch by Tomas Mraz.

17 years agoInclude it and es in translations
Panu Matilainen [Thu, 9 Aug 2007 11:18:11 +0000 (14:18 +0300)]
Include it and es in translations

17 years agoUpdated Italian translation from RHEL 4
Panu Matilainen [Thu, 9 Aug 2007 11:11:31 +0000 (14:11 +0300)]
Updated Italian translation from RHEL 4

17 years agoUpdated Spanish translation from RHEL 4.
Panu Matilainen [Thu, 9 Aug 2007 11:09:29 +0000 (14:09 +0300)]
Updated Spanish translation from RHEL 4.

17 years agoBring tests under automake control.
Ralf Corsépius [Thu, 9 Aug 2007 09:54:23 +0000 (11:54 +0200)]
Bring tests under automake control.

17 years agoAttempt to resurrect trb
Panu Matilainen [Thu, 9 Aug 2007 08:22:40 +0000 (11:22 +0300)]
Attempt to resurrect trb

17 years agoCleanup EXTRA_PROGRAMS.
Ralf Corsépius [Thu, 9 Aug 2007 07:19:29 +0000 (09:19 +0200)]
Cleanup EXTRA_PROGRAMS.
Remove MAGIC.

17 years agoBring test progs under automake control.
Ralf Corsépius [Thu, 9 Aug 2007 07:13:05 +0000 (09:13 +0200)]
Bring test progs under automake control.

17 years agoRemove trhn (No sources).
Ralf Corsépius [Thu, 9 Aug 2007 07:03:13 +0000 (09:03 +0200)]
Remove trhn (No sources).

17 years agoAdd const char *__progname to make it buildable again.
Ralf Corsépius [Thu, 9 Aug 2007 06:26:48 +0000 (08:26 +0200)]
Add const char *__progname to make it buildable again.

17 years agoRemove $(PROGRAMS).
Ralf Corsépius [Thu, 9 Aug 2007 01:44:12 +0000 (03:44 +0200)]
Remove $(PROGRAMS).

17 years agoRemove rpmqv.c from EXTRA_DIST.
Ralf Corsépius [Thu, 9 Aug 2007 01:43:41 +0000 (03:43 +0200)]
Remove rpmqv.c from EXTRA_DIST.

17 years agoEliminate mylibs.
Ralf Corsépius [Wed, 8 Aug 2007 16:12:31 +0000 (18:12 +0200)]
Eliminate mylibs.

17 years agoBring the apps under automake control.
Ralf Corsépius [Wed, 8 Aug 2007 14:54:26 +0000 (16:54 +0200)]
Bring the apps under automake control.

17 years agoFix a couple translations.
Ralf Corsépius [Wed, 8 Aug 2007 13:48:22 +0000 (15:48 +0200)]
Fix a couple translations.

17 years agoRemove WITH_PYTHON_SUBDIR.
Ralf Corsépius [Wed, 8 Aug 2007 13:03:55 +0000 (15:03 +0200)]
Remove WITH_PYTHON_SUBDIR.

17 years agoHard-code python subdir.
Ralf Corsépius [Wed, 8 Aug 2007 13:02:56 +0000 (15:02 +0200)]
Hard-code python subdir.

17 years agoFix permissions
Panu Matilainen [Wed, 8 Aug 2007 12:18:52 +0000 (15:18 +0300)]
Fix permissions

17 years agoRemove BEECRYPTLOBJS, .created.
packman@mccallum.corsepiu.local [Wed, 8 Aug 2007 11:35:00 +0000 (13:35 +0200)]
Remove BEECRYPTLOBJS, .created.

17 years agoAdd a few missing files to POTFILES.in (rhbz#249608)
Panu Matilainen [Mon, 6 Aug 2007 20:09:02 +0000 (23:09 +0300)]
Add a few missing files to POTFILES.in (rhbz#249608)

17 years agorpm is not a cross-tool...
Panu Matilainen [Mon, 6 Aug 2007 12:46:11 +0000 (15:46 +0300)]
rpm is not a cross-tool...

The patch below removes AC_CANONICAL_TARGET from configure.ac and
changes $target to $host.

Background: AC_CANONICAL_TARGET is supposed to take the target of a
cross-tool, not the target of cross-compiling a package
(== a configure script's --host).

Patch from Ralf Corsepius

17 years agoCouple of ARM-related typo fixes from Lennert Buytenhek.
Panu Matilainen [Mon, 6 Aug 2007 11:47:43 +0000 (14:47 +0300)]
Couple of ARM-related typo fixes from Lennert Buytenhek.

17 years agoDetect and use -gnueabi instead of -gnu on ARM as necessary.
Panu Matilainen [Mon, 6 Aug 2007 11:47:10 +0000 (14:47 +0300)]
Detect and use -gnueabi instead of -gnu on ARM as necessary.
Patch from Lennert Buytenhek.

17 years agoUse PACKAGE_BUGREPORT in rpmrc.c's error messages.
Panu Matilainen [Mon, 6 Aug 2007 11:24:29 +0000 (14:24 +0300)]
Use PACKAGE_BUGREPORT in rpmrc.c's error messages.

Background: autoconf supplies a define (PACKAGE_BUGREPORT) which can be
used to provide an email-address for bug reporting. So far, rpmrc.c
sources used a hard-coded addresses instead.

This had caused i18n'ed strings (po/*) to contain different email
addresses for bug reporting. The patch changes this behavior into a the
i18n'ed strings to use the address as a string.

From Ralf Corsepius.

17 years agoRemove dead tficl code..
Panu Matilainen [Mon, 6 Aug 2007 10:31:23 +0000 (13:31 +0300)]
Remove dead tficl code..

17 years agoFix --dump usage description in the manpage.
Panu Matilainen [Mon, 6 Aug 2007 09:58:45 +0000 (12:58 +0300)]
Fix --dump usage description in the manpage.
Patch from Yu Zhiguo.

17 years agoAllow building without python-devel.
Panu Matilainen [Mon, 6 Aug 2007 09:04:05 +0000 (12:04 +0300)]
Allow building without python-devel.

The patch below adds a check for presence of Python.h to configure.ac
and applies automake-conditionals to switch off building rpm's python
bindings if Python.h can't be found.

Patch from Ralf Corsepius.

17 years agoAutomake cleanups from Ralf Corsepius.
Panu Matilainen [Mon, 6 Aug 2007 09:02:54 +0000 (12:02 +0300)]
Automake cleanups from Ralf Corsepius.

* $(mkinstalldirs) in Makefile.ams is an anachronism.
Modern Makefile.ams should use $(MKDIR_P) instead.

* There is one direct call to "mkdir -p" inside of the toplevel
Makefile.am - mkdir -p is non-portable. Portable Makefile.ams should use
MKDIR_P instead.

17 years agoMinor bug fixes to test programs to make them buildable again.
Panu Matilainen [Mon, 6 Aug 2007 09:01:31 +0000 (12:01 +0300)]
Minor bug fixes to test programs to make them buildable again.
Patch from Ralf Corsepius.

17 years agoUpdated Brazilian Portugese translation from Igor Pires Soares.
Panu Matilainen [Mon, 6 Aug 2007 08:46:51 +0000 (11:46 +0300)]
Updated Brazilian Portugese translation from Igor Pires Soares.

17 years agoAutomake cleanups.
Panu Matilainen [Sun, 5 Aug 2007 08:30:55 +0000 (11:30 +0300)]
Automake cleanups.

- Replace INCLUDES with AM_CPPFLAGS
  (INCLUDES has been replaced by AM_CPPFLAGS and is deprecated in
  modern automakes for several years)
- Require autoconf-2.61 and automake-1.10
  (already required by autogen.sh)
- update mkinstalldirs with the version from automake-1.10
  (The version in rpm is ancient and known to be bugged)

Patch from Ralf Corsepius

17 years agoExtract pkgconfig and libtool dependencies automatically.
Panu Matilainen [Tue, 31 Jul 2007 09:06:34 +0000 (12:06 +0300)]
Extract pkgconfig and libtool dependencies automatically.
Ported from rpm5.org work of Jeff Johnson.

17 years agoFixing fallout from MARK64 removal..
Panu Matilainen [Mon, 30 Jul 2007 10:43:22 +0000 (13:43 +0300)]
Fixing fallout from MARK64 removal..

17 years agoUpdate internal BDB to version 4.6.18.
Panu Matilainen [Mon, 30 Jul 2007 08:58:31 +0000 (11:58 +0300)]
Update internal BDB to version 4.6.18.

17 years agoGet python to honor prefix on install
Panu Matilainen [Thu, 26 Jul 2007 07:50:06 +0000 (10:50 +0300)]
Get python to honor prefix on install

17 years agoSet libdir /usr/lib vs lib64 directly, drop MARK64 stuff
Panu Matilainen [Wed, 25 Jul 2007 14:10:57 +0000 (17:10 +0300)]
Set libdir /usr/lib vs lib64 directly, drop MARK64 stuff

17 years agoRpm's "stuff" is in pkglibdir, not libdir, fix usage in install-data-local
Panu Matilainen [Wed, 25 Jul 2007 14:05:36 +0000 (17:05 +0300)]
Rpm's "stuff" is in pkglibdir, not libdir, fix usage in install-data-local

17 years agoFlatten python makefiles, path tweaks
Panu Matilainen [Wed, 25 Jul 2007 14:04:15 +0000 (17:04 +0300)]
Flatten python makefiles, path tweaks

17 years agoAdd initial rpm.pc pkg-config support.
Panu Matilainen [Wed, 25 Jul 2007 12:36:58 +0000 (15:36 +0300)]
Add initial rpm.pc pkg-config support.

17 years agoUpdate translations..
Panu Matilainen [Tue, 24 Jul 2007 12:19:39 +0000 (15:19 +0300)]
Update translations..

17 years agoUpdate TODO
Panu Matilainen [Tue, 24 Jul 2007 12:18:17 +0000 (15:18 +0300)]
Update TODO
- popt and internal libmagic removed
- gettext-system updated
- bdb has already been updated (only not taken advantage of yet)
- "make distcheck" actually works now

17 years agoAdd linit.h to liblua sources (distcheck sanity)
Panu Matilainen [Tue, 24 Jul 2007 12:17:04 +0000 (15:17 +0300)]
Add linit.h to liblua sources (distcheck sanity)

17 years agoFurther makefile cleanups.
Panu Matilainen [Tue, 24 Jul 2007 11:59:58 +0000 (14:59 +0300)]
Further makefile cleanups.
- don't use wildcards in EXTRA_DIST
- additional -local uninstall and distclean targets to clean up what
  the make did

17 years agoMore gettext cleanups.
Panu Matilainen [Tue, 24 Jul 2007 11:21:32 +0000 (14:21 +0300)]
More gettext cleanups.
- Use po/LINGUAS for language list instead of ALL_LINGUAS in configure.ac
- replace obsolete INTLLIB with LIBINTL, gee..

17 years agoFool bdb make system to "work" with distcheck
Panu Matilainen [Tue, 24 Jul 2007 11:14:27 +0000 (14:14 +0300)]
Fool bdb make system to "work" with distcheck

17 years agoRun autopoint from autogen to generate necessary gettext-things.
Panu Matilainen [Tue, 24 Jul 2007 11:13:13 +0000 (14:13 +0300)]
Run autopoint from autogen to generate necessary gettext-things.
Remove automatically generated files.

17 years agoPython install path fiddling to appease with distcheck
Panu Matilainen [Tue, 24 Jul 2007 10:10:31 +0000 (13:10 +0300)]
Python install path fiddling to appease with distcheck

17 years agoUse python distutils for determining include etc paths
Panu Matilainen [Tue, 24 Jul 2007 08:55:37 +0000 (11:55 +0300)]
Use python distutils for determining include etc paths

17 years agoKill of one more rpmfile reference
Panu Matilainen [Tue, 24 Jul 2007 07:19:55 +0000 (10:19 +0300)]
Kill of one more rpmfile reference

17 years agoExpect neon headers to live in neon/ directory in include path
Panu Matilainen [Tue, 24 Jul 2007 07:13:28 +0000 (10:13 +0300)]
Expect neon headers to live in neon/ directory in include path

17 years agoExpect beecrypt headers to live in beecrypt/ directory in include path
Panu Matilainen [Tue, 24 Jul 2007 07:07:23 +0000 (10:07 +0300)]
Expect beecrypt headers to live in beecrypt/ directory in include path

17 years agoRip out internal libmagic, require external.
Panu Matilainen [Tue, 24 Jul 2007 06:59:33 +0000 (09:59 +0300)]
Rip out internal libmagic, require external.
This is going to need more sorting out...

17 years agoAlways create ChangeLog from scratch on make dist.
Panu Matilainen [Mon, 23 Jul 2007 10:12:14 +0000 (13:12 +0300)]
Always create ChangeLog from scratch on make dist.

17 years agoUpdate scriptlet names to match current reality (rhbz#248128)
Panu Matilainen [Mon, 23 Jul 2007 07:43:47 +0000 (10:43 +0300)]
Update scriptlet names to match current reality (rhbz#248128)

17 years agoAvoid static buffer and extra copy in docdir checking.
Panu Matilainen [Mon, 23 Jul 2007 07:02:54 +0000 (10:02 +0300)]
Avoid static buffer and extra copy in docdir checking.
From rpm5.org / Ralf S. Engelschall.

17 years agoSupport fully qualified $Foo::Bar::VERSION expressions (rhbz#249135).
Panu Matilainen [Sat, 21 Jul 2007 12:48:03 +0000 (15:48 +0300)]
Support fully qualified $Foo::Bar::VERSION expressions (rhbz#249135).
Patch from Ville Skyttä.

17 years agoMake rpmdbCheckTerminate() non-terminating.
Panu Matilainen [Sat, 21 Jul 2007 12:05:19 +0000 (15:05 +0300)]
Make rpmdbCheckTerminate() non-terminating.
This allows use in exit handler without affecting exit code, and permits
caller to do its own cleanup if necessary.

17 years agoForce rpmdb clean termination on exit from python.
Panu Matilainen [Fri, 20 Jul 2007 08:23:11 +0000 (11:23 +0300)]
Force rpmdb clean termination on exit from python.
Python process tracebacking with active iterators can and will otherwise leave
stale locks around (as is presumably the reason for rhbz#235389 and various
other locking issues)

17 years agoSupport explicitly asking from rpmdb cleanup + termination.
Panu Matilainen [Fri, 20 Jul 2007 08:19:56 +0000 (11:19 +0300)]
Support explicitly asking from rpmdb cleanup + termination.
New rpmdbCheckTerminate() function which checks for termination signals
and allows requesting termination via parameter as well. Make
rpmdbCheckSignals() just a wrapper that calls it with terminate=0.

17 years agoAdd python methods for checking pending signals from rpmsqCaught.
Panu Matilainen [Fri, 20 Jul 2007 07:41:15 +0000 (10:41 +0300)]
Add python methods for checking pending signals from rpmsqCaught.
- a thin wrapper for rpmdbCheckSignals() from rpm5.org / Jeff Johnson
- a function taking a list of signals to check and returning list caught
  signals (python doesn't know about signal sets so rpmsqCaught needs
  wrapping)

17 years agoUse type from headerGet*(), not tagType() for now
Panu Matilainen [Wed, 18 Jul 2007 13:05:56 +0000 (16:05 +0300)]
Use type from headerGet*(), not tagType() for now
Blows up with header extensions...

17 years agoUpdate internal BDB to version 4.5.20
Panu Matilainen [Mon, 16 Jul 2007 13:48:14 +0000 (16:48 +0300)]
Update internal BDB to version 4.5.20

17 years agoRemove long unused rpm.c, also removals from EXTRA_DIST
Panu Matilainen [Mon, 16 Jul 2007 13:20:51 +0000 (16:20 +0300)]
Remove long unused rpm.c, also removals from EXTRA_DIST

17 years agoRemove ancient, irrelevant README.amiga...
Panu Matilainen [Mon, 16 Jul 2007 13:18:47 +0000 (16:18 +0300)]
Remove ancient, irrelevant README.amiga...

17 years agoUse binary search for looking up tag values + types.
Panu Matilainen [Mon, 16 Jul 2007 13:14:51 +0000 (16:14 +0300)]
Use binary search for looking up tag values + types.
Mostly derived from rpm5.org work of Jeff Johnsson, additionally
- fix thinko in bsearch result stabilization logic
- fix querytags in verbose mode to actually show the types as intended

17 years agoFull sync of RPMTAG_* definitions with rpm5.org.
Panu Matilainen [Mon, 16 Jul 2007 10:39:48 +0000 (13:39 +0300)]
Full sync of RPMTAG_* definitions with rpm5.org.

As promised on rpm-maint:
https://lists.dulug.duke.edu/pipermail/rpm-maint/2007-June/000357.html
Now that new tags don't cost anything in terms of python binding etc
maintenance we can at least keep tags compatible so querying cross-rpm
works (mostly - there are differences like md5 vs filedigests)

17 years agoUse tagType() for determining header data types (array or not etc)
Panu Matilainen [Mon, 16 Jul 2007 10:21:41 +0000 (13:21 +0300)]
Use tagType() for determining header data types (array or not etc)

17 years agoDuh, forgot to bring in RPM_MASK_TYPE definition
Panu Matilainen [Mon, 16 Jul 2007 10:17:05 +0000 (13:17 +0300)]
Duh, forgot to bring in RPM_MASK_TYPE definition

17 years agoUse simple and stoopid linear tagType lookup for now.
Panu Matilainen [Mon, 16 Jul 2007 10:13:46 +0000 (13:13 +0300)]
Use simple and stoopid linear tagType lookup for now.

17 years agoAutomatic return types for header tags.
Panu Matilainen [Mon, 16 Jul 2007 08:11:41 +0000 (11:11 +0300)]
Automatic return types for header tags.
Derived from rpm5.org work of Jeff Johnsson

17 years agoUse tagValue() for name->tag lookups instead of manually walking tagtable.
Panu Matilainen [Fri, 13 Jul 2007 11:23:21 +0000 (14:23 +0300)]
Use tagValue() for name->tag lookups instead of manually walking tagtable.

17 years agoUpdate tagtype definitions wrt rpm5.org
Panu Matilainen [Fri, 13 Jul 2007 11:18:00 +0000 (14:18 +0300)]
Update tagtype definitions wrt rpm5.org

17 years agoKill RH-specific _vsflags_up2date, use generic __vsflags in bindings instead
Panu Matilainen [Fri, 13 Jul 2007 09:59:22 +0000 (12:59 +0300)]
Kill RH-specific _vsflags_up2date, use generic __vsflags in bindings instead

17 years agoClean up python ts object creation.
Panu Matilainen [Fri, 13 Jul 2007 09:46:48 +0000 (12:46 +0300)]
Clean up python ts object creation.
- Remove code duplication by making rpmts_Create() just a wrapper that calls
  rpmtsObject to create the instance
- Move the initialization from rpmts_init() to rpmts_new(), calling
  ts.__init__() multiple times isn't something we want to allow (setting
  vsflags multiple times is ok but there's a method to do that already)

17 years agoKill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated.
Panu Matilainen [Thu, 12 Jul 2007 13:10:46 +0000 (16:10 +0300)]
Kill of RPMTAG_RHNPLATFORM: don't add to header, mark deprecated.