debian/0000775000000000000000000000000012204305327007166 5ustar debian/changelog0000664000000000000000000001313212204305323011034 0ustar bootmail (1.10-0ubuntu1) saucy; urgency=low * New release, for upload to Debian * debian/control: - bump standards * debian/po/templates.pot: - update po -- Dustin Kirkland Sun, 18 Aug 2013 22:02:06 -0500 bootmail (1.9-0ubuntu1) precise; urgency=low * debian/postinst, debian/upstart, === removed directory etc/cron.d: - LP: #956264, don't send extra bootmail entry from installation - cron dir no longer necessary -- Dustin Kirkland Thu, 15 Mar 2012 13:16:13 -0500 bootmail (1.8-0ubuntu1) precise; urgency=low * debian/config, debian/postinst, debian/templates, etc/bootmail/gpg.conf, usr/sbin/rootsign, usr/share/man/man8/bootmail.8: - drastically improve encryption support -- Dustin Kirkland Sun, 12 Feb 2012 11:32:06 -0600 bootmail (1.7-0ubuntu1) precise; urgency=low * debian/rules, debian/upstart, etc/cron.d/bootmail, usr/sbin/bootmail: - use an upstart job to send bootmail, so that we can send on both boot and shutdown - deprecate the cronjob - add a --shutdown option that sends a different subject * debian/control: LP: #812879 - depend on bsd-mailx|mailx - bump standards - build depend on versioned debhelper for dh overrides -- Dustin Kirkland Wed, 01 Feb 2012 17:58:22 -0600 bootmail (1.6-0ubuntu1) precise; urgency=low * usr/sbin/bootmail, usr/sbin/rootsign: - add some checks, necessary if running bootmail or rootsign under sudo * etc/bootmail/gpg.conf, usr/sbin/rootsign, usr/share/man/man8/bootmail.8, usr/share/man/man8/rootsign.8: - support an optional RECIPIENT_KEYID variable in /etc/bootmail/gpg.conf, to enable users to encrypt as well as sign messages with the rootsign utility -- Dustin Kirkland Tue, 03 Jan 2012 16:20:53 -0600 bootmail (1.5-0ubuntu1) precise; urgency=low * usr/sbin/bootmail: - make bootmail play nicer with cr-gpg and gmail -- Dustin Kirkland Tue, 03 Jan 2012 16:20:50 -0600 bootmail (1.4-0ubuntu1) precise; urgency=low * usr/sbin/bootmail, usr/sbin/rootsign, usr/share/man/man8/rootsign.8: - push keys to keyserver - add instructions for importing keys in email * etc/bootmail/gpg.conf, usr/sbin/bootmail, usr/sbin/rootsign: - use a conf file for gpg user and gpg opts -- Dustin Kirkland Wed, 28 Dec 2011 10:28:32 -0600 bootmail (1.3-0ubuntu1) oneiric; urgency=low * debian/control, usr/sbin/bootmail, usr/sbin/rootsign, usr/share/man/man8/bootmail.8, usr/share/man/man8/rootsign.8: - move the root signature logic to its own standalone, useful utility called 'rootsign' - add a rootsign manpage - upgrade the crypto stuff from Recommends to Depends * etc/cron.d/bootmail: - clean up the cronjob * usr/sbin/bootmail: - functionize the printing, ditch the temp file * usr/sbin/bootmail: - logger that a message was sent * debian/postrm, etc/cron.d/bootmail: - remove the cronjob on package removal * etc/cron.d/bootmail: - need the /usr/sbin in the path -- Dustin Kirkland Tue, 19 Jul 2011 19:32:35 -0500 bootmail (1.2-0ubuntu1) oneiric; urgency=low * usr/sbin/bootmail: - add a note about gpg key importing * usr/sbin/bootmail: - use the ssh host key for signing, if possible * debian/control: - simplify depends * debian/postinst: - don't remove configuration on upgrades -- Dustin Kirkland Sun, 17 Jul 2011 15:15:16 -0500 bootmail (1.1-0ubuntu1) oneiric; urgency=low * === added directory var, === added directory var/lib, === added directory var/lib/bootmail, debian/control, debian/postinst, usr/sbin/bootmail, usr/share/man/man8/bootmail.8, var/lib/bootmail/key.config: - add an optional gpg/crypto signature * debian/control: - need /usr/bin/mail * debian/install, debian/postinst: - install var * debian/control: - fix gpg package name * usr/sbin/bootmail: - drop the rngd hack; Kees Cook strongly recommended against it * debian/postinst, usr/sbin/bootmail: - move key creation over to postinst * debian/control, debian/postinst, usr/sbin/bootmail: - greatly simplify the key importing * usr/sbin/bootmail: - remove unprintable chars * debian/control, debian/postinst, usr/sbin/bootmail, usr/share/man/man8/bootmail.8: - use openssl to generate keys, as it does not block * debian/control, debian/postinst, usr/sbin/bootmail: - move the key generation logic into the utility, so that the crypto bits can be optional packages * usr/sbin/bootmail: - fix typo * usr/sbin/bootmail: - minor format change -- Dustin Kirkland Thu, 14 Jul 2011 23:36:19 -0500 bootmail (1.0-0ubuntu1) oneiric; urgency=low * === added directory usr/share, === added directory usr/share/man, === added directory usr/share/man/man1, usr/share/man/man1/bootmail.8: - added manpage * debian/templates, === renamed directory usr/share/man/man1 => usr/share/man/man8: - fix lintian * === added directory debian/po, debian/control, debian/po/POTFILES.in, debian/po/templates.pot, debian/templates: - updated for po * === added directory debian/source, debian/source/format: - add source * etc/cron.d/bootmail: - fix syntax * etc/cron.d/bootmail, usr/sbin/bootmail: - strip control characters * usr/sbin/bootmail: - update the motd, simplify the pipes * etc/cron.d/bootmail: - must add user -- Dustin Kirkland Tue, 12 Jul 2011 19:08:45 -0500 debian/upstart0000664000000000000000000000106412175502071010616 0ustar # bootmail - Send signed email on startup and shutdown description "Bootmail" author "Dustin Kirkland " start on stopped rc RUNLEVEL=[2345] stop on starting rc RUNLEVEL=[06] pre-start script if [ ! -e /var/run/.bootmail-just-installed ]; then # Ensure that we run this with a root environment su -c "/usr/sbin/bootmail" -l root fi end script pre-stop script # Ensure that we run this with a root environment su -c "/usr/sbin/bootmail --shutdown" -l root end script # Fun number; both prime and fibonacci exec sleep 514229d debian/dirs0000664000000000000000000000001512175502071010050 0ustar etc/bootmail debian/templates0000664000000000000000000000065612175502071011120 0ustar Template: bootmail/recipients Type: string _Description: Recipient email addresses: Bootmail will automatically email one or more addresses each time this system reboots. Enter a comma-separated list of email addresses. Template: bootmail/gpgkeys Type: string _Description: Recipient gpg key ids: Bootmail can optionally encrypt messages to one or more gpg public keys. Enter a comma separated list of public key ids here. debian/postinst0000664000000000000000000000075712175502071011007 0ustar #!/bin/sh -e . /usr/share/debconf/confmodule db_version 2.0 # Configure addresses obtained from debconf db_get bootmail/recipients || true if [ -n "$RET" ]; then echo "$RET" > /etc/bootmail/recipients fi # Configure public keys obtained from debconf db_get bootmail/gpgkeys || true if [ -n "$RET" ]; then echo "$RET" > /etc/bootmail/gpgkeys fi # Flag to keep bootmail from running at installation time touch /var/run/.bootmail-just-installed #DEBHELPER# # vi: syntax=sh ts=4 noexpandtab debian/config0000664000000000000000000000030212175502071010353 0ustar #! /bin/sh -e . /usr/share/debconf/confmodule db_version 2.0 db_input high bootmail/recipients || true db_input medium bootmail/gpgkeys || true db_go exit 0 # vi: syntax=sh ts=4 noexpandtab debian/compat0000664000000000000000000000000212175502071010366 0ustar 7 debian/install0000664000000000000000000000001712175502071010557 0ustar etc/ usr/ var/ debian/source/0000775000000000000000000000000012175502071010470 5ustar debian/source/format0000664000000000000000000000001412175502071011676 0ustar 3.0 (quilt) debian/po/0000775000000000000000000000000012204305157007605 5ustar debian/po/POTFILES.in0000664000000000000000000000004412175502071011361 0ustar [type: gettext/rfc822deb] templates debian/po/templates.pot0000664000000000000000000000227512204305157012335 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: bootmail\n" "Report-Msgid-Bugs-To: bootmail@packages.debian.org\n" "POT-Creation-Date: 2013-08-18 22:01-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: string #. Description #: ../templates:1001 msgid "Recipient email addresses:" msgstr "" #. Type: string #. Description #: ../templates:1001 msgid "" "Bootmail will automatically email one or more addresses each time this " "system reboots. Enter a comma-separated list of email addresses." msgstr "" #. Type: string #. Description #: ../templates:2001 msgid "Recipient gpg key ids:" msgstr "" #. Type: string #. Description #: ../templates:2001 msgid "" "Bootmail can optionally encrypt messages to one or more gpg public keys. " "Enter a comma separated list of public key ids here." msgstr "" debian/rules0000775000000000000000000000014012175502071010243 0ustar #!/usr/bin/make -f %: dh $@ override_dh_installinit: dh_installinit --no-restart-on-upgrade debian/control0000664000000000000000000000143612204304773010601 0ustar Source: bootmail Section: admin Priority: optional Maintainer: Dustin Kirkland Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.4 Homepage: http://launchpad.net/bootmail Package: bootmail Architecture: all Depends: ${misc:Depends}, debconf (>= 0.5) | debconf-2.0, bsd-mailx|mailx, gnupg, monkeysphere, openssl Description: automatically email a list of admins when a system reboots bootmail is a handy utility that will automatically send an email to a configurable list of email addresses each time the system boots. This is perhaps useful for unattended servers that should not reboot often. It appends a configurable list of log files to the email body. . If you install the suggested packages, it will also cryptographically sign the email messages. debian/copyright0000664000000000000000000000216112175502071011123 0ustar This package was debianized by Dustin Kirkland Tue, 12 July 2011 17:08:23 -0600 It was downloaded from: http://launchpad.net/bootmail Upstream Authors: Dustin Kirkland Copyright: Copyright (C) 2011 Dustin Kirkland 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 as published by the Free Software Foundation version 3 of the License. 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. The Ubuntu packaging: Copyright (C) 2011 Dustin Kirkland released under the GPL-3. debian/postrm0000664000000000000000000000013012175502071010431 0ustar #!/bin/sh -e rm -f /etc/cron.d/bootmail #DEBHELPER# # vi: syntax=sh ts=4 noexpandtab