summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/cron.daily4
-rw-r--r--debian/logrotate11
-rw-r--r--debian/postrm22
-rwxr-xr-xdebian/rules1
5 files changed, 44 insertions, 0 deletions
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 <daniel@debian.org> 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