platform/upstream/rpm.git
16 years agoUse direct selinux calls for context initialization and matching.
Panu Matilainen [Mon, 3 Sep 2007 11:42:42 +0000 (14:42 +0300)]
Use direct selinux calls for context initialization and matching.

16 years agoAdd dummy macros for our needs when building without SELinux.
Panu Matilainen [Mon, 3 Sep 2007 10:59:42 +0000 (13:59 +0300)]
Add dummy macros for our needs when building without SELinux.

16 years agoKill remaining uses of selinux filecontexts in headers..
Panu Matilainen [Mon, 3 Sep 2007 10:28:20 +0000 (13:28 +0300)]
Kill remaining uses of selinux filecontexts in headers..

16 years agoAutomated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Mon, 3 Sep 2007 09:23:50 +0000 (12:23 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm

16 years agoSanitize SELinux file context initialization.
Panu Matilainen [Mon, 3 Sep 2007 09:23:42 +0000 (12:23 +0300)]
Sanitize SELinux file context initialization.
- do it in a single spot inside tsRun()
- automatically set RPMTRANS_FLAG_NOCONTEXTS if selinux is disabled

16 years agoRemove lint-support.
Ralf Corsépius [Mon, 3 Sep 2007 08:17:40 +0000 (10:17 +0200)]
Remove lint-support.

16 years agoRip out selinux file contexts from headers.
Panu Matilainen [Mon, 3 Sep 2007 07:20:10 +0000 (10:20 +0300)]
Rip out selinux file contexts from headers.
The SELinux file contexts can and do change, and local policies might be
in place, the contexts on the build system at build time have zero relevance
to anything and are just header bloat.
Remove --filecontexts alias while at it, not useful for anything anyway.

16 years agoDon't show merges in dist tarball changelog.
Panu Matilainen [Mon, 3 Sep 2007 05:49:38 +0000 (08:49 +0300)]
Don't show merges in dist tarball changelog.
They're not interesting to somebody viewing what has changed...

16 years agoAutomated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Panu Matilainen [Mon, 3 Sep 2007 05:47:35 +0000 (08:47 +0300)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/

16 years agoEliminate mylibs.
Ralf Corsépius [Mon, 3 Sep 2007 03:11:40 +0000 (05:11 +0200)]
Eliminate mylibs.

16 years agoAutomated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/
Panu Matilainen [Sun, 2 Sep 2007 08:07:43 +0000 (11:07 +0300)]
Automated merge with ssh://pmatilai@login.linux.duke.edu//home/groups/rpm/hg/rpm/

16 years agoAdd missing link libs.
Ralf Corsépius [Sun, 2 Sep 2007 06:17:43 +0000 (08:17 +0200)]
Add missing link libs.

16 years agoAdd missing link libs.
Ralf Corsépius [Sun, 2 Sep 2007 06:17:16 +0000 (08:17 +0200)]
Add missing link libs.

16 years agoAdd missing link libs.
Ralf Corsépius [Sun, 2 Sep 2007 06:16:30 +0000 (08:16 +0200)]
Add missing link libs.

16 years agoInclude rpmio_internal.h.
Ralf Corsépius [Sun, 2 Sep 2007 03:37:31 +0000 (05:37 +0200)]
Include rpmio_internal.h.
Remove _rpmio_debug.
Use "byte" instead of "char" in call to rpmioSlurp.

16 years agoRemove ctags.
Ralf Corsépius [Fri, 31 Aug 2007 17:07:58 +0000 (19:07 +0200)]
Remove ctags.

16 years agoAdd LIBRPMALIAS_FILENAME to CPPFLAGS.
Ralf Corsépius [Fri, 31 Aug 2007 16:54:57 +0000 (18:54 +0200)]
Add LIBRPMALIAS_FILENAME to CPPFLAGS.

16 years agoRemove LIBRPMALIAS_FILENAME.
Ralf Corsépius [Fri, 31 Aug 2007 16:54:13 +0000 (18:54 +0200)]
Remove LIBRPMALIAS_FILENAME.

16 years agoEliminate clean-local:
Ralf Corsépius [Fri, 31 Aug 2007 14:27:10 +0000 (16:27 +0200)]
Eliminate clean-local:

16 years agoAdd RPMCONFIGDIR to CPPFLAGS.
Ralf Corsépius [Fri, 31 Aug 2007 12:38:41 +0000 (14:38 +0200)]
Add RPMCONFIGDIR to CPPFLAGS.

16 years agoSet configdir=@RPMCONFIGDIR@
Ralf Corsépius [Fri, 31 Aug 2007 12:36:46 +0000 (14:36 +0200)]
Set configdir=@RPMCONFIGDIR@

16 years agoRemove dead code (hack from times before pre- and posttrans scripts)
Panu Matilainen [Fri, 31 Aug 2007 11:18:45 +0000 (14:18 +0300)]
Remove dead code (hack from times before pre- and posttrans scripts)

16 years agoVastly updated/rewritten perldeps.pl (rhbz#204800) from Michael Jennings
Panu Matilainen [Fri, 31 Aug 2007 10:52:40 +0000 (13:52 +0300)]
Vastly updated/rewritten perldeps.pl (rhbz#204800) from Michael Jennings

16 years agoRemove unused ancient trpm
Panu Matilainen [Fri, 31 Aug 2007 10:41:14 +0000 (13:41 +0300)]
Remove unused ancient trpm

16 years agoMore junk removal...
Panu Matilainen [Fri, 31 Aug 2007 08:35:51 +0000 (11:35 +0300)]
More junk removal...
- remove ancient orphan cross-build script
- dont install vpkg* scripts

16 years agoRemember to update makefiles wrt latest script removals
Panu Matilainen [Fri, 31 Aug 2007 08:34:07 +0000 (11:34 +0300)]
Remember to update makefiles wrt latest script removals

16 years agoRemove magic.prov|req that were only used by the unused find-bla.pl
Panu Matilainen [Fri, 31 Aug 2007 08:28:52 +0000 (11:28 +0300)]
Remove magic.prov|req that were only used by the unused find-bla.pl

16 years agoRemove unused, ancient getpo.sh
Panu Matilainen [Fri, 31 Aug 2007 08:27:25 +0000 (11:27 +0300)]
Remove unused, ancient getpo.sh

16 years agoRemove print_deps, was only used by unused find-prov/req.pl
Panu Matilainen [Fri, 31 Aug 2007 08:16:16 +0000 (11:16 +0300)]
Remove print_deps, was only used by unused find-prov/req.pl

16 years agoNuke more unused scripts...
Panu Matilainen [Fri, 31 Aug 2007 08:15:16 +0000 (11:15 +0300)]
Nuke more unused scripts...
- http.req doesn't have anything to do with rpm really
- find-prov, -req.pl and get_magic.pl are not used anyway

16 years agoRemove unused ancient sql.prov|req
Panu Matilainen [Fri, 31 Aug 2007 08:06:39 +0000 (11:06 +0300)]
Remove unused ancient sql.prov|req

16 years agoRemove ancient and unused find-{provides|requires}.perl scripts
Panu Matilainen [Fri, 31 Aug 2007 08:05:44 +0000 (11:05 +0300)]
Remove ancient and unused find-{provides|requires}.perl scripts

16 years agoRemove ancient rpmrc -> macros converter, no longer useful
Panu Matilainen [Fri, 31 Aug 2007 07:44:08 +0000 (10:44 +0300)]
Remove ancient rpmrc -> macros converter, no longer useful

16 years agoRemove dead cpan->spec scripts.
Panu Matilainen [Fri, 31 Aug 2007 07:42:08 +0000 (10:42 +0300)]
Remove dead cpan->spec scripts.
These are better served by having a separate upstream from rpm itself...

16 years agoLose unused and obsolete libtool- and pkgconfig .prov, .req scripts
Panu Matilainen [Fri, 31 Aug 2007 07:32:50 +0000 (10:32 +0300)]
Lose unused and obsolete libtool- and pkgconfig .prov, .req scripts
libtooldeps and pkgconfigdeps are used instead.

16 years agoLose unnecessary freshen script.
Panu Matilainen [Fri, 31 Aug 2007 07:30:06 +0000 (10:30 +0300)]
Lose unnecessary freshen script.
Only necessary with implicit obsoletes on provides which we dont (anymore) have.

16 years agoLose ancient and unused perllocate* scripts
Panu Matilainen [Fri, 31 Aug 2007 07:26:21 +0000 (10:26 +0300)]
Lose ancient and unused perllocate* scripts

16 years agoLose ancient and unused brp-redhat
Panu Matilainen [Fri, 31 Aug 2007 07:25:11 +0000 (10:25 +0300)]
Lose ancient and unused brp-redhat

16 years agoRemove installprefix, all:
Ralf Corsépius [Fri, 31 Aug 2007 06:59:17 +0000 (08:59 +0200)]
Remove installprefix, all:

16 years agoEliminate tmpdir, varprefix.
Ralf Corsépius [Fri, 31 Aug 2007 06:56:56 +0000 (08:56 +0200)]
Eliminate tmpdir, varprefix.

16 years agoAdd LOCALSTATEDIR to AM_CPPFLAGS.
Ralf Corsépius [Fri, 31 Aug 2007 06:56:21 +0000 (08:56 +0200)]
Add LOCALSTATEDIR to AM_CPPFLAGS.

16 years agoUse LOCALSTATEDIR instead of hard-coded /var.
Ralf Corsépius [Fri, 31 Aug 2007 06:55:24 +0000 (08:55 +0200)]
Use LOCALSTATEDIR instead of hard-coded /var.

16 years agoUse LOCALSTATEDIR instead of hard-coded /var.
Ralf Corsépius [Fri, 31 Aug 2007 06:55:06 +0000 (08:55 +0200)]
Use LOCALSTATEDIR instead of hard-coded /var.

16 years agoUse LOCALSTATEDIR instead of hard-coded /var.
Ralf Corsépius [Fri, 31 Aug 2007 06:54:41 +0000 (08:54 +0200)]
Use LOCALSTATEDIR instead of hard-coded /var.

16 years agoAttempt to improve libdb_la handling.
Ralf Corsépius [Fri, 31 Aug 2007 06:53:03 +0000 (08:53 +0200)]
Attempt to improve libdb_la handling.

16 years agoGenerate macros from Makefile.am.
Ralf Corsépius [Fri, 31 Aug 2007 03:58:43 +0000 (05:58 +0200)]
Generate macros from Makefile.am.
Replace varprefix with rpmvardir.

16 years agoDon't AC_SUBST varprefix.
Ralf Corsépius [Fri, 31 Aug 2007 03:58:04 +0000 (05:58 +0200)]
Don't AC_SUBST varprefix.
Generate macros from Makefile.am

16 years agoRegenerate.
Ralf Corsépius [Fri, 31 Aug 2007 03:23:25 +0000 (05:23 +0200)]
Regenerate.

16 years agoRemove CVSTAG.
Ralf Corsépius [Fri, 31 Aug 2007 03:05:45 +0000 (05:05 +0200)]
Remove CVSTAG.

16 years agoRemove make-target "noconfig"
Ralf Corsépius [Fri, 31 Aug 2007 02:35:24 +0000 (04:35 +0200)]
Remove make-target "noconfig"

16 years agoRemove make-target "tar"
Ralf Corsépius [Fri, 31 Aug 2007 02:34:33 +0000 (04:34 +0200)]
Remove make-target "tar"

16 years agoRemove AC_SUBST(RPM) (Unused).
Ralf Corsépius [Fri, 31 Aug 2007 02:25:22 +0000 (04:25 +0200)]
Remove AC_SUBST(RPM) (Unused).

16 years agoDrop macrosfiles from rpmrc.in, we don't read it anymore
Panu Matilainen [Thu, 30 Aug 2007 18:32:25 +0000 (21:32 +0300)]
Drop macrosfiles from rpmrc.in, we don't read it anymore

16 years agoAdd check:
Ralf Corsépius [Thu, 30 Aug 2007 16:35:14 +0000 (18:35 +0200)]
Add check:

16 years agoAutomated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Thu, 30 Aug 2007 14:12:08 +0000 (17:12 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm

16 years agoAutomated merge with file:/home/pmatilai/repos/rpm-cli
Panu Matilainen [Thu, 30 Aug 2007 14:06:23 +0000 (17:06 +0300)]
Automated merge with file:/home/pmatilai/repos/rpm-cli

16 years agoGet rpmcli.h includes out of python bindings
Panu Matilainen [Thu, 30 Aug 2007 14:06:14 +0000 (17:06 +0300)]
Get rpmcli.h includes out of python bindings

16 years agoAttempt to make tests/Makefile.am more stabile.
Ralf Corsépius [Thu, 30 Aug 2007 14:04:06 +0000 (16:04 +0200)]
Attempt to make tests/Makefile.am more stabile.

16 years agoAutomated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Thu, 30 Aug 2007 13:50:12 +0000 (16:50 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm

16 years agoAutomated merge with file:/home/pmatilai/repos/rpm-rpmrc
Panu Matilainen [Thu, 30 Aug 2007 13:49:49 +0000 (16:49 +0300)]
Automated merge with file:/home/pmatilai/repos/rpm-rpmrc

16 years agoMassive hacking on tests.
Ralf Corsépius [Thu, 30 Aug 2007 13:33:15 +0000 (15:33 +0200)]
Massive hacking on tests.

16 years agoAdd RPM_XFAIL.
Ralf Corsépius [Thu, 30 Aug 2007 13:32:16 +0000 (15:32 +0200)]
Add RPM_XFAIL.
Try to set HOME to avoid ~/.popt interfering.

16 years agoAutomated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Thu, 30 Aug 2007 13:19:17 +0000 (16:19 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm

16 years agoAdd package.m4 to EXTRA_DIST.
Ralf Corsépius [Thu, 30 Aug 2007 12:54:15 +0000 (14:54 +0200)]
Add package.m4 to EXTRA_DIST.

16 years agoAdd data/*/foo*
Ralf Corsépius [Thu, 30 Aug 2007 12:53:17 +0000 (14:53 +0200)]
Add data/*/foo*

16 years agoNew.
Ralf Corsépius [Thu, 30 Aug 2007 12:50:20 +0000 (14:50 +0200)]
New.

16 years agoMove rollback IDTX out of cli-stuff, its needed by core ts handling too.
Panu Matilainen [Thu, 30 Aug 2007 12:49:31 +0000 (15:49 +0300)]
Move rollback IDTX out of cli-stuff, its needed by core ts handling too.

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

16 years agoDon't read macrosfiles: from rpmrc, use default paths instead.
Panu Matilainen [Thu, 30 Aug 2007 09:22:01 +0000 (12:22 +0300)]
Don't read macrosfiles: from rpmrc, use default paths instead.
Also fixes --macros=<path> option.

16 years agoUse ${abs_builddir} instead of pwd.
Ralf Corsépius [Thu, 30 Aug 2007 05:40:28 +0000 (07:40 +0200)]
Use ${abs_builddir} instead of pwd.
Use ${abs_builddir} in RPMRC.

16 years agoRemove (Merged into doc/Makefile.am).
Ralf Corsépius [Wed, 29 Aug 2007 15:45:33 +0000 (17:45 +0200)]
Remove (Merged into doc/Makefile.am).

16 years agoRemove doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefil...
Ralf Corsépius [Wed, 29 Aug 2007 15:43:20 +0000 (17:43 +0200)]
Remove doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile.

16 years agoMerge-in fr/Makefile.am ja/Makefile.am pl/Makefile.am ru/Makefile.am sk/Makefile.am
Ralf Corsépius [Wed, 29 Aug 2007 15:42:32 +0000 (17:42 +0200)]
Merge-in fr/Makefile.am ja/Makefile.am pl/Makefile.am ru/Makefile.am sk/Makefile.am

16 years agoRemove (Merged into doc/Makefile.am).
Ralf Corsépius [Wed, 29 Aug 2007 15:41:33 +0000 (17:41 +0200)]
Remove (Merged into doc/Makefile.am).

16 years agoReflect having removed doc/manual/Makefile.am
Ralf Corsépius [Wed, 29 Aug 2007 11:06:05 +0000 (13:06 +0200)]
Reflect having removed doc/manual/Makefile.am

16 years agoMerge-in manual/Makefile.am
Ralf Corsépius [Wed, 29 Aug 2007 11:05:42 +0000 (13:05 +0200)]
Merge-in manual/Makefile.am

16 years agoRemove (merged-in into doc/Makefile.am).
Ralf Corsépius [Wed, 29 Aug 2007 11:04:00 +0000 (13:04 +0200)]
Remove (merged-in into doc/Makefile.am).

16 years agoRemove @SET_MAKE@ (anachronism).
Ralf Corsépius [Wed, 29 Aug 2007 11:01:29 +0000 (13:01 +0200)]
Remove @SET_MAKE@ (anachronism).

16 years agoRemove broken translations.
Ralf Corsépius [Wed, 29 Aug 2007 06:07:14 +0000 (08:07 +0200)]
Remove broken translations.

16 years agoEliminate LIBRPMRC_FILENAME.
Ralf Corsépius [Tue, 28 Aug 2007 16:22:11 +0000 (18:22 +0200)]
Eliminate LIBRPMRC_FILENAME.

16 years agoUse SYSCONFDIR "/rpm/platform" instead of hard-coded /etc/rpm/platform.
Ralf Corsépius [Tue, 28 Aug 2007 15:20:35 +0000 (17:20 +0200)]
Use SYSCONFDIR "/rpm/platform" instead of hard-coded /etc/rpm/platform.

16 years agoUse SYSCONFDIR "/rpmrc" instead of hard-coded /etc/rpmrc.
Ralf Corsépius [Tue, 28 Aug 2007 15:01:04 +0000 (17:01 +0200)]
Use SYSCONFDIR "/rpmrc" instead of hard-coded /etc/rpmrc.

16 years agoRework rpmrc generation.
Ralf Corsépius [Tue, 28 Aug 2007 11:21:05 +0000 (13:21 +0200)]
Rework rpmrc generation.

16 years agoRemove SYSCONFIGDIR.
Ralf Corsépius [Tue, 28 Aug 2007 11:20:03 +0000 (13:20 +0200)]
Remove SYSCONFIGDIR.

16 years agoCreate rpmrc from inside of Makefile.
Ralf Corsépius [Tue, 28 Aug 2007 11:19:37 +0000 (13:19 +0200)]
Create rpmrc from inside of Makefile.

16 years agohg sucks rocks
Ralf Corsépius [Tue, 28 Aug 2007 09:49:00 +0000 (11:49 +0200)]
hg sucks rocks

16 years agoSync macrofiles with macrofiles: in rpmrc.
Ralf Corsépius [Tue, 28 Aug 2007 09:34:25 +0000 (11:34 +0200)]
Sync macrofiles with macrofiles: in rpmrc.

16 years agoPropagate SYSCONFDIR.
Ralf Corsépius [Tue, 28 Aug 2007 09:33:39 +0000 (11:33 +0200)]
Propagate SYSCONFDIR.

16 years agoEliminate MACROFILES.
Ralf Corsépius [Tue, 28 Aug 2007 09:33:07 +0000 (11:33 +0200)]
Eliminate MACROFILES.

16 years agoSupport accessing header info in python by object attributes as well.
Panu Matilainen [Tue, 28 Aug 2007 09:07:50 +0000 (12:07 +0300)]
Support accessing header info in python by object attributes as well.

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.

16 years agoAutomated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Tue, 28 Aug 2007 09:02:08 +0000 (12:02 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm

16 years agoCheck for locale.h.
Ralf Corsépius [Tue, 28 Aug 2007 08:58:48 +0000 (10:58 +0200)]
Check for locale.h.

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.

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.

16 years agoAutomated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm
Panu Matilainen [Tue, 28 Aug 2007 06:54:33 +0000 (09:54 +0300)]
Automated merge with ssh://login.linux.duke.edu//home/groups/rpm/hg/rpm

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)

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.

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.

16 years agoAdd -DLOCALEDIR="\"$(localedir)\""
Ralf Corsépius [Tue, 28 Aug 2007 04:46:20 +0000 (06:46 +0200)]
Add -DLOCALEDIR="\"$(localedir)\""