summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-22 19:51:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-22 19:51:11 +0000
commitdac32b6a165b12a54a677d35b6300ec6c8d0f741 (patch)
treed788e18cb01a3f516b14083af6d1f61ebc9aed83
parentAdding upstream version 1.5.16. (diff)
downloadsystemd-cron-dac32b6a165b12a54a677d35b6300ec6c8d0f741.tar.xz
systemd-cron-dac32b6a165b12a54a677d35b6300ec6c8d0f741.zip
Adding debian version 1.5.16-1.debian/1.5.16-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/.placeholder2
-rw-r--r--debian/NEWS11
-rw-r--r--debian/anacrontab21
-rwxr-xr-xdebian/bug-script4
-rw-r--r--debian/changelog189
-rw-r--r--debian/control33
-rw-r--r--debian/copyright53
-rw-r--r--debian/crontab23
-rw-r--r--debian/dirs1
-rw-r--r--debian/install7
-rw-r--r--debian/postinst34
-rw-r--r--debian/postrm15
-rw-r--r--debian/preinst6
-rw-r--r--debian/prerm8
-rwxr-xr-xdebian/rules45
-rw-r--r--debian/source/format2
-rwxr-xr-xdebian/systemd-cron.cron.weekly4
-rw-r--r--debian/watch3
18 files changed, 461 insertions, 0 deletions
diff --git a/debian/.placeholder b/debian/.placeholder
new file mode 100644
index 0000000..76cb8d0
--- /dev/null
+++ b/debian/.placeholder
@@ -0,0 +1,2 @@
+# DO NOT EDIT OR REMOVE
+# This file is a simple placeholder to keep dpkg from removing this directory
diff --git a/debian/NEWS b/debian/NEWS
new file mode 100644
index 0000000..6d8d4f2
--- /dev/null
+++ b/debian/NEWS
@@ -0,0 +1,11 @@
+systemd-cron (1.5.2-1) unstable; urgency=medium
+
+ The generator try now less aggressively to make jobs persistent:
+ a job like "0 19 * * * root poweroff" on a school/office PC would
+ had run the next morning; which is not the expected behaviour;
+ this can now be overridden with the PERSISTENT=yes|auto|no variable.
+ .
+ The jobs with an '@[schedule]' are still persistent by default.
+ (=anacron-like behaviour)
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sat, 03 Jan 2015 11:07:23 +0100
diff --git a/debian/anacrontab b/debian/anacrontab
new file mode 100644
index 0000000..8a69af3
--- /dev/null
+++ b/debian/anacrontab
@@ -0,0 +1,21 @@
+# /etc/anacrontab: configuration file for anacron
+
+# See anacrontab(5) for details.
+
+# Start jobs at 6 o'clock
+# instead of midnight
+#START_HOURS_RANGE=6
+
+#days delay job-id command
+#1 5 cron.daily run-parts --report /etc/cron.daily
+#7 10 cron.weekly run-parts --report /etc/cron.weekly
+#@monthly 15 cron.monthly run-parts --report /etc/cron.monthly
+
+# when using systemd-cron these 3 standard jobs are disabled
+# and replaced by corresponding native systemd units
+# cron-(daily,weekly,monthly).timer & cron-(daily,weekly,monthly).service
+# that uses persistent timers to ensure that executions missed because
+# the system was off are run after boot
+#
+# these 3 records are left here as a reference on how
+# to write an anacrontab
diff --git a/debian/bug-script b/debian/bug-script
new file mode 100755
index 0000000..73a3f20
--- /dev/null
+++ b/debian/bug-script
@@ -0,0 +1,4 @@
+#!/bin/sh
+echo "-- output of systemd-delta" >&3
+systemd-delta | sed -n '/cron/,/^\[/p' | sed -e \$d >&3
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..92e6795
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,189 @@
+systemd-cron (1.5.16-1) unstable; urgency=low
+
+ * New upstream release
+ * fix typo in package decription (Closes: #949851)
+ * do not run backup files in /etc/cron.d/ (Closes: #929763)
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sun, 20 Dec 2020 22:33:59 +0100
+
+systemd-cron (1.5.15-1) unstable; urgency=low
+
+ * New upstream release
+ * Switch to debhelper-compat 13
+ * Bump Standard-Version to 4.5.0, no change needed
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Tue, 20 Oct 2020 21:06:05 +0200
+
+systemd-cron (1.5.14-2) unstable; urgency=medium
+
+ * Hosting moved from Alioth to Salsa, to my own repo for now,
+ collaborative maintenance offers are welcome.
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sat, 17 Nov 2018 15:10:07 +0100
+
+systemd-cron (1.5.14-1) unstable; urgency=medium
+
+ * Python 3.7 compatibility
+ * Allow sending mail_on_error email when locale is not correctly set
+ (Closes: #792777)
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sun, 11 Nov 2018 16:16:53 +0100
+
+systemd-cron (1.5.13-1) unstable; urgency=medium
+
+ * remove obsolete hack of $$(bindir) in Makefile
+ * escape '%' in unit description (Closes: #887847)
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Wed, 28 Mar 2018 22:58:07 +0200
+
+systemd-cron (1.5.12-2) unstable; urgency=medium
+
+ * Switch to Debhelper 11
+ * update to Standards-Version: 4.1.3: no change needed
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sun, 07 Jan 2018 13:05:44 +0100
+
+systemd-cron (1.5.12-1) unstable; urgency=medium
+
+ * New upstream release
+ * add support for RandomizedDelaySec (LP: #1586626)
+ * set Rules-Requires-Root: no
+ * update to Standards Version 4.1.2: switch priority to optional
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Fri, 08 Dec 2017 11:28:24 +0100
+
+systemd-cron (1.5.10-1) unstable; urgency=medium
+
+ * New upstream release that fixes a regression in
+ the handling of crontab masked by timers introduced in 1.5.9.
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sat, 01 Jul 2017 01:46:09 +0200
+
+systemd-cron (1.5.9-1) unstable; urgency=low
+
+ * New upstream release
+ * Second attempt that /usr/bin/crontab isn't setgid anymore when switching
+ from Vixie-cron (Closes: #820088, again).
+ * stop cron-update.path before removal (Closes: #857159)
+ * Bump Standards-Version, no change needed
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sun, 18 Jun 2017 19:43:46 +0200
+
+systemd-cron (1.5.8-1) unstable; urgency=medium
+
+ * New upstream release, fix various off-by-one errors (Closes: #825880)
+ * Drop CPPFLAGS patch, applied upstream.
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sun, 15 Jan 2017 22:20:18 +0100
+
+systemd-cron (1.5.4-4) unstable; urgency=medium
+
+ * Fix cron-weekly & cron-monthly regression from yesterday's release.
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sun, 08 Jan 2017 14:05:37 +0100
+
+systemd-cron (1.5.4-3) unstable; urgency=medium
+
+ * Switch to debhelper 10.
+ * Hint at some limitations in the package description (Closes: #825885)
+ * Run hourly, daily, weekly & monthly jobs in staggered manner
+ to avoid CPU/bandwith/IO peaks (Closes: #850435)
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Sat, 07 Jan 2017 20:55:05 +0100
+
+systemd-cron (1.5.4-2) unstable; urgency=medium
+
+ * Ensure that /usr/bin/crontab isn't setgid anymore when switching
+ from Vixie-cron (Closes: #820088).
+ * Bump Standards-Version to 3.9.8, no changes needed.
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Fri, 06 May 2016 20:37:29 +0200
+
+systemd-cron (1.5.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Use https for Vcs-Browser & Vcs-Git
+ * Enable C setgid crontab helper (Closes: #766053, #780685)
+ * change arch from 'all' to 'linux-any', needed for setgid helper
+ + upcoming rewrite of generator in C
+ * enable hardening, add patch to honor CPPFLAGS
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Thu, 28 Jan 2016 09:44:29 +0100
+
+systemd-cron (1.5.3-1) unstable; urgency=medium
+
+ * New upstream release
+ * Fix piuparts error: when package is removed but not purged and
+ python3 is not installed, /etc/cron.weeky/systemd-cron would fail.
+ (Closes: #787611)
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Tue, 27 Oct 2015 23:14:36 +0100
+
+systemd-cron (1.5.2-1) unstable; urgency=medium
+
+ * Adopt package
+ * New upstream version
+ * Switch from Python2 to Python3
+ * Set-up remove_stale_stamps as /etc/cron.weekly/systemd-cron
+ * Properly attribute copyright of crontab.5
+ * Closes: #766348 : generator does not parse ranges correctly
+ * Closes: #767951 : "crontab -r user" will remove root crontab
+ * Closes: #766756 : does not mail user in case of job errors
+ + Recommends: exim4 | mail-transport-agent
+ * Closes: #766757 : services should Requires=systemd-user-sessions.service
+ * Closes: #766902 : @reboot jobs are run on package installation
+ * Closes: #766764 : support ~/... to /home/user/... expansion
+ * Closes: #766763 : support @annually
+ * Closes: #770144 : ignore /etc/cron.d/*.dpkg-*
+ * disable tests, as they break on pbuilder, and duplicate lintian tests
+ * Closes: #776859 : don't call systemctl daemon-reload twice in postrm
+ * Closes: #766345 : /usr/bin/crontab doesn't reject invalid crontabs
+
+ -- Alexandre Detiste <alexandre.detiste@gmail.com> Tue, 26 May 2015 10:01:46 +0100
+
+systemd-cron (1.3.1+ds1-2) unstable; urgency=medium
+
+ [ Alexandre Detiste ]
+ * move from section 'utils' to section 'admin'
+ * provide sample /etc/crontab & /etc/anacrontab
+ * trim debian/rules, provide debian/install
+ * add a postrm script that remove timer stamps on purge
+ * remove inactive patch
+
+ -- Michael Stapelberg <stapelberg@debian.org> Tue, 14 Oct 2014 09:40:12 +0200
+
+systemd-cron (1.3.1+ds1-1) unstable; urgency=medium
+
+ [ Alexandre Detiste ]
+ * demote priority to extra
+ * systemd >= 212 is now avaible in testing, we can enable persistent timers
+ * Depends on systemd-sysv to ensure that systemd is running
+ * Update standards-version to 3.9.6: no changes needed
+
+ [ Michael Stapelberg ]
+ * switch to pristine-tar and a separate upstream branch, use original
+ orig.tar.gz tarball.
+
+ -- Michael Stapelberg <stapelberg@debian.org> Tue, 07 Oct 2014 09:40:12 +0200
+
+systemd-cron (1.3.1-1) unstable; urgency=medium
+
+ [ Alexandre Detiste ]
+ * New upstream version.
+ * New upstream URL https://github.com/systemd-cron/systemd-cron
+ * Closes: #752376 does not meet requirements for cron-daemon
+ * Closes: #758036 typo in package description
+ * New dependency of Python, needed by new systemd-crontab-generator
+ * Turn quilt patch that remove cron.boot into a configure option
+ * Update standards-version to 3.9.5: no changes needed
+
+ [ Michael Stapelberg ]
+ * Review of changes, add myself to uploaders
+
+ -- Michael Stapelberg <stapelberg@debian.org> Wed, 01 Oct 2014 09:43:21 +0200
+
+systemd-cron (1.1.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #718910)
+
+ -- Shawn Landden <shawnlandden@gmail.com> Tue, 06 Aug 2013 14:09:52 -0700
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..540146d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: systemd-cron
+Section: admin
+Priority: optional
+Maintainer: Debian Systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
+Uploaders: Shawn Landden <shawnlandden@gmail.com>,
+ Alexandre Detiste <alexandre.detiste@gmail.com>
+Build-Depends: debhelper-compat (= 13),
+ dh-python, python3
+Standards-Version: 4.5.0
+Vcs-Git: https://salsa.debian.org/detiste-guest/systemd-cron.git
+Vcs-Browser: https://salsa.debian.org/detiste-guest/systemd-cron
+Homepage: https://github.com/systemd-cron/systemd-cron
+Rules-Requires-Root: no
+
+Package: systemd-cron
+Architecture: linux-any
+Depends: ${misc:Depends}, systemd-sysv (>= 229), ${python3:Depends}, ${shlibs:Depends}
+Recommends: default-mta | exim4 | mail-transport-agent
+Provides: cron-daemon, anacron
+Conflicts: cron-daemon, anacron
+Replaces: cron, anacron
+Description: systemd units to provide cron daemon & anacron functionality
+ Provides systemd units to run cron jobs in /etc/cron.hourly cron.daily
+ cron.weekly and cron.monthly directories, without having cron
+ or anacron installed.
+ It also provides a generator that dynamicaly translate /etc/crontab,
+ /etc/cron.d/* and user cronjobs in systemd units.
+ Please notice this package provide a different set of features
+ than Vixie-cron; trying to remain as simple as possible.
+ By example, to avoid to run process through a wrapper,
+ but have instead systemd run those directly,
+ it only send mails on error, including only a small blurb
+ from the Journal; but doesn't send the full output of processes.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5523205
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/systemd-cron/systemd-cron
+
+Files: *
+Copyright: © 2013 Dwayne Bent
+ © 2013 Dominik Peteler
+ © 2014 Konstantin Stepanov <me@kstep.me>
+ © 2014 Daniel Schaal <farbing@web.de>
+ © 2014 Alexandre Detiste <alexandre@detiste.be>
+License: MIT
+
+Files: src/man/crontab.5.in
+Copyright: 1988, 1990, 1993, 1994, Paul Vixie <paul@vix.com>
+ 1994, Ian Jackson <ian@davenant.greenend.org.uk>
+ 1996-2005, Steve Greenland <stevegr@debian.org>
+ 2005-2006, 2008-2012, Javier Fernández-Sanguino Peña <jfs@debian.org>
+ 2010-2011, 2014 Christian Kastner <debian@kvr.at>
+ Numerous contributions via the Debian BTS copyright their respective authors
+License: Paul-Vixie's-license
+
+Files: debian/*
+Copyright: © 2013 Shawn Landden <shawn@churchofgit.com>
+ © 2014 Alexandre Detiste <alexandre@detiste.be>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+License: Paul-Vixie's-license
+ Distribute freely, except: don't remove my name from the source or
+ documentation (don't take credit for my work), mark your changes (don't
+ get me blamed for your possible bugs), don't alter or remove this
+ notice. May be sold if buildable source is provided to buyer. No
+ warranty of any kind, express or implied, is included with this
+ software; use at your own risk, responsibility for damages (if any) to
+ anyone resulting from the use of this software rests entirely with the
+ user.
diff --git a/debian/crontab b/debian/crontab
new file mode 100644
index 0000000..0a78648
--- /dev/null
+++ b/debian/crontab
@@ -0,0 +1,23 @@
+# /etc/crontab: system-wide crontab
+# Unlike any other crontab you don't have to run the `crontab'
+# command to install the new version when you edit this file
+# and files in /etc/cron.d. These files also have username fields,
+# that none of the other crontabs do.
+
+SHELL=/bin/sh
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+
+# Start @daily/@weekly/@monthly jobs at 6 o'clock
+# instead of midnight
+#START_HOURS_RANGE=6
+
+# m h dom mon dow user command
+#17 * * * * root cd / && run-parts --report /etc/cron.hourly
+#25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
+#47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
+#52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
+
+# when using systemd-cron, these 4 standard cron jobs are disabled
+# because this is already handled natively by
+# /lib/systemd/system/cron-{hourly,daily,weekly,month}.*
+# these are only left here as an example of how to write a crontab
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..98324a0
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+var/spool/cron/crontabs
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..b44811c
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,7 @@
+debian/anacrontab etc/
+debian/crontab etc/
+debian/.placeholder etc/cron.d/
+debian/.placeholder etc/cron.hourly/
+debian/.placeholder etc/cron.daily/
+debian/.placeholder etc/cron.weekly/
+debian/.placeholder etc/cron.monthly/
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..3947b62
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" != configure ]; then
+ exit 0
+fi
+
+# Add group for crontabs
+getent group crontab > /dev/null 2>&1 || addgroup --system crontab
+
+# Fixup crontab binary for new group 'crontab'.
+if ! dpkg-statoverride --list /lib/systemd-cron/crontab_setgid > /dev/null ; then
+ dpkg-statoverride --update --add root crontab 2755 /lib/systemd-cron/crontab_setgid
+fi
+
+# Remove leftover setgid bit from Vixie-cron
+if dpkg-statoverride --list /usr/bin/crontab > /dev/null ; then
+ dpkg-statoverride --remove /usr/bin/crontab
+ chown root:root /usr/bin/crontab
+ chmod 0755 /usr/bin/crontab
+fi
+
+# Fixup crontab , directory and files for new group 'crontab'
+mkdir -p /var/spool/cron/crontabs
+chown root:crontab /var/spool/cron/crontabs
+chmod 1730 /var/spool/cron/crontabs
+cd /var/spool/cron/crontabs
+set +e
+ls -1 | xargs -r -n 1 --replace=xxx chown 'xxx:crontab' 'xxx'
+ls -1 | xargs -r -n 1 chmod 600
+set -e
+
+#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..c1f7bd4
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+if dpkg-statoverride --list /lib/systemd-cron/crontab_setgid > /dev/null ; then
+ dpkg-statoverride --remove /lib/systemd-cron/crontab_setgid
+fi
+
+if [ "$1" = "purge" ]; then
+ rm -f /var/lib/systemd/timers/stamp-cron-*.timer
+fi
+
+rm -f /lib/systemd/system-generators/__pycache__/systemd-crontab-generator*.pyc
+rmdir /lib/systemd/system-generators/__pycache__/ 2> /dev/null || true
+
+#DEBHELPER#
diff --git a/debian/preinst b/debian/preinst
new file mode 100644
index 0000000..41d5739
--- /dev/null
+++ b/debian/preinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+touch /run/crond.reboot
+
+#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..c5924f2
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "remove" ]; then
+ deb-systemd-invoke stop cron-update.path
+fi
+
+#DEBHELPER#
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..688cb77
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+# gbp import-orig --pristine-tar --uscan
+
+DEB_BUILD_HARDENING=1
+
+%:
+ dh $@ --with python3
+
+override_dh_auto_configure:
+ ./configure \
+--prefix=/usr \
+--unitdir=/lib/systemd/system \
+--confdir=/etc \
+--statedir=/var/spool/cron/crontabs \
+--runparts="/bin/run-parts --report" \
+--bindir=/usr/bin \
+--libdir=/lib \
+--enable-boot=no \
+--enable-setgid=yes \
+--enable-persistent=yes
+
+override_dh_installsystemd:
+ # Only enable+start cron.target, it pulls in all the others via .timer files.
+ dh_installsystemd cron.target
+
+override_dh_clean:
+ rm -f Makefile
+ dh_clean
+
+override_dh_auto_test:
+ # tests disabled for now to avoid this bug on pbuilder:
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555331#40
+ # they duplicate lintian check "manpage-has-errors-from-man" anyway
+
+override_dh_install:
+ dh_install
+ sed -i '/Persistent=true/d' debian/systemd-cron/lib/systemd/system/cron-hourly.timer
+ sed -i 's/OnCalendar=hourly/OnCalendar=*-*-* *:17:00/' debian/systemd-cron/lib/systemd/system/cron-hourly.timer
+ sed -i 's/OnCalendar=daily/OnCalendar=*-*-* 06:25:00/' debian/systemd-cron/lib/systemd/system/cron-daily.timer
+ sed -i 's/OnCalendar=weekly/OnCalendar=Mon *-*-* 06:47:00/' debian/systemd-cron/lib/systemd/system/cron-weekly.timer
+ sed -i 's/OnCalendar=monthly/OnCalendar=*-*-1 06:52:00/' debian/systemd-cron/lib/systemd/system/cron-monthly.timer
+ echo 'ExecStartPre=/lib/systemd-cron/boot_delay 5' >> debian/systemd-cron/lib/systemd/system/cron-daily.service
+ echo 'ExecStartPre=/lib/systemd-cron/boot_delay 10' >> debian/systemd-cron/lib/systemd/system/cron-weekly.service
+ echo 'ExecStartPre=/lib/systemd-cron/boot_delay 15' >> debian/systemd-cron/lib/systemd/system/cron-monthly.service
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..c3d9f24
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1,2 @@
+3.0 (quilt)
+
diff --git a/debian/systemd-cron.cron.weekly b/debian/systemd-cron.cron.weekly
new file mode 100755
index 0000000..1637cfd
--- /dev/null
+++ b/debian/systemd-cron.cron.weekly
@@ -0,0 +1,4 @@
+#!/bin/sh
+test -x /usr/bin/python3 || exit 0
+test -x /lib/systemd-cron/remove_stale_stamps || exit 0
+exec /lib/systemd-cron/remove_stale_stamps
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1a66401
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/<project>-$1.tar.gz/ \
+ https://github.com/systemd-cron/systemd-cron/tags .*/v?(\d\S*)\.tar\.gz