Age | Commit message (Collapse) | Author | Files | Lines |
|
The following issues are fixed:
1. Prevent execution of arbitrary scripts
2. Enable dash(-) in spec file.
3. Ignore bad expressions in %if conditionals.
4. Ignore unknown tags.
5. Ignore error macro.
Change-Id: Id5b7b47c1a78de364ef0d513023fbe9ccc773a87
Signed-off-by: xuhy <huayong.xu@samsung.com>
|
|
Change-Id: I21bf1a3a7c25cbec43022202cf2e5865b603a309
Signed-off-by: wangbiao <biao716.wang@samsung.com>
|
|
Change-Id: I565dcfe4e75f44d2393a00e42301f469a0929847
Signed-off-by: wangbiao <biao716.wang@samsung.com>
|
|
For opensuse154, the lib name is libpython3.6m , there is 'm' behind version.
Change-Id: Ie51d20658d8799f3f1a0930a1a12527540999346
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Python bindings: The initialization function must be named PyInit_name(),
where name is the name of the module, and should be the only non-static item defined in the module file
https://github.com/rpm-software-management/rpm/commit/0073376965ee8d8df63c21b0da634fc315c97d0b
related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1064758
Add more patch:
https://github.com/rpm-software-management/rpm/commit/f3801bccb9eb068a747ca63a4b01518a260d9919
https://github.com/rpm-software-management/rpm/commit/ddc7ff28e14064f57c6917e133a95e73f749cf41
https://github.com/rpm-software-management/rpm/commit/2c6e0366ffc6bdbafbdf82df7fcedd975a361465
https://github.com/rpm-software-management/rpm/commit/71527b6fbd2b3898beabd602c462a01b691d67d8
Change-Id: I67a51ee893d06173b3d33d444dfa56a5796523fb
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I55111891d082ce201974bd5085715539d47a504f
|
|
Change-Id: I24adddedc2ef5d6cf192186ad613b7a599686449
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I0a63f775da6234f353b2212fadda72aaac4d8941
|
|
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>
|
|
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>
|
|
Change-Id: Ie9de5638834ec6486c73427f6bd6b315dcb8eaec
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Id154cb42ba03e65d493be799ac1a3eef3e13e71e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I095ac303e3f32b101f72f3d38f19bd8c1f433984
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
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>
|
|
Change-Id: I6875afeedc9162507144be89cae6ba0fc95093ba
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I828d063df4980f965a81b74b8cffa9d5b7835e12
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
fixes: #1204
|
|
Change-Id: Ic541d986fd4ded95a2561c7c6ba760d9e4069723
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Ic07e5f491f675fa1a8b9a77428d764ec9366a829
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Iec8ff9da9c866fd47f3352964a5aac1bd6148310
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
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>
|
|
Change-Id: Ic541d986fd4ded95a2561c7c6ba760d9e4069723
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Ie8c092336506717d37b75c8db5fe8987ce4d0d50
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Allow any value for dependency tags (Requires, BuildRequires etc).
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I5f917a4fb50813dc350e0040ee4adf28932cda04
|
|
To fix some spec parsing failures.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
In pre, preun etc scriptlet interpreters.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I503381df3107c59c8cac45048358ad9e59c8e0ac
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
We use external db.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
To be compatible with Deb.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
In order to make them modifiable by autotools.
|
|
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>
|