Commit Graph

229 Commits

Author SHA256 Message Date
Christian Boltz
0916435d00 Accepting request 888862 from home:cboltz
- add crypto-policies-mr720.diff to allow reading crypto policies
  in abstractions/ssl_certs (boo#1183597)

- replace %{?systemd_requires} with %{?systemd_ordering} to avoid dragging in
  systemd into containers just because apparmor-parser ships a *.service file

OBS-URL: https://build.opensuse.org/request/show/888862
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=296
2021-04-27 17:07:13 +00:00
Christian Boltz
4710d6ccea Accepting request 874370 from home:lnussel:usrmove
- avoid file listed twice error

OBS-URL: https://build.opensuse.org/request/show/874370
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=294
2021-02-22 18:21:51 +00:00
Christian Boltz
8416250f76 Accepting request 868745 from home:cboltz
- define %_pamdir for <= 15.x to fix the build on those releases

OBS-URL: https://build.opensuse.org/request/show/868745
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=290
2021-02-02 18:37:25 +00:00
Christian Boltz
a564ac7aa3 Accepting request 868407 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)
  * use %_pamdir

OBS-URL: https://build.opensuse.org/request/show/868407
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=289
2021-02-01 18:27:47 +00:00
Christian Boltz
cbfc4c18e3 Accepting request 865955 from home:cboltz
- add apache-extra-profile-include-if-exists.diff: make <apache2.d>
  include in apache extra profile optional to avoid problems with empty
  profile directory (boo#1178527)

OBS-URL: https://build.opensuse.org/request/show/865955
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=287
2021-01-22 11:50:03 +00:00
Christian Boltz
052f1da54b Accepting request 852710 from home:cboltz
- update to AppArmor 3.0.1
  - minor additions to profiles and abstractions
  - some bugfixes in libapparmor, apparmor_parser and the aa-* utils
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_3.0.1
    for the detailed upstream changelog
- removed upstream(ed) patches:
  - changes-since-3.0.0.diff
  - extra-profiles-fix-Pux.diff
  - utils-fix-hotkey-conflict.diff

libapparmor:
- update to AppArmor 3.0.1
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_3.0.1
    for the detailed upstream changelog
  - drop upstream patch changes-since-3.0.0.diff

OBS-URL: https://build.opensuse.org/request/show/852710
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=285
2020-12-02 20:13:56 +00:00
Christian Boltz
d058b1185f Accepting request 852662 from home:dimstar:Factory
Fix build with new/reworked apache package without breaking compat to previous mode

OBS-URL: https://build.opensuse.org/request/show/852662
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=284
2020-12-02 16:27:43 +00:00
Christian Boltz
7fc9e62410 Accepting request 845532 from home:cboltz
- add utils-fix-hotkey-conflict.diff to fix a hotkey conflict in
  de, id and sv translations (and fix the test) (MR 675)
- add extra-profiles-fix-Pux.diff to fix an inactive profile -
  prevents a crash in aa-logprof and aa-genprof when creating a new
  profile (MR 676)

OBS-URL: https://build.opensuse.org/request/show/845532
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=282
2020-11-02 19:55:01 +00:00
Christian Boltz
980f095fc4 Accepting request 844157 from home:cboltz
- update to AppArmor 3.0.0
  - introduce feature abi declaration in profiles to enable use of
    new rule types (for openSUSE: dbus and unix rules)
  - support xattr attachment conditionals
  - experimental support for kill and unconfined profile modes
  - rewritten aa-status (in C), including support for new profile modes
  - rewritten aa-notify (in python), finally dropping the perl
    requirement at runtime
  - new tool aa-features-abi for extracting feature abis from the kernel
  - update profiles to have profile names and to use 3.0 feature abi
  - introduce @{etc_ro} and @{etc_rw} profile variables
  - new profile for php-fpm
  - several updates to profiles and abstractions (including boo#1166007)
  - fully support 'include if exists' in the aa-* tools
  - rewrite handling of alias, include, link and variable rules in
    the aa-* tools
  - rewrite and simplify log handling in the aa-logprof and aa-genprof
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_3.0
    for the detailed upstream changelog
- patches:
  - add changes-since-3.0.0.diff with upstream fixes since the 3.0.0
    release up to 3e18c0785abc03ee42a022a67a27a085516a7921
  - drop upstreamed usr-etc-abstractions-base-nameservice.diff
  - drop 2.13-only libapparmor-so-number.diff
  - refresh apparmor-enable-profile-cache.diff - partially upstreamed
  - update apparmor-samba-include-permissions-for-shares.diff and
    apparmor-lessopen-profile.patch - switch to "include if exists"
  - apparmor-lessopen-profile.patch: add abi rule to lessopen profile
  - refresh apparmor-lessopen-nfs-workaround.diff
- move away very loose apache profile that doesn't even match the
  apache2 binary path in openSUSE to avoid confusion (boo#872984)
- move rewritten aa-status from utils to parser subpackage
- add aa-features-abi to parser subpackage
- replace perl and libnotify-tools requires with requiring
  python3-notify2 and python3-psutil (needed by the rewritten
  aa-notify)
- drop ancient cleanup for /etc/init.d/subdomain from parser %pre
- drop (never enabled) conditionals to build with python2 and to
  build the python-apparmor subpackage (upstream dropped python2
  support)
- drop setting PYTHON and PYTHON_VERSIONS env variable, no longer needed
- set PYFLAKES path for utils check
- add precompiled_cache build conditional to allow faster local
  builds without using kvm
- remove duplicated BuildRequires: swig

libapparmor:
- update to AppArmor 3.0.0
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_3.0
    for the detailed upstream changelog
- add changes-since-3.0.0.diff with upstream fixes since the 3.0.0
  release up to 3e18c0785abc03ee42a022a67a27a085516a7921
- drop 2.13-only patch libapparmor-so-number.diff

OBS-URL: https://build.opensuse.org/request/show/844157
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=281
2020-10-26 20:16:22 +00:00
Christian Boltz
4c6d64a169 Accepting request 842314 from home:cboltz
- update to AppArmor 2.13.5
  - add missing permissions to several profiles and abstractions
  - bugfixes in parser and tools
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_2.13.5
    for the detailed upstream changelog
- remove upstream(ed) patches
  - changes-since-2.13.4.diff
  - abstractions-X-xauth-mr582.diff
  - sevdb-caps-mr589.diff
  - libvirt-leaseshelper.patch
  - cap_checkpoint_restore.diff
- add libapparmor-so-number.diff to fix libapparmor so version (!658)

libapparmor:
- update to AppArmor 2.13.5
  - fix two potential build failures
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_2.13.5
    for the detailed upstream changelog
- add libapparmor-so-number.diff to fix libapparmor so version (!658)

OBS-URL: https://build.opensuse.org/request/show/842314
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=279
2020-10-17 16:56:14 +00:00
Christian Boltz
9c5c1e5926 Accepting request 841766 from home:cboltz
- add CAP_CHECKPOINT_RESTORE to severity.db (MR 656,
  cap_checkpoint_restore.diff)

OBS-URL: https://build.opensuse.org/request/show/841766
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=277
2020-10-14 12:23:14 +00:00
Christian Boltz
13d781e542 Accepting request 840334 from home:cboltz
- %service_del_postun_without_restart only works for Tumbleweed,
  keep using DISABLE_RESTART_ON_UPDATE for Leap 15.x

OBS-URL: https://build.opensuse.org/request/show/840334
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=276
2020-10-08 21:20:17 +00:00
Christian Boltz
7de39802e7 Accepting request 835136 from home:fbui:branches:security:apparmor
- Make use of %service_del_postun_without_restart
  And stop using DISABLE_RESTART_ON_UPDATE as this interface is
  obsolete.

OBS-URL: https://build.opensuse.org/request/show/835136
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=274
2020-09-29 19:13:52 +00:00
Christian Boltz
98bfbb94e5 Accepting request 831960 from home:jfehlig:branches:security:apparmor
This needs to go upstream but hoping someone here more familiar with
apparmor and its dev processes can do that. If not please let me know
and I can give it a stab.

- libvirt-leaseshelper.patch: add /usr/libexec as a path to the
  libvirt leaseshelper script (jsc#SLE-14253)

OBS-URL: https://build.opensuse.org/request/show/831960
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=272
2020-09-06 10:18:31 +00:00
Christian Boltz
a56c5e56bc Accepting request 824912 from home:cboltz
- sevdb-caps-mr589.diff: add new capabilities CAP_BPF and CAP_PERFMON
  to severity.db (lp#1890547)

OBS-URL: https://build.opensuse.org/request/show/824912
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=270
2020-08-07 21:09:36 +00:00
Christian Boltz
d925988ada Accepting request 821970 from home:cboltz
- add abstractions-X-xauth-mr582.diff to allow reading the xauth file
  from its new sddm location (boo#1174290, boo#1174293)

OBS-URL: https://build.opensuse.org/request/show/821970
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=268
2020-07-20 18:53:52 +00:00
Christian Boltz
15e585724c Accepting request 807998 from home:cboltz
- add changes-since-2.13.4.diff with upstream changes and fixes
  since 2.13.4 up to 5f61bd4c:
  - add several abstractions related to xdg-open:
    dbus-network-manager-strict, exo-open, gio-open, gvfs-open,
    kde-open5, xdg-open
  - introduce @{run} variable
  - update dnsmasq and winbindd profile
  - update mdns, mesa and nameservice abstraction
  - some bugfixes in the aa-* tools, including a remote bugfix in the
    YaST AppArmor module (boo#1171315)
- drop upstream(ed) patches (now part of changes-since-2.13.4.diff):
  - make-4.3-capabilities.diff
  - make-4.3-capabilities-vim.diff
  - make-4.3-fix-utils-network-test.diff
  - make-4.3-network.diff
  - abstractions-add-etc-mdns.allow-to-etc-apparmor.d-abstractions-mdns.patch
- apply usr-etc-abstractions-base-nameservice.diff only for
  Tumbleweed, but not for Leap 15.x where it's not needed
- refresh usr-etc-abstractions-base-nameservice.diff

OBS-URL: https://build.opensuse.org/request/show/807998
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=266
2020-05-21 13:33:21 +00:00
Christian Boltz
3d58d48604 Accepting request 792967 from home:goldwynr:branches:security:apparmor
bsc1168306 - Add /etc/mdns.allow

OBS-URL: https://build.opensuse.org/request/show/792967
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=264
2020-04-10 16:39:59 +00:00
Christian Boltz
eb47f5e85c Accepting request 789397 from home:cboltz
- fix build with make 4.3 by backporting some commits from upstream
  master (boo#1167953):
  - make-4.3-capabilities.diff
  - make-4.3-capabilities-vim.diff
  - make-4.3-network.diff
  - make-4.3-fix-utils-network-test.diff

Also fix a wrong patch filename in the previous .changes entry.
The correct message about the refreshed patch is:
- refresh usr-etc-abstractions-base-nameservice.diff

OBS-URL: https://build.opensuse.org/request/show/789397
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=262
2020-03-29 00:17:09 +00:00
Christian Boltz
9e2caf2d7f Accepting request 784420 from home:cboltz
- update to AppArmor 2.13.4
  - several abstraction updates (including boo#1153162)
  - disallow writing to fontconfig cache in abstractions/fonts
  - some bugfixes in the aa-* tools
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_2.13.4
    for the detailed upstream changelog
- drop upstreamed patches:
  - abstractions-ssl-certbot-paths.diff
  - apparmor-krb5-conf-d.diff
  - libapparmor-python3.8.diff
  - usr-etc-abstractions-authentification.diff
- refresh usr-etc-abstractions-authentification.diff

libapparmor:
- update to AppArmor 2.13.4
  - fix log parsing for logs with an embedded newline
  - see https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_2.13.4
    for the detailed upstream changelog

OBS-URL: https://build.opensuse.org/request/show/784420
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=260
2020-03-12 20:45:35 +00:00
Christian Boltz
469de27df3 Accepting request 767252 from home:cboltz
- add usr-etc-abstractions-base-nameservice.diff to adjust
  abstractions/base and nameservice for /usr/etc/ (boo#1161756)

OBS-URL: https://build.opensuse.org/request/show/767252
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=258
2020-01-25 19:11:40 +00:00
Christian Boltz
36072d063b Accepting request 749270 from home:scarabeus_iv:branches:security:apparmor
- Properly pull in full python3 interpreter

OBS-URL: https://build.opensuse.org/request/show/749270
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=256
2019-11-18 11:15:04 +00:00
Christian Boltz
90a7b9f915 Accepting request 746669 from home:cboltz
- add libapparmor-python3.8.diff to fix building the libapparmor python
  bindings (deb#943657)

OBS-URL: https://build.opensuse.org/request/show/746669
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=254
2019-11-08 17:42:53 +00:00
Christian Boltz
5a3f92eb01 Accepting request 735944 from home:cboltz
- add usr-etc-abstractions-authentification.diff to allow reading
  /usr/etc/pam.d/* and some other authentification-related files (boo#1153162)

OBS-URL: https://build.opensuse.org/request/show/735944
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=252
2019-10-07 20:19:22 +00:00
Christian Boltz
433977903f Accepting request 733857 from home:cboltz
- add abstractions-ssl-certbot-paths.diff - add certbot paths to
  abstractions/ssl_certs and abstractions/ssl_keys

OBS-URL: https://build.opensuse.org/request/show/733857
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=250
2019-09-28 15:36:36 +00:00
Christian Boltz
34919fc720 Accepting request 733763 from home:luizluca:branches:security:apparmor
- add apparmor-krb5-conf-d.diff for kerberos client

Since https://build.opensuse.org/package/rdiff/network/krb5?linkrev=base&rev=204, it is possible to use configuration snippets for krb5.conf. However, any service under apparmor will not be able to read it.

As /etc/krb5.conf.d is default for SUSE but not for upstream apparmor, the patch might not be accepted upstream.

LEAP15(.1) should also get this fix.

OBS-URL: https://build.opensuse.org/request/show/733763
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=249
2019-09-28 15:13:31 +00:00
Christian Boltz
c2744d57c4 Accepting request 710682 from home:cboltz
- re-number remaining patches

OBS-URL: https://build.opensuse.org/request/show/710682
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=247
2019-06-18 22:47:39 +00:00
Christian Boltz
040db79da2 Accepting request 710679 from home:cboltz
- update to 2.13.3
  - profile updates for dnsmasq, dovecot, identd, syslog-ng
  - new "lsb_release" profile (only used when using "Px -> lsb_release")
  - fix buggy syntax in tunables/share
  - several abstraction updates
  - parser: fix "Px -> foo-bar" (the "-" was rejected before)
  - several bugfixes in aa-genprof and aa-logprof
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13.3
    for the detailed upstream changelog
- drop upstream(ed) patches:
  - apparmor-nameservice-resolv-conf-link.patch
  - profile_filename_cornercase.diff
  - dnsmasq-libvirtd.diff
  - dnsmasq-revert-alternation.diff
  - usrmerge-fixes.diff
  - libapparmor-swig-4.diff

libapparmor:
- update to AppArmor 2.13.1
  - some fixes in cache handling
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13.3
    for the detailed upstream changelog

OBS-URL: https://build.opensuse.org/request/show/710679
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=246
2019-06-18 22:31:34 +00:00
Christian Boltz
81e6e09dde Accepting request 707832 from home:cboltz
- add upstream libapparmor-swig-4.diff: fix libapparmor tests with swig
  4.0 (boo#1135751)

OBS-URL: https://build.opensuse.org/request/show/707832
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=244
2019-06-05 12:14:49 +00:00
Christian Boltz
bdfa577764 Accepting request 697748 from home:marxin:branches:security:apparmor
- Disable LTO (boo#1133091).

OBS-URL: https://build.opensuse.org/request/show/697748
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=242
2019-04-25 08:20:14 +00:00
Christian Boltz
ef40d07d30 Accepting request 682453 from home:cboltz
- add usrmerge-fixes.diff: fix test failures when /bin/sh is handled by
  update-alternatives (boo#1127877)

OBS-URL: https://build.opensuse.org/request/show/682453
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=238
2019-03-07 12:45:58 +00:00
Christian Boltz
854f9b32a9 Accepting request 679592 from home:cboltz
- add dnsmasq-revert-alternation.diff: revert path alternation in
  dnsmasq profile to avoid breaking libvirtd (boo#1127073)

OBS-URL: https://build.opensuse.org/request/show/679592
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=235
2019-02-26 20:52:01 +00:00
Christian Boltz
5e53819734 Accepting request 668438 from home:cboltz
- allow peer=libvirtd in the dnsmasq profile to match the newly added
  libvirtd profile name (boo#1118952#c3)

OBS-URL: https://build.opensuse.org/request/show/668438
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=232
2019-01-24 21:48:27 +00:00
Christian Boltz
44de259587 Accepting request 665861 from home:kukuk:branches:security:apparmor
- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/665861
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=230
2019-01-14 14:42:04 +00:00
Christian Boltz
f6659d8de7 Accepting request 663645 from home:cboltz
- add apparmor-lessopen-nfs-workaround.diff: allow network access in
  lessopen.sh for reading files on NFS (workaround for boo#1119937 /
  lp#1784499)

OBS-URL: https://build.opensuse.org/request/show/663645
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=229
2019-01-08 12:18:00 +00:00
Christian Boltz
534adb302f Accepting request 662541 from home:cboltz
- add profile_filename_cornercase.diff: drop check that lets aa-logprof
  error out in a corner-case (log event for a non-existing profile while
  a profile file with the default filename for that non-existing profile
  exists) (boo#1120472)

OBS-URL: https://build.opensuse.org/request/show/662541
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=227
2019-01-02 19:59:15 +00:00
Christian Boltz
018cfefbdb Accepting request 660709 from home:cboltz
- netconfig: write resolv.conf to /run with link to /etc (fate#325872,
  boo#1097370) [patch apparmor-nameservice-resolv-conf-link.patch]

OBS-URL: https://build.opensuse.org/request/show/660709
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=225
2018-12-22 15:48:06 +00:00
Christian Boltz
a50868b293 Accepting request 660558 from home:cboltz
- update to AppArmor 2.13.2
  - add profile names to most profiles
  - update dnsmasq profile (pid file and logfile path) (boo#1111342)
  - add vulkan abstraction
  - add letsencrypt certificate path to abstractions/ssl_*
  - ignore *.orig and *.rej files when loading profiles
  - fix aa-complain etc. to handle named profiles
  - several bugfixes and small profile improvements
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13.2
    for the detailed upstream changelog
- remove upstreamed fix-syntax-error-in-rc.apparmor.functions.patch

- update to 2.13.1
  - add qt5 and qt5-compose-cache-write abstractions
  - add @{uid} and @{uids} kernel var placeholders
  - several profile and abstraction updates
  - ignore "abi" rules in parser and tools (instead of erroring out)
  - utils: fix overwriting of child profile flags if they differ from
    the main profile
  - several bugfixes (including boo#1100779)
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13.1
    for the detailed upstream changelog
- remove upstream(ed) patches:
  - aa-teardown-path.diff
  - fix-apparmor-systemd-perms.diff
  - logprof-skip-cache-d.diff
  - fix-samba-profiles.patch
  - make-pyflakes-happy.diff
  - dnsmasq-Add-permission-to-open-log-files.patch
- refresh apparmor-samba-include-permissions-for-shares.diff
- add fix-syntax-error-in-rc.apparmor.functions.patch

- update to AppArmor 2.13.2
  - no changes in libapparmor
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13.2
    for the detailed upstream changelog

- update to AppArmor 2.13.1
  - several bug fixes
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13.1
    for the detailed upstream changelog

OBS-URL: https://build.opensuse.org/request/show/660558
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=224
2018-12-21 14:30:43 +00:00
Christian Boltz
d7630ac7d0 add patch name to .changes
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=222
2018-10-10 18:56:55 +00:00
Christian Boltz
25eea38961 Accepting request 641131 from home:cboltz
- update rpmlintrc:
  - whitelist .features file which is part of the pre-compiled cache
  - comment out filters for the disabled tomcat_apparmor subpackage

OBS-URL: https://build.opensuse.org/request/show/641131
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=221
2018-10-10 18:49:23 +00:00
Christian Boltz
778bd0c3fa Accepting request 640981 from home:pevik:branches:security:apparmor
- Backport dnsmasq fix:
  025c7dc6 ("dnsmasq: Add permission to open log files")
  (boo#1111342)

OBS-URL: https://build.opensuse.org/request/show/640981
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=220
2018-10-10 18:00:10 +00:00
Christian Boltz
2fb0399867 Accepting request 630890 from home:cboltz
- make pyflakes 2.0 happy (unused variable) (SR 629206)

OBS-URL: https://build.opensuse.org/request/show/630890
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=217
2018-08-22 11:38:18 +00:00
Christian Boltz
77fc31b80c Accepting request 605463 from home:scabrero:bsc1092099
- add fix-samba-profiles.patch - smbd loads new shared libraries.
  Allow winbindd to access new kerberos credential cache location
  (boo#1092099)

OBS-URL: https://build.opensuse.org/request/show/605463
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=215
2018-05-09 11:25:06 +00:00
Christian Boltz
803321a703 Accepting request 602407 from home:cboltz
- exclude the /etc/apparmor.d/cache.d/ directory from aa-logprof parsing
  (logprof-skip-cache-d.diff)

OBS-URL: https://build.opensuse.org/request/show/602407
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=213
2018-04-29 23:15:47 +00:00
Christian Boltz
130681d7f5 Accepting request 600114 from home:cboltz
- add fix-apparmor-systemd-perms.diff:
  fix permissions of /lib/apparmor/apparmor.systemd (boo#1090545)

OBS-URL: https://build.opensuse.org/request/show/600114
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=211
2018-04-23 16:00:03 +00:00
Christian Boltz
7a68cbdf0f comment fix
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=209
2018-04-19 23:30:53 +00:00
Christian Boltz
2cd05a8c5f Accepting request 598826 from home:cboltz
- create and package precompiled cache (/usr/share/apparmor/cache,
  read-only) (boo#1069906, boo#1074429)
- change (writeable) cache directory to /var/cache/apparmor/ - with the
  new btrfs layout, the only reason for using /var/lib/apparmor/cache/
  (which was "it's part of the / subvolume") is gone, and /var/cache
  makes more sense for the cache
- adjust parser.conf (via apparmor-enable-profile-cache.diff) to use both
  cache locations
- clear cache also in %post of abstractions package

OBS-URL: https://build.opensuse.org/request/show/598826
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=208
2018-04-19 23:21:57 +00:00
Christian Boltz
d3384f4923 Accepting request 598823 from home:cboltz
--------------------------------------------------------------------
- update to AppArmor 2.13
  - add support for multiple cache directories and cache overlays
    (boo#1069906, boo#1074429)
  - add support for conditional includes in policy
  - remove group restrictions from aa-notify (boo#1058787)
  - aa-complain etc.: set flags for profiles represented by a glob
  - aa-status: split profile from exec name
  - several profile and abstraction updates
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13
    for the detailed upstream changelog
- drop upstreamed patches and files:
  - aa-teardown
  - apparmor.service
  - apparmor.systemd
  - 32-bit-no-uid.diff
  - disable-cache-on-ro-fs.diff
  - dovecot-stats.diff
  - parser-write-cache-warn-only.diff
  - set-flags-for-profiles-represented-by-glob.patch
  - fix-regression-in-set-flags.patch
- drop spec code that handled installing aa-teardown, apparmor.service
  and apparmor.systemd (now part of upstream Makefile)
- simplify "make -C profiles parser-check" call (upstream Makefile bug
  that required to call "cd" was fixed)
- add aa-teardown-path.diff - install aa-teardown in /usr/sbin/
- move 'exec' symlink to parser package (belongs to aa-exec)

libapparmor:
- update to AppArmor 2.13
  - add support for multiple cache directories and cache overlays
    (boo#1069906, boo#1074429)
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.13
    for the detailed upstream changelog

OBS-URL: https://build.opensuse.org/request/show/598823
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=207
2018-04-19 22:21:11 +00:00
Goldwyn Rodrigues
d4030892e0 Accepting request 598610 from home:goldwynr:branches:security:apparmor
bsc#1086154

OBS-URL: https://build.opensuse.org/request/show/598610
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=206
2018-04-19 21:36:48 +00:00
Christian Boltz
01604b0fc7 Accepting request 595789 from home:cboltz
- add dovecot-stats.diff:
  - add dovecot/stats profile and allow dovecot to run it (boo#1088161)
  - allow dovecot/auth to write /run/dovecot/old-stats-user (part of boo#1087753)
- update 32-bit-no-uid.diff with upstream fix

OBS-URL: https://build.opensuse.org/request/show/595789
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=204
2018-04-11 20:57:37 +00:00
Christian Boltz
392c25f2eb Accepting request 581986 from home:goldwynr:branches:security:apparmor
boo#1082956

OBS-URL: https://build.opensuse.org/request/show/581986
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=202
2018-03-03 10:25:05 +00:00
Christian Boltz
ede3b9fa12 Accepting request 563667 from home:kukuk:branches:security:apparmor
- disable write cache if filesystem is read-only and don't bail
  out (bsc#1069906, bsc#1074429)

OBS-URL: https://build.opensuse.org/request/show/563667
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=199
2018-01-16 19:32:25 +00:00
Christian Boltz
c6c48cc166 Accepting request 561674 from home:cboltz
- add parser-write-cache-warn-only.diff to make cache write failures a
  warning instead of an error (boo#1069906, boo#1074429)
- reduce dependeny on libnotify-tools (used by aa-notify -p) to "Suggests"
  to avoid pulling in several Gnome packages on servers (boo#1067477)

OBS-URL: https://build.opensuse.org/request/show/561674
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=197
2018-01-04 14:54:12 +00:00
Christian Boltz
772075ecd7 Accepting request 560030 from home:cboltz
- add 32-bit-no-uid.diff to fix handling of log events without ouid on
  32 bit systems

OBS-URL: https://build.opensuse.org/request/show/560030
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=195
2017-12-26 18:02:52 +00:00
Christian Boltz
7823513103 Accepting request 560016 from home:cboltz
- update to AppArmor 2.12
  - add support for 'owner' rules in aa-logprof and aa-genprof
  - add support for includes with absolute path in aa-logprof etc. (lp#1733700)
  - update aa-decode to also decode PROCTITLE (lp#1736841)
  - several profile and abstraction updates, including boo#1069470
  - see https://gitlab.com/apparmor/apparmor/wikis/Release_Notes_2.12
    for the detailed upstream changelog
- drop upstreamed patches:
  - read_inactive_profile-exactly-once.patch
  - utils-fix-sorted-save_profiles-regression.diff
- lessopen profile: change all 'rix' rules to 'mrix'

- update to AppArmor 2.11.95 aka 2.12 beta1
  - add JSON interface to aa-logprof and aa-genprof (used by YaST)
  - drop old YaST interface code
  - update audio, base and nameservice abstractions
  - allow @{pid} to match 7-digit pids
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_11_95
    for the detailed upstream changelog
- drop upstreamed patches
  - apparmor-yast-cleanup.patch
  - apparmor-json-support.patch
  - nameservice-libtirpc.diff
- drop obsolete perl modules (YaST no longer needs them)
- drop patches that were only needed by the obsolete perl modules:
  - apparmor-utils-string-split
  - apparmor-abstractions-no-multiline.diff
- drop profiles-sockets-temporary-fix.patch - obsoleted by a fix in
  apparmor_parser
- refresh utils-fix-sorted-save_profiles-regression.diff

OBS-URL: https://build.opensuse.org/request/show/560016
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=194
2017-12-26 14:30:01 +00:00
Christian Boltz
51c20bdc0e Accepting request 546471 from home:goldwynr:branches:security:apparmor
bsc#1069346

OBS-URL: https://build.opensuse.org/request/show/546471
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=192
2017-12-03 12:44:51 +00:00
Christian Boltz
3a01d74522 Accepting request 536620 from home:cboltz
apparmor:
- update to AppArmor 2.11.1
  - add permissions to several profiles and abstractions (including
    lp#1650827 and boo#1057900)
  - several fixes in the aa-* tools (including lp#1689667, lp#1628286,
    lp#1661766 and boo#1062667)
  - fix downgrading/converting of 'unix' rules (will be supported in
    kernel 4.15) to 'network unix' rules in apparmor_parser (boo#1061195)
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_11_1 for
    upstream changelog
- remove upstream(ed) patches
  - upstream-changes-r3616..3628.diff
  - upstream-changes-r3629..3648.diff
  - parser-tests-dbus-duplicated-conditionals.diff
  - apparmor-fix-podsyntax.patch
  - sshd-profile-drop-local-include-r3615.diff
- refresh apparmor-yast-cleanup.patch
- add utils-fix-sorted-save_profiles-regression.diff to fix a regression
  in displaying the "changed profiles" list in aa-logprof

Also add bugzilla reference to the previous change:
- add nameservice-libtirpc.diff to fix NIS/YP logins (boo#1062244)


libapparmor:
- update to AppArmor 2.11.1
  - mostly test-related changes in libapparmor
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_11_1 for
    upstream changelog

OBS-URL: https://build.opensuse.org/request/show/536620
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=190
2017-10-25 21:04:37 +00:00
Christian Boltz
365c3b08fa Accepting request 534596 from home:cboltz
- add nameservice-libtirpc.diff to fix NIS/YP logins

OBS-URL: https://build.opensuse.org/request/show/534596
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=188
2017-10-17 21:44:17 +00:00
Christian Boltz
60a2ec39cc better patch description and changelog for profiles-sockets-temporary-fix.patch
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=186
2017-10-04 11:35:57 +00:00
Christian Boltz
5958c64a3e Accepting request 530988 from home:goldwynr:branches:security:apparmor
added the temporary fix to profiles abstractions/nameservice

OBS-URL: https://build.opensuse.org/request/show/530988
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=185
2017-10-04 11:33:29 +00:00
Christian Boltz
4f49cf147b Accepting request 528495 from home:coolo:branches:openSUSE:Factory
- add apparmor-fix-podsyntax.patch from mailing list to fix
  compilation with perl 5.26

OBS-URL: https://build.opensuse.org/request/show/528495
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=183
2017-09-24 11:31:08 +00:00
Christian Boltz
2bb2c46241 Accepting request 517036 from home:matejcik:branches:security:apparmor
- do not require exact X.Y version of "python3"
- require also matching python(abi) which is arguably more important

OBS-URL: https://build.opensuse.org/request/show/517036
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=181
2017-08-15 16:08:48 +00:00
Christian Boltz
5f32a36514 Accepting request 511315 from home:cboltz
- don't rely on implementation details for reload in %post

OBS-URL: https://build.opensuse.org/request/show/511315
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=178
2017-07-18 19:59:57 +00:00
Christian Boltz
f8148e7701 Accepting request 511034 from home:goldwynr:branches:security:apparmor
Adds JSON support. These patches can be removed when we update apparmor to contain JSON support. Until then, this is required for the smooth merge of yast-apparmor

OBS-URL: https://build.opensuse.org/request/show/511034
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=177
2017-07-18 19:56:43 +00:00
Christian Boltz
454b681e13 Accepting request 482764 from home:cboltz
- add upstream-changes-r-3629..3648.diff:
  - preserve unknown profiles when reloading apparmor.service
    (CVE-2017-6507, lp#1668892, boo#1029696)
  - add aa-remove-unknown utility to unload unknown profiles (lp#1668892)
  - update nvidia abstraction for newer nvidia drivers
  - don't enforce ordering of dbus rule attributes in utils (lp#1628286)
  - add --parser, --base and --Include option to aa-easyprof to allow
    non-standard paths (useful for tests) (lp#1521031)
  - move initialization code in apparmor.aa to init_aa(). This allows to
    run all utils tests even if /etc/apparmor.d/ or /sbin/apparmor_parser
    don't exist.
  - several improvements in the utils tests
- drop upstreamed python3-drop-re-locale.patch
- no longer delete/skip some of the utils tests (to allow this, add
  parser-tests-dbus-duplicated-conditionals.diff)
- add var.mount dependeny to apparmor.service (boo#1016259#c34)

OBS-URL: https://build.opensuse.org/request/show/482764
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=174
2017-03-26 18:43:45 +00:00
Christian Boltz
bba6e7bef6 Accepting request 480782 from home:kukuk:branches:security:apparmor
- Cleanup spec file:
  - don't use insserv if we afterwards call systemd, this can
    have bad side effects
  - remove dead code
  - remove now obsolete 'distro' checks
- Replace init.d script with new wrapper working with systemd

OBS-URL: https://build.opensuse.org/request/show/480782
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=172
2017-03-19 19:14:12 +00:00
Christian Boltz
14d5404240 Accepting request 458503 from home:matejcik:branches:security:apparmor
- add python3-drop-re-locale.patch: remove deprecated re.LOCALE
  flag in Python UI as it was dropped from Python 3.6

OBS-URL: https://build.opensuse.org/request/show/458503
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=169
2017-02-18 12:29:18 +00:00
Christian Boltz
8c83a952f7 Accepting request 453533 from home:cboltz
- add upstream-changes-r3616..3628.diff:
  - update abstractions/base, abstractions/apache2-common and dovecot profiles
  - merge ask_the_questions() of aa-logprof and aa-mergeprof
  - pass LDFLAGS when building parser, libapparmor perl bindings and pam_apparmor
- adjust deleting the cache in profiles %post to the new cache location
- silence errors when deleting the cache (boo#976914)

- split libapparmor into separate spec to get rid of build loop
  involving mariadb, systemd, apparmor, libapr and mariadb again
  (see the discussion in SR 448871 for details)

- libapparmor.spec is based on the AppArmor 2.11 apparmor.spec, but
  with minimum BuildRequires

OBS-URL: https://build.opensuse.org/request/show/453533
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=166
2017-01-30 22:53:15 +00:00
Christian Boltz
fcc884a7e3 Accepting request 453151 from home:cboltz
- update to AppArmor 2.11.0
  - apparmor_parser now supports parallel compiles and loads
  - add full support for dbus, ptrace and signal rules and events to the
    utils
  - full rewrite of the file rule handling in the utils
  - lots of improvements and fixes
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_11 for the
    detailed changelog
- patches:
  - add sshd-profile-drop-local-include-r3615.diff to fix 'make check'
  - drop aa-unconfined-fix-netstat-call-2.10r3380.diff, no longer needed
  - refresh apparmor-abstractions-no-multiline.diff
  - refresh apparmor-samba-include-permissions-for-shares.diff
- spec changes:
  - aa-unconfined switched to using ss (from iproute2), adjust Recommends:
  - move libapparmor to /usr/lib*/
  - drop %if %suse_version checks for 12.x
  - change several Obsoletes from %version to < 2.9. Those package names
    weren't used since years, and 2.9 is still a careful choice
  - include apparmor.service independent of %suse_version
  - techdoc.pdf is now shipped in upstream tarball to reduce BuildRequires
    - drop latex2html, texlive-* and w3m BuildRequires
    - techdoc.txt and techdoc.html not included, drop them from the package
  - run most of utils/ make check (some tests expect /etc/apparmor.d/ and
    /sbin/apparmor_parser to exist, skip them)
  - BuildRequires python3-pyflakes (utils tests) and dejagnu (libapparmor tests)
  - drop sed'ing python3 into aa-* shebang (upstreamed)
  - build binutils
    - aa-exec is now written in C and lives in /usr/bin/, move it to the
      apparmor_parser package and create a compability symlink in /usr/sbin/
    - aa-exec manpage moved to section 1
    - aa-enabled is a small new tool to find out if AppArmor is enabled
  - package new aa_stack_profile(2) manpage

OBS-URL: https://build.opensuse.org/request/show/453151
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=165
2017-01-28 12:45:16 +00:00
Christian Boltz
99869c0576 - change /etc/apparmor.d/cache symlink to /var/lib/apparmor/cache/.
This is part of the root partition (at least with default partitioning)
  and should be available earlier than /var/cache/apparmor/
  (boo#1015249, boo#980081, bsc#1016259)
- add dependency on var-lib.mount to apparmor.service as safety net

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=163
2017-01-24 14:23:09 +00:00
Christian Boltz
1a27f96919 Accepting request 449666 from home:cboltz
- delete /etc/apparmor.d/cache symlink. apparmor_parser will re-create
  it as real directory. This is needed to avoid problems on boot if
  /var/ is mounted too late (boo#1015249, boo#980081, bsc#1016259)
  (Note: I'm not packaging /etc/apparmor.d/cache/ as directory to avoid
  RPM update problems with the symlink -> directory change.)

OBS-URL: https://build.opensuse.org/request/show/449666
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=162
2017-01-11 11:32:04 +00:00
Christian Boltz
8b7ca9d3cb Accepting request 449596 from home:cboltz
- update to AppArmor 2.10.2 maintenance release
  - lots of bugfixes and profile updates (including boo#1000201,
    boo#1009964, boo#1014463)
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_10_2 for details
- add aa-unconfined-fix-netstat-call-2.10r3380.diff to fix a regression
  in aa-unconfined
- drop upstream(ed) patches:
  - changes-since-2.10.1--r3326..3346.diff
  - changes-since-2.10.1--r3347..3353.diff
  - libapparmor-fix-import-path.diff (upstream fix is slightly different)
  - nscd-var-lib.diff
- refresh apparmor-abstractions-no-multiline.diff

OBS-URL: https://build.opensuse.org/request/show/449596
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=161
2017-01-10 23:07:09 +00:00
Christian Boltz
5c6de0adb5 manually revert the accidently accepted SR 443209
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=160
2016-12-06 00:26:20 +00:00
Christian Boltz
2ba9e1fcd5 Accepting request 443209 from home:kstreitova:branches:security:apparmor
- disable apache in order to break build cycle:
  ['apache2', 'apparmor', 'libapr-util1', 'mariadb', 'systemd']

OBS-URL: https://build.opensuse.org/request/show/443209
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=159
2016-12-06 00:22:55 +00:00
Christian Boltz
86efea86c1 Accepting request 436984 from home:cboltz
- add nscd-var-lib.diff to allow /var/lib/nscd/ in the nscd profile and
  abstractions/nameservice (path changed in latest nscd in Tumbleweed)


Note: The glibc/nscd package that needs this change was already released
with the 20161020 snapshot, so it would be a good idea to get the
AppArmor profile updates released quickly ;-)

OBS-URL: https://build.opensuse.org/request/show/436984
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=157
2016-10-23 14:11:15 +00:00
Christian Boltz
041a6f7868 Accepting request 435008 from home:cboltz
- add changes-since-2.10.1--r3347..3353.diff with upstream changes and
  fixes in the 2.10 branch, including
  - allow writing *.qf files (for disk-based buffering) in syslog-ng profile
  - add several permissions to the dovecot profiles (deb#835826)
  - add a missing path in the traceroute profile

OBS-URL: https://build.opensuse.org/request/show/435008
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=155
2016-10-13 19:45:07 +00:00
Christian Boltz
cc896b26e3 Accepting request 423291 from home:cboltz
- add changes-since-2.10.1--r3326..3346.diff with upstream changes and
  fixes since the 2.10.1 release, including
  - allow dac_override in winbindd profile (boo#990006#c5)
  - allow mr for /usr/lib*/ldb/*.so in samba abstractions (needed since
    Samba 4.4.x, boo#990006)
  - abstractions/nameservice: also support ConnMan-managed resolv.conf
  - let aa-genprof ask about profiles in extra dir (again)
  - fix aa-logprof "add hat" endless loop (lp#1538306)
  - honor 'chown' file events in logparser.py
  - ignore log file events with a request mask of 'send' or 'receive'
    because they are actually network events (lp#1577051, lp#1582374)
  - accept hostname with dots when parsing logs (lp#1453300 comments #1 and #2)
- fix python LibAppArmor import failures with swig > 3.0.8 (boo#987607)
  (libapparmor-fix-import-path.diff)
- refresh apparmor-abstractions-no-multiline.diff
- drop upstreamed profiles-ping-inet6-r3449.diff
- add %check section - runs libapparmor (including swig bindings),
  parser and profiles tests
- add BuildRequires: perl(Locale::gettext) - needed for parser tests

OBS-URL: https://build.opensuse.org/request/show/423291
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=152
2016-08-26 22:07:45 +00:00
Christian Boltz
a86a930209 - add profiles-ping-inet6-r3449.diff - latest ping also does IPv6 (boo#980596)
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=150
2016-05-24 12:16:43 +00:00
Christian Boltz
0b85e41674 :- drop libapparmor autogen.sh call (broke the build) and remove libtool BR
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=148
2016-04-23 11:08:24 +00:00
Christian Boltz
7374ae94dd - update to AppArmor 2.10.1 (2.10 branch r3326):
- fix incorrect output of child profile names (apparmor_parser -N) which
    caused 'rcapparmor reload' to remove child profiles and hats (lp#1551950)
  - fix a crash in aa-logprof / logparser.py for change_hat log events
    (lp#1523297) and log events that look like file events, but aren't
    (lp#1540562, lp#1525119, lp#1466812)
  - write unix rules when saving a profile (lp#1522938, boo#954104#c3)
  - several fixes for variable handling in aa-logprof
  - map c (create) log events to w instead of a
  - add python to the "no Px rule" list in logprof.conf
  - let aa-logprof check for duplicate profiles
  - let aa-status work without the apparmor.fail python module (boo#971917,
    lp#1480492)
  - add permissions in several profiles (including boo#948584, boo#948753,
    boo#954959, boo#954958, boo#971790, boo#964971, boo#921098, boo#923201 and
    boo#921098#c15).
  - and many more fixes, see the full changelog at
    http://wiki.apparmor.net/index.php/ReleaseNotes_2_10_1
- drop upstream(ed) patches:
  - fix-initscript-aa_log_end_msg.diff
  - syslog-ng-profile-boo948584.diff
  - upstream-profile-updates-r3205-3241.diff
- refresh patches:
  - apparmor-abstractions-no-multiline.diff
  - apparmor-samba-include-permissions-for-shares.diff

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=147
2016-04-22 22:33:49 +00:00
Christian Boltz
7dfa8bfe4d Accepting request 337046 from home:cboltz
- add syslog-ng-profile-boo948584.diff - add several permissions needed
  by latest syslog-ng (boo#948584, boo#948753)
- add upstream-profile-updates-r3205-3241.diff with several profile updates:
  - add /usr/share/locale-bundle/** to abstractions/base
  - allow dnsmask to use /bin/sh (boo#940749) and /bin/dash
  - allow dovecot imap to read /run/dovecot/mounts
  - allow avahi-daemon to write to /run/systemd/notify
  - allow ntpd to read $PATH directory listings (boo#945592, boo#948752)
  - update dhclient profile
  - allow skype to read @{PROC}/@{pid}/net/dev (boo#939568)
  - and some other small updates
- drop upstreamed apparmor-winbindd-r3213.diff (included in the
  upstream-profile-updates patch)

OBS-URL: https://build.opensuse.org/request/show/337046
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=145
2015-10-07 18:07:19 +00:00
Christian Boltz
69c6ac8c6e Accepting request 331541 from home:cboltz
undo adding samba-3.4-etc-samba-sock.diff - see boo#945563

OBS-URL: https://build.opensuse.org/request/show/331541
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=143
2015-09-16 15:46:00 +00:00
Christian Boltz
10bb958700 Accepting request 330872 from home:cboltz
fix suse_version check for netstat

OBS-URL: https://build.opensuse.org/request/show/330872
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=142
2015-09-14 09:56:44 +00:00
Christian Boltz
f480c778f4 Accepting request 330817 from home:cboltz
- add samba-3.4-etc-samba-sock.diff - Samba 3.4 needs write access
  to /etc/samba/sock/ (boo#945563)
- netstat moved to net-tools-deprecated in Tumbleweed (boo#944904)

OBS-URL: https://build.opensuse.org/request/show/330817
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=141
2015-09-13 20:30:22 +00:00
Christian Boltz
3c2e40e824 Accepting request 319660 from home:cboltz
- add apparmor-winbindd-r3213.diff - add missing k permissions for
  /etc/samba/smbd.tmp/msg/* in winbindd profile (boo#921098 #c15..19)

OBS-URL: https://build.opensuse.org/request/show/319660
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=138
2015-07-30 20:39:22 +00:00
Christian Boltz
7ae1344363 Accepting request 318424 from home:cboltz
- add fix-initscript-aa_log_end_msg.diff - fixes ugly initscript
  output (boo#862170)

OBS-URL: https://build.opensuse.org/request/show/318424
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=137
2015-07-24 11:34:14 +00:00
Christian Boltz
7f772258a8 Accepting request 317971 from home:cboltz
- update to AppArmor 2.10 (trunk r3205)
  - profile names can now contain variables
  - improved profile compile time in apparmor_parser
  - lots of improvements, refactoring and bugfixes in the aa-* tools
  - new apis for managing and loading profile caches into the kernel in
    libapparmor
  - lots of profile updates
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_10 for the
    complete changelog with more details
- add new apparmor_private.h and the aa_query_label(2), aa_features(3),
  aa_kernel_interface(3), aa_policy_cache(3), aa_splitcon(3) manpages
  to libapparmor-devel
- drop apparmor-2.5.1-edirectory-profile patch - it's most probably
  no longer needed (see boo#621394 for details)
- drop upstreamed samba-4.2-profiles.diff
- refresh apparmor-samba-include-permissions-for-shares.diff

OBS-URL: https://build.opensuse.org/request/show/317971
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=135
2015-07-22 16:38:30 +00:00
Christian Boltz
b9a02e50dc Accepting request 312166 from home:cboltz
- systemd-rpm-macros and %systemd_requires were at the wrong place,
  move them to the parser package (boo#931792)

OBS-URL: https://build.opensuse.org/request/show/312166
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=133
2015-06-15 22:42:34 +00:00
Christian Boltz
7a649ea462 Accepting request 303871 from home:cboltz
- update to AppArmor 2.9.2 (2.9 branch r2911)
  - lots of bugfixes in the parser and the aa-* tools (including
    boo#918787)
  - update dovecot and dnsmasq profiles and several abstractions
    (including boo#911001)
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_9_2 for the
    full changelog
- remove upstream(ed) patches apparmor-changes-since-2.9.1.diff and
  apparmor-fix-stl-ostream.diff
- replace GPG key with new AppArmor GPG signing key, see
  https://launchpad.net/apparmor/+announcement/13404

OBS-URL: https://build.opensuse.org/request/show/303871
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=131
2015-04-24 22:09:04 +00:00
Christian Boltz
e9ac0b8434 Accepting request 297855 from home:cboltz
- make sure %service_del_postun doesn't call systemctl try-restart
  (boo#853019, bare systemd edition)
- add samba-4.2-profiles.diff: update samba (winbindd and nmb)
  profiles for samba 4.2 (boo#921098, boo#923201)

OBS-URL: https://build.opensuse.org/request/show/297855
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=129
2015-04-17 19:38:20 +00:00
Christian Boltz
0322b69ba2 Accepting request 295606 from home:cboltz
- only install apparmor.service for openSUSE > 13.2

OBS-URL: https://build.opensuse.org/request/show/295606
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=128
2015-04-12 22:19:06 +00:00
Christian Boltz
531d50b796 Accepting request 293870 from home:elvigia:branches:security:apparmor
- Add a native systemd unit which *at the moment* only 
 wraps/masks the early boot script.

OBS-URL: https://build.opensuse.org/request/show/293870
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=127
2015-04-12 21:08:34 +00:00
Christian Boltz
218655ab95 Accepting request 287520 from home:rguenther:branches:security:apparmor
- add apparmor-fix-stl-ostream.diff which fixes odd uses of
  std::ostream which are not valid.  Fixes build with GCC 5

OBS-URL: https://build.opensuse.org/request/show/287520
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=125
2015-02-26 19:33:32 +00:00
Christian Boltz
eb6f836202 Accepting request 285866 from home:cboltz
- add Requires: python3 to python3-apparmor package - readline isn't
  part of python3-base (boo#917577)

OBS-URL: https://build.opensuse.org/request/show/285866
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=121
2015-02-12 18:59:47 +00:00
Christian Boltz
c728560d5f Accepting request 282158 from home:cboltz
- pull in upstream fixes since the 2.9.1 release
  - update logparser.py to support changed syslog format (lp#1399027)
  - update usr.sbin.dovecot and usr.lib.dovecot.imap{, -login} profiles (lp#1296667)
  - update the mysqld profile
  - fix network rule description in apparmor.d(5) manpage
- drop upstreamed dnsmasq-profile-fixes.patch
- update expired GPG key

Also add a missing bnc number in the Jan 1 2015 changelog entry.

OBS-URL: https://build.opensuse.org/request/show/282158
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=118
2015-01-20 21:05:09 +00:00
Christian Boltz
29b885b462 Accepting request 266969 from home:cboltz
- update to AppArmor 2.9.1 (2.9 branch r2831)
  - fix log parsing for 3.16 kernels and syslog-style logs (boo#905368)
  - several fixes and performance improvements in the aa-* utils
  - profile updates for dnsmasq (boo#907870), nscd (boo#904620#c14),
	useradd, sendmail, man and passwd
  - see http://wiki.apparmor.net/index.php/ReleaseNotes_2_9_1
    for full release notes
- refresh dnsmasq-profile-fixes.patch

OBS-URL: https://build.opensuse.org/request/show/266969
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=116
2015-01-01 16:51:57 +00:00
Christian Boltz
7a29d85d80 Accepting request 266140 from home:cbosdonnat:branches:security:apparmor
- Fix dnsmasq profile to allow executing bash to run the --dhcp-script
  argument. Also fixed /usr/lib -> /usr/{lib,lib64} to get libvirt
  leasehealper script to run even on x86_64.
  dnsmasq-profile-fixes.patch. boo#911001

OBS-URL: https://build.opensuse.org/request/show/266140
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=114
2014-12-22 12:55:06 +00:00
Christian Boltz
a8ada6b88d - rename lessopen.sh profile file to usr.bin.lessopen.sh to match the
script filename

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=112
2014-12-21 16:26:04 +00:00
Christian Boltz
fd37374f57 Accepting request 264683 from home:msmeissn:branches:security:apparmor
- /usr/bin/lessopen.sh needs confinement. bnc#906858

OBS-URL: https://build.opensuse.org/request/show/264683
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=111
2014-12-21 16:18:25 +00:00
Christian Boltz
ce726570fb - delete cache in apparmor-profiles %post (workaround for
bnc#904620#c8 / lp#1392042)

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=109
2014-11-16 16:38:29 +00:00