summaryrefslogtreecommitdiffstats
path: root/package/audit
Commit message (Collapse)AuthorAgeFilesLines
* package/audit: bump to version 2.8.4Carlos Santos2018-11-032-2/+2
| | | | | | | | | | Fix a segfault in auditd when dns resolution isn't available. Additional changes since 2.8.2 can be seen at http://people.redhat.com/sgrubb/audit/ChangeLog Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/audit: ensure that it starts after the logging daemonCarlos Santos2018-11-032-1/+1
| | | | | | | | | | audit uses syslog(). Rename its init script to S02auditd to ensure that it will start after syslogd. Otherwise the initial log messages will be sent to the console (and probably lost, since almost nobody watches the system console on embedded systems). Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/audit: fix audispd path in auditd.confCarlos Santos2018-11-031-0/+32
| | | | | | | | | | | audispd is installed at /usr/sbin but the configuration file pointed to /sbin, causing auditd to fail on startup. This patch cannot be sent upstream because audispd does not exist anymore on the master branch (it was merged to auditd). Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* audit: do not remove file installed by netplugCarlos Santos2018-06-051-2/+2
| | | | | | | | | | | | | | | | The package recipe uses a post-install hook to remove useless files from $(TARGET_DIR)/etc/rc.d/init.d and $(TARGET_DIR)/etc/sysconfig. This may damage packages that install useful files on those directories (such as netplug, which installs $(TARGET_DIR)/etc/rc.d/init.d/netplugd). In the future[1] we will reorganize the init scripts and possibly get rid of /etc/rc.d and /etc/sysconfig but for the moment let's restrict the file removal to those installed by audit. 1. http://lists.busybox.net/pipermail/buildroot/2018-May/221549.html Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* audit: bump to 2.8.2Adam Duskett2018-02-022-2/+2
| | | | | Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* audit: bump to 2.8.1Adam Duskett2017-11-222-2/+2
| | | | | Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump to version 2.7.8Baruch Siach2017-10-102-4/+6
| | | | | | | | | | | | | | | | Commit d1011f89a18 (audit: update legal info) set the libraries license to "unclear" because of GPL license text in a few libraries source files. Upstream audit package commit 239765162fa494 (Correct the licensing description in lib/ and auparse/ to be LGPL as was always intended) clarified the license in these files. Add license files hashes. Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* audit: bump to version 2.7.7Adam Duskett2017-06-192-2/+2
| | | | | Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump to 2.7.6Adam Duskett2017-05-112-2/+2
| | | | | | Signed-off-by: Adam Duskett <aduskett@codeblue.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump to version 2.7.1Adam Duskett2017-02-042-2/+2
| | | | | Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* audit: bump version to 2.7Adam Duskett2017-01-132-2/+2
| | | | | Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* audit: add an explanation of musl disableBaruch Siach2016-11-221-1/+1
| | | | | | | | | Based on commit c17af71d2c2 (package/audit: not available for musl) add a comment that explains why audit is disabled for musl. Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: update legal infoRahul Bedarkar2016-09-161-1/+1
| | | | | | | | | | | | Programs are released under GPLv2+. README file says libraries libaudit.* and libauparse.* are released under LGPL but there are two files auparse/strsplit.c and lib/strsplit.c which are released under GPLv2+ which makes both libraries GPL. Until we review situation with upstream, we simply mention "unclear (libraries)". Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> [Thomas: add "unclear (libraries)" as suggested by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump version to 2.6.7Rahul Bedarkar2016-09-162-2/+2
| | | | | Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: remove autoreconfRahul Bedarkar2016-09-161-2/+0
| | | | | | | | | Commit upstream 51925b7dd6d0("package/audit: Bump to version 2.6.5") removed patch 0002 as part of version bump. But forgot to disable autoreconf. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: add powerpc64 arch supportJudd Meinders2016-09-061-1/+2
| | | | | | Signed-off-by: Judd Meinders <judd.meinders@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/audit: add support for host variantAdam Duskett2016-07-161-0/+7
| | | | | | | | | host-libsemanage requires host-audit to compile, therefore this patch adds a host variant for the audit package. Signed-off-by: Adam Duskett <Aduskett@gmail.com> [Thomas: remove libcap-ng usage for now, rework commit log.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/audit: Bump to version 2.6.5Adam Duskett2016-07-154-105/+2
| | | | | | | | | | | - Removed 0001-lib-gen_tables.c-define-EHWPOISON-when-not-available.patch as this was applied upstream. - Removed 0002-Fix-usage-of-audit_status.feature_bitmap.patch as this was applied upstream. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump to version 2.6.3Thomas Petazzoni2016-07-062-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: fix build with older kernel versionsThomas Petazzoni2016-07-062-0/+61
| | | | | | | | | | | | This commit adds a patch to audit that fixes the build with kernel headers newer than 3.13, but older than 3.19. The patch has been submitted upstream. Fixes: http://autobuild.buildroot.net/results/2d3b2f8c2b9f7f2e04b88b1dccb83e183b5876b6/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump to version 2.6.2Thomas Petazzoni2016-07-022-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: add patch to fix EHWPOISON build issueThomas Petazzoni2016-07-021-0/+44
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/2e147b60481cfb8960749a8e012ff8fa05568a2c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: bump to version 2.6Adam Duskett2016-07-012-2/+2
| | | | | | Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Replace (e)glibc by glibcThomas Petazzoni2016-06-281-1/+1
| | | | | | | | | | | | | | | | Following the removal of eglibc support, this commit replaces all occurences of "(e)glibc" by just "glibc". Most of the occurences are in package Config.in comments. In addition, when the form "an (e)glibc ..." was used, it is replaced by "a glibc ...". [Peter: add new efi* packages, s/uclibc/uClibc as suggested by Romain, systemd / liquid-dsp tweaks as suggested by Yann] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/audit: Remove redundant mkdirNathaniel Roach2016-05-121-1/+0
| | | | | | | install -D creates the folder, so we don't need the mkdir command Signed-off-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* audit: Add systemd supportMaxime Hadjinlian2015-10-112-0/+17
| | | | | | | | | | | The main .service file is installed by audit. We are using tmpfiles mechanisms to create the log directory, which would not exists otherwise since /var/log points to /tmp [Thomas: add explicit --disable-systemd when systemd is not used.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: Bump versionMaxime Hadjinlian2015-10-113-699/+2
| | | | | | | | | | Remove patch as it was merged in this release: https://fedorahosted.org/audit/changeset/1117 [Thomas: remove autoreconf, no longer needed.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-4/+4
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: Remove trailing slash from all package site URLsLuca Ceresoli2015-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The recommended form is without the trailing slash, and will become mandatory in a coming commit. This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk to avoid double slashes in download URLs, like "https://mosh.mit.edu//mosh-1.2.5.tar.gz". ^^ Note: this work has already been done in b0b9606530dfc6de4030 a few months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64, but no check has been added at that time to avoid new slashes to slip in, and so they did. This time a patch will follow immediately to prevent future mistakes from being unnoticed. Mass-replaced with the following command: git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||' Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/audit: not available for muslYann E. MORIN2015-08-182-2/+4
| | | | | | | | | | | | | | | | | | | audit uses strndupa() which is missing from musl. Even though the implementation of strndupa is not too complex, we won't go as far as duplicating it in audit, and we just disable audit for the musl C library. Fixes; http://autobuild.buildroot.org/results/e22/e22a70f9ff14bc52f642a6135da44c14e41b6cbb/ http://autobuild.buildroot.org/results/233/2333c9b3d8f81b15602263b918d422e440f09d60/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Cc: Matthew Weber <matthew.weber@rockwellcollins.com> Cc: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: mark as not available for static buildsThomas Petazzoni2015-08-071-2/+3
| | | | | | | | | | | | | | | audit uses -fPIE/-pie, which is not compatible with static only builds with uClibc. Since using audit in a statically linked environment is probably not a very common use case, let's simply mark it as non-available in such situations. Fixes: http://autobuild.buildroot.net/results/549492270f3f43747a96a8326aef1d7ae1d3b213/ Thanks to Waldemar for explaining the source of the problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: disable python3 supportRyan Barnett2015-07-221-1/+1
| | | | | | | | | | | | | | | With the version bump to 2.4.3, python3 support was added for libaudit. With host machines that have python3 installed, this will cause build issues such as: make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3' swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i make[5]: swig: Command not found Solution is to disable python3 support such as we do with python2.7. Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: More cross compile fixesClayton Shotwell2015-07-221-0/+694
| | | | | | | | | | | | | | | There was an issue that was not fixed by the last set of cross compile patches where architecture specific CFLAGS were being used when building for the host and not the target. This patch fixes that issue. Fixes: http://autobuild.buildroot.net/results/3e85c2253f6bd4cfe6ac1dde947eb6d5afc78cfe/ http://autobuild.buildroot.net/results/d0f0f7e7462d68331d4a2f87b1df05cc9a6fecfd/ http://autobuild.buildroot.net/results/114de2422c56071141284fb2eb8044ffa48e77f4/ http://autobuild.buildroot.net/results/0862cf008e7e4b52c46c40257adeda954afee394/ Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: version bumpClayton Shotwell2015-07-227-882/+3
| | | | | | | | Bumping from version 2.4.1 to 2.4.3 to drop patches that have been picked up by the mainline. Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: Add startup scriptClayton Shotwell2015-07-192-0/+84
| | | | | | | | | | | | | | | | The startup script for the audit package did not meet the buildroot standards when the package was initially merged. Adding a compliant startup script for starting the audit daemon along with rotating the logs and other features. [Thomas: - Replace "Failed" by "FAIL" to be consistent with the rest of the init script and other packages - Use $(INSTALL) -D with a complete destination path to avoid having to create /etc/init.d before installing the init script.] Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: Update patch from upstream feedbackClayton Shotwell2015-07-161-372/+285
| | | | | | | | | After working with the audit maintainers to get patches accepted, the following one had to be reworked to meet their standards. This patch will be included in the next version of audit. Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* audit: new packageClayton Shotwell2015-06-178-0/+1033
[Thomas: - remove S01audit, which isn't completely compliant with the Buildroot style. - make the package available only on architectures for which the system call tables are available, and add some comments about this in the .mk file.] Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud