From 5209853c5a945ca5a6dafd14302a5eaecf1fdd2a Mon Sep 17 00:00:00 2001
From: Vincas Dargis <vindrg@gmail.com>
Date: Sun, 10 Jun 2018 16:52:58 +0300
Subject: [PATCH] apt-cacher-ng: update to the latest version taken from the
 upstream apparmor-profiles repository at commit 9d7bd63

---
 debian/README.Debian            | 4 ++--
 profiles/usr.sbin.apt-cacher-ng | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 10464e6..4ff2e17 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,7 +1,7 @@
 Included profiles
 =================
 
-- apt-cacher-ng: taken from the apparmor-profiles repository at commit 5ba92ee.
+- apt-cacher-ng: taken from the apparmor-profiles repository at commit 9d7bd63.
 - GStreamer abstraction, gst_plugin_scanner named profile: taken from
   the apparmor-profiles repository at commit 5ba92ee.
 - irssi: taken from the apparmor-profiles repository at commit 5ba92ee.
@@ -16,4 +16,4 @@ apparmor-profiles repository
 
 https://gitlab.com/apparmor/apparmor-profiles
 
- -- intrigeri <intrigeri@debian.org>, Mon, 15 Jan 2018 09:36:27 +0100
+ -- Vincas Dargis <vindrg@gmail.com>, Sun, 10 Jun 2018 16:47:03 +0300
diff --git a/profiles/usr.sbin.apt-cacher-ng b/profiles/usr.sbin.apt-cacher-ng
index 6c9013f..8ca8f9d 100644
--- a/profiles/usr.sbin.apt-cacher-ng
+++ b/profiles/usr.sbin.apt-cacher-ng
@@ -1,6 +1,6 @@
 # Author: Felix Geyer <debfx@ubuntu.com>
 
-@{APT_CACHE_DIR}=/var/cache/apt-cacher-ng
+@{APT_CACHER_NG_CACHE_DIR}=/var/cache/apt-cacher-ng
 
 #include <tunables/global>
 
@@ -15,8 +15,8 @@
 
   /var/lib/apt-cacher-ng/** r,
   /{,var/}run/apt-cacher-ng/* rw,
-  @{APT_CACHE_DIR}/ r,
-  @{APT_CACHE_DIR}/** rw,
+  @{APT_CACHER_NG_CACHE_DIR}/ r,
+  @{APT_CACHER_NG_CACHE_DIR}/** rw,
   /var/log/apt-cacher-ng/ r,
   /var/log/apt-cacher-ng/* rw,
   /{,var/}run/systemd/notify w,
-- 
GitLab