1 userv (1.2.1~beta3) unstable; urgency=medium
3 * debian/control: Add missing build-dependency on flex.
4 Fixes FTBFS. Report from Aurelien Jarno. Closes: #1002914.
6 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 31 Dec 2021 22:24:40 +0000
8 userv (1.2.1~beta2) unstable; urgency=medium
10 Documentation generation changes:
11 * spec: Generate printable file as pdf via docbook.
12 * spec: Correct information about userv's authorship.
13 * spec: Update builtin version number.
14 * overview diagram: Build as pdf, with a sensible page layout.
16 Debian packaging changes:
17 * Switch to dh auto sequencer. Many consequences:
18 - Upstream README is /usr/share/doc/userv/README, not README.upstream.
19 * Control file md5sums are provided.
20 * New changelog symlink for changelog.Debian.gz.
21 * We use the proper Debian debug information scheme.
22 * We use different compiler flags, which will hopefully produce
23 better hardening and better reproducibility.
24 * debian: Use debhelper to generate maint scripts (daemon start/stop).
25 * Add misisng build-dependency on "transfig" (previously masked by
26 our TeX requirements).
27 * Build everything from actual sources; don't reuse committed files.
28 * init script: Source /lib/lsb/init-functions.
29 * debian/control: Fix debhelper build-depends version.
30 * debian/copyright: Mention /usr/share/common-licenses/GPL-3.
31 * debian/control: Bump Standards-Version (no changes needed).
33 Fixes to upstream "make install-docs" target:
34 * Ship docs to /usr/share/doc/userv, not /usr/userv (!)
35 * Ship manpages to /usr/share, not /usr, by default.
36 * Install default config files as examples too.
37 * Provide "[un]install-docs" target (not just anomalous "install-doc").
39 Inconsequential code changes:
40 * Suppress some warnings about ignoring stderr write errors.
41 * overlord: Explicitly ignore unwanted value from write.
43 Upstream build system and packaging tidying:
44 * regenerate lexer.c using flex 2.6.4-6.2.
45 * regenerate rautoconf outputs with auatoconf 2.69-11.
47 * Add some missing configure.in quoting (needed by modern autoconf).
48 * "make install": Honour DESTDIR; create bindir and sbindir if needed.
49 * "make install": Do not pass -m to install -d; introduce INSTALL_DIR.
50 * overview diagram: Override non-reproducible date inserted by fig2dev.
51 * copyright: Add missing dates and names. Simplify notices.
52 * Update my own email address.
53 * changelog: Add "Old Changelog:" note to help Debian's parsers.
54 * gitignore: add missing entries, move debian stuff to debian/.
55 * Makefile: Refactoring of installation targets.
56 * Makefile: Remove obsolete dist target.
58 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Wed, 29 Dec 2021 19:32:19 +0000
60 userv (1.2.1~beta1) unstable; urgency=medium
63 * Do not leak a harmless fd into the service program. Closes: #864876.
64 * spec: Do not claim you can specify numeric service uid. Closes: #989048.
67 * Provide a systemd service file in the source tree, but (for now) do
68 not install it. Re #939573. Service file provided by Matthew Vernon.
69 * debian/compat: Bump to 12 (stretch-backports). Closes: #965858.
70 * autopkgtests: Add some tests to check installation and operation.
71 * debian/rules: Fix cross-building. Closes: #985998. [Helmut Grohne]
73 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sun, 26 Dec 2021 01:32:33 +0000
75 userv (1.2.0) unstable; urgency=medium
78 * Support `stdin', `stdout' and `stderr' in fd ranges, as promised
79 by the spec. Closes:#813005.
80 * Support `range' operator, as promised by the spec. Closes:#686449.
81 Bug and analysis from Mark Wooding.
82 * Do not ignore errors from readdir. Closes:#827408 [Peter Benie].
83 * Correct docs for errors-push, which takes no filename.
85 * Correct quoting of include-lookup directory. Closes:#837391.
86 (With new directives to somewhat ease backward-compatibility.)
90 * Use `%option nounput' rather than #define YY_NO_UNPUT.
91 Patch from Peter Benie.
92 * Specify #define YY_NO_INPUT, which avoids an unused function warning.
93 Patch from Peter Benie.
94 * Update copyright notices.
95 * Upgrade licence to GPLv3+.
98 * Honour dpkg-buildflags.
99 * Add some newer debian/ droppings to .gitignore.
101 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Mon, 23 Jan 2017 17:17:54 +0000
103 userv (1.1.1) unstable; urgency=low
105 * Include INIT INFO stanza in init script.
106 * Draft support for `status' in init script, currently commented
107 out pending inclusion into policy of firm specification.
108 * Remove spec.ps on make clean.
109 * Remove spec.ps and dh log on debian/rules clean. (Use dh_clean.)
110 (To repro bug: dpkg-buildpackage, debian/rules clean, git-ls-files -o)
111 * Fix up some copyright messages.
113 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Fri, 08 Jun 2012 20:16:52 +0100
115 userv (1.1.0) unstable; urgency=medium
118 * Do not reject comments and blank lines inside not-being-executed
119 conditional clauses. (Closes: #613862.)
121 Important Debian packaging fix:
122 * Remove /var/run/userv from the .deb.
123 (Along with the change in 1.0.6 this Closes: #630528.)
125 General minor improvements (relevant outside Debian):
126 * Introduce a use of socklen_t to avoid a compiler warning.
127 * Remove spec.html and spec.ps from revision control.
128 * Revision control switched from cvs to git.
129 * Update my email address.
131 Debian packaging minor improvements and bugfixes:
132 * The new version will ensure a rebuild and therefore completely deal
133 with the debiandoc-sgml missing documentation bug. (Closes: #413873.)
134 * Use lintian for dh_fixperms; this ensures that the permissions of
135 /etc/userv in the .deb are 755, not 2755.
136 * Use `command -v' instead of `type' in maintainer scripts.
137 * Do not ignore errors from commands in rules clean target.
138 * Fix FSF address in copyright file.
139 * Remove obsolete local variable section from debian/changelog.
140 * Update Standards-Version. No changes required.
142 -- Ian Jackson <ijackson@chiark.greenend.org.uk> Sat, 02 Jun 2012 16:41:09 +0100
144 userv (1.0.6ubuntu1) lucid; urgency=low
146 * Change tetex-bin with texlive and tetex-extra with texlive-latex-extra
147 in Build-Depends for tetex transition. Cherry-picked from Debian,
148 Thanks to Jari Aalto.
150 -- James Westby <james.westby@ubuntu.com> Thu, 15 Apr 2010 12:03:52 +0100
152 userv (1.0.6) unstable; urgency=low
155 * Create /var/run/userv in the init script as well as shipping
156 it in the .deb package.
158 -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 11 Jul 2007 17:54:36 +0100
160 userv (1.0.5) unstable; urgency=low
162 Bugfixes (thanks to report from Nelson Beebe):
163 * Do not call `assert' on expressions whose side-effects we need (!)
164 Thanks to report from Nelson Beebe.
165 * Correct an erroneous assert() argument so that it would actually
166 detect failure of the assertion.
167 * alarm(2) returns unsigned and can never fail.
170 * Reran flex (flex Debian 2.5.31-31).
171 * Use install -g 0 instead of -g root. This is more portable, I hope.
172 * Detect missing vsnprintf and mention URL from Nelson Beebe in err msg.
173 * Remove obsolete `buildship' script from top level directory. We use
174 cvs-buildpackage nowadays.
176 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 8 Apr 2006 13:17:14 +0100
178 userv (1.0.4) unstable; urgency=low
181 * Close client socket fd in spawned cats (avoids some service-side hangs
182 when client terminates). Thanks to report from Simon Tatham.
184 Minor portability fixes:
185 * Missing #include <string.h> and <stdlib.h> } Thanks to report
186 * getgroups returns int, not gid_t (!). } from Peter Benie.
187 * Dummy `check' target in Makefile.in. } Thanks to
188 * Bogus strsignal emulation for broken platforms. } report from
189 * Bogus WCOREDUMP emulation for broken platforms. } Nelson Beebe
191 Packaging improvements (including Debian packaging fixes):
192 * Compress uservd(8) manpage. Closes: #244735.
193 * spec.tex and spec.html are autogenerated: clean and .cvsignore them.
194 * SHELL=/bin/bash in debian/rules; use of install(8). Closes: #263979.
195 * Reran autoconf/autoheader (autoconf Debian 2.13-54).
196 * Updated copyright notices.
198 -- Ian Jackson <ian@davenant.greenend.org.uk> Fri, 7 Apr 2006 20:04:29 +0100
200 userv (1.0.3-2) unstable; urgency=low
202 Debian packaging improvements (only):
203 * type -p invoke-rc.d changed to type, in postinst and prerm.
205 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 1 Nov 2003 16:59:38 +0000
207 userv (1.0.3) unstable; urgency=medium
210 * Make require-fd work with reading fds !
211 (Thanks to Ben Harris for the bug report).
212 * Close unwanted pipes in client-side cat subprocesses, to avoid
213 wedging at termination. (Thanks to patchlet from Peter Benie.)
214 * gid_t may be >int, so cast to long when putting in USERV_GIDS
215 (Might conceivably make USERV_GIDS be wrong on some platforms.)
216 * Do not pass char to ctype macros; they can't cope with -ve !
217 * Fix fd modifier, signal, and exit status parsing to be rigourous in
218 their use of strtoul. (Thanks to report from Peter Benie.)
221 * #include <fcntl.h>, not <sys/fcntl.h> (fixes some implicit decls).
222 * Look for gmd5sum. (Thanks to Anton Altaparmakov for the report.)
223 * install-sh updated to that from autoconf 2.53.
224 * Use fcntl F_{GET,SET}FD with respect for as-yet-uninvented fd flags.
225 (small patch from Ben Harris.)
227 Documentation and help improvements:
228 * userv(1) manpage: fixed broken definitions of fd excl and trunc.
229 (Debian bug report: Closes: #79579.)
230 * Specification's usage notes section improved.
231 * --help and --version behaviour made to conform to GNU standards.
232 * We do ship m4 and flex output now, so say so.
233 * Some groff warnings in userv(1), and source version fixed.
234 * New userv(8) manpage. (Debian: Closes: #33777.)
235 * Update copyright dates everywhere.
237 Debian packaging improvements:
238 * Priority changed to optional as per override file.
239 * Build-Depends: debiandoc-sgml, tetex-bin, tetex-extra. Closes #190615.
240 * init.d reload is noop, restart now called restart. Closes #70783.
241 * /etc/init.d/userv nicer output: colons, `.' printed after done.
242 * Maintainer scripts use invoke-rc.d if it's available.
243 * Maintainer scripts discard stdout from update-rc.d.
244 * No more messing with /usr/doc, use only /usr/share/doc. Closes #91578.
245 * Support unstripped binaries in the .deb, with DEB_BUILD_OPTIONS.
246 * Fixed typo in debian/copyright.
247 * /etc/init.d/userv restart doesn't mind if not already running.
248 * debian/rules clean removes whole spec.html subdirectory.
249 * Ship spec.ps (Closes: #210859)
250 * Lintian override for suid /usr/bin/userv (Closes: #211055)
251 * Standards-Version 3.6.1.
252 * Corrected location of common licenses.
253 * Added -isp to dpkg-gencontrol.
254 (Thanks to Martin Pitt and Bas Zoetekouw's NMUs
255 for many inspirations and one-liners.)
257 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 1 Nov 2003 01:11:59 +0000
259 userv (1.0.1) stable frozen unstable; urgency=high
261 IMPORTANT SECURITY FIX:
262 * fd swapping algorithm would sometimes corrupt security-critical data
263 used to generate the service program's USERV_ environment variables.
264 For details see the 1.0.1 announcement in the userv-announce archives.
266 Portability improvement:
267 * Look for `md5' as well as `md5sum' - installs easier on BSDs.
269 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 27 Jul 2000 01:06:30 +0100
271 userv (1.0.0) unstable; urgency=low
273 * Manpage userv(1) from Ben Harris. (Debian bug #33777.)
274 * Released out of beta (version number change).
275 * Added a couple of things to .cvsignore.
277 -- Ian Jackson <ian@davenant.greenend.org.uk> Mon, 6 Mar 2000 18:13:49 +0000
279 userv (0.95.0) unstable; urgency=low
281 * Count \-continued lines properly in error message line numbers.
282 * Fix lexing bugs with "-quoted strings and \-continuation.
283 * Fix interpretation of \n etc. in "-quoted strings.
284 * Fix bug which ignored erroneous read/write after ignore-fd/reject-fd.
286 -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 9 Nov 1999 23:26:54 +0000
288 userv (0.65.2) unstable; urgency=high
290 * In client, copy results from getpw* when necessary. This fixes what
291 could be a security problem on some platforms.
292 * Avoid accessing backup, auto-save files, etc, with include-lookup.
293 Everything except a-z 0-9 - _ must now be prefixed by a colon.
294 * Allow \ to continue lines (and do sensible things with whitespace in
295 `message' and `error' directives).
297 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 10 Oct 1999 12:48:47 +0100
299 userv (0.64.1) unstable; urgency=low
301 * New "shutdown" builtin service for terminating uservd.
302 * Spec. document shows subsections in TOC.
304 * setenv emulation using putenv works properly (previously you would get
305 wrong environment variable settings). (Thanks to Ben Harris.)
306 * Makefile bug fixed (tokens.h would sometimes not be rebuilt).
308 * Regenerated formatted documentation (spec.ps, spec.html).
310 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 20 Jun 1999 19:13:42 +0100
312 userv (0.62) unstable; urgency=low
314 * New builtin service `help' lists builtin services.
316 INSTALL improvements:
317 * Document locations of required programs.
318 * Sort-of document debugging version.
320 Portability fixes for:
321 * md5sum with extra `-'.
322 * -lsocket required for socket().
323 * missing `LOG_AUTHPRIV'.
324 * `logname' name clash.
325 * missing setenv() (synthesize using putenv).
326 * various required #include's were omitted.
327 * install rule in Makefile `if ! test ...' changed to `if test ! ...'
329 Build arrangements changed (new GNU coding standards targets etc):
330 * m4 and flex output now shipped.
331 * `dist' target in Makefile.
332 * Manuals in CVS and shipped pre-formatted.
334 * Reran autoconf/autoheader, latest version.
335 * Updated email address to ian@davenant.greenend.org.uk throughout.
337 -- Ian Jackson <ian@chiark.greenend.org.uk> Sun, 18 Apr 1999 20:08:12 +0100
339 userv (0.60.3) frozen unstable; urgency=medium
341 * Fixed misdequoting of \<newline> in "-quoted strings.
342 * Removed -Werror by default. (Bug#32758, Bug#32747)
344 -- Ian Jackson <ian@chiark.greenend.org.uk> Wed, 3 Feb 1999 22:24:33 +0000
346 userv (0.60.2) frozen unstable; urgency=high
348 * Fixed failure to save pathnames in a couple of places in parser.c.
349 Without this, include-directory would often try to open a garbage
350 filename. This could be a security problem in certain cases where
351 user-owned config files were included from sysadmin-defined files,
352 and the sysadmin wants to control how a user provides services.
354 * Fix "-quoted strings, which previously never worked at all.
356 * Fixed spurious failure with `Interrupted system call' on systems
357 where fread can fail due to read giving EINTR (blech!)
359 * Fixed race when fd closed at startup, which could cause
360 `system call failure: kill cat for <fd>: No such process'.
362 * Fixed spurious assertion failure if user's home directory not
364 * Fixed a couple of memory and fd leaks in error exits from
365 include-directory and include-lookup in parser.c.
367 * Debian and `upstream' version integrated; Changelogs merged.
369 * Provided `system.default' file checks /etc/userv/services.d and
370 /etc/userv/default.d; system.override runs /etc/userv/override.d.
372 * Add <string.h> to servexec.c.
373 * Add -D_GNU_SOURCE to CFLAGS in configure.in.
374 * Braces added in client.c to prevent GCC `ambiguous else' warning.
377 * autoconf-generated files included in CVS.
379 * Debian package description mentions use by system admin.
381 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 30 Jan 1999 23:38:17 +0000
386 *** Main changelog file included here - see far down this file for the
387 *** pre-0.60 Debian-specific changes.
390 userv (0.58); urgency=high
392 * Fixed failure to set gid when invoking service !!
393 * Fixed failure to set fd value in et_closereadfd messages from client.
395 * Save filename string in parse_file for error reporting (in case it is
396 overwritten by parsing code).
397 * Fixed obscure race in process.c:getevent (et_closereadfd and hold fds).
398 * `builtin version' service had error message and errno string reserve
401 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 29 Jan 1998 00:00:22 +0000
403 userv (0.57); urgency=high
405 * Services provided by root work !
406 * uservd can now go into background itself (-daemon option).
408 * spec now has default syslog facility for rcfile messages as `user'.
409 * Better prioritisation of syslog messages.
410 * Startup error messages now go to stderr instead.
411 * SIGTERM and SIGINT now produce a syslog message.
413 * Version number has VEREXT component, settable via make args &c.
414 * New sections in INSTALL about exit statuses and -daemon.
416 -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 14 Oct 1997 02:04:18 +0100
418 userv (0.56); urgency=medium
420 * Server now checks itself every hour to see if its socket has been
421 stolen, and exits if it has.
422 * Client only retries connect(2) on EINTR (and does so silently).
423 * All of even master server's syslog messages have pid.
424 * Don't delete spec.sgml.in in clean targets.
426 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 11 Oct 1997 14:38:25 +0100
428 userv (0.55.2); urgency=low
430 * Added info about WWW page, mailing lists and bug reporting to README.
432 * clean targets except realclean don't remove spec.html, spec.ps,
433 lexer.[lc], tokens.h, overview.ps. New totalclean target for
434 removing configure and config.h.in.
436 * Added <sys/types.h> and <errno.h> to lexer.l.m4.
437 * <sys/wait.h> instead of <wait.h>; %d instead of %ld for WEXITSTATUS
438 in overlord.c; PIPEMAXLEN etc. #defines include cast to int to avoid
439 problems with sizeof and size_t; EPROTO missing workaround.
440 * Note about SIG_IGN and `function declaration isn't a prototype' added
441 to INSTALL file in new PROBLEMS section.
443 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 5 Oct 1997 17:55:32 +0100
445 userv (0.55.1); urgency=low
447 * README file now shipped.
448 * Added this Changelog, and configure gets version number from it.
450 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 21 Sep 1997 23:58:32 +0100
456 -- Ian Jackson <ian@davenant.greenend.org.uk> Sun, 21 Sep 1997 23:52:50 +0100
459 *** Old main changelog file ends here.
460 *** Now come pre-0.59 Debian-specific changes.
463 userv (0.58-1.2) unstable; urgency=low
465 * Non maintainer upload.
466 Fix for this error on the Arm.
467 cc1: warnings being treated as errors
468 client.c: In function callvalueoption':
469 client.c:747: warning: suggest explicit braces to avoid ambiguous else'
470 Braces inserted, to join the if statements together
472 -- Turbo Fredriksson <turbo@debian.org> Thu, 20 Aug 1998 06:17:43 -0400
474 userv (0.58-1.1) frozen unstable; urgency=low
476 * Non maintainer upload
477 * Finally compiled against libc6
478 * To Brian White: Please either confirm this upload to go into frozen or
479 remove userv from frozen.
480 * Added external declaration for strsignal() to overlord.c and client.c
482 -- Martin Schulze <joey@finlandia.infodrom.north.de> Sat, 18 Jul 1998 10:48:11 +0200
484 userv (0.58-1) unstable; urgency=low
486 * Upgraded to new upstream version; major security fix, error handling
489 -- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 29 Jan 1998 00:03:52 +0000
491 userv (0.57-1) unstable; urgency=high
493 * Upgraded to new upstream version; fixed bug with root-provided
495 * Uses new -daemon option in init.d script.
496 * Sets VEREXT during build to set version number.
498 -- Ian Jackson <ian@davenant.greenend.org.uk> Tue, 14 Oct 1997 02:22:22 +0100
500 userv (0.56-1) experimental; urgency=low
502 * Upgraded to new upstream version.
504 -- Ian Jackson <ian@davenant.greenend.org.uk> Sat, 11 Oct 1997 14:13:22 +0100
506 userv (0.55.1-1) experimental; urgency=low
508 * Initial Debian release.
510 -- Ian Jackson <ian@davenant.greenend.org.uk> Mon, 22 Sep 1997 01:08:23 +0100