summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libtpm: fix build issue over pod2manArmin Kuster2020-03-051-1/+1
| | | | | | | | | /bin/bash: pod2man: command not found | Makefile:585: recipe for target 'TPMLIB_CancelCommand.3' failed inherit perlnative to fix Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sssd: fix for ldblibdir and systemd etcKai Kang2020-03-053-7/+62
| | | | | | | | | | | | | Fix sssd issue for ldblibdir, systemd, pam etc. * fix ldblibdir which is not calculated right for cross compile * create directory /var/log/sssd which is required by sssd daemon * disable building python2 binding * fix pam module path * update systemd configure options and service files Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* linux-yocto: update the bbappend to 5.xMingli Yu2020-03-051-0/+2
| | | | | | | | | | | | As linux-yocto upgraded to 5.x in oe-core, update the bbappend to 5.x to remove the warning: WARNING: No recipes available for: /buildarea/layers/meta-security/recipes-kernel/linux/linux-yocto_4.%.bbappend Signed-off-by: Mingli Yu <mingli.yu@windriver.com> [Droped 4.x part] Signed-off-by: Armin Kuster <akuster808@gmail.com>
* scap-security-guide: pass the correct schema file path to openscap-nativeYi Zhao2020-03-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a build error when using openscap-native sstate cache. Steps to reproduce: Create a new build project in build-1 directory. $ bitbake openscap-native Then remove the whole build directory only keep the sstate-cache directory as a sstate mirror. Create another new build project in build-2 directory. Set SSTATE_MIRRORS $ bitbake scap-security-guide Error message: OpenSCAP Error: Schema file 'xccdf/1.1/xccdf-schema.xsd' not found in path '/buildarea/build-1/tmp/work-shared/openscap/oscap-build-artifacts/usr/share/openscap/schemas' when trying to validate '/buildarea/build-2/tmp/work/core2-64-poky-linux/scap-security-guide/0.1.44+gitAUTOINC+5fdfdcb2e9-r0/git/build/jre/xccdf-unlinked-resolved.xml' [/buildarea/build-1/tmp/work/x86_64-linux/openscap-native/1.3.1+gitAUTOINC+4bbdb46ff6-r0/git/src/source/validate.c:104] The oscap command from openscap-native tries to find the schema files in build-1 directory since these paths are hardcoded when building openscap-native. We need to pass the correct schema/xslt/cpe paths to oscap to make sure it can find the files in right location. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* secuirty*-image: remove dead var and minor cleanupArmin Kuster2020-03-012-4/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* linux: drop the bbappend for linux v4.x seriesBartosz Golaszewski2020-03-011-2/+0
| | | | | | | | v4.19 LTS has been dropped in poky in favor of v5.4. Drop the bbappend from meta-security as right now the build fails. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav-native: missed bison fixArmin Kuster2020-03-011-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* README.md: update to new maintainerArmin Kuster2020-03-011-3/+13
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* layer.conf: add zeusArmin Kuster2020-03-011-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* isafw: fix to work against masterArmin Kuster2020-03-011-4/+4
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* meta-security-isafw: import layer from IntelArmin Kuster2020-03-0123-0/+2550
| | | | | | take over layer Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: add bison-native to dependArmin Kuster2020-03-011-1/+1
| | | | | | | fixes build issue: clamav/0.101.5-r0/git/config/ylwrap: line 176: yacc: command not found Signed-off-by: Armin Kuster <akuster808@gmail.com>
* apparmor: update to tipArmin Kuster2020-02-171-1/+1
| | | | | | fixes Python3.8 configure issues Signed-off-by: Armin Kuster <akuster808@gmail.com>
* google-authenticator-libpam: install module in pam locationArmin Kuster2020-02-161-1/+4
| | | | | | | pam_google_authenticator.so was being installed where pam could not find it. Move it where the rest of the pam modules site. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-fail2ban: add 2-3 conversion changesArmin Kuster2020-02-163-2/+2530
| | | | | | | Had to use the fail2ban-2.3 program to create py3 code Add it as a patch Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ibmswtpm2: update to 1563Armin Kuster2020-02-103-24/+53
| | | | | | | | | fix build issue [v2] Fix subject line Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-tss: update to 2.3.2Armin Kuster2020-02-101-9/+9
| | | | | | clean up reciped. drop git fetching Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-tcti-uefi: fix build issue for i386 machineArmin Kuster2020-02-104-12/+77
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-tools: update to 4.1.1Armin Kuster2020-02-102-14/+17
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* bastille: convert to py3Armin Kuster2020-02-101-2/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* scap-security-guide: fix xml parsing error when build remediation filesYi Zhao2020-02-093-1/+78
| | | | | | | | | | | | | | Backport 2 patches to fix the build error: Processing fix.text for: java_jre_configure_crypto_policy rule Unable to extract part of the fix.text after inclusion of remediation functions. Aborting.. jre/CMakeFiles/generate-internal-jre-bash-fixes.xml.dir/build.make:60: recipe for target 'jre/bash-fixes.xml' failed make[2]: *** [jre/bash-fixes.xml] Error 1 make[2]: *** Deleting file 'jre/bash-fixes.xml' Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ecryptfs-utils: search nspr header files in ${STAGING_INCDIR}/nspr directoryArmin Kuster2020-02-021-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* swtpm: fix configure errorArmin Kuster2020-02-011-0/+1
| | | | | | checking for whether to build with seccomp profile... configure: error: "Is libseccomp-devel installed? -- could not get cflags for libseccomp" Signed-off-by: Armin Kuster <akuster808@gmail.com>
* buck-security: fix rdebends and minor style cleanupArmin Kuster2020-01-281-34/+16
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* checksecurity: fix runtime issuesArmin Kuster2020-01-281-1/+1
| | | | | | add some missing perl modules Signed-off-by: Armin Kuster <akuster808@gmail.com>
* linux-yocto-dev: remove "+"Armin Kuster2020-01-281-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* google-authenticator-libpam: upgrade 1.07 -> 1.08Pierre-Jean Texier via Lists.Yoctoproject.Org2020-01-281-1/+1
| | | | | | | See changelog: https://github.com/google/google-authenticator-libpam/releases/tag/1.08 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* samhain: fix build with new version attrYi Zhao2020-01-282-0/+74
| | | | | | | | | | | The attr/xattr.h has been removed from attr 2.4.48 with commit: http://git.savannah.nongnu.org/cgit/attr.git/commit/include?id=7921157890d07858d092f4003ca4c6bae9fd2c38 The xattr syscalls are provided by sys/xattr.h from glibc now. Remove the checking code to adapt it otherwise it would fail to build with selinux support. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Apparmor: fix some runtime dependsArmin Kuster2020-01-231-1/+1
| | | | | | missing xargs and comm Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-fail2ban: update to latestArmin Kuster2020-01-211-12/+10
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sssd: drop py2 supportArmin Kuster2020-01-211-4/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* README: add pull request optionArmin Kuster2020-01-191-0/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* fail2ban: fix runtime errorArmin Kuster2020-01-051-4/+4
| | | | | | use success/failure calls in initd/function Signed-off-by: Armin Kuster <akuster808@gmail.com>
* meta-integrity: fix issues with yocto-check-layerArmin Kuster2020-01-046-2/+18
| | | | | | | [v2] re-did solutions Signed-off-by: Armin Kuster <akuster808@gmail.com>
* clamav: update to 0.101.5Armin Kuster2020-01-031-39/+24
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lib/oeqa/runtime: fix clamav test orderArmin Kuster2020-01-031-9/+9
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* smack-test: add feature check for smackArmin Kuster2019-12-251-0/+4
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* google-authenticator-libpam: update to 1.07Armin Kuster2019-12-251-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-fail2ban: include python-fail2ban.incArmin Kuster2019-12-251-4/+47
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python-fail2ban: Drop python2 packageArmin Kuster2019-12-252-53/+0
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* smack: add distro checkArmin Kuster2019-12-251-1/+6
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* apparmor: add distro checkArmin Kuster2019-12-251-1/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* suricata: update to 4.1.6Armin Kuster2019-12-162-4/+3
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lib/oeqa/runtime: suricata add testsArmin Kuster2019-12-161-7/+56
| | | | | | | drop the unit test as it should be run via ptest add more tests for python3-suricata-update Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libhtp: bugfix only update 0.5.32Armin Kuster2019-12-161-0/+0
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* python3-suricata-update: update to 1.1.1Armin Kuster2019-12-161-2/+2
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libseccomp: upgrade 2.4.1 -> 2.4.2Yi Zhao2019-12-162-1/+47
| | | | | | | Backport a patch to fix ptest build failure on arm64. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* meta-security-compliance/conf/layer.conf: fix typoArmin Kuster2019-12-151-1/+1
| | | | Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-abrmd: Port command line options to new version.Philip Tricca2019-12-071-1/+1
| | | | | | | | These have changed upstream. Signed-off-by: Philip Tricca <flihp@twobit.org> Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tpm2-abrmd-init.sh: fix for /dev/tpmrmXTrevor Woerner2019-12-071-1/+1
| | | | | | | | | | | | Newer kernels, in addition to the traditional /dev/tpmX device nodes, are now also creating /dev/tpmrmX device nodes. This causes this script to get confused and abort, meaning tpm2-abrmd does not get started during boot. Fix for https://github.com/flihp/meta-measured/issues/56 Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>