Package: apt-cacher-ng Version: 0.7.13-1 Severity: wishlist please include the fallowing patch which adds systemd support to apt-cacher-ng
-- Package-specific info: -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: armhf (armv7l) Kernel: Linux 3.4.0 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-cacher-ng depends on: ii adduser 3.113+nmu3 ii debconf [debconf-2.0] 1.5.50 ii dpkg 1.16.10 ii libbz2-1.0 1.0.6-4 ii libc6 2.17-7 ii libgcc1 1:4.8.1-5 ii liblzma5 5.1.1alpha+20120614-2 ii libstdc++6 4.8.1-5 ii libwrap0 7.6.q-24 ii zlib1g 1:1.2.8.dfsg-1 Versions of packages apt-cacher-ng recommends: ii avahi-daemon 0.6.31-2 ii ed 1.9-1 ii perl 5.14.2-21 Versions of packages apt-cacher-ng suggests: ii curl 7.31.0-2 pn doc-base <none> ii libfuse2 2.9.2-4 ii wget 1.14-2 -- Configuration Files: /etc/apt-cacher-ng/backends_debian changed: http://cdn.debian.net/debian/ http://ftp.us.debian.org/debian/ /etc/apt-cacher-ng/security.conf [Errno 13] Permission denied: u'/etc/apt-cacher-ng/security.conf' -- debconf information: apt-cacher-ng/gentargetmode: No automated setup
>From 4e2b887c500a549e9e72807c3535f6299f91284f Mon Sep 17 00:00:00 2001 From: Shawn Landden <[email protected]> Date: Fri, 12 Jul 2013 16:41:57 -0700 Subject: [PATCH] add systemd apt-cacher-ng.service --- debian/apt-cacher-ng.service | 8 ++++++++ debian/control | 2 +- debian/rules | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 debian/apt-cacher-ng.service diff --git a/debian/apt-cacher-ng.service b/debian/apt-cacher-ng.service new file mode 100644 index 0000000..2c88c30 --- /dev/null +++ b/debian/apt-cacher-ng.service @@ -0,0 +1,8 @@ +[Unit] +Description=Apt-Cacher NG package proxy + +[Service] +ExecStart=/usr/sbin/apt-cacher-ng SocketPath=/var/run/apt-cacher-ng/socket ForeGround=1 + +[Install] +WantedBy=multi-user.target diff --git a/debian/control b/debian/control index 64a66f0..6eb37cf 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: apt-cacher-ng Section: net Priority: optional Maintainer: Eduard Bloch <[email protected]> -Build-Depends: debhelper (>= 7.2.3), cmake (>= 2.6.2), libbz2-dev, zlib1g-dev, liblzma-dev, libfuse-dev [!hurd-i386], pkg-config, libwrap0-dev +Build-Depends: debhelper (>= 7.2.3), cmake (>= 2.6.2), libbz2-dev, zlib1g-dev, liblzma-dev, libfuse-dev [!hurd-i386], pkg-config, libwrap0-dev, dh-systemd Build-Conflicts: binutils-gold Standards-Version: 3.9.3 Homepage: http://www.unix-ag.uni-kl.de/~bloch/acng/ diff --git a/debian/rules b/debian/rules index 5790895..de00d74 100755 --- a/debian/rules +++ b/debian/rules @@ -75,7 +75,9 @@ binary-arch: build-arch install dh_installexamples conf/*.conf conf/debrep.hooks doc/000apt-cacher-ng-proxy contrib/*.conf dh_installdebconf dh_installlogrotate + dh_systemd_enable dh_installinit -- defaults 18 + dh_systemd_start dh_installcron dh_installman doc/man/*.8 dh_bugfiles -- 1.8.3.2

