From 4400d28e4a51ea4091d7f641f8fc467969865c04 Mon Sep 17 00:00:00 2001 From: Haxe18 Date: Wed, 4 Jan 2023 20:09:06 +0100 Subject: [PATCH] New release 1.0.3 --- custom-motd/debian/README | 6 - custom-motd/debian/README.Debian | 6 - custom-motd/debian/README.source | 10 - custom-motd/debian/changelog | 9 + custom-motd/debian/compat | 2 +- custom-motd/debian/control | 4 +- custom-motd/debian/custom-motd-docs.docs | 3 - custom-motd/debian/custom-motd.cron.d.ex | 4 - custom-motd/debian/custom-motd.default.ex | 10 - custom-motd/debian/custom-motd.doc-base.EX | 20 -- custom-motd/debian/manpage.1.ex | 56 ---- custom-motd/debian/manpage.sgml.ex | 154 ----------- custom-motd/debian/manpage.xml.ex | 291 --------------------- custom-motd/debian/menu.ex | 2 - custom-motd/debian/preinst.ex | 35 --- custom-motd/debian/prerm.ex | 38 --- 16 files changed, 12 insertions(+), 638 deletions(-) delete mode 100644 custom-motd/debian/README delete mode 100644 custom-motd/debian/README.Debian delete mode 100644 custom-motd/debian/README.source delete mode 100644 custom-motd/debian/custom-motd-docs.docs delete mode 100644 custom-motd/debian/custom-motd.cron.d.ex delete mode 100644 custom-motd/debian/custom-motd.default.ex delete mode 100644 custom-motd/debian/custom-motd.doc-base.EX delete mode 100644 custom-motd/debian/manpage.1.ex delete mode 100644 custom-motd/debian/manpage.sgml.ex delete mode 100644 custom-motd/debian/manpage.xml.ex delete mode 100644 custom-motd/debian/menu.ex delete mode 100644 custom-motd/debian/preinst.ex delete mode 100644 custom-motd/debian/prerm.ex diff --git a/custom-motd/debian/README b/custom-motd/debian/README deleted file mode 100644 index 385b129..0000000 --- a/custom-motd/debian/README +++ /dev/null @@ -1,6 +0,0 @@ -The Debian Package custom-motd ----------------------------- - -Comments regarding the Package - - -- Haxe18 Sun, 25 Feb 2018 19:19:34 +0100 diff --git a/custom-motd/debian/README.Debian b/custom-motd/debian/README.Debian deleted file mode 100644 index d2eba50..0000000 --- a/custom-motd/debian/README.Debian +++ /dev/null @@ -1,6 +0,0 @@ -custom-motd for Debian ---------------------- - -Initial release - - -- Haxe18 Sun, 25 Feb 2018 19:19:34 +0100 diff --git a/custom-motd/debian/README.source b/custom-motd/debian/README.source deleted file mode 100644 index 604c34c..0000000 --- a/custom-motd/debian/README.source +++ /dev/null @@ -1,10 +0,0 @@ -custom-motd for Debian ---------------------- - - - - - - -- Haxe18 Sun, 25 Feb 2018 19:19:34 +0100 - diff --git a/custom-motd/debian/changelog b/custom-motd/debian/changelog index 19b7307..4a1560f 100644 --- a/custom-motd/debian/changelog +++ b/custom-motd/debian/changelog @@ -1,3 +1,12 @@ +custom-motd (1.0.3) unstable; urgency=medium + + * Handle case no swap exists + * Migrated 20-updates to python3 + * Cleanup of unneeded files + * Fixed deb build warnings with debian bullseye + + -- Haxe18 Wed, 04 Jan 2023 20:09:03 +0200 + custom-motd (1.0.2) unstable; urgency=medium * Fixed separating ip address to be correct on debian jessie systems diff --git a/custom-motd/debian/compat b/custom-motd/debian/compat index ec63514..f599e28 100644 --- a/custom-motd/debian/compat +++ b/custom-motd/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/custom-motd/debian/control b/custom-motd/debian/control index d8f292b..e028e10 100644 --- a/custom-motd/debian/control +++ b/custom-motd/debian/control @@ -2,7 +2,7 @@ Source: custom-motd Section: unknown Priority: optional Maintainer: Haxe18 -Build-Depends: debhelper (>= 9) +Build-Depends: debhelper (>= 10) Standards-Version: 3.9.8 Homepage: https://github.com/Haxe18/custom-motd Vcs-Git: https://github.com/Haxe18/custom-motd.git @@ -10,7 +10,7 @@ Vcs-Browser: https://github.com/Haxe18/custom-motd.git Package: custom-motd Architecture: all -Depends: ${shlibs:Depends}, ${misc:Depends}, bc, awk, python-apt, lsb-release +Depends: ${misc:Depends}, bc, awk, python3-apt, lsb-release Description: Custom motd information like landscape This Packages provides a motd like a ubuntu system with landscape package. Created with with help from https://nickcharlton.net/posts/debian-ubuntu-dynamic-motd.html diff --git a/custom-motd/debian/custom-motd-docs.docs b/custom-motd/debian/custom-motd-docs.docs deleted file mode 100644 index 71672b8..0000000 --- a/custom-motd/debian/custom-motd-docs.docs +++ /dev/null @@ -1,3 +0,0 @@ -README.source -README.Debian -README diff --git a/custom-motd/debian/custom-motd.cron.d.ex b/custom-motd/debian/custom-motd.cron.d.ex deleted file mode 100644 index 070f249..0000000 --- a/custom-motd/debian/custom-motd.cron.d.ex +++ /dev/null @@ -1,4 +0,0 @@ -# -# Regular cron jobs for the custom-motd package -# -0 4 * * * root [ -x /usr/bin/custom-motd_maintenance ] && /usr/bin/custom-motd_maintenance diff --git a/custom-motd/debian/custom-motd.default.ex b/custom-motd/debian/custom-motd.default.ex deleted file mode 100644 index 094fb90..0000000 --- a/custom-motd/debian/custom-motd.default.ex +++ /dev/null @@ -1,10 +0,0 @@ -# Defaults for custom-motd initscript -# sourced by /etc/init.d/custom-motd -# installed at /etc/default/custom-motd by the maintainer scripts - -# -# This is a POSIX shell fragment -# - -# Additional options that are passed to the Daemon. -DAEMON_OPTS="" diff --git a/custom-motd/debian/custom-motd.doc-base.EX b/custom-motd/debian/custom-motd.doc-base.EX deleted file mode 100644 index e44c1b0..0000000 --- a/custom-motd/debian/custom-motd.doc-base.EX +++ /dev/null @@ -1,20 +0,0 @@ -Document: custom-motd -Title: Debian custom-motd Manual -Author: -Abstract: This manual describes what custom-motd is - and how it can be used to - manage online manuals on Debian systems. -Section: unknown - -Format: debiandoc-sgml -Files: /usr/share/doc/custom-motd/custom-motd.sgml.gz - -Format: postscript -Files: /usr/share/doc/custom-motd/custom-motd.ps.gz - -Format: text -Files: /usr/share/doc/custom-motd/custom-motd.text.gz - -Format: HTML -Index: /usr/share/doc/custom-motd/html/index.html -Files: /usr/share/doc/custom-motd/html/*.html diff --git a/custom-motd/debian/manpage.1.ex b/custom-motd/debian/manpage.1.ex deleted file mode 100644 index cf64701..0000000 --- a/custom-motd/debian/manpage.1.ex +++ /dev/null @@ -1,56 +0,0 @@ -.\" Hey, EMACS: -*- nroff -*- -.\" (C) Copyright 2018 Haxe18 , -.\" -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH Custom-motd SECTION "February 25 2018" -.\" Please adjust this date whenever revising the manpage. -.\" -.\" Some roff macros, for reference: -.\" .nh disable hyphenation -.\" .hy enable hyphenation -.\" .ad l left justify -.\" .ad b justify to both left and right margins -.\" .nf disable filling -.\" .fi enable filling -.\" .br insert line break -.\" .sp insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -custom-motd \- program to do something -.SH SYNOPSIS -.B custom-motd -.RI [ options ] " files" ... -.br -.B bar -.RI [ options ] " files" ... -.SH DESCRIPTION -This manual page documents briefly the -.B custom-motd -and -.B bar -commands. -.PP -.\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invode bold face and italics, -.\" respectively. -\fBcustom-motd\fP is a program that... -.SH OPTIONS -These programs follow the usual GNU command line syntax, with long -options starting with two dashes (`-'). -A summary of options is included below. -For a complete description, see the Info files. -.TP -.B \-h, \-\-help -Show summary of options. -.TP -.B \-v, \-\-version -Show version of program. -.SH SEE ALSO -.BR bar (1), -.BR baz (1). -.br -The programs are documented fully by -.IR "The Rise and Fall of a Fooish Bar" , -available via the Info system. diff --git a/custom-motd/debian/manpage.sgml.ex b/custom-motd/debian/manpage.sgml.ex deleted file mode 100644 index 1efa4e8..0000000 --- a/custom-motd/debian/manpage.sgml.ex +++ /dev/null @@ -1,154 +0,0 @@ - manpage.1'. You may view - the manual page with: `docbook-to-man manpage.sgml | nroff -man | - less'. A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - - FIRSTNAME"> - SURNAME"> - - February 25 2018"> - - SECTION"> - Haxe18"> - - Custom-motd"> - - - Debian"> - GNU"> - GPL"> -]> - - - -
- &dhemail; -
- - &dhfirstname; - &dhsurname; - - - 2003 - &dhusername; - - &dhdate; -
- - &dhucpackage; - - &dhsection; - - - &dhpackage; - - program to do something - - - - &dhpackage; - - - - - - - - DESCRIPTION - - This manual page documents briefly the - &dhpackage; and bar - commands. - - This manual page was written for the &debian; distribution - because the original program does not have a manual page. - Instead, it has documentation in the &gnu; - Info format; see below. - - &dhpackage; is a program that... - - - - OPTIONS - - These programs follow the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - Info files. - - - - - - - - Show summary of options. - - - - - - - - Show version of program. - - - - - - SEE ALSO - - bar (1), baz (1). - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - Info system. - - - AUTHOR - - This manual page was written by &dhusername; &dhemail; for - the &debian; system (and may be used by others). Permission is - granted to copy, distribute and/or modify this document under - the terms of the &gnu; General Public License, Version 2 any - later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - - - -
- - diff --git a/custom-motd/debian/manpage.xml.ex b/custom-motd/debian/manpage.xml.ex deleted file mode 100644 index ba67144..0000000 --- a/custom-motd/debian/manpage.xml.ex +++ /dev/null @@ -1,291 +0,0 @@ - -.
will be generated. You may view the -manual page with: nroff -man .
| less'. A typical entry -in a Makefile or Makefile.am is: - -DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl -XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" - -manpage.1: manpage.xml - $(XP) $(DB2MAN) $< - -The xsltproc binary is found in the xsltproc package. The XSL files are in -docbook-xsl. A description of the parameters you can use can be found in the -docbook-xsl-doc-* packages. Please remember that if you create the nroff -version in one of the debian/rules file targets (such as build), you will need -to include xsltproc and docbook-xsl in your Build-Depends control field. -Alternatively use the xmlto command/package. That will also automatically -pull in xsltproc and docbook-xsl. - -Notes for using docbook2x: docbook2x-man does not automatically create the -AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as - ... . - -To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections -read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be -found in the docbook-xsl-doc-html package. - -Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` - -General documentation about man-pages and man-page-formatting: -man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ - ---> - - - - - - - - - - - - - -]> - - - - &dhtitle; - &dhpackage; - - - &dhfirstname; - &dhsurname; - Wrote this manpage for the Debian system. -
- &dhemail; -
-
-
- - 2007 - &dhusername; - - - This manual page was written for the Debian system - (and may be used by others). - Permission is granted to copy, distribute and/or modify this - document under the terms of the GNU General Public License, - Version 2 or (at your option) any later version published by - the Free Software Foundation. - On Debian systems, the complete text of the GNU General Public - License can be found in - /usr/share/common-licenses/GPL. - -
- - &dhucpackage; - &dhsection; - - - &dhpackage; - program to do something - - - - &dhpackage; - - - - - - - - - this - - - - - - - - this - that - - - - - &dhpackage; - - - - - - - - - - - - - - - - - - - DESCRIPTION - This manual page documents briefly the - &dhpackage; and bar - commands. - This manual page was written for the Debian distribution - because the original program does not have a manual page. - Instead, it has documentation in the GNU - info - 1 - format; see below. - &dhpackage; is a program that... - - - OPTIONS - The program follows the usual GNU command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a complete description, see the - - info - 1 - files. - - - - - - - Does this and that. - - - - - - - Show summary of options. - - - - - - - Show version of program. - - - - - - FILES - - - /etc/foo.conf - - The system-wide configuration file to control the - behaviour of &dhpackage;. See - - foo.conf - 5 - for further details. - - - - ${HOME}/.foo.conf - - The per-user configuration file to control the - behaviour of &dhpackage;. See - - foo.conf - 5 - for further details. - - - - - - ENVIRONMENT - - - FOO_CONF - - If used, the defined file is used as configuration - file (see also ). - - - - - - DIAGNOSTICS - The following diagnostics may be issued - on stderr: - - - Bad configuration file. Exiting. - - The configuration file seems to contain a broken configuration - line. Use the option, to get more info. - - - - - &dhpackage; provides some return codes, that can - be used in scripts: - - Code - Diagnostic - - 0 - Program exited successfully. - - - 1 - The configuration file seems to be broken. - - - - - - BUGS - The program is currently limited to only work - with the foobar library. - The upstreams BTS can be found - at . - - - SEE ALSO - - - bar - 1 - , - baz - 1 - , - foo.conf - 5 - - The programs are documented fully by The Rise and - Fall of a Fooish Bar available via the - info - 1 - system. - -
- diff --git a/custom-motd/debian/menu.ex b/custom-motd/debian/menu.ex deleted file mode 100644 index f22154b..0000000 --- a/custom-motd/debian/menu.ex +++ /dev/null @@ -1,2 +0,0 @@ -?package(custom-motd):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\ - title="custom-motd" command="/usr/bin/custom-motd" diff --git a/custom-motd/debian/preinst.ex b/custom-motd/debian/preinst.ex deleted file mode 100644 index 48f2fc7..0000000 --- a/custom-motd/debian/preinst.ex +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# preinst script for custom-motd -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `install' -# * `install' -# * `upgrade' -# * `abort-upgrade' -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - install|upgrade) - ;; - - abort-upgrade) - ;; - - *) - echo "preinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/custom-motd/debian/prerm.ex b/custom-motd/debian/prerm.ex deleted file mode 100644 index bb94fde..0000000 --- a/custom-motd/debian/prerm.ex +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# prerm script for custom-motd -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `upgrade' -# * `failed-upgrade' -# * `remove' `in-favour' -# * `deconfigure' `in-favour' -# `removing' -# -# for details, see https://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|upgrade|deconfigure) - ;; - - failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0