summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-07-23packaging: Release for Tizen toolstizen-tools/4.11.0.1.tizen20140530-20140723release-test-0.1release-for-gbs-0.23Markus Lehtonen3-4/+6
Change-Id: I0a63f775da6234f353b2212fadda72aaac4d8941
2014-07-23rpm-packaging: enable customized autoreqMarkus Lehtonen1-1/+7
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>
2014-07-23packaging: enable lua 5.2 for openSUSEMarkus Lehtonen1-1/+1
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>
2014-06-11Rebase on top of latest Tizen 3.0 codetest-develMarkus Lehtonen3-2/+11
Change-Id: Ie9de5638834ec6486c73427f6bd6b315dcb8eaec Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: Release for Tizen toolsMarkus Lehtonen3-1/+11
Change-Id: Id154cb42ba03e65d493be799ac1a3eef3e13e71e Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11gbp.conf: add packaging tag and changelog revision formatMarkus Lehtonen1-0/+5
Change-Id: I095ac303e3f32b101f72f3d38f19bd8c1f433984 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Finish lua 5.2 support, trac #865Johannes Dewender2-6/+23
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>
2014-06-11packaging: Release, update changelogsMarkus Lehtonen3-1/+14
Change-Id: I6875afeedc9162507144be89cae6ba0fc95093ba Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11lua: fall through failed lua scriptsMarkus Lehtonen2-4/+10
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>
2014-06-11lua: Enable LuaMarkus Lehtonen2-9/+9
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>
2014-06-11Ignore bad expressions in %if conditionalsMarkus Lehtonen1-2/+2
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>
2014-06-11packaging: Update changelog and release numberMarkus Lehtonen3-4/+9
Change-Id: I828d063df4980f965a81b74b8cffa9d5b7835e12 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11fix segmentation fault error while parsing specZhang Qiang1-1/+1
fixes: #1204
2014-06-11packaging: Release, update changelogsMarkus Lehtonen3-1/+12
Change-Id: Ic541d986fd4ded95a2561c7c6ba760d9e4069723 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Update .gbp.confMarkus Lehtonen1-0/+3
Change-Id: Ic07e5f491f675fa1a8b9a77428d764ec9366a829 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Bump the log level of "unexpanded script" msgMarkus Lehtonen2-2/+2
Change-Id: Iec8ff9da9c866fd47f3352964a5aac1bd6148310 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Prevent execution of arbitrary scriptsMarkus Lehtonen2-0/+10
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>
2014-06-11packaging: version bump, update changelogsMarkus Lehtonen3-1/+10
Change-Id: Ic541d986fd4ded95a2561c7c6ba760d9e4069723 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Update .gitignoreMarkus Lehtonen1-0/+2
Change-Id: Ie8c092336506717d37b75c8db5fe8987ce4d0d50 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Relax checking of dependency tagsMarkus Lehtonen1-2/+3
Allow any value for dependency tags (Requires, BuildRequires etc). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: version bump, update changelogsMarkus Lehtonen3-1/+10
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Update changelog for releaseMarkus Lehtonen2-0/+20
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Enable luaMarkus Lehtonen4-4/+14
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Add a provide tag to make gbs depend on new changesZhang Qiang2-1/+3
Change-Id: I5f917a4fb50813dc350e0040ee4adf28932cda04
2014-06-11packaging: Install Tizen macrosMarkus Lehtonen2-0/+9
To fix some spec parsing failures. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Ignore unknown internal scriptsMarkus Lehtonen1-2/+1
In pre, preun etc scriptlet interpreters. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11fix packaging dependency issue for centosZhang Qiang2-1/+8
Change-Id: I503381df3107c59c8cac45048358ad9e59c8e0ac
2014-06-11packaging: add rpm changelogMarkus Lehtonen1-0/+4
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: Drop bdb sourcesMarkus Lehtonen1-0/+0
We use external db. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: fix build for Fedora (18)Markus Lehtonen1-0/+4
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: disable autoreq and autoprovMarkus Lehtonen1-0/+1
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>
2014-06-11Ignore unknown tagsMarkus Lehtonen1-9/+9
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>
2014-06-11Add .gbp.confMarkus Lehtonen1-0/+11
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: add Debian packagingMarkus Lehtonen5-0/+85
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: use gz tarball instead of bz2Markus Lehtonen1-1/+1
To be compatible with Deb. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Build with external dbMarkus Lehtonen1-8/+2
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11Enable building using --with-external-dbMarkus Lehtonen3-1/+4
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-11packaging: modify spec to build special librpm for git-buildpackageMarkus Lehtonen1-236/+56
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-09packaging: rename spec fileMarkus Lehtonen1-0/+0
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-09Relocate {prefix}/lib/rpm under {libdir}/rpmMarkus Lehtonen2-3/+3
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-09Make python module name configurableMarkus Lehtonen18-34/+46
2014-06-09Python module: rename .py files to .inMarkus Lehtonen3-0/+2
In order to make them modifiable by autotools.
2014-05-26Remove $BUILDTARGET to solve build arch armv7l.tizen/4.11.0.1.tizen20140530tizenRonan Le Martret1-11/+1
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>
2014-04-22Merge python-rpm.spec into rpm.spec and cleaning up the spec file.Ronan Le Martret2-172/+122
Change-Id: Idb234fbe0d1adddeae2523c05879cc09929dddc2 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-01-29Update changelogPatrick McCarty1-0/+5
Change-Id: Ice517533b3a0650f6d99c1e8e21e73d3c9b4c178 Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
2014-01-29Export kernel package name and kernel package release as new macros.Jacek Pielaszkiewicz1-0/+2
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>
2014-01-29tizen: Export kernel-devel's package version as %kernel_devel_uname_rKarol Lewandowski1-0/+3
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>
2014-01-17Update changelogMikko Ylinen1-0/+5
Change-Id: I5c89a4219a882ac589658576c3e81aa4ffbba672 Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2014-01-10MSM: fix access type length and validationJarkko Sakkinen2-2/+3
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>
2013-12-20Security plugin: change policy to advisoryJarkko Sakkinen1-19/+29
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>