--- update-motd-3.6.orig/debian/changelog +++ update-motd-3.6/debian/changelog @@ -0,0 +1,270 @@ +update-motd (3.6-0ubuntu1) vivid; urgency=low + + * .bzr-builddeb/default.conf: + - remove dirty directory + * debian/control: + - clean up package description + * debian/manpages, update-motd.1 => update-motd.8: LP: #907688 + - move from a .1 to .8 manpage, minor doc updates + * debian/preinst, debian/prerm: + - deprecate, at these have not been necessary in a very long time + * debian/release-build.sh, debian/release.sh: + - deprecate, as these are maintained in bikeshed now + * debian/rules: + - simplify/modernize build + * README: + - update manpage reference + * update-motd: + - add a permission denied check, and better error handling + + -- Dustin Kirkland Sun, 19 Jul 2009 21:24:42 -0500 + +update-motd (3.5-0ubuntu1) karmic; urgency=low + + * debian/rules: install changelog, LP: #401229 + + -- Dustin Kirkland Sun, 19 Jul 2009 21:21:39 -0500 + +update-motd (3.4-0ubuntu1) karmic; urgency=low + + * debian/rules: ensure that this package isn't *totally* empty, + so install docs, was causing nasty failures on upgrades, LP: #400462 + + -- Dustin Kirkland Fri, 17 Jul 2009 03:27:10 -0500 + +update-motd (3.3-0ubuntu1) karmic; urgency=low + + [ Dustin Kirkland ] + * control, dirs, install, rules: this package is now just a placeholder, + depending on libpam-modules which provides pam_motd; empty out the + installed contents of this package; leaving the sources in bzr for + historical purposes (ah, memories); LP: #399071, #400131 + + [ Loïc Minier ] + * Call dh_installchangelogs to install debian/changelog in /usr/share/doc. + * Drop references to build-stamp, configure-stamp and the configure target + ase these aren't used. + * Call dh_* with -i in binary-indep. + * Strip boilerplate from rules. + * Drop useless dirs from debian/dirs. + * Drop unused/bogus po-debconf from build-deps. + * Use debian/manpages instead of args to dh_installman for consistency. + + -- Dustin Kirkland Thu, 16 Jul 2009 17:33:44 -0500 + +update-motd (3.2-0ubuntu1) karmic; urgency=low + + * update-motd.sh: respect ~/.hushlogin, LP: #399738 + + -- Dustin Kirkland Wed, 15 Jul 2009 22:30:41 -0500 + +update-motd (3.1-0ubuntu1) karmic; urgency=low + + * debian/prerm: remove /etc/profile.d/update-motd.sh + + -- Dustin Kirkland Mon, 13 Jul 2009 20:36:22 -0500 + +update-motd (3.0-0ubuntu1) karmic; urgency=low + + [ update-motd 3.0 major redesign ] + NOTE: this release will be very short lived--this entire package + should be obsolete when pam_motd assumes this functionality; + see Launchpad #399071 + * update-motd + - drop the daemon design, as this was heavily objectionable + - drop the cronjob design (actually, this was dropped in 2.0) + - instead, make update-motd a script sourced in /etc/profile.d, + such that it is *only* run on interactive login, and cpu cycles + are not wasted otherwise + * update-motd.sh: script installed in /etc/profile.d + * update-motd.1: updated accordingly + * debian/control: updated description, drop python dependency + * debian/dirs, debian/install: only installing in /usr/bin and + /etc/profile.d + * debian/init, debian/iwatch.xml: dropped entirely (also fixes LP: #398646) + * debian/postinst: purge unneeded /etc files + * debian/release-build.sh, debian/release.sh: bump major version to '3' + * debian/rules: drop init script installation, link /usr/bin/update-motd + into /etc/profile.d + + -- Dustin Kirkland Mon, 13 Jul 2009 20:02:54 -0500 + +update-motd (2.0-0ubuntu1) karmic; urgency=low + + [ update-motd 2.0 major redesign ] + * update-motd: + - rewrite update-motd as a python daemon, rather than a series of + difficult-to-manage cronjobs + - improve locking, LP: #340761 + * update-motd: manpage updated for daemon re-design + * debian/update-motd.cron.d: dropped, no longer needed + * debian/rules: added a get-orig-source target, install init, don't + install cron + * debian/control: updated description for the daemon, depend on python, + drop cron dependency + * debian/postinst: delete the cron.d file in older installations + * ChangeLog: dropped; please use debian/changelog + + -- Dustin Kirkland Sun, 12 Jul 2009 17:08:55 -0500 + +update-motd (1.13) jaunty; urgency=low + + [ Jon Bernard ] + * debian/install: fix installation path for iwatch.xml + * debian/changelog: use Jon's launchpad email address + * update-motd: + - Fix renice output redirect, LP: #339774 + - Fix usage() formatting + + -- Dustin Kirkland Sun, 08 Mar 2009 23:27:56 -0500 + +update-motd (1.12) jaunty; urgency=low + + * Inotify support + - big thanks for Jon Bernard for all his help! + * debian/control: suggest iwatch + * debian/dirs: add /etc/update-motd directory + * debian/install: install /etc/update-motd/iwatch.xml + * debian/iwatch.xml: iwatch configuration file + * debian/update-motd.cron.d: use the "d" argument for the 10-minute job + * update-motd: + - default FREQ to "d" + - default vars added for inotify + - usage statement updated accordingly + - ensure that the cronjobs are no-ops, if running in inotify mode + - handle starting/stopping inotify via --enable and --disable + - move the trap to the top, and make sure the lock is established + - do not run the /etc/update-motd.*/ scripts, if in inotify mode + * update-motd.1: documentation updated + + -- Dustin Kirkland Thu, 05 Mar 2009 13:20:14 -0600 + +update-motd (1.11) jaunty; urgency=low + + * update-motd: don't fail the entire script, if renice/ionice fail, + LP: #331921; ionice to 'idle' rather than 'best-effort' + + -- Dustin Kirkland Thu, 05 Mar 2009 10:51:26 -0600 + +update-motd (1.10) jaunty; urgency=low + + * debian/update-motd.cron.d: Fix broken crontab entries, LP: #312809 + + -- Dustin Kirkland Mon, 05 Jan 2009 12:51:54 -0600 + +update-motd (1.9) jaunty; urgency=low + + * update-motd: support other run frequencies, run very "nice" when not + --force'd + * update-motd.1: document the new run frequencies + * debian/dirs: create the additional run frequency directories + * debian/update-motd.cron.d: install cronjobs to handle the new run + frequencies + + -- Dustin Kirkland Tue, 11 Nov 2008 00:42:47 +0100 + +update-motd (1.8) intrepid; urgency=low + + * update-motd: on disable, regenerate a motd that does not have the possibly + stale update-motd data in it; on enable, run update-motd immediately + (LP: #276539) + * update-motd.1: update the manpage accordingly + + -- Dustin Kirkland Tue, 30 Sep 2008 17:30:34 -0500 + +update-motd (1.7) intrepid; urgency=low + + * Packaging suggestions (LP: #271848) + * debian/postinst: use lt-nl instead of lt + * debian/prerm: remove entirely + * debian/rules: use dh_installcron + * debian/update-motd.cron.d: ensure that the binary exists and is + executable when running the cronjob + * update-motd.cron: moved to debian/update-motd.cron.d + * debian/copyright: GPLv3 only, adhere to Canonical guidelines + * debian/control: added VCS-* info to point to upstream bazaar branches + + -- Dustin Kirkland Fri, 19 Sep 2008 18:13:55 -0500 + +update-motd (1.6) intrepid; urgency=low + + * ChangeLog: fill in details of the last few releases + * debian/config: purge debconf configuration + * debian/dirs: purge usr/share/update-motd and etc/default/update-motd + * debian/init.d: purge init script + * debian/install: install cronjob directly to etc/cron.d + * debian/po/*: purge translation of template + * debian/postinst: purge debconf configuration, remove init script left by + older update-motd version (<1.6) + * debian/rules: purge po update, install the cronjob into place, purge init + script installation + * debian/templates: purge debconf questions + * update-motd: + - add usage statement + - add options for --disable, --enable + - adjust error messages + - do no execute if the .disabled file exists + - write the last-run timestamp to the .lastrun file + * update-motd.1: adjust manpage to match new operation + * update-motd.cron: adjust header comment to match new operation + * update-motd.default: purge etc/default file + + -- Dustin Kirkland Wed, 17 Sep 2008 21:14:18 -0500 + +update-motd (1.5) intrepid; urgency=low + + * update-motd: print error messages to stderr, rather than stdout, + (LP: #271368). + + -- Dustin Kirkland Wed, 17 Sep 2008 09:18:54 -0500 + +update-motd (1.4) intrepid; urgency=low + + * debian/config: validate that 1<=FREQ_IN_MIN<=59, at most 5 times before + defaulting to FREQ_IN_MIN=10 + * debian/templates: valid input is 1 to 59 minutes + + -- Dustin Kirkland Mon, 15 Sep 2008 21:37:44 -0500 + +update-motd (1.3) intrepid; urgency=low + + * debian/config: only ask freq-in-min question if update-motd is enabled, + set default FREQ_IN_MIN back to 10 + * debian/postinst: only update FREQ_IN_MIN if update-motd is enabled, remove + the cronjob entirely if update-motd is disabled + + -- Dustin Kirkland Mon, 15 Sep 2008 16:08:37 -0500 + +update-motd (1.2) intrepid; urgency=low + + * debian/config: extract FREQ_IN_MIN from /etc/cron.d/update-motd + * debian/init.d: + - check that RUN=yes before starting, and that the cronjob exists + - ditto for the status action + - touch /var/run/update-motd.enabled if running + - use proper log_daemon_msg/log_end_msg for start/stop/refresh + * debian/postinst + - update the default file on RUN=yes|no + - create cronjob from template, using FREQ_IN_MIN debconf selection + * update-motd: + - check that update-motd is enabled (/var/run/update-motd.enabled) + - add argument handling and support for --force + * update-motd.1: + - added documentation about --force + - improved manpage formatting + * update-motd.default: remove FREQ_IN_MIN, as it's no longer set here + + -- Dustin Kirkland Mon, 15 Sep 2008 14:55:18 -0500 + +update-motd (1.1) intrepid; urgency=low + + * debian/control: Description line was too long (LP: #260441). + + -- Dustin Kirkland Fri, 22 Aug 2008 17:30:56 +0100 + +update-motd (1.0) intrepid; urgency=low + + * Initial package creation (LP: #260412) + + -- Dustin Kirkland Fri, 22 Aug 2008 10:36:38 +0100 + --- update-motd-3.6.orig/debian/compat +++ update-motd-3.6/debian/compat @@ -0,0 +1 @@ +6 --- update-motd-3.6.orig/debian/control +++ update-motd-3.6/debian/control @@ -0,0 +1,22 @@ +Source: update-motd +Section: admin +Priority: extra +Maintainer: Dustin Kirkland +Build-Depends: debhelper (>= 6) +Standards-Version: 3.8.0 +Vcs-Bzr: http://bazaar.launchpad.net/~kirkland/update-motd/main + +Package: update-motd +Architecture: all +Depends: ${misc:Depends}, libpam-modules (>= 1.0.1-9ubuntu3) +Description: compliments pam_motd in libpam-modules + . + This package installs a script that immediately dynamically generates + a message-of-the-day by running scripts installed in /etc/update-motd.d, + in lexical order. + . + Other packages, or system administrators should symlink scripts into + /etc/update-motd.d, pre-pending a 2-digit number to handle ordering. + . + The functionality formerly provided by this package is now integrated into + pam_motd, in libpam-modules. --- update-motd-3.6.orig/debian/copyright +++ update-motd-3.6/debian/copyright @@ -0,0 +1,26 @@ +This package was created by Dustin Kirkland +Wed, 13 Aug 2008 17:37:37 -0500 + +Upstream Author: Dustin Kirkland + +Copyright: + Copyright (C) 2008 Canonical Ltd. + All rights reserved. + +License: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License version 3, + as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + + On Debian systems, the complete text of the GNU General Public + License, version 3, can be found in /usr/share/common-licenses/GPL-3. + --- update-motd-3.6.orig/debian/dirs +++ update-motd-3.6/debian/dirs @@ -0,0 +1 @@ +etc/update-motd.d --- update-motd-3.6.orig/debian/docs +++ update-motd-3.6/debian/docs @@ -0,0 +1,2 @@ +README +THANKS --- update-motd-3.6.orig/debian/install +++ update-motd-3.6/debian/install @@ -0,0 +1 @@ +update-motd /usr/sbin/ --- update-motd-3.6.orig/debian/manpages +++ update-motd-3.6/debian/manpages @@ -0,0 +1 @@ +update-motd.8 --- update-motd-3.6.orig/debian/rules +++ update-motd-3.6/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@