atril: add custom apparmor profile for atril

This commit is contained in:
Luis Guzmán 2024-12-06 15:40:29 +00:00 committed by Ark74
parent 5fd2eab062
commit bdbf2cf07b
5 changed files with 561 additions and 0 deletions

34
helpers/make-atril Normal file
View file

@ -0,0 +1,34 @@
#!/bin/sh
#
# Copyright (C) 2024 Luis Guzmán <ark@switnet.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=0
. ./config
# Copy profiles
cp $DATA/apparmor-profile debian/
cp $DATA/apparmor-profile.abstraction debian/
cp $DATA/atril.apport debian/
# Tweak debian/rules to install apparmor profiles for atril
patch_p1 $DATA/patches/add_install_profiles_rules.patch
changelog "Test Atril apparmor profile #190"
package