platform/upstream/rpm.git
7 years agoAdding -std=gnu++11 command-line option to CXXFLAGS 58/126658/1 accepted/tizen/4.0/base/20170811.093014 accepted/tizen/4.0/base/20170828.221319 accepted/tizen/base/20170429.025002 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_base/20170428.015534 tizen_4.0.m1_release
Dongkyun, Son [Mon, 24 Apr 2017 12:25:18 +0000 (21:25 +0900)]
Adding -std=gnu++11 command-line option to CXXFLAGS

GCC 6 defaults to -std=gnu++14 instead of -std=gnu++98: the C++11
standard, plus GNU extensions. Tizen prefer to update to gnu++11,
bringing in the C++11 changes but not the C++14 ones.

Change-Id: Idd30e078bf3c9ec1d31c833b5ed68f686308d410
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
7 years agoAdded %posttrans log message for verbose information 17/122517/2
UkJung Kim [Tue, 28 Mar 2017 01:13:30 +0000 (10:13 +0900)]
Added %posttrans log message for verbose information

It takes long time when running %posttrans scripts of packages but there is no way to know what is urunning.
This change adds log message before running each %posttrans script.

Change-Id: I774d1dd28ab6a81ea40da392f293f5a86fa69e43

7 years agoFix the script install procedure 56/124356/3 accepted/tizen/base/20170413.143945 submit/tizen_base/20170412.105805
Slava Barinov [Tue, 11 Apr 2017 07:23:55 +0000 (10:23 +0300)]
Fix the script install procedure

When the %rpmhome is not set to libdir the install order is wrong.

Change-Id: I5f79075298731ec1c60333c3ee0f5c583b07f16b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agopackaging: revert rpmlibdir to /usr/lib/ 17/124217/1
Dongkyun, Son [Mon, 10 Apr 2017 22:40:02 +0000 (07:40 +0900)]
packaging: revert rpmlibdir to /usr/lib/

This change will not have below error on aarch64 caused by rpmconfigdir
error: Unable to open /usr/lib/rpm/rpmrc for reading: Too many levels of symbolic links.

Change-Id: Ic896e64c80bd91a36f0bf4214c9ad4cfe55da2a7
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
7 years agofixup! [4.0] Use strip (instead of eu-strip) to support --strip-debug of *.so at... 45/123645/1 submit/tizen_base/20170410.064620
Youngsoo Choi [Wed, 5 Apr 2017 10:29:07 +0000 (19:29 +0900)]
fixup! [4.0] Use strip (instead of eu-strip) to support --strip-debug of *.so at build time

The command strip has been in use building for chromium-efl like below.

$ strip --remove-section=.comment -o /PATH/TO/libchromium-ewk.so.debug /PATH/TO/libchromium-ewk.so

Also, it has been expected that
the argument libchromium-ewk.so.debug will have section .debug_*
and another argument libchromium-ewk.so will be stripped.

Btw, the libchromium-ewk.so.debug doesn't have the section .debug_*
but the libchromium-ewk.so still has the section.

The argument files need to be switched each other.
With this CL, the libchromium-ewk.so.debug properly has
the section .debug_* like below and libchromium-ewk.so is stripped.

> ...
> 28 .debug_line    048e8963  00000000  00000000  0231a318  2**0
>                   CONTENTS, READONLY, DEBUGGING
> 29 .debug_info    b61b6cbd  00000000  00000000  06c02c7b  2**0
>                   CONTENTS, READONLY, DEBUGGING
> 30 .debug_abbrev  0349bf7f  00000000  00000000  bcdb9938  2**0
>                   CONTENTS, READONLY, DEBUGGING
> 31 .debug_aranges 004047a0  00000000  00000000  c02558b8  2**3
>                   CONTENTS, READONLY, DEBUGGING
> 32 .debug_ranges  015dbc78  00000000  00000000  c065a058  2**3
>                   CONTENTS, READONLY, DEBUGGING
> ...
> 34 .debug_loc     08b66519  00000000  00000000  c1c35cfd  2**0
>                   CONTENTS, READONLY, DEBUGGING
> 35 .debug_str     10b85beb  00000000  00000000  ca79c216  2**0
>                   CONTENTS, READONLY, DEBUGGING
> 36 .debug_frame   00d2f1b4  00000000  00000000  db321e04  2**2
>                   CONTENTS, READONLY, DEBUGGING
> ...

The file size is like below.

before)
3.5G libchromium-ewk.so
 36M libchromium-ewk.so.debug

after)
 36M libchromium-ewk.so
3.5G libchromium-ewk.so.debug

Bug: http://suprem.sec.samsung.net/jira/browse/RWASP-807

Change-Id: I11e80373fa9973663ee2c7b2092ae9a5f678cbc8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
7 years agoAdd %license to all sub-packages 58/122758/1 submit/tizen_base/20170403.103251
SoonKyu Park [Mon, 3 Apr 2017 08:02:51 +0000 (17:02 +0900)]
Add %license to all sub-packages

Change-Id: I1214981ceb82d53c96becbe9d59e87e6272897bd

7 years agoAdd support for %_rpmconfigdir 49/113649/2
Slava Barinov [Fri, 27 Jan 2017 12:21:36 +0000 (15:21 +0300)]
Add support for %_rpmconfigdir

This allows moving rpm configs in x86_64 environment to prevent clashing in multilib
environments.

Change-Id: I8aa94d47f6b6fc6cb1ece88417363bb57ac8c14c
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agoRevert "Add support for Recommends:, Suggests:, Supplements: and Enhances:" 09/116709/1 accepted/tizen/base/20170228.084720 submit/tizen_base/20170228.034447
SoonKyu Park [Tue, 28 Feb 2017 01:13:52 +0000 (10:13 +0900)]
Revert "Add support for Recommends:, Suggests:, Supplements: and Enhances:"

This reverts commit c31c49f42b54dcf6edb8804e633e6b6985acbb41.

Change-Id: I94a88f43ba2db764c7c3a9435683ca26fe97c565

7 years agoRevert "Backporting weak dependencies" 08/116708/1
SoonKyu Park [Tue, 28 Feb 2017 01:13:18 +0000 (10:13 +0900)]
Revert "Backporting weak dependencies"

This reverts commit 822fe26c20549c1e891d874316cf91a7b244c23d.

Change-Id: Ic866ff716b4d547b4499f701b7577d025b89e8db

7 years ago[4.0] Support alternative way to choose between strip and eu-strip 16/114516/2 accepted/tizen/base/20170217.190209 submit/tizen_base/20170216.050845
Geunsik Lim [Sat, 11 Feb 2017 14:25:40 +0000 (23:25 +0900)]
[4.0] Support alternative way to choose between strip and eu-strip

This commit is to solve a stripping issue of chromium-efl (m53).
Note that up-to-date elfutils package(e.g., the elfutils version
0.168 (3a45dbbe7) have fixed this issue. However, GPLv3 is a problem.

Let's support an alternative way to choose between strip (binutils)
and eu-strip (elfutils) to handle in case of a large shared object
such as chromium project. The default strip of rpmbuild is eu-strip.

* Case study: chromium-efl(m53)
Here is how to replace eu-strip (elfutils) with strip (binutils):
$ vi ./packaging/<git-package-name>.spec
  # Let's replace eu-strip (elf-utils) with strip (binutils) in %install.
  export STRIP_DEFAULT_PACKAGE="binutils"

Change-Id: Idca08e2f65ea084c6b5eb3c5cd218477f6da1a5f
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
7 years ago[4.0] Use strip (instead of eu-strip) to support --strip-debug of *.so at build time 95/111795/1 submit/tizen_base/20170210.011342
Geunsik Lim [Mon, 23 Jan 2017 11:04:31 +0000 (20:04 +0900)]
[4.0] Use strip (instead of eu-strip) to support --strip-debug of *.so at build time

eu-strip can not normally remove debugging symbols in case of a large so file
such as libchromium-efl.so (2.8GiB) at build time. The up-to-date version of
eu-strip handles this issue by merging the commit that was submitted by
Mark Wielaard as following:
http://www.mail-archive.com/elfutils-devel@lists.fedorahosted.org/msg04444.html

In order to avoid eu-strip modification such as backporting, use strip(binutils)
instead of eu-strip(elfutils) because the existing strip has already fixed this issue.
before) eu-strip --remove-comment $g $strip_option -f "$1" "$2" || exit
after)  strip --remove-section=.comment  $g $strip_option -o "$1" "$2" || exit

* build error:
eu-strip: /home/abuild/rpmbuild/BUILDROOT/chromium-efl-53.2785.0.36-1.arm/usr/
lib/libchromium-ewk.so: INTERNAL ERROR 936 (0.153-Jan  6 2017): cannot read data from file

* unit test:
$ sudo chroot ~/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/ /bin/bash
$ strip --remove-section=.comment -g ./libchromium-efl.so
$ ls -al

* evaluation:
$ sudo chroot ~/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/ /bin/bash
$ rpm -ivh rpm-build-4.11.0.1-0.armv7l.rpm --force --nodeps
$ git checkout tizen_m53_beta
$ gbs build --define "nodebug 0" ......
  (or ./tizen_src/build/build_mobile.sh -P tzmb_v3.0_target-TM1_mirror -A armv7l)

Change-Id: I7ae755b1f4570a28c0fc3088801b12f2ffd21808
Reported-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Reviewed-by: Dongkyun Son <dongkyun.s@samsung.com>
7 years agoBackporting weak dependencies 15/102115/3 accepted/tizen/base/20170120.121825 submit/tizen_base/20170116.123126
MyungJoo Ham [Wed, 26 Oct 2016 08:32:32 +0000 (17:32 +0900)]
Backporting weak dependencies

Additional modifications to support weak dependencies
(resolving errors from the cherry-pick)

rebased.

Change-Id: I34e9a5b11853dd4c0862dfbb119a3a5b7dd4f2bd
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoAdd support for Recommends:, Suggests:, Supplements: and Enhances: 14/102114/2
Florian Festi [Mon, 17 Feb 2014 10:27:49 +0000 (11:27 +0100)]
Add support for Recommends:, Suggests:, Supplements: and Enhances:

Change-Id: I24f0b1c0e98003a75b097c8afe7be19e21506695
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoOnly use multi thread support with liblzma >= 5.2.0 79/106479/3 accepted/tizen/base/20170106.101320 submit/tizen_base/20170102.104445
Florian Festi [Thu, 26 Nov 2015 10:07:47 +0000 (11:07 +0100)]
Only use multi thread support with liblzma >= 5.2.0

Change-Id: Icac0310111aa3b59197af934659f7b94ca403059

7 years agoprevent exceeding 32 bit memory limitations with multithreaded xz compression 77/106477/2
Per Øyvind Karlsen [Thu, 8 Sep 2016 23:52:39 +0000 (01:52 +0200)]
prevent exceeding 32 bit memory limitations with multithreaded xz compression

As 32 bit build suffers under the limitation of 32 bit address space,
regardless of it's environment would be ie. 64 bit and not have this
constration, rpm must make sure not to exceed this memory limitation.
When using multithreaded xz compression, the number of threads used will
increase the memory usage, making it necessary to check the memory
required with the number of threads to be used.

Number of compression threads will therefore be kept reduced untill
amount of memory required won't exceed this limitation.

For 32 bit binaries running under 64 bit host environment, where less
available memory will be reserved for kernel, easing memory constraints,
determination of this will be done by a combination of checking host
arch as well as whether 32 bit personality flag is set, thereby still
allow a sligthly greater memory usage for such cases to avoid
imposing unnecessatry limitations under such environments.

Change-Id: Ie72827d3067a353a8a48faff9b65595c99f60a4c

7 years agoAdd support for multithreaded xz compression 76/106476/3
Per Øyvind Karlsen [Wed, 12 Aug 2015 01:15:42 +0000 (03:15 +0200)]
Add support for multithreaded xz compression

Change-Id: I77af75943420c65868672f05cbde73563370c351

7 years agoadd support for setting xz memlimit 75/106475/2
Per Øyvind Karlsen [Wed, 12 Aug 2015 01:12:06 +0000 (03:12 +0200)]
add support for setting xz memlimit

Change-Id: If7513a85c77692983bc2cb948f5b92eea3b304d8

7 years agoadd rpmlog(RPMLOG_ERR, ...) for liblzma return codes 74/106474/2
Per Øyvind Karlsen [Wed, 12 Aug 2015 01:12:27 +0000 (03:12 +0200)]
add rpmlog(RPMLOG_ERR, ...) for liblzma return codes

Change-Id: I25c017827b38e2141dcff4d6bfd398f9e1a008c2

7 years agoreflect default xz & lzma compression level changes in macros as well 73/106473/2
Per Øyvind Karlsen [Tue, 22 Sep 2015 16:42:59 +0000 (18:42 +0200)]
reflect default xz & lzma compression level changes in macros as well

Change-Id: I3b95d39e0385ad50a6e8ed244757dd1fa8797f6e

7 years agolowest xz compression level is '0' 72/106472/2
Per Øyvind Karlsen [Tue, 22 Sep 2015 18:50:02 +0000 (20:50 +0200)]
lowest xz compression level is '0'

Change-Id: Ie430058a1ecd3c03627060c1b32080d0d47a3877

7 years agoreally default to default XZ compression level 32/107932/1
Thierry Vignaud [Thu, 12 Feb 2009 10:59:31 +0000 (10:59 +0000)]
really default to default XZ compression level

which BTW fix the default compression level which is 6 instead of 7

Change-Id: I8b9b50a2cd1f64169477a72cc4d36a374d7a9867

7 years agomsm related macros are defined in post scrpit of rpm-security-plugin 29/86029/1 accepted/tizen_3.0.m2_base tizen_3.0 tizen_3.0.m2_base accepted/tizen/3.0.m2/base/20170104.082055 accepted/tizen/3.0/base/20161028.103355 accepted/tizen/base/20161001.020353 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062326 submit/tizen_base/20160927.103203
SoonKyu Park [Tue, 30 Aug 2016 07:38:05 +0000 (16:38 +0900)]
msm related macros are defined in post scrpit of rpm-security-plugin
Remove msm related macros inside macros.in file

Change-Id: I3ae680b13739f92624f757934fe884737c9181bf

7 years agoModify regular expression inside packaging/libsymlink.attr with 'file' package upgrade 26/85026/1 accepted/tizen/base/20160902.071401 submit/tizen_base/20160826.042443
SoonKyu Park [Tue, 23 Aug 2016 09:50:14 +0000 (18:50 +0900)]
Modify regular expression inside packaging/libsymlink.attr with 'file' package upgrade

Change-Id: I4cecbdb5034cef6ca42b8a8ed95792e73bf81c04

7 years agoChange 'libdir' macro re-definition 22/79822/1 accepted/tizen/base/20160715.190135 submit/tizen_base/20160715.025428
SoonKyu Park [Tue, 12 Jul 2016 13:17:42 +0000 (22:17 +0900)]
Change 'libdir' macro re-definition

libdir macro which is re-defined in each platform macro : is not defined by ARCH but by _host_cpu

Change-Id: I2b5a10c817a1b8703bc3e51e8970ea73e49c5815

7 years agoAdd the default path in the script file 28/77628/1 accepted/tizen/base/20160701.180346 submit/tizen_base/20160701.030336
SoonKyu Park [Thu, 30 Jun 2016 09:55:35 +0000 (18:55 +0900)]
Add the default path in the script file

Change-Id: Ie5ccab262eed0494676bddfeba7ee16c25698a79

8 years agoAdd '_rpm_ko_strip_option' which is used in strip of ko files 27/68027/1 accepted/tizen/base/20160504.195829 submit/tizen_base/20160502.042457
SoonKyu Park [Sun, 1 May 2016 08:18:29 +0000 (17:18 +0900)]
Add '_rpm_ko_strip_option' which is used in strip of ko files

Change-Id: I24e489e0a965a85310d045435100f5ad2e95a592

8 years agoModify __libsymlink_exclude_path to exclude path - add ^/usr/lib/debug 70/62970/1 accepted/tizen/base/20160324.155312 submit/tizen_base/20160322.005216
SoonKyu Park [Fri, 18 Mar 2016 06:50:32 +0000 (15:50 +0900)]
Modify __libsymlink_exclude_path to exclude path - add ^/usr/lib/debug

Change-Id: Id4a2f8473d111284afbdb7760736b2a84a5954e4

8 years agoModify __libsymlink_exclude_path to exclude path whose name has digit 93/62093/1 submit/tizen_base/20160315.011333
SoonKyu Park [Thu, 10 Mar 2016 05:20:12 +0000 (14:20 +0900)]
Modify __libsymlink_exclude_path to exclude path whose name has digit

Change-Id: I37f9794b4d009c6c7241b91d1c15b4c60633f62b

8 years agoMake symlink file add to fileattr 04/61104/1 accepted/tizen/base/20160305.090143 submit/tizen_base/20160304.044032
SoonKyu Park [Thu, 25 Feb 2016 00:20:27 +0000 (09:20 +0900)]
Make symlink file add to fileattr

Change-Id: Ice05610d1c23eaf2dc1fb0cdf610feb20ad1cfab

8 years agoChange how to add Package Provide to debuginfo package : add Package Provide using... 83/56983/2 accepted/tizen_common accepted/tizen/base/20160115.111010 accepted/tizen/common/20160120.100937 submit/tizen_base/20160115.000631 submit/tizen_common/20160119.101937
SoonKyu Park [Thu, 14 Jan 2016 06:16:11 +0000 (15:16 +0900)]
Change how to add Package Provide to debuginfo package : add Package Provide using addPackageProvides_for_debuginfo_pkg

Change-Id: Iee094726b58250b7e86ebd3b508e30eb7c5389c9

8 years agoModify eu-strip option to perform strip in post script of rpm package & add option... 39/53439/1 accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/base/20151223.052332 accepted/tizen/common/20160107.114012 accepted/tizen/mobile/20151207.122907 accepted/tizen/tv/20151207.122921 accepted/tizen/wearable/20151207.122945 submit/tizen/20151207.015403 submit/tizen_base/20151223.111112 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_common/20160104.112601
SoonKyu Park [Mon, 7 Dec 2015 01:25:50 +0000 (10:25 +0900)]
Modify eu-strip option to perform strip in post script of rpm package & add option add '_rpm_strip_disable' option and '_rpm_strip_option' to project config.

Change-Id: I3718510670465957e7048db6ed285bd8ed09a5dd

8 years agoModify how to make symbolic link in 'find-debuginfo.sh' script 64/53364/1 accepted/tizen/mobile/20151206.224321 accepted/tizen/tv/20151206.224337 accepted/tizen/wearable/20151206.224357 submit/tizen/20151204.081906
SoonKyu Park [Fri, 4 Dec 2015 08:03:56 +0000 (17:03 +0900)]
Modify how to make symbolic link in 'find-debuginfo.sh' script

Change-Id: I157f6a027820e0448e1ee95e10d1b42e8c95fcea

8 years agoRevert "Modify eu-strip option to perform strip in post script of rpm package & add... 60/53360/1
park [Fri, 4 Dec 2015 07:39:04 +0000 (23:39 -0800)]
Revert "Modify eu-strip option to perform strip in post script of rpm package & add option add '_rpm_strip_disable' option and '_rpm_strip_option' to project config."

This reverts commit dc338f74bbe69185d09a419ecda8e5fa35bb4acb.

Change-Id: I3c15db4307ea877b660ca6ea1056aa0e26b0e182

8 years agoModify eu-strip option to perform strip in post script of rpm package & add option... 47/52747/1 accepted/tizen/mobile/20151127.070342 accepted/tizen/tv/20151127.070348 accepted/tizen/wearable/20151127.070351 submit/tizen/20151127.031713
SoonKyu Park [Thu, 26 Nov 2015 11:10:16 +0000 (20:10 +0900)]
Modify eu-strip option to perform strip in post script of rpm package & add option add '_rpm_strip_disable' option and '_rpm_strip_option' to project config.

Change-Id: I939ca673d8dd06ebd0cb414d5471bdf962d8f5e1

8 years agoMerge "Add support for global LDFLAGS" into tizen
Dongkyun Son [Thu, 4 Jun 2015 13:28:43 +0000 (06:28 -0700)]
Merge "Add support for global LDFLAGS" into tizen

9 years agoAdd support for global LDFLAGS 38/39238/1
Yury Usishchev [Wed, 10 Dec 2014 09:46:57 +0000 (12:46 +0300)]
Add support for global LDFLAGS

New variable global_LDFLAGS can be defined in project config
to set default LDFLAGS during build.

Change-Id: I4da460c26b3f693833c74cb19d7234e78dbd4fc7
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
9 years agomsm: consistency for equally ranked keys 81/38081/2 tizen_3.0.2015.q2_common accepted/tizen/common/20150520.164523 submit/tizen_common/20150518.122814
José Bollo [Fri, 10 Apr 2015 14:32:51 +0000 (16:32 +0200)]
msm: consistency for equally ranked keys

The conflicts within the packages of equally ranked keys
must be treated usually by rpm.

Without this change, installation of conflicting packages
is not possible when msm plugin is active.

Change-Id: I909540524c7e2b43229b8aac90f66430041cbd55
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoChange ',' to '#' in sed 's' command 25/33925/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/common/20150403.125416 accepted/tizen/mobile/20150405.124135 accepted/tizen/tv/20150406.013650 accepted/tizen/wearable/20150405.123324 submit/tizen/20150331.094445 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Yury Usishchev [Fri, 16 Jan 2015 14:25:39 +0000 (17:25 +0300)]
Change ',' to '#' in sed 's' command

After 31699 optflags can contain ',' which breaks macros generation.

Change-Id: I86016ae4f5f97eadeb17c8ad79089539069b7f38
Signed-off-by: Yury Usishchev <y.usishchev@samsung.com>
9 years agooptflags: set _FORTIFY_SOURCE for preproc 99/31699/1
Philippe Coval [Mon, 8 Dec 2014 15:00:20 +0000 (16:00 +0100)]
optflags: set _FORTIFY_SOURCE for preproc

Without it will fail if optflags are not overridden
and raise an error like :

  configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=2
  configure: error: Can not continue. Fix errors mentioned immediately above this line.
  error: Bad exit status from /var/tmp/rpm-tmp.AoOYbS (%build)

More details at :

https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Preprocessor-Options.html#index-Wp-986

Change-Id: I49c8545a0526a1922905ef55de3a59edf9036068
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoMerge "Fixed incorrect writting host_os to platform/macros for uClibc" into tizen accepted/tizen_3.0_ivi accepted/tizen_ivi tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20141203.182814 accepted/tizen/common/20141208.184628 accepted/tizen/ivi/20141212.050448 accepted/tizen/mobile/20141216.071026 accepted/tizen/mobile/20150105.022529 accepted/tizen/tv/20150105.022342 accepted/tizen/wearable/20150105.054705 submit/tizen_common/20141203.144128 submit/tizen_common/20141208.164031 submit/tizen_common/20141209.112152 submit/tizen_ivi/20141208.111111 submit/tizen_ivi/20141209.111111 submit/tizen_mobile/20141216.000000 submit/tizen_mobile/20141216.070921 submit/tizen_mobile/20141231.012840 submit/tizen_mobile/20151202.000001 submit/tizen_tv/20151202.000000 submit/tizen_wearable/20150102.000000 tizen_3.0_ivi_release
Stéphane Desneux (sdx) [Wed, 3 Dec 2014 13:47:50 +0000 (05:47 -0800)]
Merge "Fixed incorrect writting host_os to platform/macros for uClibc" into tizen

9 years agoMerge "allow rpm to custom systemd installation" into tizen
Stéphane Desneux (sdx) [Wed, 3 Dec 2014 13:46:12 +0000 (05:46 -0800)]
Merge "allow rpm to custom systemd installation" into tizen

9 years agoallow rpm to custom systemd installation 21/29921/3
Ronan Le Martret [Wed, 5 Nov 2014 14:35:02 +0000 (15:35 +0100)]
allow rpm to custom systemd installation

Change-Id: I5d0d86ca8788837c78ee078c5dfa6d4396168f95
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoreplace obsoleted "find -perm +NNN" syntax 32/31232/3
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>
9 years agoAdapt for Yocto, remove pushd/popd bashisms 62/30962/4
Ł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>
9 years agoRemove unnecessary Group tag for localisation packages 69/30569/1 accepted/tizen/common/20141121.180717 accepted/tizen/ivi/20141204.033159 accepted/tizen/mobile/20141128.122430 submit/tizen/20141121.083447 submit/tizen_ivi/20141201.222222
Ł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>
9 years agoFixed incorrect writting host_os to platform/macros for uClibc 52/29852/2
Nataliia Koval [Mon, 20 Oct 2014 14:30:08 +0000 (17:30 +0300)]
Fixed incorrect writting host_os to platform/macros for uClibc

Change-Id: I107f04237037daffbc0d972ad9fed84a42836392
Signed-off-by: Nataliia Koval <nataliia.koval@globallogic.com>
9 years agoRemove unnecessary Group tag for documentation packages 43/29743/2 accepted/tizen/common/20141104.235407 accepted/tizen/ivi/20141120.064253 accepted/tizen/mobile/20141119.083810 submit/tizen/20141104.115426 submit/tizen_ivi/20141119.051921 submit/tizen_ivi/20141119.333333 submit/tizen_ivi/20141119.444444 submit/tizen_mobile/20141120.000000
Ł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>
9 years agoYocto: compatibility: "remove bashism" 41/25341/2 accepted/tizen/common/20141027.223138 accepted/tizen/mobile/20141120.054833 submit/tizen_common/20141024.152722 submit/tizen_common/20141027.223054 submit/tizen_mobile/20141120.053809
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>
9 years agoMSM: Avoid creating empty access rule files 63/28363/1
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>
9 years agoFixed rpm crash when trying to access an undefined domain. 10/27510/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20140925.182508 accepted/tizen/common/20141008.190634 accepted/tizen/ivi/20141005.142818 submit/tizen/20140925.072409 submit/tizen_common/20141008.071414 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
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

9 years agoRemove Smack rules having wrong subject 65/27165/1 accepted/tizen/common/20140908.193650 accepted/tizen/ivi/20140912.193607 submit/tizen_common/20140908.122758 submit/tizen_ivi/20140912.000000
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>
9 years agoMerge "Allow re-execution of the %prep section" into tizen
Casey Schaufler [Wed, 27 Aug 2014 16:17:27 +0000 (09:17 -0700)]
Merge "Allow re-execution of the %prep section" into tizen

9 years agoUpdate autotools files on aarch64 33/26033/1 accepted/tizen/common/20140826.160946 accepted/tizen/ivi/20140902.210650 submit/tizen/20140825.050559
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>
9 years agoRemove %suse_version macro 45/25645/2 submit/tizen/20140807.124405 submit/tizen/20140807.133029 submit/tizen_ivi/20140818.000000 submit/tizen_ivi/20140818.000001
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>
9 years agoAllow re-execution of the %prep section 57/24957/2
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>
9 years agoAArch64 enabling 92/25292/1 accepted/tizen/common/20140804.175652 submit/tizen/20140804.114129
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>
9 years agoAArch64 support v2 23/24423/1 accepted/tizen/common/20140724.002209 submit/tizen/20140722.073213
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>
9 years agoRemove $BUILDTARGET to solve build arch armv7l. 25/21425/2 tizen_3.0.m14.2_ivi accepted/tizen/common/20140610.160301 accepted/tizen/ivi/20140625.191701 submit/tizen/20140530.070149 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140624.064036 tizen_3.0.m14.2_ivi_release
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>
10 years agoMerge python-rpm.spec into rpm.spec and cleaning up the spec file. 89/19889/1 submit/tizen/20140515.122830
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>
10 years agoUpdate changelog 13/15913/1 accepted/tizen/generic accepted/tizen/ivi accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140204.211928 accepted/tizen/generic/20140312.123204 accepted/tizen/ivi/20140205.035255 accepted/tizen/ivi/panda/20140312.112815 accepted/tizen/ivi/release/20140312.115358 accepted/tizen/mobile/20140227.070345 submit/tizen/20140204.192312 submit/tizen/20140312.070924 submit/tizen_ivi_release/20140312.071354
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>
10 years agoExport kernel package name and kernel package release as new macros. 92/15392/3
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>
10 years agotizen: Export kernel-devel's package version as %kernel_devel_uname_r 82/14982/2
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>
10 years agoUpdate changelog 61/15261/1 accepted/tizen/mobile accepted/tizen/generic/20140120.103117 accepted/tizen/ivi/20140122.184940 accepted/tizen/mobile/20140122.163056 submit/tizen/20140120.102104
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>
10 years agoMSM: fix access type length and validation 03/14703/1
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>
10 years agoSecurity plugin: change policy to advisory 79/13979/5
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>
10 years agoSecurity plugin: adding support for l access type 81/13381/1 accepted/tizen/20131207.002837 accepted/tizen/20131209.172435 accepted/tizen/20131213.021220 accepted/tizen/generic/20140106.135159 accepted/tizen/mobile/20131216.220231 submit/tizen/20131204.161726 submit/tizen/20131213.021127
Elena Reshetova [Wed, 4 Dec 2013 09:56:07 +0000 (11:56 +0200)]
Security plugin: adding support for l access type

Change-Id: Id61dd99ef2e6a673d3c66a58d71c735b07571970

10 years agoUpdating changelog 32/13332/1 submit/tizen/20131203.181853
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>
10 years agoSecurity plugin: removing exec label restriction 39/13239/2
Elena Reshetova [Fri, 29 Nov 2013 12:04:53 +0000 (14:04 +0200)]
Security plugin: removing exec label restriction

Change-Id: I1da33e6e842a7f93dade78f2aebc00ed271a271c

10 years agoUpdate changelog and fix rpmlint error 93/12493/1 accepted/tizen/20131115.212447 submit/tizen/20131115.204240 submit/tizen_ivi_stable/20131116.104001
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>
10 years ago- solve bug PTREL-155, build python-rpm. 94/11894/3
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>
10 years agoarmv7l:fix faulty line in rpmrc.in 91/12491/1
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>
10 years agomsm: check libxml/{xmlreader,tree}.h 00/12400/2
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>
10 years agoSecurity plugin: Removing definition of System domain from default device policy 73/11673/1 accepted/tizen/20131108.201843 submit/tizen/20131108.095609
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>
10 years agoSecurity plugin: plugin hooks code refactoring and improvment 04/10304/1
Elena Reshetova [Thu, 26 Sep 2013 08:30:54 +0000 (11:30 +0300)]
Security plugin: plugin hooks code refactoring and improvment

Change-Id: I4d44db47865dd5c83fcf28435ffc26a70164b69d

10 years agoIntroduction of -locale and -docs subpackages. Moved package to another group 20/9920/2
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>
10 years agoupdate changes accepted/tizen/20130916.151945 accepted/tizen/20130916.210907 accepted/tizen/20130916.211448 accepted/tizen/20130916.211819 submit/tizen/20130916.051031
Anas Nashif [Mon, 16 Sep 2013 05:10:20 +0000 (01:10 -0400)]
update changes

Change-Id: I983e29c06ce691f740cc559c1fd18a4812a71c81

10 years agoremove --target from %configure macros 97/9897/1
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>
10 years agoenforce platform for ARM 51/9651/1 accepted/tizen/20130912.190057 accepted/tizen/20130912.194240 accepted/tizen/20130913.024734 submit/tizen/20130912.080341 submit/tizen/20130912.090641
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>
10 years agochanges accepted/tizen/ivi/genivi/20140131.033336 accepted/tizen/ivi/genivi/20140215.011425 accepted/tizen/ivi/genivi/20140221.210052 accepted/tizen_ivi_release/20131211.023047 ivi_oct_m2 submit/tizen/20130903.001559 submit/tizen_ivi_genivi/20140131.032339 submit/tizen_ivi_genivi/20140215.011533 submit/tizen_ivi_genivi/20140221.210302 submit/tizen_ivi_release/20131211.023143
Anas Nashif [Tue, 3 Sep 2013 00:15:36 +0000 (20:15 -0400)]
changes

10 years agoupdate changelog
Anas Nashif [Wed, 21 Aug 2013 08:10:07 +0000 (04:10 -0400)]
update changelog

10 years agoSecurity plugin: adding checking of return code for dbus policy verification 32/8432/2
Elena Reshetova [Mon, 19 Aug 2013 13:43:40 +0000 (16:43 +0300)]
Security plugin: adding checking of return code for dbus policy verification

10 years agoSecurity plugin: small fixes 26/8426/1 submit/tizen/20130820.223822
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

10 years agoSecurity plugin: removing disable-dchecks option 27/7827/1
Elena Reshetova [Wed, 7 Aug 2013 10:46:17 +0000 (13:46 +0300)]
Security plugin: removing disable-dchecks option

10 years agoupdate changes and release 72/7772/1 submit/tizen/20130805.171417
Anas Nashif [Mon, 5 Aug 2013 16:55:10 +0000 (12:55 -0400)]
update changes and release

10 years agoSecurity plugin: support for --root option
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

10 years agoSecurity plugin: pkg_name allocation in conflict
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

10 years agoSecurity plugin: allowing multiple domains definition
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

10 years agoresetting manifest requested domain to floor 75/4975/1 accepted/tizen/20130710.214747 submit/tizen/20130710.134739
Alexandru Cornea [Sat, 29 Jun 2013 02:10:40 +0000 (05:10 +0300)]
resetting manifest requested domain to floor

10 years agoupdate changelog accepted/tizen/20130612.195417 submit/tizen/20130612.115901
Anas Nashif [Wed, 12 Jun 2013 11:58:21 +0000 (07:58 -0400)]
update changelog

10 years agoupdate macros from project conf
Anas Nashif [Wed, 12 Jun 2013 11:57:26 +0000 (07:57 -0400)]
update macros from project conf

10 years agoMerge branch 'tizen' of ssh://review.tizen.org/platform/upstream/rpm into tizen
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

10 years agoSecurity plugin: Adding configuration option --disable-dchecks 82/3782/1
Elena Reshetova [Fri, 31 May 2013 12:52:22 +0000 (15:52 +0300)]
Security plugin: Adding configuration option --disable-dchecks

10 years agoSecurity-plugin: Fix the null pointer comparison 81/3781/1
Elena Reshetova [Fri, 31 May 2013 12:51:38 +0000 (15:51 +0300)]
Security-plugin: Fix the null pointer comparison
 possibility in msmXattrSupport

11 years agoSet license using %license
Anas Nashif [Fri, 10 May 2013 18:52:37 +0000 (14:52 -0400)]
Set license using %license

11 years agoFix 32bit kernel builds by not using eu-strip accepted/tizen/20130520.094313 submit/tizen/20130509.184059 submit/tizen/20130517.024101
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>
11 years agoCleaning up code identation accepted/tizen/20130503.230954 submit/tizen/20130503.232628
Elena Reshetova [Mon, 22 Apr 2013 12:16:24 +0000 (15:16 +0300)]
Cleaning up code identation

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