Accepting request 1119653 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/1119653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=302
This commit is contained in:
Ana Guerrero 2023-10-24 18:07:02 +00:00 committed by Git OBS Bridge
commit 1d6f3ef5de
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Oct 23 12:42:40 UTC 2023 - Michal Suchanek <msuchanek@suse.com>
- Add rule for /etc/gitconfig in gitweb.cgi apparmor profile (bsc#1216501).
-------------------------------------------------------------------
Mon Oct 23 12:34:06 UTC 2023 - Christian Boltz <suse-beta@cboltz.de>
- gitweb.cgi AppArmor profile
- make the profile a named profile
- add local/ include to make custom additions easier
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 22 15:13:11 UTC 2023 - Michal Suchanek <msuchanek@suse.com> Fri Sep 22 15:13:11 UTC 2023 - Michal Suchanek <msuchanek@suse.com>

View File

@ -1,13 +1,13 @@
# Last Modified: Fri Apr 14 14:11:09 2019
#include <tunables/global> #include <tunables/global>
/usr/share/gitweb/gitweb.cgi { profile gitweb.cgi /usr/share/gitweb/gitweb.cgi {
#include <abstractions/base> #include <abstractions/base>
#include <abstractions/bash> #include <abstractions/bash>
#include <abstractions/nameservice> #include <abstractions/nameservice>
#include <abstractions/perl> #include <abstractions/perl>
#include <abstractions/private-files-strict> #include <abstractions/private-files-strict>
/etc/gitconfig r,
/{usr/,}bin/bash rix, /{usr/,}bin/bash rix,
/{usr/,}bin/tar rix, /{usr/,}bin/tar rix,
/usr/bin/gzip rix, /usr/bin/gzip rix,
@ -29,4 +29,7 @@
owner /**/ r, owner /**/ r,
owner /**/.git/** r, owner /**/.git/** r,
owner @{HOME}/.gitconfig r, owner @{HOME}/.gitconfig r,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/usr.share.git-web.gitweb.cgi>
} }