Commit Graph

1051 Commits

Author SHA1 Message Date
Xin Ouyang
5d0ff4989e udev: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-20 17:47:23 +08:00
Xin Ouyang
a6d371267b audit: fix python header path in configure.ac
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-20 17:32:36 +08:00
Amy Fong
614837afa1 audit: Uprev audit
The recipe is derived from 2.1.3 with some changes made.
1. configuration files are updated to look for sbin binaries in /usr/sbin
2. a init.d file was derived from Debian to work with busybox's start-stop-daemon
3. the plugin package contents was fine tuned as some of the files from 2.1.3 were required
   to let audit run.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-06-18 15:10:31 -05:00
Xin Ouyang
f2da358672 sudo: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-15 18:01:19 +08:00
Xin Ouyang
014192520b glib-2.0: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-15 18:00:30 +08:00
Xin Ouyang
639660a288 openssh: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-15 17:59:43 +08:00
Xin Ouyang
1fb5922d15 selinux: Add bb for default selinux config.
Now, the default policy is "mls".

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-15 17:58:54 +08:00
Xin Ouyang
c911fda243 net-utils: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-13 18:08:50 +08:00
Xin Ouyang
865c1820bd at: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-13 18:07:21 +08:00
Xin Ouyang
22ae811cd1 refpolicy*: Add RDEPENDS and fix PACKAGE_ARCH.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-12 17:30:25 +08:00
Xin Ouyang
8d203e6ff2 tar: Build with selinux support.
Also add a patch to support xattrs and selinux.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-12 10:22:47 +08:00
Xin Ouyang
72d7f55772 libcgroup: native package does not need pam.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-07 15:32:12 +08:00
Xin Ouyang
49c3594bfb lsof: use correct CFLAGS/LDFLAGS.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-06-06 18:14:37 +08:00
Mark Hatle
df46627587 libselinux_git.bb: Add workaround for bitbake parse issue
See Yocto Project bugzilla:
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=2530

This is a temporary workaround to the parsing issue.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-06-01 11:48:30 -05:00
Xin Ouyang
06337c0513 lsof: Build with selinux support.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-05-31 17:42:32 +08:00
Xin Ouyang
620f1f873b audit: Add audit.h from target libc-headers.
The executables in lib/, which are named as gen_*_h, will run on
the hosts to create *_tables.h/*tabs.h header files for the
targets.
In some old hosts, build will fail because audit.h in the old
linux-libc-headers (<= 2.6.29) has a incomplete netlink message
list for the audit system.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
2012-05-31 14:04:28 +08:00
Mark Hatle
a424d778f3 Add distro configuration file for OE-core
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Mark Hatle
3aa492ffe7 selinux: Remove obsolete version
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Mark Hatle
356aac4dfd ustr: Change upstream source
The upstream source appears to be down, find an alternative.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Mark Hatle
ed77d8f933 checkpolicy: Add flex to the DEPENDS
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Joe MacDonald
463a26c0d1 selinux: Remove unnecessary anonymous python blocks
libselinux was attempting to ensure ARCH was set to i386 for any i*86
platform.  Replaced the existing code with a simpler construct that
accomplishes the same goal.

A similar anonymous python block was being used in policycoreutils to
identify an optional dependency on libcap-ng and libcgroup.  Also replaced
with a simpler construct.  The newest policycoreutils depends on them both
anyway in the current configuration.

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>

Added _git versions.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05:00
Joe MacDonald
87f68ae9a9 selinux: Change default preferences away from git version
The preferred versions hould always be the latest stable, not the
git recipe.

Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>

Revised summary commit message, and added addition _git recipes.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:37:09 -05: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
84d8ba1055 libcgroup: Add libcgroup for initscripts. 2012-05-18 18:31:22 -05:00
Xin Ouyang
1675fcf46c libcgroup: Update to new version 0.38 2012-05-18 18:31:22 -05:00
Xin Ouyang
7be7c2aca1 libcgroup: Fix the summary and description. 2012-05-18 18:31:22 -05:00
Mark Hatle
0432c5e7a6 libcgroup: Add libcgroup
add libcgroup recipe from meta-openembedded/meta-oe

as of commit: 902ed05dfca3ce2b98fc9e3a4cafdee956130df7

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:31:22 -05:00
Mark Hatle
48a55735f2 Revert libcgroup additions and patches
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-05-18 18:31:21 -05:00
Xin Ouyang
a435febae2 sysvinit: Fix environment variables override bug.
As we have specified "-e MAKEFLAGS= " to make, environment
variables will override variables in the top makefile but not
subdir makefiles.

Current bb uses sysvinit-xxx/src as ${B}, the environment variable
CPPFLAGS would override all "CPPFLAGS" lines in
sysvinit-xxx/src/Makefile. Such as "CPPFLAGS+= -DACCTON_OFF",
"CPPFLAGS += $(SELINUX_DEF)" and "CPPFLAGS += -DINIT_MAIN".

This causes some sections(#ifdef INIT_MAIN/WITH_SELINUX ... #endif)
will never be used.
2012-04-27 16:04:13 +08:00
Xin Ouyang
4fcefe71fd kernel: Workaround for inconsistent kallsyms on ARM. 2012-04-27 15:57:04 +08:00
Xin Ouyang
1442824d32 policycoreutils: Fix depends for target build. 2012-04-27 15:56:20 +08:00
Xin Ouyang
16668088dd augeas: Build with selinux support. 2012-04-27 15:55:39 +08:00
Xin Ouyang
59a303b29d psmisc: Drop bbappend v22.14 since bb has been droped. 2012-04-17 17:36:44 +08:00
Xin Ouyang
9a143837c4 libselinux: Fix selinux_init_load_policy() for sysvinit.
With sysvinit, selinux_init_load_policy() will fail since sysfs is
still not mounted.
2012-04-17 17:20:30 +08:00
Xin Ouyang
c74818cb9a sysvinit: bbappend to build with libselinux.
Also a patch from sysvinit upstream to fix selinux init.
2012-04-17 17:18:47 +08:00
Xin Ouyang
22cb4e5702 image: Basic image for SELinux features. 2012-04-17 17:17:14 +08:00
Xin Ouyang
2bd39e94d0 kernel: bbappend to enable SELinux, v3.2. 2012-04-17 17:15:29 +08:00
Xin Ouyang
2f44004dab psmisc: bbappend to build with libselinux, v22.16. 2012-04-17 17:14:44 +08:00
Xin Ouyang
57d388fe13 libpam: bbappend to build with libselinux. 2012-04-17 17:13:27 +08:00
Xin Ouyang
1659cf95f0 selinux-task: Add refpolicy-*. 2012-04-17 17:12:40 +08:00
Xin Ouyang
6554a270ed Pick selinux(v2.20120215) bb changes to git bb recipes.
selinux packages v2.20120215:
* libselinux-2.1.9
* libsemanage-2.1.6
* checkpolicy-2.1.8
* policycoreutils-2.1.10
* sepolgen-1.1.5
2012-04-11 17:44:43 +08:00
Xin Ouyang
35529e317f refpolicy*: Add filelist for binary packages. 2012-04-10 15:13:58 +08:00
Xin Ouyang
7d490b9d5a refpolicy*: Rename bb recipe of standard policy. 2012-04-10 15:11:46 +08:00
Xin Ouyang
1139c40cb6 refpolicy*: SELinux policy init version. 2012-04-10 14:40:08 +08:00
Xin Ouyang
e0704aaff6 libsemanage: Use alternate root while cross-compiling. 2012-04-10 14:21:40 +08:00
Xin Ouyang
83d3a960e5 selinux-task: Add setools. 2012-03-27 17:39:35 +08:00
Xin Ouyang
75e818530f setools: Patch for neverallow rules. 2012-03-27 17:37:53 +08:00
Xin Ouyang
c93ca62112 setools: Remove the python disabled patch.
Before the python modules are needed by policycoreutils.
2012-03-27 17:35:03 +08:00
Xin Ouyang
171760b17a setools: Fix depends and file list. 2012-03-27 17:32:30 +08:00