[pkg-apparmor] Bug#934735: Bug#934735: dh-apparmor: please improve dh integration

intrigeri intrigeri at debian.org
Wed Dec 11 06:54:07 GMT 2019


Control: tag -1 + moreinfo

Hi Andrej!

Andrej Shadura:
> It would be great if the integration with dh could be improved.

I'm glad you care :)

> The first step would be to enable --with=apparmor support with a script
> like this (/usr/share/perl5/Debian/Debhelper/Sequence/apparmor.pm):

>     #! /usr/bin/perl
>     # debhelper sequence file for dh_apparmor
>     
>     use warnings;
>     use strict;
>     use Debian::Debhelper::Dh_Lib;
>     
>     insert_after("dh_install", "dh_apparmor");
>     
>     1

> It would also require dh_apparmor to do some guesswork and not create
> postinst scripts for binary packages not shipping anything
> apparmor-related.

Could you please describe what problem this solution would solve?
One way to explain this could be to show us how you envision this
improved integration would be used in a package, compared to the
status quo.

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list