platform/upstream/rpm.git
11 years agoFix the missing path prefix for Plugin init hook
Elena Reshetova [Thu, 18 Apr 2013 12:19:13 +0000 (15:19 +0300)]
Fix the missing path prefix for Plugin init hook

11 years agoFixes to rpm security plugin
Elena Reshetova [Tue, 16 Apr 2013 10:23:37 +0000 (13:23 +0300)]
Fixes to rpm security plugin
 - stricter control over smack64exec label assigment
 - strciter control over dbus interface labels

11 years agoAdd VCS tag into .src.rpm
Alexander Kanevskiy [Sat, 13 Apr 2013 06:27:41 +0000 (09:27 +0300)]
Add VCS tag into .src.rpm

11 years agoUpdate changelog accepted/trunk/20130330.123858 submit/trunk/20130329.135545
Anas Nashif [Fri, 29 Mar 2013 13:53:09 +0000 (06:53 -0700)]
Update changelog

11 years agoadd find-provides.ksyms
Anas Nashif [Fri, 29 Mar 2013 13:52:58 +0000 (06:52 -0700)]
add find-provides.ksyms

11 years agoadd find-provides.ksyms
Anas Nashif [Fri, 29 Mar 2013 13:52:38 +0000 (06:52 -0700)]
add find-provides.ksyms

11 years agoinit message test
Elena Reshetova [Tue, 26 Mar 2013 13:56:17 +0000 (15:56 +0200)]
init message test

11 years agoAdding Isolated domain to policy
Elena Reshetova [Tue, 26 Mar 2013 08:39:30 +0000 (10:39 +0200)]
Adding Isolated domain to policy

11 years agoChanging smack load path
Elena Reshetova [Tue, 26 Mar 2013 08:38:44 +0000 (10:38 +0200)]
Changing smack load path

11 years agoFixed package groups accepted/trunk/20130322.190612 submit/trunk/20130322.180734
Anas Nashif [Fri, 22 Mar 2013 18:07:33 +0000 (11:07 -0700)]
Fixed package groups

11 years agoAdding a new attribute tag to manifest accepted/trunk/20130318.201050 submit/trunk/20130318.200853
Elena Reshetova [Fri, 8 Mar 2013 09:02:45 +0000 (11:02 +0200)]
Adding a new attribute tag to manifest

Attribute tag allows to specify the type of the package (currenlty only application or system)
that affects setting SMACK64EXEC label.

For system packages it isn't set by default and for applications it is set to requested domain.

11 years agoMerge "Keep function symbols for backtraces."
Nashif, Anas [Fri, 8 Mar 2013 07:50:22 +0000 (23:50 -0800)]
Merge "Keep function symbols for backtraces."

11 years agoAdding System ac domain to the policy
Elena Reshetova [Fri, 8 Mar 2013 07:48:25 +0000 (09:48 +0200)]
Adding System ac domain to the policy

11 years agoKeep function symbols for backtraces. accepted/trunk/20130309.052847 submit/trunk/20130306.232316
William Douglas [Wed, 6 Mar 2013 23:18:17 +0000 (15:18 -0800)]
Keep function symbols for backtraces.

In order to get minimal backtraces in gdb without installing
debug-info packages strip packages with eu-strip -g.

Also check for kernel modules and strip them without attempting
to leave minimal function symbols in place (as this does not work
correctly).

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoFixed find-lang accepted/trunk/20130306.083703 submit/trunk/20130305.075905
Anas Nashif [Tue, 5 Mar 2013 07:59:00 +0000 (23:59 -0800)]
Fixed find-lang

11 years agoFixed package groups
Anas Nashif [Tue, 5 Mar 2013 07:57:57 +0000 (23:57 -0800)]
Fixed package groups

11 years agoadd macro no_lang_C
Anas Nashif [Tue, 5 Mar 2013 07:57:39 +0000 (23:57 -0800)]
add macro no_lang_C

11 years agoupdate find-lang
Anas Nashif [Tue, 5 Mar 2013 07:57:17 +0000 (23:57 -0800)]
update find-lang

11 years agoUse find-lang from opensuse
Anas Nashif [Mon, 4 Mar 2013 22:15:00 +0000 (14:15 -0800)]
Use find-lang from opensuse

11 years agoMerge branch 'master' of ssh://tz.otcshare.org/profile/base/rpm accepted/trunk/20130207.030437 submit/trunk/20130207.030314
Anas Nashif [Thu, 7 Feb 2013 03:02:35 +0000 (19:02 -0800)]
Merge branch 'master' of ssh://tz.otcshare.org/profile/base/rpm

11 years agoCall ldconfig submit/trunk/20130207.030105
Anas Nashif [Thu, 7 Feb 2013 03:01:03 +0000 (19:01 -0800)]
Call ldconfig

11 years agocall ldconfig
Anas Nashif [Thu, 7 Feb 2013 03:00:44 +0000 (19:00 -0800)]
call ldconfig

11 years agoMerge "Include %{VCS} in rpm -q --info output"
Nashif, Anas [Wed, 6 Feb 2013 15:54:16 +0000 (07:54 -0800)]
Merge "Include %{VCS} in rpm -q --info output"

11 years agoMove libs back to main package submit/trunk/20130206.154747
Anas Nashif [Wed, 6 Feb 2013 15:47:44 +0000 (07:47 -0800)]
Move libs back to main package

11 years agomove libs back to main package
Anas Nashif [Wed, 6 Feb 2013 15:47:25 +0000 (07:47 -0800)]
move libs back to main package

11 years agoInclude %{VCS} in rpm -q --info output
Simon McVittie [Wed, 6 Feb 2013 15:04:23 +0000 (15:04 +0000)]
Include %{VCS} in rpm -q --info output

When packages are built from a VCS with an automatically-assigned
release number, checking the commit ID of an installed package is
relatively common and important.

11 years agoMoving some plugin info prints to debug
Elena Reshetova [Mon, 4 Feb 2013 08:14:23 +0000 (10:14 +0200)]
Moving some plugin info prints to debug

11 years agoUpdate to 4.11.0.1 accepted/trunk/20130203.005124 submit/trunk/20130203.005409
Anas Nashif [Sun, 3 Feb 2013 00:54:07 +0000 (16:54 -0800)]
Update to 4.11.0.1

11 years agoUpdate to 4.11.0.1
Anas Nashif [Sun, 3 Feb 2013 00:45:34 +0000 (16:45 -0800)]
Update to 4.11.0.1

11 years agoupdate BR for python package
Anas Nashif [Tue, 29 Jan 2013 13:53:31 +0000 (05:53 -0800)]
update BR for python package

11 years agoUpdate changelog
Markus Lehtonen [Tue, 29 Jan 2013 13:44:25 +0000 (15:44 +0200)]
Update changelog

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agoTemporally making loading of a configured plugin optional
Elena Reshetova [Mon, 28 Jan 2013 07:38:08 +0000 (09:38 +0200)]
Temporally making loading of a configured plugin optional

11 years agofixing error in cleanup if magic db can't be loaded [Elena Reshetova]
Anas Nashif [Thu, 17 Jan 2013 14:31:04 +0000 (06:31 -0800)]
fixing error in cleanup if magic db can't be loaded [Elena Reshetova]

11 years agofixing error in cleanup if magic db can't be loaded
Elena Reshetova [Thu, 17 Jan 2013 14:20:02 +0000 (16:20 +0200)]
fixing error in cleanup if magic db can't be loaded

11 years agoEnable security plugin/Smack
Anas Nashif [Thu, 17 Jan 2013 00:25:08 +0000 (16:25 -0800)]
Enable security plugin/Smack

11 years agoAdding security msm plugin
Elena Reshetova [Fri, 4 Jan 2013 10:46:42 +0000 (12:46 +0200)]
Adding security msm plugin

11 years agoMaking pre/post tsm/psm hooks more consistent.
Elena Reshetova [Fri, 30 Nov 2012 16:35:44 +0000 (18:35 +0200)]
Making pre/post tsm/psm hooks more consistent.

-All post hooks take an additional rc argument that indicates general return code from operation.
-All post hooks are always called if correspoding pre hook has been called.
-The return value from post hooks is curently ignored

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
11 years agoImproving scriptlet related rpm plugin hooks.
Elena Reshetova [Thu, 22 Nov 2012 18:49:27 +0000 (20:49 +0200)]
Improving scriptlet related rpm plugin hooks.

Three new hooks added:
PLUGINHOOK_SCRIPTLET_PRE_FUNC
Called before scriptlet execution
PLUGINHOOK_SCRIPTLET_FORK_POST_FUNC
Called after fork() but before scriptlet execution
PLUGINHOOK_SCRIPTLET_POST_FUNC
Called after scriptlet execution

Currently pre and post hooks are called for externals and internal lua scripts.
post hook is called even if scriptlet execution has failed and
the return code is given as an argument.

fork_post hook is only called for external scriptlets,
because for internal scriptlets no fork() is currently performed.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
11 years agoExtending rpm plugin interface, part 1
Elena Reshetova [Wed, 17 Oct 2012 11:55:39 +0000 (14:55 +0300)]
Extending rpm plugin interface, part 1

This change adds a new type of the rpm plugin, called transaction plugin
and a set of initial hooks for this plugin. The hooks are:

PLUGINHOOK_TSM_PRE
    Pre-transaction hook that is called before an rpm transaction begins
PLUGINHOOK_TSM_POST
    Post-transaction hook that is called after an rpm transaction ends
PLUGINHOOK_PSM_PRE
    Pre-transaction-element hook that is called before an rpm
    transaction-element is processed
PLUGINHOOK_PSM_POST
    Post-transaction-element hook that is called after an rpm
    transaction-element is processed
PLUGINHOOK_SCRIPT_SETUP
    Per-script hook that is called once for each rpm mainainers script
    that is present in the package

Each hook is called for every plugin that have this hook registered.
The avaliable transaction plugins can be specified in macros.in via
transaction_plugins element.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
11 years agoAdding manifest support for rpmbuild
Elena Reshetova [Fri, 4 Jan 2013 11:46:32 +0000 (13:46 +0200)]
Adding manifest support for rpmbuild

11 years agoMove build related files to rpm-build
Anas Nashif [Mon, 14 Jan 2013 16:54:40 +0000 (08:54 -0800)]
Move build related files to rpm-build

11 years agoreorg files in sub-packages
Anas Nashif [Mon, 14 Jan 2013 16:12:39 +0000 (08:12 -0800)]
reorg files in sub-packages

11 years agobump python-rpm to 4.10.91
Anas Nashif [Fri, 4 Jan 2013 15:10:17 +0000 (07:10 -0800)]
bump python-rpm to 4.10.91

11 years agospec cleanup
Anas Nashif [Fri, 4 Jan 2013 13:53:10 +0000 (05:53 -0800)]
spec cleanup

11 years agocleanup macros
Anas Nashif [Sat, 15 Dec 2012 19:30:24 +0000 (11:30 -0800)]
cleanup macros

11 years agocleanup macros
Anas Nashif [Sat, 15 Dec 2012 19:30:06 +0000 (11:30 -0800)]
cleanup macros

11 years agoupdate to 4.11.0 beta1
Anas Nashif [Sat, 15 Dec 2012 16:55:56 +0000 (08:55 -0800)]
update to 4.11.0 beta1

11 years agofixed lang_package
Anas Nashif [Fri, 14 Dec 2012 16:57:50 +0000 (08:57 -0800)]
fixed lang_package

11 years agopackaging: change some builddeps to be "pkgconfig" type
Markus Lehtonen [Fri, 14 Dec 2012 01:57:32 +0000 (03:57 +0200)]
packaging: change some builddeps to be "pkgconfig" type

For better portability.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
11 years agolang_package now accepts arguments
Anas Nashif [Sun, 2 Dec 2012 18:48:41 +0000 (10:48 -0800)]
lang_package now accepts arguments

-n to specify package name
-f to specify lang file name (without .lang)

11 years agofixed package description
Anas Nashif [Tue, 27 Nov 2012 05:15:28 +0000 (21:15 -0800)]
fixed package description

11 years agoadd python-rpm spec
Anas Nashif [Wed, 21 Nov 2012 23:37:03 +0000 (15:37 -0800)]
add python-rpm spec

11 years agoremove file sepolicy from list
Anas Nashif [Wed, 21 Nov 2012 22:01:26 +0000 (14:01 -0800)]
remove file sepolicy from list

11 years agoinclude errno.h
Anas Nashif [Wed, 21 Nov 2012 21:58:38 +0000 (13:58 -0800)]
include errno.h

11 years agoupdate to 4.11 alpha (4.10.90)
Anas Nashif [Wed, 21 Nov 2012 21:45:23 +0000 (13:45 -0800)]
update to 4.11 alpha (4.10.90)

11 years agolibfile-devel -> file-devel
Anas Nashif [Thu, 8 Nov 2012 20:05:53 +0000 (12:05 -0800)]
libfile-devel -> file-devel

11 years agolibfile -< libmagic
Anas Nashif [Thu, 8 Nov 2012 20:04:38 +0000 (12:04 -0800)]
libfile -< libmagic

11 years agoAssume executable libs
Anas Nashif [Sun, 14 Oct 2012 04:09:08 +0000 (21:09 -0700)]
Assume executable libs

11 years agoremove patch from suse
Anas Nashif [Sat, 13 Oct 2012 04:12:29 +0000 (21:12 -0700)]
remove patch from suse

11 years agoRemove some old craft
Anas Nashif [Fri, 12 Oct 2012 15:49:44 +0000 (08:49 -0700)]
Remove some old craft

11 years agoRemove some old craft
Anas Nashif [Fri, 12 Oct 2012 15:45:43 +0000 (08:45 -0700)]
Remove some old craft

11 years agoRemove some old craft
Anas Nashif [Fri, 12 Oct 2012 15:35:00 +0000 (08:35 -0700)]
Remove some old craft

11 years agoadd packaging files
Anas Nashif [Thu, 11 Oct 2012 22:56:20 +0000 (15:56 -0700)]
add packaging files

11 years agodisable dep tracking
Anas Nashif [Thu, 11 Oct 2012 22:53:59 +0000 (15:53 -0700)]
disable dep tracking

11 years agoFind supplements
Anas Nashif [Thu, 11 Oct 2012 22:52:52 +0000 (15:52 -0700)]
Find supplements

11 years agoFile attributes
Anas Nashif [Thu, 11 Oct 2012 22:52:02 +0000 (15:52 -0700)]
File attributes

11 years agoremove languages we do not yet support
Anas Nashif [Thu, 11 Oct 2012 22:49:02 +0000 (15:49 -0700)]
remove languages we do not yet support

11 years agoGStreamer provides, codecs
Anas Nashif [Thu, 11 Oct 2012 22:48:26 +0000 (15:48 -0700)]
GStreamer provides, codecs

11 years agoFont dependencies
Anas Nashif [Thu, 11 Oct 2012 22:47:45 +0000 (15:47 -0700)]
Font dependencies

11 years agoPython dependencies
Anas Nashif [Thu, 11 Oct 2012 22:47:01 +0000 (15:47 -0700)]
Python dependencies

11 years agoDon't complain about a bad md5 sum for repackaged rpms.
Anas Nashif [Thu, 11 Oct 2012 22:45:41 +0000 (15:45 -0700)]
Don't complain about a bad md5 sum for repackaged rpms.

11 years agoPrefer sys/vfs.h, as statvfs stats all filesystems again
Anas Nashif [Thu, 11 Oct 2012 22:45:00 +0000 (15:45 -0700)]
Prefer sys/vfs.h, as statvfs stats all filesystems again

11 years agodebug link
Anas Nashif [Thu, 11 Oct 2012 22:43:32 +0000 (15:43 -0700)]
debug link

11 years agoCreate a debuginfo package for each subpackage.
Anas Nashif [Thu, 11 Oct 2012 22:42:33 +0000 (15:42 -0700)]
Create a debuginfo package for each subpackage.

Originally from opensuse rpm

11 years agoLet debuginfo packages provide the build-id
Anas Nashif [Thu, 11 Oct 2012 22:32:35 +0000 (15:32 -0700)]
Let debuginfo packages provide the build-id

This patch lets debuginfo packages provide build-id like follows:

 debuginfo(build-id) = c63cb23876c5fa85f36beaff58f8557e1bf22517

Users can therefore ask zypper to install the correct debuginfo package
with:

 zypper install -C "debuginfo(build-id) = c63cb23876c5fa85f36beaff58f8557e1bf22517"

11 years agoFirmware dependencies
Anas Nashif [Thu, 11 Oct 2012 22:30:04 +0000 (15:30 -0700)]
Firmware dependencies

11 years agoDo the symbolic links right in the first place
Anas Nashif [Thu, 11 Oct 2012 22:28:50 +0000 (15:28 -0700)]
Do the symbolic links right in the first place

Since brp-symlink relinks symbolic links to enforce a certain policy we
should do it right in the first place. So this patch changes find-debuginfo.sh
scripts behavior to reflect that policy.

Signed-off-by: Jan Blunck <jblunck@suse.de>
11 years agodebugedit canon fix
Anas Nashif [Thu, 11 Oct 2012 22:27:31 +0000 (15:27 -0700)]
debugedit canon fix

11 years agoremove references to removed brp scripts
Anas Nashif [Thu, 11 Oct 2012 22:26:14 +0000 (15:26 -0700)]
remove references to removed brp scripts

11 years agoSplit sources for debugging into separate -debugsource package
Anas Nashif [Thu, 11 Oct 2012 22:24:15 +0000 (15:24 -0700)]
Split sources for debugging into separate -debugsource package

At the moment the -debuginfo package also include the sources where used
to build the binary. The patches moves them into a separate package -debugsource.

11 years agoshort changelog
Anas Nashif [Thu, 11 Oct 2012 22:23:31 +0000 (15:23 -0700)]
short changelog

11 years agoSupport a "first version wins" semantics.
Anas Nashif [Thu, 11 Oct 2012 22:22:40 +0000 (15:22 -0700)]
Support a "first version wins" semantics.

11 years agoProvide rpmqpack
Anas Nashif [Thu, 11 Oct 2012 22:19:09 +0000 (15:19 -0700)]
Provide rpmqpack

a fast way to list all installed packages are
check if some package is installed. This is a hack.

11 years agostrip off the tag
Anas Nashif [Thu, 11 Oct 2012 22:17:10 +0000 (15:17 -0700)]
strip off the tag

11 years agoadding find-supplements scripts
Anas Nashif [Thu, 11 Oct 2012 22:15:50 +0000 (15:15 -0700)]
adding find-supplements scripts

11 years agorpmrc changes
Anas Nashif [Thu, 11 Oct 2012 22:15:28 +0000 (15:15 -0700)]
rpmrc changes

11 years agoAdd distribution
Anas Nashif [Thu, 11 Oct 2012 22:11:03 +0000 (15:11 -0700)]
Add distribution

11 years agoplatform changes
Anas Nashif [Thu, 11 Oct 2012 22:09:49 +0000 (15:09 -0700)]
platform changes

11 years agoModule aliases
Anas Nashif [Thu, 11 Oct 2012 22:06:22 +0000 (15:06 -0700)]
Module aliases

11 years agoMacro adjustments
Anas Nashif [Thu, 11 Oct 2012 22:05:13 +0000 (15:05 -0700)]
Macro adjustments

11 years agoFind debuginfo
Anas Nashif [Thu, 11 Oct 2012 21:56:57 +0000 (14:56 -0700)]
Find debuginfo

11 years agoExclude /usr/share/info/dir from check-files.
Anas Nashif [Thu, 11 Oct 2012 21:47:26 +0000 (14:47 -0700)]
Exclude /usr/share/info/dir from check-files.

11 years agobrp for tizen
Anas Nashif [Thu, 11 Oct 2012 21:43:08 +0000 (14:43 -0700)]
brp for tizen

11 years agoauto dependencies
Anas Nashif [Thu, 11 Oct 2012 21:13:29 +0000 (14:13 -0700)]
auto dependencies

11 years agoAdd support for weak dependencies:
Anas Nashif [Thu, 11 Oct 2012 19:40:31 +0000 (12:40 -0700)]
Add support for weak dependencies:

A) use RPMTAG_SUGGESTS and RPMTAG_ENHANCES to store them.

   This is different to upstream, which uses RPMSENSE_MISSINGOK
   and RPMTAG_REQUIRES/RPMTAG_PROVIDES instead. I chose different
   tags because I wanted to be compatible. The point is that
   applications that don't know about the new MISSINGOK semantics
   will mis-interpret the provides/requires otherwise, which
   I deemed to risky.

B) use RPMSENSE_STRONG to support a "strong" version, "Recommends"
   instead of "Suggests" and "Supplements" instead of "Enhances".

11 years agoSuspend exclusive database lock when scriptlets get called
Anas Nashif [Thu, 11 Oct 2012 19:38:04 +0000 (12:38 -0700)]
Suspend exclusive database lock when scriptlets get called

Suspend exclusive database lock when scriptlets get called, allowing
read access in scriptlets. Only needed for DB_PRIVATE (aka global)
locking.

11 years agoFix global (DB_PRIVATE) lock code
Anas Nashif [Thu, 11 Oct 2012 19:37:11 +0000 (12:37 -0700)]
Fix global (DB_PRIVATE) lock code

Fix global (DB_PRIVATE) lock code: fix recursion counter, retry
failed lock operations for up to 3 minutes.

11 years agoAllow updates to different architectures
Anas Nashif [Thu, 11 Oct 2012 19:35:52 +0000 (12:35 -0700)]
Allow updates to different architectures

Also test architecture in "refresh" test when not colored. This allows
updates to different architectures.

11 years agoExtended condition support
Anas Nashif [Thu, 11 Oct 2012 19:34:48 +0000 (12:34 -0700)]
Extended condition support

This patch supports an extension in the condition evaluation.
If the condition is a format and returns an nonempty string, it is
assumed to be true.
This mechanism is used by the weakdeps patch to filter the
"RPMSENSE_STRONG" flag.

11 years agodb ro interruptable
Anas Nashif [Thu, 11 Oct 2012 19:33:26 +0000 (12:33 -0700)]
db ro interruptable