tools/librpm-tizen.git
9 years agorpm packaging: fix build deps for CentOS 7 devel_psk_20160727 release-20160315 release-20160411 release-20160531 release-20160615 release-20160930 release-20161231 spin-release-latest
Markus Lehtonen [Fri, 12 Sep 2014 08:21:37 +0000 (11:21 +0300)]
rpm packaging: fix build deps for CentOS 7

Change-Id: I24adddedc2ef5d6cf192186ad613b7a599686449
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: Release for Tizen tools release-for-gbs-0.23 release-test-0.1 tizen-tools/4.11.0.1.tizen20140530-20140723
Markus Lehtonen [Wed, 23 Jul 2014 19:52:03 +0000 (19:52 +0000)]
packaging: Release for Tizen tools

Change-Id: I0a63f775da6234f353b2212fadda72aaac4d8941

9 years agorpm-packaging: enable customized autoreq
Markus Lehtonen [Wed, 23 Jul 2014 15:10:50 +0000 (18:10 +0300)]
rpm-packaging: enable customized autoreq

Enable automatic requirement processing. However, filter out all librpm*
stuff so that the package is installable (basically things that would be
auto-provided by the package). We still do not want to enable autoprov
in order to not interfere the host systems dependency chains.

Change-Id: I1b5e6627f42af0f78021b6db485e88ff30b96aed
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: enable lua 5.2 for openSUSE
Markus Lehtonen [Wed, 23 Jul 2014 15:08:43 +0000 (18:08 +0300)]
packaging: enable lua 5.2 for openSUSE

Lua 5.2 is now supported by us - already enabled for Fedora.

Change-Id: I8a8eb483b567eafa955216b80461389a5c1271fd
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoRebase on top of latest Tizen 3.0 code test-devel
Markus Lehtonen [Wed, 11 Jun 2014 14:55:43 +0000 (17:55 +0300)]
Rebase on top of latest Tizen 3.0 code

Change-Id: Ie9de5638834ec6486c73427f6bd6b315dcb8eaec
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: Release for Tizen tools
Markus Lehtonen [Thu, 6 Mar 2014 12:49:48 +0000 (12:49 +0000)]
packaging: Release for Tizen tools

Change-Id: Id154cb42ba03e65d493be799ac1a3eef3e13e71e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agogbp.conf: add packaging tag and changelog revision format
Markus Lehtonen [Thu, 6 Mar 2014 10:40:54 +0000 (12:40 +0200)]
gbp.conf: add packaging tag and changelog revision format

Change-Id: I095ac303e3f32b101f72f3d38f19bd8c1f433984
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoFinish lua 5.2 support, trac #865
Johannes Dewender [Thu, 4 Apr 2013 17:11:48 +0000 (19:11 +0200)]
Finish lua 5.2 support, trac #865

Lua52 support was started with ac959fed0082cb253d45c7a04866e8654e962442.

Compilation tested with Lua 5.2.1 and Lua 5.1.5.

The short typerror() snippet is taken from luaL_typerror in Lua 5.1.5
(MIT license)

Signed-off-by: Johannes Dewender <rpm@JonnyJD.net>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
9 years agopackaging: Release, update changelogs
Markus Lehtonen [Tue, 1 Oct 2013 09:14:10 +0000 (12:14 +0300)]
packaging: Release, update changelogs

Change-Id: I6875afeedc9162507144be89cae6ba0fc95093ba
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agolua: fall through failed lua scripts
Markus Lehtonen [Mon, 16 Sep 2013 12:36:43 +0000 (15:36 +0300)]
lua: fall through failed lua scripts

Just print a warning. In addition, set Lua output buffer to contain
string "1" for failed scripts.

Change-Id: Id0478b64ac942fe6839f3cd8c9bb75c9b15382b2
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agolua: Enable Lua
Markus Lehtonen [Mon, 16 Sep 2013 11:33:16 +0000 (14:33 +0300)]
lua: Enable Lua

However, disable the "io" and "os" standard libraries and only enable
the access() function from the "posix" extension library.

Change-Id: If3b5f0776f6684af4ebaeb7bff742ab9a2123221
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoIgnore bad expressions in %if conditionals
Markus Lehtonen [Fri, 6 Sep 2013 07:11:49 +0000 (10:11 +0300)]
Ignore bad expressions in %if conditionals

Yet another hack to allow successful parsing of spec files in host
environment.

Change-Id: Ie47ee06b13d3e8a79e583fc6ec97350e45237cca
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: Update changelog and release number
Markus Lehtonen [Wed, 21 Aug 2013 11:35:39 +0000 (14:35 +0300)]
packaging: Update changelog and release number

Change-Id: I828d063df4980f965a81b74b8cffa9d5b7835e12
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agofix segmentation fault error while parsing spec
Zhang Qiang [Wed, 21 Aug 2013 07:40:35 +0000 (15:40 +0800)]
fix segmentation fault error while parsing spec

fixes: #1204

9 years agopackaging: Release, update changelogs
Markus Lehtonen [Thu, 7 Mar 2013 07:30:39 +0000 (09:30 +0200)]
packaging: Release, update changelogs

Change-Id: Ic541d986fd4ded95a2561c7c6ba760d9e4069723
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoUpdate .gbp.conf
Markus Lehtonen [Tue, 20 Aug 2013 16:49:01 +0000 (19:49 +0300)]
Update .gbp.conf

Change-Id: Ic07e5f491f675fa1a8b9a77428d764ec9366a829
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoBump the log level of "unexpanded script" msg
Markus Lehtonen [Thu, 8 Aug 2013 12:32:00 +0000 (15:32 +0300)]
Bump the log level of "unexpanded script" msg

Change-Id: Iec8ff9da9c866fd47f3352964a5aac1bd6148310
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoPrevent execution of arbitrary scripts
Markus Lehtonen [Tue, 25 Jun 2013 13:25:42 +0000 (16:25 +0300)]
Prevent execution of arbitrary scripts

Disables the execution of shell scripts or lua code when parsing the
spec file. Replaces the script output with static text
"UNEXPANDEDSHELLSCRIPT" or "UNEXPANDEDLUASCRIPT".

Change-Id: I7d43785715c4b518040463ae70bddd46734e824e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: version bump, update changelogs
Markus Lehtonen [Thu, 7 Mar 2013 07:30:39 +0000 (09:30 +0200)]
packaging: version bump, update changelogs

Change-Id: Ic541d986fd4ded95a2561c7c6ba760d9e4069723
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoUpdate .gitignore
Markus Lehtonen [Tue, 18 Jun 2013 09:08:06 +0000 (12:08 +0300)]
Update .gitignore

Change-Id: Ie8c092336506717d37b75c8db5fe8987ce4d0d50
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoRelax checking of dependency tags
Markus Lehtonen [Thu, 7 Mar 2013 08:03:34 +0000 (10:03 +0200)]
Relax checking of dependency tags

Allow any value for dependency tags (Requires, BuildRequires etc).

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: version bump, update changelogs
Markus Lehtonen [Thu, 7 Mar 2013 07:30:39 +0000 (09:30 +0200)]
packaging: version bump, update changelogs

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoUpdate changelog for release
Markus Lehtonen [Wed, 27 Feb 2013 08:16:22 +0000 (10:16 +0200)]
Update changelog for release

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoEnable lua
Markus Lehtonen [Wed, 27 Feb 2013 11:21:09 +0000 (13:21 +0200)]
Enable lua

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoAdd a provide tag to make gbs depend on new changes
Zhang Qiang [Tue, 26 Feb 2013 15:38:22 +0000 (17:38 +0200)]
Add a provide tag to make gbs depend on new changes

Change-Id: I5f917a4fb50813dc350e0040ee4adf28932cda04

9 years agopackaging: Install Tizen macros
Markus Lehtonen [Tue, 26 Feb 2013 08:04:13 +0000 (10:04 +0200)]
packaging: Install Tizen macros

To fix some spec parsing failures.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoIgnore unknown internal scripts
Markus Lehtonen [Fri, 22 Feb 2013 09:54:57 +0000 (11:54 +0200)]
Ignore unknown internal scripts

In pre, preun etc scriptlet interpreters.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agofix packaging dependency issue for centos
Zhang Qiang [Fri, 22 Feb 2013 22:45:44 +0000 (17:45 -0500)]
fix packaging dependency issue for centos

Change-Id: I503381df3107c59c8cac45048358ad9e59c8e0ac

9 years agopackaging: add rpm changelog
Markus Lehtonen [Thu, 21 Feb 2013 09:34:19 +0000 (11:34 +0200)]
packaging: add rpm changelog

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: Drop bdb sources
Markus Lehtonen [Thu, 21 Feb 2013 09:30:00 +0000 (11:30 +0200)]
packaging: Drop bdb sources

We use external db.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: fix build for Fedora (18)
Markus Lehtonen [Thu, 21 Feb 2013 09:28:10 +0000 (11:28 +0200)]
packaging: fix build for Fedora (18)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: disable autoreq and autoprov
Markus Lehtonen [Thu, 21 Feb 2013 10:14:49 +0000 (12:14 +0200)]
packaging: disable autoreq and autoprov

AutoProv in order to not mess up the dependencies of the host system.
AutoReq in order to make the package installable after AutoProv is
disabled.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoIgnore unknown tags
Markus Lehtonen [Thu, 3 Jan 2013 06:28:49 +0000 (08:28 +0200)]
Ignore unknown tags

Might be e.g. a macro defined only in target distro. We're only
interested in a few tags i.e. name, version, release etc.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoAdd .gbp.conf
Markus Lehtonen [Wed, 19 Dec 2012 12:42:04 +0000 (14:42 +0200)]
Add .gbp.conf

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: add Debian packaging
Markus Lehtonen [Tue, 18 Dec 2012 11:56:39 +0000 (13:56 +0200)]
packaging: add Debian packaging

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: use gz tarball instead of bz2
Markus Lehtonen [Wed, 19 Dec 2012 06:17:08 +0000 (08:17 +0200)]
packaging: use gz tarball instead of bz2

To be compatible with Deb.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoBuild with external db
Markus Lehtonen [Wed, 19 Dec 2012 08:49:56 +0000 (10:49 +0200)]
Build with external db

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoEnable building using --with-external-db
Markus Lehtonen [Wed, 19 Dec 2012 08:43:14 +0000 (10:43 +0200)]
Enable building using --with-external-db

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: modify spec to build special librpm for git-buildpackage
Markus Lehtonen [Thu, 13 Dec 2012 01:17:39 +0000 (03:17 +0200)]
packaging: modify spec to build special librpm for git-buildpackage

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agopackaging: rename spec file
Markus Lehtonen [Tue, 18 Jun 2013 11:54:13 +0000 (14:54 +0300)]
packaging: rename spec file

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoRelocate {prefix}/lib/rpm under {libdir}/rpm
Markus Lehtonen [Fri, 18 May 2012 15:20:15 +0000 (18:20 +0300)]
Relocate {prefix}/lib/rpm under {libdir}/rpm

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
9 years agoMake python module name configurable
Markus Lehtonen [Fri, 18 May 2012 15:04:11 +0000 (18:04 +0300)]
Make python module name configurable

9 years agoPython module: rename .py files to .in
Markus Lehtonen [Fri, 18 May 2012 16:03:36 +0000 (19:03 +0300)]
Python module: rename .py files to .in

In order to make them modifiable by autotools.

9 years agoRemove $BUILDTARGET to solve build arch armv7l. tizen tizen/4.11.0.1.tizen20140530
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.
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
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.
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Alexandru Cornea [Sat, 29 Jun 2013 02:10:40 +0000 (05:10 +0300)]
resetting manifest requested domain to floor

10 years agoupdate changelog tizen/4.11.0.1.tizen20130618
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
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
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
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
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
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
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
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.
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 tznext tznext/4.11.0.1.tizen20130304
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