Commit Graph

41 Commits

Author SHA1 Message Date
Joe MacDonald
c9169cef60 python-ipy: update SRC_URI to use https
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2020-01-06 09:03:24 -05:00
Mark Hatle
4fefe83c32 Refactor to conform to YP Compat requirements
Change the references to check for the distribution flag of 'selinux' being
set before taking any action within the bbappends.  This prevents the
signature from being modified.

Also remove PR changes, as they are no longer allowed.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-14 08:29:01 -05:00
Dengke Du
49394d2544 rpm: modify the rpm bbappend file to suitable for rpm4
Changed in V5:
	Let the subject more clear.

Changed in V4:
	Make the comments more clear.
Changed in V3:
	Rebase the patch on the latest master branch.

Delete the does not exist files when run task do_package.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-05-16 07:55:51 -04:00
Joe MacDonald
60ec38e8fa minimum build changes
Not intended as a final patch, this is just a quick hack for master-next
to enable building meta-selinux on current yocto base images.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 14:57:27 -04:00
Joe MacDonald
9f1bb489ac e2fsprogs: Update bbappend
e2fsprogs has been updated with oe-core commit
f221f331704c0bdfc7c1dd361e666ce2158fe282  Update our bbappend accordingly.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Philip Tricca <flihp@twobit.us>
2016-06-22 04:58:03 -07:00
Philip Tricca
f0e3eb60da rpm: Upgrade to version 5.4.16, rebase SELinux build patch.
Signed-off-by: Philip Tricca <flihp@twobit.us>
2016-03-16 05:11:20 +00:00
Philip Tricca
777b8eaaae e2fsprogs: Copy xattr for filesystem root directory.
Signed-off-by: Philip Tricca <flihp@twobit.us>
2016-02-27 05:36:55 +00:00
Philip Tricca
b2b3ea27e3 e2fsprogs: Superseded by upstream.
Signed-off-by: Philip Tricca <flihp@twobit.us>
2016-02-27 05:36:54 +00:00
Wenzong Fan
321848ab57 swig: remove package
swig 3.0.6 has been added to oe-croe:
  66923c6776da13bd4513a73c3f7c5e60d74eb0f3

No change need to port.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-10-22 10:49:21 -04:00
Joe Slater
7340a1d4d2 e2fsprogs: now depend on attr
Patches added by this bbappend make us depend on the attr
package.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-08 15:59:11 -04:00
Philip Tricca
a3b533e32a e2fsprogs: Add dependency on linux-libc-headers.
We require these headers for some constants that define the xattr
namespaces.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-08 15:59:11 -04:00
Wenzong Fan
61a2cc84af python-ipy: update 0.81 -> 0.83
* update SRC_URI checksums
* remove PKG-INFO that is not in 0.83

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-14 12:31:39 -04:00
Philip Tricca
1cd6086305 e2fsprogs: Implement xattr block cache with simple linked list.
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-08 16:43:23 -04:00
Philip Tricca
5cb8ef7d04 e2fsprogs: Add stub functions for an xattr cache and struct to hold the header and block data.
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-08 16:43:23 -04:00
Philip Tricca
22ade8fbe7 e2fsprogs: Copy xattr block from source file.
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-08 16:43:23 -04:00
Philip Tricca
b2ce05b5c1 e2fsprogs: Add xattr security prefix data to lib/ext2fs/ext2_ext_attr.h
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-08 16:43:23 -04:00
Philip Tricca
e9b28794f1 e2fsprogs: Insert calls to xattr module into mke2fs and build xattr code.
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-08 16:43:23 -04:00
Philip Tricca
6319e568d0 e2fsprogs: Add bbappend and stub for xattr module.
Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-08-08 16:43:23 -04:00
Joe MacDonald
56d4850195 python: use wildcard for version
The current python bbappend doesn't include any patches, so it's
reasonable to move to a wildcard for the version.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-02-25 10:15:49 -05:00
Chong Lu
a6cf3ea3aa rpm: remove PR
Remove PR, since oe-core has a new version.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-08-28 17:07:07 +08:00
Joe MacDonald
a34718ae6e swig-native: repair patching error
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-07-19 23:24:44 -04:00
Koen Kooi
8f13a90922 swig: use pkg-config for pcre detection.
Adapted from the original patch submitted to meta-oe for swig 2.0.12.

   OE-core commit 5870bd272b0b077d0826fb900b251884c1c05061 sabotaged the
   binconfig way.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2014-07-15 21:16:25 -04:00
Xin Ouyang
7cf4161798 rpm: bbappend to 5.4.14 to fit oe-core
Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
2014-07-14 09:54:38 +08:00
Mark Hatle
2ed614a153 swig: Update to latest swig from meta-openembedded
Updated from:
 git://git.openembedded.org/meta-openembedded/meta-oe/recipes-devtools/swig

 As of commit 1d536390dcafe4d539335dec2173aa9ddc3d8b51

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-02 13:24:45 -04:00
Mark Hatle
407e6a7fe0 python-ipy: Uprev to latest 0.81 version
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2013-10-02 13:24:45 -04:00
Jackie Huang
34b12f39d5 python-ipy: fix PN -> BPN in do_install for multilibs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2013-03-19 15:21:37 +08:00
Xin Ouyang
462d217039 swig: add native wrapper for SWIGLIB
Native swig will read datas from hard-coded SWIGLIB or the same
environment variable.

While using sstate, the hard-coded SWIGLIB will point to the project
that create original sstates. This would cause build issues, so add
a wrapper to set the environment variable SWIGLIB to a relative path
on current sysroot.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-02-27 15:56:37 +08:00
Xin Ouyang
21cfb8ba36 rpm: inherit with-selinux
We should also enable selinux only for target rpm, so inherit
with-selinux.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-01-29 15:26:03 +08:00
Xin Ouyang
becdc022eb packages: uprev bbappends to fit oe-core
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-01-19 16:34:14 +08:00
Xin Ouyang
8d481d76a9 python: disable exit handler to rw history file
oe-core adds a exit handler to rw python command history file
(~/.python-history). There are no allow rules for every user&role
to use create/read/write ~/.python-history, and it is also
improper to add rules because these rules would blow up the
user&role's scope of authority.

So disable the handler, if selinux enabled.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-01-18 14:50:36 +08:00
Xin Ouyang
5abfe148ef packages: inherit enable-selinux
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2013-01-05 13:42:22 +08:00
Xin Ouyang
11c4922a3d rpm: fix depend for selinux enabled
The depends should be:
libsepol -> libselinux -> libsemanage -> rpm

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-08-21 16:18:05 +08:00
Xin Ouyang
29d7a3e304 Revert "rpm: fix patch not found bug with old oe-core."
This reverts commit b1c47e8985.
2012-07-19 14:56:44 +08:00
Xin Ouyang
b1c47e8985 rpm: fix patch not found bug with old oe-core.
NOTE: package rpm-native-5.4.9-r44.1: task do_fetch: Started
ERROR: Error executing a python function in
.../meta/recipes-devtools/rpm/rpm_5.4.9.bb:
IOError: [Errno 2] No such file or directory:
'.../rpm-fix-build-bug.patch'

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-07-03 18:08:12 +08:00
Xin Ouyang
6368370a82 python-ipy: rename to fix opkg-build error.
*** Error: Package name  contains illegal characters, (other than [a-z0-9.+-])

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-29 17:08:08 +08:00
Xin Ouyang
6975e78270 rpm: Build with selinux support.
Acked-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-28 10:41:58 +08:00
Mark Hatle
18e3a5d348 swig: Add swig 2.0.0
Add swig recipe from meta-openembedded/meta-oe

as of commit: 2eb27e123b7a85453224f2c822d43f8572eec57a

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Mark Hatle
a1f85f4d23 Revert "swig: for libraries to build python bindings."
This reverts commit 63e12109ce.
2012-05-18 18:37:09 -05:00
Xin Ouyang
396137be3a python-IPy: needed by policycoreutils. 2012-02-13 16:09:24 +08:00
Xin Ouyang
63e12109ce swig: for libraries to build python bindings.
libselinux & libsemanage would use it to build python bindings.
2012-02-13 16:03:01 +08:00
Mark Hatle
a91cc2c94b prelink: Enable SE Linux
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-01-31 13:58:43 -06:00