diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/sitesummary-client.install | 3 | ||||
-rw-r--r-- | debian/sitesummary.install | 2 | ||||
-rwxr-xr-x | sitesummary-makewebreport | 29 |
6 files changed, 40 insertions, 1 deletions
@@ -30,6 +30,9 @@ install-server: $(INSTALL) -d $(DESTDIR)$(cgibindir) $(INSTALL) sitesummary-collector.cgi $(DESTDIR)$(cgibindir) + $(INSTALL) -d $(DESTDIR)$(sbindir) + $(INSTALL) sitesummary-makewebreport $(DESTDIR)$(sbindir) + $(INSTALL) -d $(DESTDIR)$(perldir) $(INSTALL) -d $(DESTDIR)$(pkgdir) $(INSTALL_DATA) SiteSummary.pm $(DESTDIR)$(perldir) @@ -1,3 +1,5 @@ +- make the package descriptions more useful +- improve debian/copyright, ref <URL:http://lists.debian.org/debian-devel-announce/2006/03/msg00023.html> - include version number in protocol exchange - implement encryption of submissions - generate web pages diff --git a/debian/changelog b/debian/changelog index a615ee0..5c54e22 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ sitesummary (0.0.6) UNRELEASED; urgency=low * Let the client recommend cron, as it need it to call in after the initial submission after boot. + * Add trivial sitesummary-makewebreport to make a web page with the summary + results. -- Petter Reinholdtsen <pere@debian.org> Tue, 29 Aug 2006 08:26:35 +0200 diff --git a/debian/sitesummary-client.install b/debian/sitesummary-client.install index a3fbfda..d4ec071 100644 --- a/debian/sitesummary-client.install +++ b/debian/sitesummary-client.install @@ -1,3 +1,4 @@ -debian/tmp/usr/sbin debian/tmp/usr/lib/sitesummary/collect.d +debian/tmp/usr/sbin/sitesummary-client +debian/tmp/usr/sbin/sitesummary-upload debian/tmp/usr/share/sitesummary/sitesummary-client.conf diff --git a/debian/sitesummary.install b/debian/sitesummary.install index 72f5ea5..1223730 100644 --- a/debian/sitesummary.install +++ b/debian/sitesummary.install @@ -1,4 +1,6 @@ debian/tmp/etc/apache2 debian/tmp/usr/lib/cgi-bin debian/tmp/usr/lib/sitesummary/*-summary +debian/tmp/usr/sbin/sitesummary-makewebreport debian/tmp/usr/share/perl5 +debian/tmp/var/lib/sitesummary diff --git a/sitesummary-makewebreport b/sitesummary-makewebreport new file mode 100755 index 0000000..681f460 --- /dev/null +++ b/sitesummary-makewebreport @@ -0,0 +1,29 @@ +#!/bin/sh +# +# Make simple web page with summary information. This should be rewritten to use some +# template system and be more flexible. +# + +( +cat <<EOF +<html> +<head> +<title>sitesummary report</title> +</head> +<body> +<h1>sitesummary report</h1> +<pre> +EOF + +for f in site-summary kernelversion-summary ; do + /usr/lib/sitesummary/$f + echo +done + +cat <<EOF +</pre> +</body> +EOF +) > /var/lib/sitesummary/www/index.html + +exit 0 |