[scottfree] 05/08: Import Debian patch 1.14-7
Stephen Kitt
skitt at moszumanska.debian.org
Fri Jan 20 08:00:46 UTC 2017
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository scottfree.
commit 4a2b4ee3890ee7441a20bba6e9b4a930a17cfa35
Author: Clint Adams <schizo at debian.org>
Date: Mon May 17 23:32:27 2004 -0400
Import Debian patch 1.14-7
---
debian/changelog | 14 ++++
debian/control | 4 +-
debian/dirs | 2 +
debian/rules | 23 +++++--
debian/scottfree.6 | 96 +++++++++++++++++++++++++++
debian/scottfree.sgml | 165 ++++++++++++++++++++++++++++++++++++++++++++++
losar/README.Debian | 6 ++
losar/changelog | 6 ++
losar/conffiles.ex | 7 ++
losar/control | 12 ++++
losar/copyright | 10 +++
losar/cron.d.ex | 4 ++
losar/dirs | 2 +
losar/docs | 1 +
losar/emacsen-install.ex | 45 +++++++++++++
losar/emacsen-remove.ex | 15 +++++
losar/emacsen-startup.ex | 18 +++++
losar/ex.package.doc-base | 22 +++++++
losar/init.d.ex | 70 ++++++++++++++++++++
losar/manpage.1.ex | 60 +++++++++++++++++
losar/manpage.sgml.ex | 152 ++++++++++++++++++++++++++++++++++++++++++
losar/menu.ex | 2 +
losar/postinst.ex | 48 ++++++++++++++
losar/postrm.ex | 38 +++++++++++
losar/preinst.ex | 44 +++++++++++++
losar/prerm.ex | 39 +++++++++++
losar/rules | 94 ++++++++++++++++++++++++++
losar/watch.ex | 6 ++
28 files changed, 998 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b5da692..1632f9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+scottfree (1.14-7) unstable; urgency=low
+
+ * Bump to Standards-Version 3.6.1.
+
+ -- Clint Adams <schizo at debian.org> Mon, 17 May 2004 23:32:27 -0400
+
+scottfree (1.14-6) unstable; urgency=low
+
+ * Update Standards-Version to 3.5.7.0.
+ * Remove /usr/doc symlink.
+ * No longer use debmake.
+
+ -- Clint Adams <schizo at debian.org> Sat, 31 Aug 2002 21:43:14 -0400
+
scottfree (1.14-5) unstable; urgency=medium
* Update Standards-Version to 3.5.6.0.
diff --git a/debian/control b/debian/control
index 4161c03..0ae2e3a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: scottfree
Section: games
Priority: optional
Maintainer: Clint Adams <schizo at debian.org>
-Standards-Version: 3.5.6.0
-Build-Depends: libncurses5-dev, debmake
+Standards-Version: 3.6.1
+Build-Depends: libncurses5-dev
Package: scottfree
Architecture: any
diff --git a/debian/dirs b/debian/dirs
index 33359b8..0865550 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1 +1,3 @@
usr/games
+usr/share/doc/scottfree
+usr/share/man/man6
diff --git a/debian/rules b/debian/rules
index a72810d..93cc8cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,11 +27,24 @@ binary-arch: checkroot build
$(checkdir)
-rm -rf debian/tmp
install -d debian/tmp
- cd debian/tmp && install -d `cat ../dirs`
- make install DESTDIR=`pwd`/debian/tmp
-# Must have debmake installed for this to work. Otherwise please copy
-# /usr/bin/debstd into the debian directory and change debstd to debian/debstd
- debstd README Definition
+ cd debian/tmp && install -o 0 -g 0 -m755 -d `cat ../dirs`
+ make install DESTDIR=$(CURDIR)/debian/tmp
+
+ install -o 0 -g 0 -m644 README Definition debian/tmp/usr/share/doc/scottfree/
+ install -o 0 -g 0 -m644 debian/scottfree.6 debian/tmp/usr/share/man/man6/
+ install -o 0 -g 0 -m 644 -p debian/copyright debian/tmp/usr/share/doc/scottfree/copyright
+ install -o 0 -g 0 -p -m644 debian/changelog debian/tmp/usr/share/doc/scottfree/changelog.Debian
+
+ gzip -9f debian/tmp/usr/share/doc/scottfree/README debian/tmp/usr/share/doc/scottfree/Definition debian/tmp/usr/share/doc/scottfree/changelog.Debian debian/tmp/usr/share/man/man6/scottfree.6
+
+ strip --remove-section=.comment --remove-section=.note debian/tmp/usr/games/scottfree
+ install -o 0 -g 0 -d debian/tmp/DEBIAN
+ dpkg-shlibdeps -Tdebian/substvars -dDepends debian/tmp/usr/games/scottfree
+ dpkg-gencontrol -ldebian/changelog -isp -pscottfree -Tdebian/substvars -Pdebian/tmp
+ cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
+ chmod 644 debian/tmp/DEBIAN/control debian/tmp/DEBIAN/md5sums
+ chown 0.0 debian/tmp/DEBIAN/control debian/tmp/DEBIAN/md5sums
+
dpkg-gencontrol -isp
chown -R root.root debian/tmp
chmod -R go=rX debian/tmp
diff --git a/debian/scottfree.6 b/debian/scottfree.6
new file mode 100644
index 0000000..67e08ef
--- /dev/null
+++ b/debian/scottfree.6
@@ -0,0 +1,96 @@
+.\" This -*- nroff -*- file has been generated from
+.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
+...\"
+...\" transcript compatibility for postscript use.
+...\"
+...\" synopsis: .P! <file.ps>
+...\"
+.de P!
+\\&.
+.fl \" force out current output buffer
+\\!%PB
+\\!/showpage{}def
+...\" the following is from Ken Flowers -- it prevents dictionary overflows
+\\!/tempdict 200 dict def tempdict begin
+.fl \" prolog
+.sy cat \\$1\" bring in postscript file
+...\" the following line matches the tempdict above
+\\!end % tempdict %
+\\!PE
+\\!.
+.sp \\$2u \" move below the image
+..
+.de pF
+.ie \\*(f1 .ds f1 \\n(.f
+.el .ie \\*(f2 .ds f2 \\n(.f
+.el .ie \\*(f3 .ds f3 \\n(.f
+.el .ie \\*(f4 .ds f4 \\n(.f
+.el .tm ? font overflow
+.ft \\$1
+..
+.de fP
+.ie !\\*(f4 \{\
+. ft \\*(f4
+. ds f4\"
+' br \}
+.el .ie !\\*(f3 \{\
+. ft \\*(f3
+. ds f3\"
+' br \}
+.el .ie !\\*(f2 \{\
+. ft \\*(f2
+. ds f2\"
+' br \}
+.el .ie !\\*(f1 \{\
+. ft \\*(f1
+. ds f1\"
+' br \}
+.el .tm ? font underflow
+..
+.ds f1\"
+.ds f2\"
+.ds f3\"
+.ds f4\"
+'\" t
+.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
+.TH "ScottFree" "6"
+.SH "NAME"
+scottfree \(em interpreter for Scott Adams database game files
+.SH "SYNOPSIS"
+.PP
+\fBscottfree\fP [\fB-d\fP] [\fB-i\fP] [\fB-y\fP] [\fB-s\fP] [\fB-t\fP] [databasename] [\fBsave-file\fP]
+.SH "DESCRIPTION"
+.PP
+This manual page documents briefly the
+\fBscottfree\fP command.
+.PP
+This manual page was written for the \fBDebian\fP distribution
+because the original program does not have a manual page.
+Instead, it has documentation in text format; see below.
+.PP
+\fBscottfree\fP is a program that reads and
+executes TRS80 format Scott Adams datafiles.
+.SH "OPTIONS"
+.IP "\fB-d\fP " 10
+Debugging info on load.
+.IP "\fB-i\fP " 10
+Generate "I am"-style messages. (default)
+.IP "\fB-y\fP " 10
+Generate "You are"-style messages.
+.IP "\fB-s\fP " 10
+Generate authentic Scott Adams driver light messages rather
+than other driver style ones.
+.IP "\fB-t\fP " 10
+Generate TRS80 style display.
+.SH "SEE ALSO"
+.PP
+/usr/share/doc/scottfree/
+.SH "AUTHOR"
+.PP
+This manual page was written by Clint Adams <schizo at debian.org> for
+the \fBDebian\fP system (but 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 any later version published by the Free
+Software Foundation.
+...\" created by instant / docbook-to-man, Sat 31 Aug 2002, 22:04
diff --git a/debian/scottfree.sgml b/debian/scottfree.sgml
new file mode 100644
index 0000000..fbbd30d
--- /dev/null
+++ b/debian/scottfree.sgml
@@ -0,0 +1,165 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+ page: `docbook-to-man manpage.sgml > 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.
+
+ -->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>Clint</firstname>">
+ <!ENTITY dhsurname "<surname>Adams</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>August 31, 2002</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>6</manvolnum>">
+ <!ENTITY dhemail "<email><schizo at debian.org></email>">
+ <!ENTITY dhusername "Clint Adams">
+ <!ENTITY dhucpackage "<refentrytitle>ScottFree</refentrytitle>">
+ <!ENTITY dhpackage "scottfree">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2002</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>interpreter for Scott Adams database game files</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg><option>-d</option></arg>
+ <arg><option>-i</option></arg>
+ <arg><option>-y</option></arg>
+ <arg><option>-s</option></arg>
+ <arg><option>-t</option></arg>
+
+ <arg>databasename</arg>
+ <arg><option>save-file</option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> command.</para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation in text format; see below.</para>
+
+ <para><command>&dhpackage;</command> is a program that reads and
+ executes TRS80 format Scott Adams datafiles.</para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>-d</option>
+ </term>
+ <listitem>
+ <para>Debugging info on load.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-i</option>
+ </term>
+ <listitem>
+ <para>Generate "I am"-style messages. (default)</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-y</option>
+ </term>
+ <listitem>
+ <para>Generate "You are"-style messages.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-s</option>
+ </term>
+ <listitem>
+ <para>Generate authentic Scott Adams driver light messages rather
+ than other driver style ones.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-t</option>
+ </term>
+ <listitem>
+ <para>Generate TRS80 style display.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>/usr/share/doc/scottfree/</para>
+
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the <acronym>GNU</acronym> General Public License,
+ Version 2 or any later version published by the Free
+ Software Foundation.</para>
+
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
diff --git a/losar/README.Debian b/losar/README.Debian
new file mode 100644
index 0000000..31dba11
--- /dev/null
+++ b/losar/README.Debian
@@ -0,0 +1,6 @@
+scottfree for Debian
+--------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Clint Adams <schizo at debian.org>, Sat, 31 Aug 2002 22:08:43 -0400
diff --git a/losar/changelog b/losar/changelog
new file mode 100644
index 0000000..9bf4538
--- /dev/null
+++ b/losar/changelog
@@ -0,0 +1,6 @@
+scottfree (1.14-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Clint Adams <schizo at debian.org> Sat, 31 Aug 2002 22:08:43 -0400
+
diff --git a/losar/conffiles.ex b/losar/conffiles.ex
new file mode 100644
index 0000000..7e86dd1
--- /dev/null
+++ b/losar/conffiles.ex
@@ -0,0 +1,7 @@
+#
+# If you want to use this conffile, remove all comments and put files that
+# you want dpkg to process here using their absolute pathnames.
+# See the policy manual
+#
+# for example:
+# /etc/scottfree/scottfree.conf
diff --git a/losar/control b/losar/control
new file mode 100644
index 0000000..7f8aeee
--- /dev/null
+++ b/losar/control
@@ -0,0 +1,12 @@
+Source: scottfree
+Section: unknown
+Priority: optional
+Maintainer: Clint Adams <schizo at debian.org>
+Build-Depends: debhelper (>> 3.0.0)
+Standards-Version: 3.5.2
+
+Package: scottfree
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
diff --git a/losar/copyright b/losar/copyright
new file mode 100644
index 0000000..103316b
--- /dev/null
+++ b/losar/copyright
@@ -0,0 +1,10 @@
+This package was debianized by Clint Adams <schizo at debian.org> on
+Sat, 31 Aug 2002 22:08:43 -0400.
+
+It was downloaded from <fill in ftp site>
+
+Upstream Author(s): <put author(s) name and email here>
+
+Copyright:
+
+<Must follow here>
diff --git a/losar/cron.d.ex b/losar/cron.d.ex
new file mode 100644
index 0000000..4d3c5af
--- /dev/null
+++ b/losar/cron.d.ex
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the scottfree package
+#
+0 4 * * * root scottfree_maintenance
diff --git a/losar/dirs b/losar/dirs
new file mode 100644
index 0000000..ca882bb
--- /dev/null
+++ b/losar/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/losar/docs b/losar/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/losar/docs
@@ -0,0 +1 @@
+README
diff --git a/losar/emacsen-install.ex b/losar/emacsen-install.ex
new file mode 100644
index 0000000..473a5dc
--- /dev/null
+++ b/losar/emacsen-install.ex
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/scottfree
+
+# Written by Jim Van Zandt <jrv at vanzandt.mv.com>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=scottfree
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+# SITEFLAG="-no-site-file"
+#else
+# SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist.
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+ echo install/${PACKAGE}: install Info links for ${FLAVOR}
+ install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
diff --git a/losar/emacsen-remove.ex b/losar/emacsen-remove.ex
new file mode 100644
index 0000000..e04710a
--- /dev/null
+++ b/losar/emacsen-remove.ex
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/scottfree
+
+FLAVOR=$1
+PACKAGE=scottfree
+
+if [ ${FLAVOR} != emacs ]; then
+ if test -x /usr/sbin/install-info-altdir; then
+ echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+ install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/scottfree.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff --git a/losar/emacsen-startup.ex b/losar/emacsen-startup.ex
new file mode 100644
index 0000000..e851b59
--- /dev/null
+++ b/losar/emacsen-startup.ex
@@ -0,0 +1,18 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file for the Debian GNU/Linux scottfree package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at vanzandt.mv.com>
+
+;; The scottfree package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...). The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(setq load-path (cons (concat "/usr/share/"
+ (symbol-name flavor)
+ "/site-lisp/scottfree") load-path))
+
+
diff --git a/losar/ex.package.doc-base b/losar/ex.package.doc-base
new file mode 100644
index 0000000..beba852
--- /dev/null
+++ b/losar/ex.package.doc-base
@@ -0,0 +1,22 @@
+Document: scottfree
+Title: Debian scottfree Manual
+Author: <insert document author here>
+Abstract: This manual describes what scottfree is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/scottfree/scottfree.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/scottfree/scottfree.ps.gz
+
+Format: text
+Files: /usr/share/doc/scottfree/scottfree.text.gz
+
+Format: HTML
+Index: /usr/share/doc/scottfree/html/index.html
+Files: /usr/share/doc/scottfree/html/*.html
+
+
diff --git a/losar/init.d.ex b/losar/init.d.ex
new file mode 100644
index 0000000..ba3db2a
--- /dev/null
+++ b/losar/init.d.ex
@@ -0,0 +1,70 @@
+#! /bin/sh
+#
+# skeleton example file to build /etc/init.d/ scripts.
+# This file should be used to construct scripts for /etc/init.d.
+#
+# Written by Miquel van Smoorenburg <miquels at cistron.nl>.
+# Modified for Debian GNU/Linux
+# by Ian Murdock <imurdock at gnu.ai.mit.edu>.
+#
+# Version: @(#)skeleton 1.8 03-Mar-1998 miquels at cistron.nl
+#
+# This file was automatically customized by dh-make on Sat, 31 Aug 2002 22:08:43 -0400
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/scottfree
+NAME=scottfree
+DESC=scottfree
+
+test -f $DAEMON || exit 0
+
+set -e
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: $NAME"
+ start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: $NAME"
+ start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \
+ --exec $DAEMON
+ echo "."
+ ;;
+ #reload)
+ #
+ # If the daemon can reload its config files on the fly
+ # for example by sending it SIGHUP, do it here.
+ #
+ # If the daemon responds to changes in its config file
+ # directly anyway, make this a do-nothing entry.
+ #
+ # echo "Reloading $DESC configuration files."
+ # start-stop-daemon --stop --signal 1 --quiet --pidfile \
+ # /var/run/$NAME.pid --exec $DAEMON
+ #;;
+ restart|force-reload)
+ #
+ # If the "reload" option is implemented, move the "force-reload"
+ # option to the "reload" entry above. If not, "force-reload" is
+ # just the same as "restart".
+ #
+ echo -n "Restarting $DESC: $NAME"
+ start-stop-daemon --stop --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON
+ sleep 1
+ start-stop-daemon --start --quiet --pidfile \
+ /var/run/$NAME.pid --exec $DAEMON
+ echo "."
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+ echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
diff --git a/losar/manpage.1.ex b/losar/manpage.1.ex
new file mode 100644
index 0000000..4f0e602
--- /dev/null
+++ b/losar/manpage.1.ex
@@ -0,0 +1,60 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" 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 SCOTTFREE SECTION "August 31, 2002"
+.\" 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 <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+scottfree \- program to do something
+.SH SYNOPSIS
+.B scottfree
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B scottfree
+and
+.B 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.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBscottfree\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.
+.SH AUTHOR
+This manual page was written by Clint Adams <schizo at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).
diff --git a/losar/manpage.sgml.ex b/losar/manpage.sgml.ex
new file mode 100644
index 0000000..8af96f0
--- /dev/null
+++ b/losar/manpage.sgml.ex
@@ -0,0 +1,152 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+ page: `docbook-to-man manpage.sgml > 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.
+
+ -->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+ <!ENTITY dhsurname "<surname>SURNAME</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>August 31, 2002</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
+ <!ENTITY dhemail "<email>schizo at debian.org</email>">
+ <!ENTITY dhusername "Clint Adams">
+ <!ENTITY dhucpackage "<refentrytitle>SCOTTFREE</refentrytitle>">
+ <!ENTITY dhpackage "scottfree">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2002</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>program to do something</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+ <arg><option>--example <replaceable>that</replaceable></option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> and <command>bar</command>
+ commands.</para>
+
+ <para>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;
+ <application>Info</application> format; see below.</para>
+
+ <para><command>&dhpackage;</command> is a program that...</para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <para>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
+ <application>Info</application> files.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>-h</option>
+ <option>--help</option>
+ </term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-v</option>
+ <option>--version</option>
+ </term>
+ <listitem>
+ <para>Show version of program.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>bar (1), baz (1).</para>
+
+ <para>The programs are documented fully by <citetitle>The Rise and
+ Fall of a Fooish Bar</citetitle> available via the
+ <application>Info</application> system.</para>
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the <acronym>GNU</acronym> Free Documentation
+ License, Version 1.1 or any later version published by the Free
+ Software Foundation; with no Invariant Sections, no Front-Cover
+ Texts and no Back-Cover Texts.</para>
+
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
diff --git a/losar/menu.ex b/losar/menu.ex
new file mode 100644
index 0000000..677326f
--- /dev/null
+++ b/losar/menu.ex
@@ -0,0 +1,2 @@
+?package(scottfree):needs=X11|text|vc|wm section=Apps/see-menu-manual\
+ title="scottfree" command="/usr/bin/scottfree"
diff --git a/losar/postinst.ex b/losar/postinst.ex
new file mode 100644
index 0000000..70eeea6
--- /dev/null
+++ b/losar/postinst.ex
@@ -0,0 +1,48 @@
+#! /bin/sh
+# postinst script for scottfree
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+# Any necessary prompting should almost always be confined to the
+# post-installation script, and should be protected with a conditional
+# so that unnecessary prompting doesn't happen if a package's
+# installation fails and the `postinst' is called with `abort-upgrade',
+# `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+ configure)
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst 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/losar/postrm.ex b/losar/postrm.ex
new file mode 100644
index 0000000..7c3bdf6
--- /dev/null
+++ b/losar/postrm.ex
@@ -0,0 +1,38 @@
+#! /bin/sh
+# postrm script for scottfree
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+ ;;
+
+ *)
+ echo "postrm 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/losar/preinst.ex b/losar/preinst.ex
new file mode 100644
index 0000000..3d61c89
--- /dev/null
+++ b/losar/preinst.ex
@@ -0,0 +1,44 @@
+#! /bin/sh
+# preinst script for scottfree
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade)
+# if [ "$1" = "upgrade" ]
+# then
+# start-stop-daemon --stop --quiet --oknodo \
+# --pidfile /var/run/scottfree.pid \
+# --exec /usr/sbin/scottfree 2>/dev/null || true
+# fi
+ ;;
+
+ 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/losar/prerm.ex b/losar/prerm.ex
new file mode 100644
index 0000000..db99c56
--- /dev/null
+++ b/losar/prerm.ex
@@ -0,0 +1,39 @@
+#! /bin/sh
+# prerm script for scottfree
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/scottfree.info.gz
+ ;;
+ 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
+
+
diff --git a/losar/rules b/losar/rules
new file mode 100644
index 0000000..30b0e95
--- /dev/null
+++ b/losar/rules
@@ -0,0 +1,94 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #/usr/bin/docbook-to-man debian/scottfree.sgml > scottfree.1
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/scottfree.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/scottfree
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+ dh_installcron
+ dh_installman
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/losar/watch.ex b/losar/watch.ex
new file mode 100644
index 0000000..e623325
--- /dev/null
+++ b/losar/watch.ex
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+version=2
+sunsite.unc.edu /pub/Linux/Incoming scottfree-(.*)\.tar\.gz debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/scottfree.git
More information about the Pkg-games-commits
mailing list