Mark Wooding [Wed, 14 Jan 2015 14:24:47 +0000 (14:24 +0000)]
hush.in: Use `$' prefixes on variables in arithmetic expansions.
Omitting this is a Bashism, but one apparently permitted by Dash.
Mark Wooding [Thu, 23 Oct 2014 13:02:38 +0000 (14:02 +0100)]
buf, buf.1: Allow the temporary file's extension to be set.
Some programs try to deduce things about their input files from their
names, so accommodate them.
Mark Wooding [Thu, 23 Oct 2014 13:02:06 +0000 (14:02 +0100)]
buf.1: Fix wrong punctuation in example.
Mark Wooding [Thu, 23 Oct 2014 13:01:12 +0000 (14:01 +0100)]
buf.1: Fix stupid speling mitsake.
Mark Wooding [Mon, 20 Jan 2014 16:08:36 +0000 (16:08 +0000)]
Release 1.3.0.
Mark Wooding [Mon, 20 Jan 2014 16:03:50 +0000 (16:03 +0000)]
x86-model: Make it build on amd64.
It even seems to work.
Mark Wooding [Mon, 20 Jan 2014 15:56:21 +0000 (15:56 +0000)]
Remove `qmail-checkspam'.
It's too annoying to build and maintain.
Mark Wooding [Sun, 19 Jan 2014 01:33:27 +0000 (01:33 +0000)]
prlimit.c: Fix format-string type mismatch.
Mismatch between `size_t' variable and `int' expected argument.
Obviously `size_t' is more sensible here...
Mark Wooding [Thu, 9 Jan 2014 08:53:12 +0000 (08:53 +0000)]
Release 1.2.9.1.
Mark Wooding [Thu, 9 Jan 2014 08:53:12 +0000 (08:53 +0000)]
mtimeout.c: Fix help and usage messages.
It was missing several options entirely, and failed to mention that time
interval specifications could specify units.
Mark Wooding [Thu, 9 Jan 2014 08:53:12 +0000 (08:53 +0000)]
mtimeout.c: Fix ludicrous whitespace in help message.
Mark Wooding [Fri, 10 Jan 2014 14:57:42 +0000 (14:57 +0000)]
Release 1.2.9.
Mark Wooding [Fri, 10 Jan 2014 14:54:29 +0000 (14:54 +0000)]
mtimeout.c: Fix (impossible) `printf' format-string bug.
Mark Wooding [Fri, 10 Jan 2014 14:46:06 +0000 (14:46 +0000)]
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/misc
* 'master' of git.distorted.org.uk:~mdw/publish/public-git/misc:
space.c: Fix trailing-newline misreporting in `-c' mode.
space.[c1]: Document the `-v' option finally.
Mark Wooding [Sun, 11 Aug 2013 01:08:00 +0000 (02:08 +0100)]
space.c: Fix trailing-newline misreporting in `-c' mode.
Reduction of the recent-newlines counter was being done only in the
output case.
Mark Wooding [Sun, 11 Aug 2013 01:08:00 +0000 (02:08 +0100)]
space.[c1]: Document the `-v' option finally.
Mark Wooding [Fri, 14 Jun 2013 11:32:24 +0000 (12:32 +0100)]
hush: Don't lose backslashes in output lines.
Mark Wooding [Fri, 14 Jun 2013 17:13:36 +0000 (18:13 +0100)]
debian: Dump CDBS in favour of plain Debhelper.
Mark Wooding [Fri, 14 Jun 2013 17:20:55 +0000 (18:20 +0100)]
debian/control: Fix missing shlibs dependencies.
Mark Wooding [Sat, 1 Dec 2012 23:24:09 +0000 (23:24 +0000)]
hush.in: Close extraneous file descriptors when running the command.
Otherwise, if it forks a daemon or something then we end up hanging
until the daemon stops.
Mark Wooding [Wed, 14 Nov 2012 00:56:24 +0000 (00:56 +0000)]
space.c, space.1: New `-l' option to handle trailing blank lines.
Mark Wooding [Tue, 13 Nov 2012 23:39:45 +0000 (23:39 +0000)]
space.c: Strip `typedef' from `buf'; now it's just a struct.
Mark Wooding [Fri, 26 Oct 2012 18:27:07 +0000 (19:27 +0100)]
Release 1.2.8.1.
Mark Wooding [Fri, 26 Oct 2012 18:25:47 +0000 (19:25 +0100)]
Merge branch 'master' of git.distorted.org.uk:public-git/misc
* 'master' of git.distorted.org.uk:public-git/misc:
xtitle.c: Ignore boring return codes better.
hush.1.in: Fix some stupid (but relatively minor) formatting foulups.
Mark Wooding [Fri, 26 Oct 2012 18:24:31 +0000 (19:24 +0100)]
Stamp out trailing whitespace.
Mark Wooding [Sun, 7 Oct 2012 14:06:46 +0000 (15:06 +0100)]
Release 1.2.8.
Mark Wooding [Sun, 7 Oct 2012 02:27:53 +0000 (03:27 +0100)]
hush.in: Don't trim leading space from lines.
Mark Wooding [Thu, 29 Mar 2012 18:50:37 +0000 (19:50 +0100)]
xtitle.c: Ignore boring return codes better.
I'm not convinced that ignoring the write code when reading the
current title is clever, but that code is hopelessly broken anyway.
Mark Wooding [Thu, 29 Mar 2012 16:19:44 +0000 (17:19 +0100)]
hush.1.in: Fix some stupid (but relatively minor) formatting foulups.
Mark Wooding [Tue, 14 Feb 2012 10:25:41 +0000 (10:25 +0000)]
Release 1.2.7.
Mark Wooding [Mon, 13 Feb 2012 02:03:32 +0000 (02:03 +0000)]
qmail-checkspam.c: Add copious logging, particularly of envelopes.
This is a fair-sized rewrite of the existing code. The main point is to
log the envelope sender and recipients in order to make tracking down
incorrect rejections easier. Logging errors information about errors is
just good practice.
Mark Wooding [Tue, 27 Dec 2011 17:51:28 +0000 (17:51 +0000)]
hush.in: Turn off buffering in the pipe-merging `cat'.
GNU cat never buffers anyway; BSD cat doesn't seem to unless you ask it
to do something complicated. But it's good form.
Mark Wooding [Thu, 15 Dec 2011 01:14:21 +0000 (01:14 +0000)]
prlimit.c: Fix stupid typo in usage message.
I typed the wrong magic punctuation character, so the program name
didn't appear.
Mark Wooding [Thu, 15 Dec 2011 00:55:01 +0000 (00:55 +0000)]
prlimit.c: Fix careless use of `lt' variable.
The `lt' variable is used in the second pass for actually printing
limits, but its value is simply debris from the first command-line
parsing pass and has no useful meaning.
Since it's a convenient abbreviation, initialize it properly in the
second-pass loop and use it consistently.
Spotted by GCC.
Mark Wooding [Thu, 15 Dec 2011 00:55:01 +0000 (00:55 +0000)]
prlimit.c: Fix up whitespace.
Mark Wooding [Thu, 15 Dec 2011 00:55:01 +0000 (00:55 +0000)]
mtimeout.c: Add `--kill-after' and `--no-kill' options.
The `--kill-after' option is from the GNU Coreutils `timeout' program,
which doesn't kill by default. The `--no-kill' option emulates this
behaviour.
Mark Wooding [Thu, 15 Dec 2011 00:55:01 +0000 (00:55 +0000)]
mtimeout.c: Restructure timeout handling to use explicit machine.
An upcoming change makes the timeout handling rather more fiddly.
Rather than have a huge pile of code to make it all work, encode the
timeout behaviour as explicit instructions to a simple virtual machine.
The instructions are assembled using preprocessor hacking.
Mark Wooding [Thu, 15 Dec 2011 00:55:01 +0000 (00:55 +0000)]
mtimeout.c: Accept time unit specification on timeout options.
Mark Wooding [Wed, 14 Dec 2011 01:58:04 +0000 (01:58 +0000)]
Version 1.2.6.
Mark Wooding [Wed, 14 Dec 2011 01:47:10 +0000 (01:47 +0000)]
hush: New handy program.
Mark Wooding [Wed, 14 Dec 2011 01:43:53 +0000 (01:43 +0000)]
configure.ac: Fix the `--with-perlmoddir' help text.
Mark Wooding [Wed, 14 Dec 2011 01:49:19 +0000 (01:49 +0000)]
debian/control: Fix x86-model architecture string.
Mark Wooding [Thu, 1 Sep 2011 11:09:52 +0000 (12:09 +0100)]
prlimit: New program for fiddling with resource limits.
Mark Wooding [Thu, 1 Sep 2011 11:14:31 +0000 (12:14 +0100)]
debian/control: Fix architectures for x86-model.
Mark Wooding [Thu, 1 Sep 2011 11:08:51 +0000 (12:08 +0100)]
mtimeout.c: Fettle the signal-table Lisp code.
This is a slightly better version taken from another program (hitting
this repository soon).
Mark Wooding [Wed, 31 Aug 2011 13:47:32 +0000 (14:47 +0100)]
x86-model.c: Actually display the stepping.
Mark Wooding [Wed, 31 Aug 2011 13:44:19 +0000 (14:44 +0100)]
Rename `timeout' to `mtimeout' to prevent conflict with GNU Coreutils.
The Coreutils version is broken: it places itself in a new process group
and its child inherits the new process group (though this isn't
documented anywhere). This stops interactive signals from working
properly.
Mark Wooding [Mon, 15 Aug 2011 12:47:06 +0000 (13:47 +0100)]
space.1: Fix up the manpage a bit.
Mark Wooding [Mon, 15 Aug 2011 12:44:42 +0000 (13:44 +0100)]
Merge branch 'master' of /home/mdw/public-git/misc
* 'master' of /home/mdw/public-git/misc:
timeout.c: Fix exit codes; useful message on exec failure.
Mark Wooding [Tue, 7 Jun 2011 09:14:09 +0000 (10:14 +0100)]
Version 1.2.5.
Mark Wooding [Tue, 7 Jun 2011 09:07:10 +0000 (10:07 +0100)]
timeout.c: Fix exit codes; useful message on exec failure.
Mark Wooding [Tue, 7 Jun 2011 09:07:49 +0000 (10:07 +0100)]
timeout.1: Include exit status documentation in the manual.
Mark Wooding [Sun, 5 Jun 2011 21:02:49 +0000 (22:02 +0100)]
timeout: New program to limit how long a child process runs.
It's already grown more sophisticated than I was expecting. Oh, well.
Mark Wooding [Sun, 5 Jun 2011 21:00:39 +0000 (22:00 +0100)]
xtitle.c: Shut up warnings about ignoring the return from write(2).
I simply don't care enough.
Mark Wooding [Sun, 5 Jun 2011 21:10:48 +0000 (22:10 +0100)]
Makefile.am: Fix hideous formatting.
Mark Wooding [Sun, 5 Jun 2011 21:10:11 +0000 (22:10 +0100)]
Makefile.am: Improve `silent-rules' output.
Introduce a separate `SUBST' line type for `confsubst'.
Mark Wooding [Mon, 31 May 2010 17:05:39 +0000 (18:05 +0100)]
Version bump to 1.2.4.
Mark Wooding [Mon, 31 May 2010 17:04:22 +0000 (18:04 +0100)]
Build system: Use Automake's `silent-rules' feature if it's available.
Mark Wooding [Mon, 31 May 2010 17:03:54 +0000 (18:03 +0100)]
configure.ac: s/AC_\(PROG_PERL_VERSION\)/AX_\1/
The macro changed name upstream. Try to keep up.
Mark Wooding [Mon, 31 May 2010 17:01:56 +0000 (18:01 +0100)]
locking.c: Reset alarm state before invoking the target command.
There's nothing worse than grabbing a lock, trying to do something, and
then being killed by an alarm clock midway through.
Well, there are probably are worse things, but this commit message
isn't the right place to list them.
Mark Wooding [Mon, 31 May 2010 17:00:28 +0000 (18:00 +0100)]
qmail-checkspam.c: Don't do anything if RELAYCLIENT is set.
This is an unpleasant hack to accept potentially malformed mail from
clients who have authenticated to the SMTP server. I don't think it's
actually needed any more, because the specific client in question has
since been re-educated about how to construct mail properly.
Mark Wooding [Thu, 30 Apr 2009 23:13:41 +0000 (00:13 +0100)]
New version 1.2.3.
Mark Wooding [Thu, 30 Apr 2009 23:11:03 +0000 (00:11 +0100)]
.links, Makefile: Make sure we have auto-version.
Stuff doesn't work well otherwise.
Mark Wooding [Thu, 30 Apr 2009 23:04:58 +0000 (00:04 +0100)]
debian: Add libcdb-dev to Build-Depends.
Found the hard way.
Mark Wooding [Thu, 30 Apr 2009 22:59:21 +0000 (23:59 +0100)]
qmail-checkspam: Include <limits.h>.
Previously missing.
Mark Wooding [Thu, 30 Apr 2009 22:56:57 +0000 (23:56 +0100)]
x86-model: New program, prints CPUID information.
Mark Wooding [Sun, 25 Jan 2009 13:06:03 +0000 (13:06 +0000)]
inplace: Substitute the @BASH@ onion in the shebang line.
Somehow, BASH got left off the confsubst list of onions to substitute.
Mark Wooding [Sun, 4 May 2008 13:03:48 +0000 (14:03 +0100)]
cdb-*: Fixing for Python 2.5.
The new Python warns about the old `sre' module being deprecated.
Unfortunately, the scripts get used in cron files, and the warnings are
very annoying, so fix this.
Also put Emacs mode markers in.
Mark Wooding [Tue, 1 Apr 2008 18:19:00 +0000 (19:19 +0100)]
Release 1.2.0.
Mark Wooding [Tue, 1 Apr 2008 18:18:36 +0000 (19:18 +0100)]
space: Fix --check.
The logic for when --check should report strangeness was confused with
the verbosity stuff. Disentangle and fix.
Mark Wooding [Tue, 1 Apr 2008 18:06:34 +0000 (19:06 +0100)]
Delete crufty old .cvsignore files.
And ignore autom4te.cache while we're there.
Mark Wooding [Tue, 1 Apr 2008 18:06:23 +0000 (19:06 +0100)]
Makefile.am: Oops, distribute important things.
Like the Debian stuff and the RELEASE file.
Mark Wooding [Tue, 1 Apr 2008 17:57:09 +0000 (18:57 +0100)]
Add getpass to the fun
Mark Wooding [Tue, 1 Apr 2008 17:51:12 +0000 (18:51 +0100)]
Build system overhaul.
Give up and use autotools and CDBS.
Mark Wooding [Sun, 28 Jan 2007 14:35:00 +0000 (14:35 +0000)]
cleanup: Fix extraneous whitespace throughout.
Mark Wooding [Sun, 28 Jan 2007 11:14:43 +0000 (11:14 +0000)]
space: New program for fixing whitespace problems in text files.
Mark Wooding [Fri, 11 Aug 2006 13:07:13 +0000 (14:07 +0100)]
stamp: New program.
Like cat, but prints datestamps on input lines.
Mark Wooding [Thu, 2 Mar 2006 10:42:02 +0000 (10:42 +0000)]
manpages: Fix author email address; also, fix synopsis for inplace.
Mark Wooding [Thu, 2 Mar 2006 01:49:57 +0000 (01:49 +0000)]
cdb: Remove dependency on freecdb and libfile-cdb-perl.
The C utilities are now built against tinycdb. The Perl utilities have
been rewritten in Python and use python-cdb.
Mark Wooding [Thu, 2 Mar 2006 01:48:11 +0000 (01:48 +0000)]
qmail-checkspam: Provide argv[0] when execing qmail-queue.
Mark Wooding [Thu, 2 Mar 2006 01:47:24 +0000 (01:47 +0000)]
locking: Fix uninitialized variable.
Could cause bizarre effects with SIGALRM.
Mark Wooding [Wed, 15 Feb 2006 12:30:11 +0000 (12:30 +0000)]
debian: Fix package sections.
Mark Wooding [Mon, 6 Feb 2006 18:30:32 +0000 (18:30 +0000)]
cdb-assign.1: Fix formatting.
Mark Wooding [Mon, 6 Feb 2006 18:30:00 +0000 (18:30 +0000)]
Extract Subversion ignore data.
mdw [Mon, 6 Feb 2006 18:28:12 +0000 (18:28 +0000)]
cdb-map: New program to construct CDB files.
mdw [Mon, 6 Feb 2006 18:27:25 +0000 (18:27 +0000)]
debian: Fix maintainer address.
mdw [Sun, 3 Apr 2005 18:04:20 +0000 (18:04 +0000)]
Bodge for strange bug (`bizarre copy of ARRAY in anonlist') in Perl
5.8.4.
mdw [Sat, 5 Feb 2005 10:40:12 +0000 (10:40 +0000)]
Various fixes.
mdw [Sat, 5 Feb 2005 10:33:00 +0000 (10:33 +0000)]
New scripts.
mdw [Sat, 11 Sep 2004 17:20:44 +0000 (17:20 +0000)]
Add `pause' program.
mdw [Thu, 8 Apr 2004 01:36:29 +0000 (01:36 +0000)]
Expunge revision histories in files.
mdw [Sat, 29 Nov 2003 23:45:44 +0000 (23:45 +0000)]
Make gorp better. Deb fixes.
mdw [Thu, 13 Nov 2003 11:49:32 +0000 (11:49 +0000)]
Fix uninstall target.
mdw [Thu, 13 Nov 2003 11:47:18 +0000 (11:47 +0000)]
Debianization.
mdw [Wed, 22 Oct 2003 18:23:46 +0000 (18:23 +0000)]
Bring `z' into the fold.
mdw [Sun, 12 Oct 2003 01:21:35 +0000 (01:21 +0000)]
Build fixes.
mdw [Sat, 11 Oct 2003 18:18:54 +0000 (18:18 +0000)]
Add shadowfix to the collection.
mdw [Thu, 9 Oct 2003 15:15:42 +0000 (15:15 +0000)]
Missed a paren. Un-`toys'-ify.
mdw [Thu, 9 Oct 2003 15:05:34 +0000 (15:05 +0000)]
Lots of stuff.
mdw [Sat, 4 Oct 2003 20:47:36 +0000 (20:47 +0000)]
Robustify.