Package Details: apparmor-libapparmor 2.11.0-1

Git Clone URL: https://aur.archlinux.org/apparmor.git (read-only)
Package Base: apparmor
Description: AppArmor library
Upstream URL: http://wiki.apparmor.net/index.php/Main_Page
Licenses: GPL
Submitter: Harvie
Maintainer: MarcinWieczorek
Last Packager: MarcinWieczorek
Votes: 92
Popularity: 0.549565
First Submitted: 2010-10-28 14:55
Last Updated: 2017-03-13 13:18

Latest Comments

lukeyeager commented on 2017-09-12 00:54

Tested working patch:

- install -D -m644 "libraries/libapparmor/swig/perl/LibAppArmor.pm" "${pkgdir}/usr/lib/perl5/vendor_perl/"
+ perldir="$(perl -V:vendorarch | cut -d"'" -f2)"
+ install -D -m644 "libraries/libapparmor/swig/perl/LibAppArmor.pm" "${pkgdir}${perldir}"

edh commented on 2017-09-04 19:03

@francoism90
You could have easily answered that question yourself, by clicking on the 'View Changes' Link in the top-right corner [1]. It will display the last git commits and therefore list any potential changes. However to answer your question: No, it has not been changed yet.

@egrupled
Your suggestion would lock the package to perl version 5.26 and hence require changing the PKGBUILD for each new release. In order to ease maintenance it should therefore be preferred to use the output of `perl -V:vendorarch` within the PKGBUILD directly whereby only a rebuild against new releases would be required.

[1] https://aur.archlinux.org/cgit/aur.git/log/?h=apparmor

francoism90 commented on 2017-09-04 18:45

Does this package work seeing the recent comments?

egrupled commented on 2017-09-04 14:59

You can change line:
install -D -m644 "libraries/libapparmor/swig/perl/LibAppArmor.pm" "${pkgdir}/usr/lib/perl5/vendor_perl/"

to:
install -D -m644 "libraries/libapparmor/swig/perl/LibAppArmor.pm" "${pkgdir}/usr/lib/perl5/5.26/vendor_perl/"

edh commented on 2017-09-03 11:23

Due the change in the way perl packages are handled, apparmor-libapparmor is broken. The problem lies in line 117 of your PKGBUILD where you try to install a perl module to a non-existing directory. To comply with the recent announcement [1] one should use the vendorarch directory (see `perl -V:vendorarch`).

[1] https://www.archlinux.org/news/perl-library-path-change/

egrupled commented on 2017-06-13 22:00

some apparmor utils are currently broken with python 3.6, see https://bugs.launchpad.net/apparmor/+bug/1661766

I recommend adding patch which fixes issue:
https://bazaar.launchpad.net/~apparmor-dev/apparmor/master/revision/3631

DoctorSelar commented on 2017-06-10 21:22

I'm getting an error whenever I try to run aa-genprof:

ERROR: Include file /etc/apparmor.d/local/usr.sbin.sshd not found

When I copy that file in from /usr/share/apparmor/extra-profiles and then run aa-genprof again, I get

ERROR: local/usr.sbin.sshd profile in local/usr.sbin.sshd contains syntax errors in line 19: missing "profile" keyword.

If I try to run apparmor_parser on the usr.sbin.ssh file, I get:

AppArmor parser error for usr.sbin.sshd in /etc/apparmor.d/tunables/home at line 16: syntax error, unexpected TOK_EQUALS, expecting TOK_MODE

dimosd commented on 2017-05-17 16:04

To have aa-genprof generate non-empty profiles, I had to increase the log size of auditd: max_log_file in /etc/audit/auditd.conf. Also sysctl -w kernel.printk_ratelimit = 0

svadkos commented on 2017-03-12 22:38

Also, can you remove bzr from makedeps?

kawer commented on 2016-12-15 20:24

Installing perl with pacman in core repositories if it was not already installed

All comments