Update AppArmor profiles

This commit is contained in:
Eric Torres 2019-03-11 11:02:13 -07:00
parent d5a79a00ec
commit 3452b40b55
4 changed files with 16 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Eric Torres <erictorres4@protonmail.com>
pkgname=packaging-scripts
pkgver=1.1.1
pkgver=1.1.2
pkgrel=1
pkgdesc="A set of helper scripts for handling Arch Linux packages"
arch=('any')

View File

@ -2,16 +2,20 @@
/usr/bin/addpkg {
#include <abstractions/base>
#include <abstractions/bash>
#include <abstractions/python>
/usr/bin/addpkg mrix,
/usr/bin/repo-add Ux,
/etc/pacman.conf r,
/etc/pacman.d/ r,
/etc/pacman.d/** r,
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
/var/cache/pacman/ r,
/var/cache/pacman/** rw,
# Home permissions are really touchy
# Since PKGBUILD files exist only on
# the top level of each package anyways
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
}

View File

@ -5,13 +5,18 @@
#include <abstractions/bash>
#include <abstractions/python>
/usr/bin/delpkg mrix,
/usr/bin/repo-remove Ux,
/etc/pacman.conf r,
/etc/pacman.d/ r,
/etc/pacman.d/** r,
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
/var/cache/pacman/ r,
/var/cache/pacman/** rw,
# Home permissions are really touchy
# Since PKGBUILD files exist only on
# the top level of each package anyways
/home/*/{Packages,Projects} r,
/home/*/{Packages,Projects}/** rw,
}

View File

@ -5,7 +5,7 @@ with open("README.rst", "r") as fh:
setuptools.setup(
name="packaging_scripts",
version="1.1.1",
version="1.1.2",
author="Eric Russel Torres",
author_email="erictorres4@protonmail.com",
description="A set of helpers for automating borg interaction",