From d1ee66e44c8272bb7a0053a456a3d8b0bd152268 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:10 +0200 Subject: Adding live-helper 1.0~a12-1. --- debian/changelog | 6 ++++++ debian/cron.daily | 4 ++++ debian/logrotate | 11 +++++++++++ debian/postrm | 22 ++++++++++++++++++++++ debian/rules | 1 + 5 files changed, 44 insertions(+) create mode 100644 debian/logrotate create mode 100644 debian/postrm (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index d682a1b4f..b8648fe44 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +live-helper (1.0~a12-1) unstable; urgency=medium + + * New upstream release. + + -- Daniel Baumann Mon, 28 May 2007 00:00:00 +0200 + live-helper (1.0~a11-1) unstable; urgency=medium * New upstream release. diff --git a/debian/cron.daily b/debian/cron.daily index f7e205b6f..a8c139f38 100644 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -35,6 +35,8 @@ else exit 1 fi +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin daily build." >> /var/log/live + for ARCHITECTURE in ${ARCHITECTURES} do for DISTRIBUTION in ${DISTRIBUTIONS} @@ -146,3 +148,5 @@ done # Creating current symlink rm -f "${DESTDIR}"/"${BUILD}"-builds/current ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current + +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end daily build." >> /var/log/live diff --git a/debian/logrotate b/debian/logrotate new file mode 100644 index 000000000..91b5ed577 --- /dev/null +++ b/debian/logrotate @@ -0,0 +1,11 @@ +# /etc/logrotate.d/live-helper + +/var/log/live +{ + compress + copytruncate + missingok + monthly + notifempty + rotate 24 +} diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 000000000..09b0aca08 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "$1" in + purge) + rm -f /var/log/live* + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/rules b/debian/rules index 3946bc270..83011f507 100755 --- a/debian/rules +++ b/debian/rules @@ -42,6 +42,7 @@ binary-indep: build install dh_installchangelogs docs/ChangeLog dh_installdocs dh_install + dh_installlogrotate dh_installcron dh_installman dh_compress -- cgit v1.2.3