[Pkg-cron-devel] [pkg-cron] 01/19: Incorporate changes from Laurent Bigonville's NMU

Christian Kastner chrisk-guest at moszumanska.debian.org
Fri Oct 10 15:18:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch ckk/cron-125
in repository pkg-cron.

commit 99340d8984df24f51f25fbe0dff298057305dee3
Author: Christian Kastner <debian at kvr.at>
Date:   Wed Oct 8 23:06:36 2014 +0200

    Incorporate changes from Laurent Bigonville's NMU
---
 debian/changelog    | 8 ++++++++
 debian/control      | 3 ++-
 debian/cron.pam     | 3 +++
 debian/cron.service | 8 ++++++++
 debian/rules        | 2 +-
 5 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 954b5ce..a99338a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+cron (3.0pl1-124.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add pam_loginuid module to the PAM session stack (Closes: #677443)
+  * Add systemd service file. Thanks to Michael Stapelberg (Closes: #652440)
+
+ -- Laurent Bigonville <bigon at debian.org>  Sun, 25 May 2014 21:21:19 +0200
+
 cron (3.0pl1-124) unstable; urgency=medium
 
   [ Release targeted to Wheezy including fixes for critical/important bugs ]
diff --git a/debian/control b/debian/control
index f9180e6..8c31b08 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Build-Depends:
     debhelper (>= 9),
     libpam0g-dev,
     libselinux1-dev [linux-any],
-    libaudit-dev [linux-any]
+    libaudit-dev [linux-any],
+    dh-systemd (>= 1.4)
 Homepage: http://ftp.isc.org/isc/cron/
 Vcs-Git: git://git.debian.org/git/pkg-cron/pkg-cron.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg-cron.git
diff --git a/debian/cron.pam b/debian/cron.pam
index 11d9b52..d6b06a5 100644
--- a/debian/cron.pam
+++ b/debian/cron.pam
@@ -2,6 +2,9 @@
 
 @include common-auth
 
+# Sets the loginuid process attribute
+session    required     pam_loginuid.so
+
 # Read environment variables from pam_env's default files, /etc/environment
 # and /etc/security/pam_env.conf.
 session       required   pam_env.so
diff --git a/debian/cron.service b/debian/cron.service
new file mode 100644
index 0000000..d4dfab2
--- /dev/null
+++ b/debian/cron.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Regular background program processing daemon
+
+[Service]
+ExecStart=/usr/sbin/cron -f
+
+[Install]
+WantedBy=multi-user.target
diff --git a/debian/rules b/debian/rules
index c140b0d..0ccba3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,7 +50,7 @@ endif
 
 
 %:
-	dh $@ 
+	dh $@  --with=systemd
 
 
 override_dh_auto_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cron/pkg-cron.git



More information about the Pkg-cron-devel mailing list