chiark / gitweb /
userv.git
2 years agodebian/control: Add missing build-dependency on flex. Fixes FTBFS. Report from Aurel... master
Ian Jackson [Fri, 31 Dec 2021 22:24:54 +0000 (22:24 +0000)]
debian/control: Add missing build-dependency on flex. Fixes FTBFS.  Report from Aurelien Jarno.  Closes: #1002914.

2 years agochangelog: finalise 1.2.1~beta2
Ian Jackson [Wed, 29 Dec 2021 19:32:22 +0000 (19:32 +0000)]
changelog: finalise 1.2.1~beta2

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: Add missing full stops.
Ian Jackson [Wed, 29 Dec 2021 19:31:38 +0000 (19:31 +0000)]
changelog: Add missing full stops.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: Document further changes
Ian Jackson [Wed, 29 Dec 2021 19:31:06 +0000 (19:31 +0000)]
changelog: Document further changes

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/control: Bump Standards-Version
Ian Jackson [Wed, 29 Dec 2021 19:23:34 +0000 (19:23 +0000)]
debian/control: Bump Standards-Version

Have reviewed the upgrading checklist.  No changes were needed.

At some point supporting init script modes try-restart and status
would be nice, but it is not required.  (And I couldn't find good docs
for status.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/copyright: Mention /usr/share/common-licenses/GPL-3
Ian Jackson [Wed, 29 Dec 2021 19:07:59 +0000 (19:07 +0000)]
debian/copyright: Mention /usr/share/common-licenses/GPL-3

As per
  https://lintian.debian.org/tags/copyright-not-using-common-license-for-gpl

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian: Use debhelper to generate maint scripts
Ian Jackson [Wed, 29 Dec 2021 18:42:03 +0000 (18:42 +0000)]
debian: Use debhelper to generate maint scripts

Use #DEBHELPER#.  That generates all the necessary boilerplate - and
more modern boilerplate, too.  We need a new Pre-Depends on
init-system-helpers.

Addresses this lintian warning
  https://lintian.debian.org/tags/maintainer-script-lacks-debhelper-token

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: Add "Old Changelog:" note to help parser
Ian Jackson [Wed, 29 Dec 2021 18:40:31 +0000 (18:40 +0000)]
changelog: Add "Old Changelog:" note to help parser

Fixes this lintian warning:
  https://lintian.debian.org/tags/syntax-error-in-debian-changelog

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/control: Fix debhelper build-depends version
Ian Jackson [Wed, 29 Dec 2021 18:37:23 +0000 (18:37 +0000)]
debian/control: Fix debhelper build-depends version

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoinit script: Source init-functions
Ian Jackson [Wed, 29 Dec 2021 18:36:28 +0000 (18:36 +0000)]
init script: Source init-functions

This will supposely make some systemd things better, according to
  https://lintian.debian.org/tags/init.d-script-does-not-source-init-functions

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/rules: Use CURDIR not PWD
Ian Jackson [Wed, 29 Dec 2021 18:31:39 +0000 (18:31 +0000)]
debian/rules: Use CURDIR not PWD

https://lintian.debian.org/tags/debian-rules-calls-pwd

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: Document transfig fix
Ian Jackson [Wed, 29 Dec 2021 18:24:21 +0000 (18:24 +0000)]
changelog: Document transfig fix

Acked-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: Categorise and tidy
Ian Jackson [Wed, 29 Dec 2021 18:16:50 +0000 (18:16 +0000)]
changelog: Categorise and tidy

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: Import info from gbp dch
Ian Jackson [Wed, 29 Dec 2021 17:59:11 +0000 (17:59 +0000)]
changelog: Import info from gbp dch

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agooverview diagram: Build as pdf, with a sensible page layout, rather than ps
Ian Jackson [Wed, 29 Dec 2021 17:04:34 +0000 (17:04 +0000)]
overview diagram: Build as pdf, with a sensible page layout, rather than ps

Use SOURCE_DATE_EPOCH to squash the nonreproducible timestamp,
rather than seddery to delete it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Remove obsolete dist target
Ian Jackson [Wed, 29 Dec 2021 15:24:51 +0000 (15:24 +0000)]
Makefile: Remove obsolete dist target

We will generate release tarballs with `git-archive`.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agooverview diagram: Manually strip date from fig2dev output
Ian Jackson [Wed, 29 Dec 2021 15:23:39 +0000 (15:23 +0000)]
overview diagram: Manually strip date from fig2dev output

In aid of reproducibility.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agospec: Correct information about userv's authorship
Ian Jackson [Wed, 29 Dec 2021 15:16:56 +0000 (15:16 +0000)]
spec: Correct information about userv's authorship

Mention the contributors.  (Drop my email address here as it's awkward
to format otherwsixse.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agospec: Generate printable file as pdf via docbook
Ian Jackson [Wed, 29 Dec 2021 15:11:53 +0000 (15:11 +0000)]
spec: Generate printable file as pdf via docbook

Prompted by the desire to make the build reproducible, which seems
unreasonably hard with debiandoc2ps.

This approach was suggested here as a workaround for another bug:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=285885#35

At some point we may want to do a one-off source conversion to
DocBook.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/control: Adding missing transfig dependency
Ian Jackson [Wed, 29 Dec 2021 18:23:17 +0000 (18:23 +0000)]
debian/control: Adding missing transfig dependency

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agocopyright etc.: Fix my own email address
Ian Jackson [Wed, 29 Dec 2021 13:30:14 +0000 (13:30 +0000)]
copyright etc.: Fix my own email address

  git-grep -l 'ian@davenant' | xargs perl -i~ -pe 's/ian\@davenant/ijackson@chiark/g'

and then undo the change to debian/changelog.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agocopyright: Add Matthew Vernon
Ian Jackson [Wed, 29 Dec 2021 12:47:00 +0000 (12:47 +0000)]
copyright: Add Matthew Vernon

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agocopyright: Fix information in usage output
Ian Jackson [Wed, 29 Dec 2021 13:16:25 +0000 (13:16 +0000)]
copyright: Fix information in usage output

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agocopyright: Update my date from 2017 to 2021
Ian Jackson [Wed, 29 Dec 2021 13:25:01 +0000 (13:25 +0000)]
copyright: Update my date from 2017 to 2021

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agocopyright: Simplify notices (manual part)
Ian Jackson [Wed, 29 Dec 2021 12:46:37 +0000 (12:46 +0000)]
copyright: Simplify notices (manual part)

Remove dates and list of authors from most file headings.

After manual edits, regenerate lexer.l and lexer.c.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agocopyright: Simplify notices (automatic part)
Ian Jackson [Wed, 29 Dec 2021 12:51:23 +0000 (12:51 +0000)]
copyright: Simplify notices (automatic part)

Remove dates and list of authors from most file headings.

  $ cat >b
   * userv is copyright Ian Jackson and other contributors.
   * See README for full authorship information.
  $ cat >a
   * userv is
   * Copyright 1996-2017 Ian Jackson <ian@davenant.greenend.org.uk>.
   * Copyright 2000      Ben Harris <bjh21@cam.ac.uk>
   * Copyright 2016-2017 Peter Benie <pjb1008@cam.ac.uk>
  $ git-grep -l 'Copyright 1996-2017 Ian Jackson' | A=$(cat a) B=$(cat b) xargs perl -i~ -pe 'BEGIN { $/=undef; }; s/\Q$ENV{A}\E/$ENV{B}/'
  $

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian: Build everything from actual sources
Ian Jackson [Wed, 29 Dec 2021 13:07:46 +0000 (13:07 +0000)]
debian: Build everything from actual sources

We rely on the upstream "maintainer-clean" target to purge the
upstream-shipped output files.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian: Switch to dh auto sequencer
Ian Jackson [Tue, 28 Dec 2021 16:24:32 +0000 (16:24 +0000)]
debian: Switch to dh auto sequencer

We drop much code from debian/rules.  In particular, we now use the
upstream `make install` targets.  (As a side effect, we discovered
some bugs ion the upstream Makefile which have just been fixed in the
commits leading up to this one.)

Consequences for the generated binaries:

 * Upstream README is shipped as /usr/share/doc/userv/README,
   not README.upstream.  This seems conventional in Debian nowadays.
 * Control file md5sums are provided.
 * There is a new changelog symlink for changelog.Debian.gz.
 * We use the proper Debian debug information scheme.
 * We use different compiler flags, which will hopefully produce
   better hardening and better reproducibility.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agomake install: Install default config files as examples too
Ian Jackson [Wed, 29 Dec 2021 12:08:38 +0000 (12:08 +0000)]
make install: Install default config files as examples too

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Installation refactoring (5)
Ian Jackson [Wed, 29 Dec 2021 12:07:45 +0000 (12:07 +0000)]
Makefile: Installation refactoring (5)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agomake install: Do not pass -m to install -d; introduce INSTALL_DIR
Ian Jackson [Wed, 29 Dec 2021 12:05:00 +0000 (12:05 +0000)]
make install: Do not pass -m to install -d; introduce INSTALL_DIR

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Provide [un]install-docs
Ian Jackson [Wed, 29 Dec 2021 02:01:57 +0000 (02:01 +0000)]
Makefile: Provide [un]install-docs

We provide "make docs", so it should be "install-docs", not
"install-doc".  Retain the old target for compatibility.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agogitignore: Move debian/ entries to debian/.gitignore
Ian Jackson [Tue, 28 Dec 2021 18:54:52 +0000 (18:54 +0000)]
gitignore: Move debian/ entries to debian/.gitignore

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Installation refactoring (4)
Ian Jackson [Tue, 28 Dec 2021 18:01:41 +0000 (18:01 +0000)]
Makefile: Installation refactoring (4)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agomake install: Create bindir and sbindir if needed
Ian Jackson [Tue, 28 Dec 2021 18:01:34 +0000 (18:01 +0000)]
make install: Create bindir and sbindir if needed

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoInstallation: Honour DESTDIR
Ian Jackson [Tue, 28 Dec 2021 17:41:41 +0000 (17:41 +0000)]
Installation: Honour DESTDIR

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Installation refactoring (3)
Ian Jackson [Tue, 28 Dec 2021 17:40:19 +0000 (17:40 +0000)]
Makefile: Installation refactoring (3)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Installation refactoring (2)
Ian Jackson [Tue, 28 Dec 2021 17:38:44 +0000 (17:38 +0000)]
Makefile: Installation refactoring (2)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoMakefile: Installation refactoring (1)
Ian Jackson [Tue, 28 Dec 2021 17:35:35 +0000 (17:35 +0000)]
Makefile: Installation refactoring (1)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agomake install: Ship docs to /usr/share/doc/userv, not /usr/userv (!)
Ian Jackson [Wed, 29 Dec 2021 15:30:52 +0000 (15:30 +0000)]
make install: Ship docs to /usr/share/doc/userv, not /usr/userv (!)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agomake install: Ship manpages to /usr/share, not /usr, by default
Ian Jackson [Wed, 29 Dec 2021 15:30:41 +0000 (15:30 +0000)]
make install: Ship manpages to /usr/share, not /usr, by default

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautoconf: Rerun autogen.sh to update to modern autoconf
Ian Jackson [Tue, 28 Dec 2021 17:05:52 +0000 (17:05 +0000)]
autoconf: Rerun autogen.sh to update to modern autoconf

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautoconf: Add a missing gitignore entry
Ian Jackson [Tue, 28 Dec 2021 17:05:41 +0000 (17:05 +0000)]
autoconf: Add a missing gitignore entry

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautoconf: Add some missing quoting
Ian Jackson [Tue, 28 Dec 2021 17:04:38 +0000 (17:04 +0000)]
autoconf: Add some missing quoting

This was always sailing rather close to the wind.  Empirically, it
causes things to break with modern autoconf.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautoconf: Add autogen.sh
Ian Jackson [Tue, 28 Dec 2021 17:04:13 +0000 (17:04 +0000)]
autoconf: Add autogen.sh

Nothing uses this yet

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agooverview.ps: Regenerate (fig2dev from transfig 1:3.2.6a-2+deb9u3)
Ian Jackson [Wed, 29 Dec 2021 13:20:35 +0000 (13:20 +0000)]
overview.ps: Regenerate (fig2dev from transfig 1:3.2.6a-2+deb9u3)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoregenerate lexer.c using flex 2.6.4-6.2
Ian Jackson [Wed, 29 Dec 2021 13:01:46 +0000 (13:01 +0000)]
regenerate lexer.c using flex 2.6.4-6.2

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agooverlord: Explicitly ignore unwanted value from write
Ian Jackson [Wed, 29 Dec 2021 15:26:48 +0000 (15:26 +0000)]
overlord: Explicitly ignore unwanted value from write

Ignoring an error here is consistent with the error handling from the
pevious write(sf,...).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoSuppress some warnings about ignoring stderr write errors
Ian Jackson [Wed, 29 Dec 2021 12:29:56 +0000 (12:29 +0000)]
Suppress some warnings about ignoring stderr write errors

Eg,
  servexec.c:239:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]

These are calls made while we are bombing out anyway.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agospec.sgml: Update builtin version number
Ian Jackson [Tue, 28 Dec 2021 18:39:52 +0000 (18:39 +0000)]
spec.sgml: Update builtin version number

This should normally be done as part of the release.  We do it now
because we're doing build system work and want this to not cause
spurious diffs.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: start 1.2.1~beta2
Ian Jackson [Tue, 28 Dec 2021 16:24:48 +0000 (16:24 +0000)]
changelog: start 1.2.1~beta2

2 years agochangelog: document changes and call it 1.2.1~beta1
Ian Jackson [Sun, 26 Dec 2021 01:29:51 +0000 (01:29 +0000)]
changelog: document changes and call it 1.2.1~beta1

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agosystemd service file: Put in upstream part of the source tree
Ian Jackson [Sun, 26 Dec 2021 01:32:10 +0000 (01:32 +0000)]
systemd service file: Put in upstream part of the source tree

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agosystemd service file: Set KillMode
Matthew Vernon [Sun, 26 Dec 2021 01:30:50 +0000 (01:30 +0000)]
systemd service file: Set KillMode

If userv is to spawn long-running processes, and it is desired that
they survive the restarting of userv, then we'll also need KillMode
set to process (rather than the default "control-group").

(From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939573#10)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agospec: Do not claim you can specify numeric id for service user
Ian Jackson [Sun, 26 Dec 2021 01:17:10 +0000 (01:17 +0000)]
spec: Do not claim you can specify numeric id for service user

Closes: #989048
Reported-by: Ben Harris <bjh21@cam.ac.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoProvide a systemd service file in the source tree, but do not install it
Ian Jackson [Sun, 26 Dec 2021 01:16:03 +0000 (01:16 +0000)]
Provide a systemd service file in the source tree, but do not install it

This endeavours to do what the sysvinit file does - create
/var/run/userv iff necessary and start uservd -daemon.

Matthew's original patch in Debian #939573 also shipped this file in
the .deb.  I'm not sure what the benefit of that would be and it seems
to add more test complications, so for now I am leaving that part out.

Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoDo not leak a harmless fd into the service program environment
Ian Jackson [Sun, 26 Dec 2021 01:11:01 +0000 (01:11 +0000)]
Do not leak a harmless fd into the service program environment

I have double-checked and this fd is the other end of a socketpair
that the server closes immediately after it reads our byte, so this is
indeed purely a harmless leak.

Closes: #864876
Reported-by: Ben Harris <bjh21@cam.ac.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/rules: Fix FTCBFS: Use host tools provided from dpkg
Helmut Grohne [Sun, 26 Dec 2021 00:59:02 +0000 (00:59 +0000)]
debian/rules: Fix FTCBFS: Use host tools provided from dpkg

Use host tools provided from dpkg's buildtools.mk.

Closes: #985998
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: Test persistence after restart
Ian Jackson [Sun, 26 Dec 2021 00:56:41 +0000 (00:56 +0000)]
autopkgtests: Test persistence after restart

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: Test user rc file
Ian Jackson [Sun, 26 Dec 2021 00:47:44 +0000 (00:47 +0000)]
autopkgtests: Test user rc file

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: Move much stuff into lib
Ian Jackson [Sun, 26 Dec 2021 00:42:38 +0000 (00:42 +0000)]
autopkgtests: Move much stuff into lib

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: Banners in the test script
Ian Jackson [Sun, 26 Dec 2021 00:41:46 +0000 (00:41 +0000)]
autopkgtests: Banners in the test script

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: Rename the test service
Ian Jackson [Sun, 26 Dec 2021 00:44:44 +0000 (00:44 +0000)]
autopkgtests: Rename the test service

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: wip, a test for non-root to non-root
Ian Jackson [Sun, 26 Dec 2021 00:24:21 +0000 (00:24 +0000)]
autopkgtests: wip, a test for non-root to non-root

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: wip, an actual very simple test
Ian Jackson [Sun, 26 Dec 2021 00:00:34 +0000 (00:00 +0000)]
autopkgtests: wip, an actual very simple test

Passes with
   autopkgtest -- qemu /path/to/buster.image

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agoautopkgtests: wip
Ian Jackson [Sat, 25 Dec 2021 22:07:27 +0000 (22:07 +0000)]
autopkgtests: wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agodebian/compat: Bump to 12 (stretch-backports)
Ian Jackson [Sat, 25 Dec 2021 22:11:16 +0000 (22:11 +0000)]
debian/compat: Bump to 12 (stretch-backports)

Checked the debdiff.  There are no changes.

Closes: #965858
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2 years agochangelog: start 1.2.1
Ian Jackson [Sat, 25 Dec 2021 23:34:10 +0000 (23:34 +0000)]
changelog: start 1.2.1

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
7 years agoDeclare fast forward from 1.1.1
Ian Jackson [Mon, 23 Jan 2017 17:17:54 +0000 (17:17 +0000)]
Declare fast forward from 1.1.1

[dgit --overwrite]

7 years agochangelog: finalise 1.2.0
Ian Jackson [Mon, 23 Jan 2017 17:18:50 +0000 (17:18 +0000)]
changelog: finalise 1.2.0

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
7 years agoUpgrade licence to GPLv3+.
Ian Jackson [Mon, 23 Jan 2017 17:15:53 +0000 (17:15 +0000)]
Upgrade licence to GPLv3+.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
7 years agospec.sgml: Update for update copyright notices
Ian Jackson [Mon, 23 Jan 2017 14:31:35 +0000 (14:31 +0000)]
spec.sgml: Update for update copyright notices

7 years agoPatch from Peter Benie.
Ian Jackson [Mon, 23 Jan 2017 14:31:23 +0000 (14:31 +0000)]
Patch from Peter Benie.
* Specify #define YY_NO_INPUT, which avoids an unused function warning. Patch from Peter Benie.

7 years agoCorrect quoting of include-lookup directory. Closes:#837391. (With new directives...
Ian Jackson [Mon, 23 Jan 2017 14:30:43 +0000 (14:30 +0000)]
Correct quoting of include-lookup directory.  Closes:#837391. (With new directives to somewhat ease backward-compatibility.)

7 years agoUpdate some copyright notices.
Ian Jackson [Mon, 23 Jan 2017 13:59:34 +0000 (13:59 +0000)]
Update some copyright notices.

7 years agoSupport `range' operator, as promised by the spec. Closes:#686449. Bug and analysis...
Ian Jackson [Mon, 23 Jan 2017 13:52:19 +0000 (13:52 +0000)]
Support `range' operator, as promised by the spec.  Closes:#686449. Bug and analysis from Mark Wooding.

7 years agospec.sgml: Correct docs for errors-push, which takes no filename.
Ian Jackson [Mon, 23 Jan 2017 13:48:41 +0000 (13:48 +0000)]
spec.sgml: Correct docs for errors-push, which takes no filename.

Closes:#775852.

7 years agoUse `%option nounput' rather than #define YY_NO_UNPUT.
Ian Jackson [Mon, 23 Jan 2017 13:46:46 +0000 (13:46 +0000)]
Use `%option nounput' rather than #define YY_NO_UNPUT.

Patch from Peter Benie, but modified.

7 years agoDo not ignore errors from readdir.
Ian Jackson [Mon, 23 Jan 2017 13:43:49 +0000 (13:43 +0000)]
Do not ignore errors from readdir.

Closes:#827408

Contribution from Peter Benie.

7 years agoParser fixes:
Ian Jackson [Mon, 23 Jan 2017 13:34:16 +0000 (13:34 +0000)]
Parser fixes:
* Support `stdin', `stdout' and `stderr' in fd ranges, as promised by the spec.  Closes:#813005.

7 years agodebian/rules: Honour dpkg-buildflags.
Ian Jackson [Mon, 23 Jan 2017 13:05:56 +0000 (13:05 +0000)]
debian/rules: Honour dpkg-buildflags.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
7 years agoUpstream Makefiles: Honour XCFLAGS.
Ian Jackson [Mon, 23 Jan 2017 13:05:25 +0000 (13:05 +0000)]
Upstream Makefiles: Honour XCFLAGS.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
7 years agoDebian packaging: Add some newer debian/ droppings to .gitignore.
Ian Jackson [Mon, 23 Jan 2017 13:04:04 +0000 (13:04 +0000)]
Debian packaging: Add some newer debian/ droppings to .gitignore.

10 years agochangelog WIP
Ian Jackson [Sun, 1 Dec 2013 17:39:20 +0000 (17:39 +0000)]
changelog WIP

11 years agofinalise changelog debian/1.1.1
Ian Jackson [Fri, 8 Jun 2012 19:17:02 +0000 (20:17 +0100)]
finalise changelog

11 years agouserv (1.1.1) unstable; urgency=low
Ian Jackson [Fri, 8 Jun 2012 19:16:52 +0000 (20:16 +0100)]
userv (1.1.1) unstable; urgency=low

  * Include INIT INFO stanza in init script.
  * Draft support for `status' in init script, currently commented
    out pending inclusion into policy of firm specification.
  * Remove spec.ps on make clean.
  * Remove spec.ps and dh log on debian/rules clean.  (Use dh_clean.)
    (To repro bug: dpkg-buildpackage, debian/rules clean, git-ls-files -o)
  * Fix up some copyright messages.

[dgit import package userv 1.1.1]

11 years agoinclude required-stop
Ian Jackson [Fri, 8 Jun 2012 19:15:39 +0000 (20:15 +0100)]
include required-stop

11 years agocopyright
Ian Jackson [Fri, 8 Jun 2012 19:13:55 +0000 (20:13 +0100)]
copyright

11 years agodraft initd status support
Ian Jackson [Fri, 8 Jun 2012 19:05:35 +0000 (20:05 +0100)]
draft initd status support

11 years agoinit info stanza
Ian Jackson [Fri, 8 Jun 2012 19:04:59 +0000 (20:04 +0100)]
init info stanza

11 years agouse dh_clean
Ian Jackson [Thu, 7 Jun 2012 18:51:29 +0000 (19:51 +0100)]
use dh_clean

11 years agowip vsn
Ian Jackson [Thu, 7 Jun 2012 18:49:53 +0000 (19:49 +0100)]
wip vsn

11 years agowip fix clean
Ian Jackson [Thu, 7 Jun 2012 18:21:55 +0000 (19:21 +0100)]
wip fix clean

11 years agowip fix clean
Ian Jackson [Thu, 7 Jun 2012 18:21:47 +0000 (19:21 +0100)]
wip fix clean

11 years agofinalise debian/1.1.0
Ian Jackson [Sat, 2 Jun 2012 15:45:09 +0000 (16:45 +0100)]
finalise

11 years agopackaging fixes
Ian Jackson [Sat, 2 Jun 2012 15:39:20 +0000 (16:39 +0100)]
packaging fixes

11 years agolintian fixes
Ian Jackson [Sat, 2 Jun 2012 15:36:51 +0000 (16:36 +0100)]
lintian fixes

11 years agoprovide build-arch, build-indep
Ian Jackson [Sat, 2 Jun 2012 15:30:55 +0000 (16:30 +0100)]
provide build-arch, build-indep

11 years agoversion
Ian Jackson [Sat, 2 Jun 2012 15:30:42 +0000 (16:30 +0100)]
version

11 years agostandards version
Ian Jackson [Sat, 2 Jun 2012 15:27:13 +0000 (16:27 +0100)]
standards version