Chanho Park [Wed, 3 Dec 2014 01:15:37 +0000 (10:15 +0900)]
replace obsoleted "find -perm +NNN" syntax
This patch is required when we use findutils-4.5.14 version. When we
tried to upgrade the findutils to 4.5.14 version, I've got below error
because the version of findutils obsoleted "find -perm +NNN".
[ 146s] find: invalid mode '+111'
[ 146s] error: Bad exit status from /var/tmp/rpm-tmp.5tcK7o (%install)
I picked up this patch from openSUSE[1] to solve this problem.
Origin: mail@bernhard-voelker.de
- replace obsoleted "find -perm +NNN" syntax [bnc#842004]
to "-perm /NNN" in debugsource-package.diff and
finddebuginfo.diff.
[1]: https://build.opensuse.org/request/show/200349
Change-Id: I38394427e4a806111550ad8ee560a448dd7a7307
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Łukasz Stelmach [Thu, 27 Nov 2014 14:44:12 +0000 (15:44 +0100)]
Adapt for Yocto, remove pushd/popd bashisms
Apparently Yocto and BitBake do not use bash(1) as /bin/sh and break
when fed with bashisms like pushd/popd.
Bug-Tizen: BTY-21
Change-Id: I1a2781f97968b7290954297820b083759f11f0ed
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Thu, 20 Nov 2014 12:18:23 +0000 (13:18 +0100)]
Remove unnecessary Group tag for localisation packages
Localisation packages should be in the same group as the main package[1].
[1] https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag
Change-Id: Idd50d5a96f03ca316deaec61361016eb59db4065
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Mon, 3 Nov 2014 17:13:55 +0000 (18:13 +0100)]
Remove unnecessary Group tag for documentation packages
With the Group tag explicitly set to "Documentation" trigger rpmlint
errors. With the tag removed from the macro the packages inherit their
parents' groups which makes rpmlint happy.
Change-Id: I3bbb02e58be284ebf36f3cfb0b2fa66b912332d3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Kévin THIERRY [Mon, 4 Aug 2014 06:58:53 +0000 (08:58 +0200)]
Yocto: compatibility: "remove bashism"
Yocto users can use different shells so the code inside recipes should
not be "bash only compliant".
Bug-Tizen: BTY-21
Change-Id: I5e91b4a284e195ff823f25f9eeed12544344c4b0
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
José Bollo [Fri, 3 Oct 2014 15:08:03 +0000 (17:08 +0200)]
MSM: Avoid creating empty access rule files
The msm plugin creates one access rule file
in SMACK_RULES_PATH=/etc/smack/accesses.d for
each RPM installed.
Since Tizen 3, the guideline for packages is
simplified and the new guideline states that
manifest files have to be as simple as:
<manifest>
<request>
<domain name="_"/>
</request>
</manifest>
It means that most access rule files are empty.
Thus, this patch removes the file if it is empty
because without any penality, it improves:
- the start time of the system
- the administration of the system
The start time is improved because at start, all
the files in /etc/smack/accesses.d are read and
loaded to the kernel. As empty files are just removed,
no time is spend to seek it, open it, read it, close it,
apply empty rule.
The administration is also improved because only meaning
access rule files are retains, avoid to have to sort what
is meaning and what is not.
Change-Id: I7b40f2b291f0c1dbcb2f033f62191c651430e3c8
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Maciej J. Karpiuk [Fri, 12 Sep 2014 14:04:01 +0000 (16:04 +0200)]
Fixed rpm crash when trying to access an undefined domain.
Change-Id: I5e84c913d1756320bf31442d87b797ff8b5f4633
José Bollo [Fri, 5 Sep 2014 10:15:21 +0000 (12:15 +0200)]
Remove Smack rules having wrong subject
Names of the software repositories were used as subject of
the generated smack rules. There is no mention of such
behaviour on the help pages in the wiki of tizen.
Bug-Tizen: PTREL-638
Change-Id: Iefef89492ab5c9839cb01d3b62dae4c3637f00f4
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Casey Schaufler [Wed, 27 Aug 2014 16:17:27 +0000 (09:17 -0700)]
Merge "Allow re-execution of the %prep section" into tizen
Vyacheslav Barinov [Thu, 14 Aug 2014 07:52:16 +0000 (11:52 +0400)]
Update autotools files on aarch64
Patch borrowed from OpenSUSE rpm.
We have many packages with old config.sub and config.guess files which don't
have aarch64 support. In order not to patch every separate package, just update
them from rpmbuild during build initialization
Change-Id: I040bab160864edad84fd9cffcff2c9226ef3a4d0
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
Yury Usishchev [Thu, 7 Aug 2014 12:29:59 +0000 (16:29 +0400)]
Remove %suse_version macro
It was added to enable cumulate install, but [1] enables it differently.
[1]: https://review.tizen.org/gerrit/#/c/25635/
Change-Id: I662871adacd4069cb7750fe59135dc20df0e259a
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
Kévin THIERRY [Thu, 24 Jul 2014 11:30:19 +0000 (13:30 +0200)]
Allow re-execution of the %prep section
With Yocto, when building rpm a second time, the do_prep() function
fails because it assumes it hasn't already ran but will be re-using the
previous build directory which hasn't been cleaned. This patch prevent
such a situation to fail.
This issue is not present when building with GBS since every new build
is made in a clean directory but since the yocto recipes are generated
from spec file, it is better to directly correct the spec file.
This patch has no impact on the GBS build.
Bug-Tizen: BTY-15
Change-Id: I1e992b63b41ae76a4d6706046e741dc2d25b15eb
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Yury Usishchev [Thu, 24 Jul 2014 11:17:07 +0000 (15:17 +0400)]
AArch64 enabling
* Fix packaging of python modules
Python site dir is not always in %{_libdir}, %{python_sitearch} is expanded the
same way as configure searches for site dir.
* Add vendor option to configure
* Add suse_version macro
Change-Id: I7d249d9329047c49117c49b52ab89d07e42053f6
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
Mark Salter [Mon, 4 Mar 2013 17:30:16 +0000 (12:30 -0500)]
AArch64 support v2
Here is my updated patch adding AArch64 support. The main change was to
use CANONCOLOR=3 rather than 2.
--Mark
Change-Id: I79e397534d25a4ef4d293222c4cbd415a8fcd6b5
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Ronan Le Martret [Tue, 20 May 2014 10:21:06 +0000 (12:21 +0200)]
Remove $BUILDTARGET to solve build arch armv7l.
Macro --host and --build is defined in %reconfigure, so useless in spec file.
Change-Id: I4d396a824b30ec03f6913028e3a3836dd076a1b8
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Ronan Le Martret [Tue, 22 Apr 2014 12:12:40 +0000 (14:12 +0200)]
Merge python-rpm.spec into rpm.spec and cleaning up the spec file.
Change-Id: Idb234fbe0d1adddeae2523c05879cc09929dddc2
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Patrick McCarty [Wed, 29 Jan 2014 19:20:53 +0000 (11:20 -0800)]
Update changelog
Change-Id: Ice517533b3a0650f6d99c1e8e21e73d3c9b4c178
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
Jacek Pielaszkiewicz [Mon, 20 Jan 2014 12:26:39 +0000 (13:26 +0100)]
Export kernel package name and kernel package release as new macros.
The following macros have been added:
1. %kernel_name - kernel name
2. %kernel_release - kenrel release
Change-Id: Ie3d2b310b839353af2855f1b6a0eff6abff1aeeb
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Karol Lewandowski [Tue, 14 Jan 2014 10:10:15 +0000 (11:10 +0100)]
tizen: Export kernel-devel's package version as %kernel_devel_uname_r
This macro provides full version string of available kernel headers
as provided by kernel-devel package.
This functionality should simplify process of packaging additional
external kernel modules eliminating the step of manual searching
for appropriate kernel build directory, eg.
BuildRequires: kernel-devel
%build
make M=/lib/modules/%{kernel_devel_uname_r}/build modules
Change-Id: Iea73e418065068f8451c42a2a3a4b46a9b5ffaac
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Mikko Ylinen [Fri, 17 Jan 2014 11:39:45 +0000 (13:39 +0200)]
Update changelog
Change-Id: I5c89a4219a882ac589658576c3e81aa4ffbba672
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Jarkko Sakkinen [Fri, 10 Jan 2014 07:47:25 +0000 (09:47 +0200)]
MSM: fix access type length and validation
This patch fixes three issues with access type:
- SMACK_ACCESS_TYPE_LENGHT -> SMACK_ACCESS_TYPE_LENGTH
- Changed the value of SMACK_ACCESS_TYPE_LENGTH from 5 to 6.
- String length was calculated with unsafe 'strlen()'. Changed to
use strlen(type, SMACK_LABEL_LENGTH + 1) instead.
Change-Id: I127d7b2beb8a3258ec1e4a5142f253f842b2fa7a
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Jarkko Sakkinen [Thu, 19 Dec 2013 12:07:44 +0000 (14:07 +0200)]
Security plugin: change policy to advisory
Change policy from enforcing to advisory when access is requested
from unknown domain or permitted to unknown domain. Also trunacated
lines to 80 characters, fixed grammar in the warning messages, and
removed trailing spaces and tabs.
In future, it might make sense to make this behaviour a command-line
option. Added a FIXME comment about that.
Change-Id: Iab78d79a8a28e019ec8601265a59d259fd46f9d6
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Elena Reshetova [Wed, 4 Dec 2013 09:56:07 +0000 (11:56 +0200)]
Security plugin: adding support for l access type
Change-Id: Id61dd99ef2e6a673d3c66a58d71c735b07571970
Rusty Lynch [Tue, 3 Dec 2013 18:17:21 +0000 (10:17 -0800)]
Updating changelog
Change-Id: Ibe31f0a5567947c478f8b089e2e4d7b850019abd
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
Elena Reshetova [Fri, 29 Nov 2013 12:04:53 +0000 (14:04 +0200)]
Security plugin: removing exec label restriction
Change-Id: I1da33e6e842a7f93dade78f2aebc00ed271a271c
Rusty Lynch [Fri, 15 Nov 2013 20:36:22 +0000 (12:36 -0800)]
Update changelog and fix rpmlint error
Change-Id: Id9df4a22a240fe9b1028d4bdca6987b6f58b0211
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
Ronan Le Martret [Thu, 7 Nov 2013 08:25:19 +0000 (09:25 +0100)]
- solve bug PTREL-155, build python-rpm.
Change-Id: Idffe011bde3623d20c647aad8c6bac70b07f83f5
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Adrian Negreanu [Fri, 15 Nov 2013 17:15:54 +0000 (19:15 +0200)]
armv7l:fix faulty line in rpmrc.in
[ 484s] === configuring in db3 (/home/abuild/rpmbuild/BUILD/rpm-4.11.0.1/db3)
[ 484s] configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--disable-dependency-tracking' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--libdir=/usr/lib' '--sysconfdir=/etc' '--localstatedir=/var' '--with-lua' '--with-acl' '--with-cap' '--enable-shared' '--with-msm' '--build=armv7l-tizen-linux-gnueabi' 'build_alias=armv7l-tizen-linux-gnueabi' 'CFLAGS=-O2 -g -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D __SOFTFP__ -ffunction-sections' 'LDFLAGS=-Wl,-Bsymbolic-functions -ffunction-sections' 'CPPFLAGS= -I/usr/include/nss3 -I/usr/include/nspr4 ' 'CXXFLAGS=-O2 -g -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D __SOFTFP__' --cache-file=/dev/null --srcdir=.
[ 485s] configure: WARNING: you should use --build, --host, --target
[ 485s] configure: WARNING: you should use --build, --host, --target
[ 486s] checking build system type... armv7l-tizen-linux-gnueabi
[ 486s] checking host system type... Invalid configuration `__SOFTFP__': machine `__SOFTFP__' not recognized
[ 486s] configure: error: /bin/sh ./../db/dist/config.sub __SOFTFP__ failed
[ 486s] /bin/mv: cannot stat `Makefile': No such file or directory
[ 486s] /bin/cat: Makefile.orig: No such file or directory
[ 486s] make: *** No rule to make target `listobjs'. Stop.
[ 486s] configure: error: ./configure failed for db3
[ 487s] error: Bad exit status from /var/tmp/rpm-tmp.vjacB0 (%build)
[ 487s]
[ 487s]
[ 487s] RPM build errors:
[ 487s] Bad exit status from /var/tmp/rpm-tmp.vjacB0 (%build)
Bug-Id: https://bugs.tizen.org/jira/browse/PTREL-398
Change-Id: I36f45d1d52754bbf02b6596eac0d21a715bd451e
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Adrian Negreanu [Thu, 14 Nov 2013 14:06:23 +0000 (16:06 +0200)]
msm: check libxml/{xmlreader,tree}.h
msmconfig.c:29:25: fatal error: libxml/tree.h: No such file or directory
msmmanifest.c:37:30: fatal error: libxml/xmlreader.h: No such file or directory
Bug-Id: https://bugs.tizen.org/jira/browse/PTREL-397
Change-Id: If287d79f343ca6f6f4be9392f09e17387305fb8a
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Elena Reshetova [Fri, 1 Nov 2013 13:38:11 +0000 (15:38 +0200)]
Security plugin: Removing definition of System domain from default device policy
Change-Id: I8260934c6e5e1421b594545b5c2740e9aaebcfd5
Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Elena Reshetova [Thu, 26 Sep 2013 08:30:54 +0000 (11:30 +0300)]
Security plugin: plugin hooks code refactoring and improvment
Change-Id: I4d44db47865dd5c83fcf28435ffc26a70164b69d
Jacek Bukarewicz [Wed, 11 Sep 2013 09:22:31 +0000 (11:22 +0200)]
Introduction of -locale and -docs subpackages. Moved package to another group
Change-Id: I6cb5d33ff6bb54fb57475578d6d2d632cc45ccfc
Signed-off-by: Jacek Bukarewicz <j.bukarewicz@samsung.com>
Anas Nashif [Mon, 16 Sep 2013 05:10:20 +0000 (01:10 -0400)]
update changes
Change-Id: I983e29c06ce691f740cc559c1fd18a4812a71c81
Anas Nashif [Tue, 10 Sep 2013 17:11:53 +0000 (13:11 -0400)]
remove --target from %configure macros
The target will be determined automatically by the configure scripts
instead of forcing it to be %target_platform of RPM.
Change-Id: I2284de77c28c4d0c7a9e1a9f819f5861eb5b74a0
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Anas Nashif [Wed, 4 Sep 2013 01:17:54 +0000 (21:17 -0400)]
enforce platform for ARM
also set optflag defaults for armv7l
Change-Id: I0cdcc093245b1e121b51327b83300b59d101a30b
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Anas Nashif [Tue, 3 Sep 2013 00:15:36 +0000 (20:15 -0400)]
changes
Anas Nashif [Wed, 21 Aug 2013 08:10:07 +0000 (04:10 -0400)]
update changelog
Elena Reshetova [Mon, 19 Aug 2013 13:43:40 +0000 (16:43 +0300)]
Security plugin: adding checking of return code for dbus policy verification
Elena Reshetova [Mon, 19 Aug 2013 05:42:27 +0000 (08:42 +0300)]
Security plugin: small fixes
- Removing unused code
- Changing the init hook to take care of new libsmack return code
Elena Reshetova [Wed, 7 Aug 2013 10:46:17 +0000 (13:46 +0300)]
Security plugin: removing disable-dchecks option
Anas Nashif [Mon, 5 Aug 2013 16:55:10 +0000 (12:55 -0400)]
update changes and release
Elena Reshetova [Fri, 26 Jul 2013 07:09:13 +0000 (10:09 +0300)]
Security plugin: support for --root option
-adding macros to configure location of default policy
-adding a default security policy to rpm-plugins dir
-adding copying of policy file to chroot dir when rpm is run with --root param
-moving policy saving to post_tsm hook
Elena Reshetova [Tue, 23 Jul 2013 13:37:05 +0000 (16:37 +0300)]
Security plugin: pkg_name allocation in conflict
- fix to the pkg_name allocation in conflict handling
Elena Reshetova [Fri, 5 Jul 2013 11:48:42 +0000 (14:48 +0300)]
Security plugin: allowing multiple domains definition
- allowing multiple domains definition per manifest
- fixing indirect include of config.h
- restricting adding new sw source with the same key info
Alexandru Cornea [Sat, 29 Jun 2013 02:10:40 +0000 (05:10 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Wed, 12 Jun 2013 11:58:21 +0000 (07:58 -0400)]
update changelog
Anas Nashif [Wed, 12 Jun 2013 11:57:26 +0000 (07:57 -0400)]
update macros from project conf
Anas Nashif [Wed, 12 Jun 2013 11:57:05 +0000 (07:57 -0400)]
Merge branch 'tizen' of ssh://review.tizen.org/platform/upstream/rpm into tizen
Elena Reshetova [Fri, 31 May 2013 12:52:22 +0000 (15:52 +0300)]
Security plugin: Adding configuration option --disable-dchecks
Elena Reshetova [Fri, 31 May 2013 12:51:38 +0000 (15:51 +0300)]
Security-plugin: Fix the null pointer comparison
possibility in msmXattrSupport
Anas Nashif [Fri, 10 May 2013 18:52:37 +0000 (14:52 -0400)]
Set license using %license
William Douglas [Tue, 7 May 2013 19:57:42 +0000 (12:57 -0700)]
Fix 32bit kernel builds by not using eu-strip
Right now 32bit kernel builds are failing because eu-strip is not
performing safe operations. In order to work around this, use objdump
as before when running a kernel build (by checking for a Kconfig file
in the BUILDIR).
Change-Id: I8c24eaab9e0ac1dfe21484522ce4e415d21fcb14
Signed-off-by: William Douglas <william.douglas@intel.com>
Elena Reshetova [Mon, 22 Apr 2013 12:16:24 +0000 (15:16 +0300)]
Cleaning up code identation
Elena Reshetova [Thu, 18 Apr 2013 12:19:13 +0000 (15:19 +0300)]
Fix the missing path prefix for Plugin init hook
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
Alexander Kanevskiy [Sat, 13 Apr 2013 06:27:41 +0000 (09:27 +0300)]
Add VCS tag into .src.rpm
Anas Nashif [Fri, 29 Mar 2013 13:53:09 +0000 (06:53 -0700)]
Update changelog
Anas Nashif [Fri, 29 Mar 2013 13:52:58 +0000 (06:52 -0700)]
add find-provides.ksyms
Anas Nashif [Fri, 29 Mar 2013 13:52:38 +0000 (06:52 -0700)]
add find-provides.ksyms
Elena Reshetova [Tue, 26 Mar 2013 13:56:17 +0000 (15:56 +0200)]
init message test
Elena Reshetova [Tue, 26 Mar 2013 08:39:30 +0000 (10:39 +0200)]
Adding Isolated domain to policy
Elena Reshetova [Tue, 26 Mar 2013 08:38:44 +0000 (10:38 +0200)]
Changing smack load path
Anas Nashif [Fri, 22 Mar 2013 18:07:33 +0000 (11:07 -0700)]
Fixed package groups
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.
Nashif, Anas [Fri, 8 Mar 2013 07:50:22 +0000 (23:50 -0800)]
Merge "Keep function symbols for backtraces."
Elena Reshetova [Fri, 8 Mar 2013 07:48:25 +0000 (09:48 +0200)]
Adding System ac domain to the policy
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>
Anas Nashif [Tue, 5 Mar 2013 07:59:00 +0000 (23:59 -0800)]
Fixed find-lang
Anas Nashif [Tue, 5 Mar 2013 07:57:57 +0000 (23:57 -0800)]
Fixed package groups
Anas Nashif [Tue, 5 Mar 2013 07:57:39 +0000 (23:57 -0800)]
add macro no_lang_C
Anas Nashif [Tue, 5 Mar 2013 07:57:17 +0000 (23:57 -0800)]
update find-lang
Anas Nashif [Mon, 4 Mar 2013 22:15:00 +0000 (14:15 -0800)]
Use find-lang from opensuse
Anas Nashif [Thu, 7 Feb 2013 03:02:35 +0000 (19:02 -0800)]
Merge branch 'master' of ssh://tz.otcshare.org/profile/base/rpm
Anas Nashif [Thu, 7 Feb 2013 03:01:03 +0000 (19:01 -0800)]
Call ldconfig
Anas Nashif [Thu, 7 Feb 2013 03:00:44 +0000 (19:00 -0800)]
call ldconfig
Nashif, Anas [Wed, 6 Feb 2013 15:54:16 +0000 (07:54 -0800)]
Merge "Include %{VCS} in rpm -q --info output"
Anas Nashif [Wed, 6 Feb 2013 15:47:44 +0000 (07:47 -0800)]
Move libs back to main package
Anas Nashif [Wed, 6 Feb 2013 15:47:25 +0000 (07:47 -0800)]
move libs back to main package
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.
Elena Reshetova [Mon, 4 Feb 2013 08:14:23 +0000 (10:14 +0200)]
Moving some plugin info prints to debug
Anas Nashif [Sun, 3 Feb 2013 00:54:07 +0000 (16:54 -0800)]
Update to 4.11.0.1
Anas Nashif [Sun, 3 Feb 2013 00:45:34 +0000 (16:45 -0800)]
Update to 4.11.0.1
Anas Nashif [Tue, 29 Jan 2013 13:53:31 +0000 (05:53 -0800)]
update BR for python package
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>
Elena Reshetova [Mon, 28 Jan 2013 07:38:08 +0000 (09:38 +0200)]
Temporally making loading of a configured plugin optional
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]
Elena Reshetova [Thu, 17 Jan 2013 14:20:02 +0000 (16:20 +0200)]
fixing error in cleanup if magic db can't be loaded
Anas Nashif [Thu, 17 Jan 2013 00:25:08 +0000 (16:25 -0800)]
Enable security plugin/Smack
Elena Reshetova [Fri, 4 Jan 2013 10:46:42 +0000 (12:46 +0200)]
Adding security msm plugin
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>
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>
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>
Elena Reshetova [Fri, 4 Jan 2013 11:46:32 +0000 (13:46 +0200)]
Adding manifest support for rpmbuild
Anas Nashif [Mon, 14 Jan 2013 16:54:40 +0000 (08:54 -0800)]
Move build related files to rpm-build
Anas Nashif [Mon, 14 Jan 2013 16:12:39 +0000 (08:12 -0800)]
reorg files in sub-packages
Anas Nashif [Fri, 4 Jan 2013 15:10:17 +0000 (07:10 -0800)]
bump python-rpm to 4.10.91
Anas Nashif [Fri, 4 Jan 2013 13:53:10 +0000 (05:53 -0800)]
spec cleanup
Anas Nashif [Sat, 15 Dec 2012 19:30:24 +0000 (11:30 -0800)]
cleanup macros
Anas Nashif [Sat, 15 Dec 2012 19:30:06 +0000 (11:30 -0800)]
cleanup macros
Anas Nashif [Sat, 15 Dec 2012 16:55:56 +0000 (08:55 -0800)]
update to 4.11.0 beta1