chiark / gitweb /
chiark-utils.git
8 years agocgi-fcgi-interp: Rename "command" to "script" throughout
Ian Jackson [Wed, 23 Mar 2016 18:03:31 +0000 (18:03 +0000)]
cgi-fcgi-interp: Rename "command" to "script" throughout

8 years agocgi-fcgi-interp: Do not eat an option in squashed arg style
Ian Jackson [Tue, 22 Mar 2016 14:26:42 +0000 (14:26 +0000)]
cgi-fcgi-interp: Do not eat an option in squashed arg style

8 years agocgi-fcgi-interp: Add -D
Ian Jackson [Tue, 22 Mar 2016 14:26:29 +0000 (14:26 +0000)]
cgi-fcgi-interp: Add -D

8 years agocgi-fcgi-interp: fix -M to actually work
Ian Jackson [Tue, 22 Mar 2016 14:23:41 +0000 (14:23 +0000)]
cgi-fcgi-interp: fix -M to actually work

8 years agocgi-fcgi-interp: Rename from cgi-fcgi-perl, and adjust arg handling
Ian Jackson [Tue, 22 Mar 2016 14:06:44 +0000 (14:06 +0000)]
cgi-fcgi-interp: Rename from cgi-fcgi-perl, and adjust arg handling

8 years agocgi-fcgi-perl: wip, check_garbage
Ian Jackson [Tue, 22 Mar 2016 13:38:08 +0000 (13:38 +0000)]
cgi-fcgi-perl: wip, check_garbage

8 years agocgi-fcgi-perl: wip, convert to err.h; do mkdir
Ian Jackson [Tue, 22 Mar 2016 00:40:36 +0000 (00:40 +0000)]
cgi-fcgi-perl: wip, convert to err.h; do mkdir

8 years agocgi-fcgi-perl: wip, computes socket path
Ian Jackson [Tue, 22 Mar 2016 00:27:42 +0000 (00:27 +0000)]
cgi-fcgi-perl: wip, computes socket path

8 years agowatershed, common: Break out m_[v]asprintf into common.c (nfc0
Ian Jackson [Mon, 21 Mar 2016 21:23:19 +0000 (21:23 +0000)]
watershed, common: Break out m_[v]asprintf into common.c (nfc0

8 years agocgi-fcgi-perl: skeleton, compiles
Ian Jackson [Mon, 21 Mar 2016 11:51:48 +0000 (11:51 +0000)]
cgi-fcgi-perl: skeleton, compiles

8 years agocgi-fcgi-perl: wip, doc comment
Ian Jackson [Mon, 21 Mar 2016 11:27:20 +0000 (11:27 +0000)]
cgi-fcgi-perl: wip, doc comment

8 years agogit-branchmove: seems to work
Ian Jackson [Wed, 7 Oct 2015 20:48:05 +0000 (21:48 +0100)]
git-branchmove: seems to work

8 years agogit-branchmove: new script, still work in progress
Ian Jackson [Wed, 7 Oct 2015 20:22:46 +0000 (21:22 +0100)]
git-branchmove: new script, still work in progress

8 years agogit-branchmove: new script, still work in progress
Ian Jackson [Wed, 7 Oct 2015 16:01:14 +0000 (17:01 +0100)]
git-branchmove: new script, still work in progress

8 years agogit-branchmove: new script, still work in progress
Ian Jackson [Wed, 7 Oct 2015 14:56:28 +0000 (15:56 +0100)]
git-branchmove: new script, still work in progress

9 years agofinalise 4.4.2 debian/4.4.2
Ian Jackson [Sun, 21 Dec 2014 15:07:31 +0000 (15:07 +0000)]
finalise 4.4.2

9 years agogit-cache-proxy: Tidy up copyright licence info
Ian Jackson [Sun, 21 Dec 2014 14:57:06 +0000 (14:57 +0000)]
git-cache-proxy: Tidy up copyright licence info

9 years agonntpid: Provide proper copyright licence
Ian Jackson [Sun, 21 Dec 2014 14:57:06 +0000 (14:57 +0000)]
nntpid: Provide proper copyright licence

Authors are:
 Simon Tatham
 Colin Watson
 Richard Kettlewell
 Ian Jackson

Simon says, in email to me:

  Simon Tatham writes ("Re: nntpid"):
  > Ian Jackson <ijackson@chiark.greenend.org.uk> wrote:
  > > Since IIRC it was yours originally we should probably pick your
  > > preferred licence which AIUI is MIT.
  >
  > It is, yes.

Colin writes on IRC:

02:34 <col> Republic,Diziet: anything DFSG-free is fine by me for my
            nntpid contributions

Richard and me on IRC:

14:44 <Diziet> [Richard]: Oh, speaking of usenet things, did you see the
               email exchange with Simon about nntpid licence ?  Are
               you happy with MIT ?
14:44 <[Richard]> y

9 years agoFinalise changelog for 4.4.1 debian/4.4.1
Ian Jackson [Sun, 26 Oct 2014 23:52:57 +0000 (23:52 +0000)]
Finalise changelog for 4.4.1

9 years ago* Redact command name characters outside 33-126.
Ian Jackson [Sun, 26 Oct 2014 23:50:53 +0000 (23:50 +0000)]
* Redact command name characters outside 33-126.

9 years agoImprove debian/changelog
Ian Jackson [Sun, 26 Oct 2014 23:50:09 +0000 (23:50 +0000)]
Improve debian/changelog

9 years agoPrint ac_mem and ac_io if available.
Ian Jackson [Sun, 26 Oct 2014 23:49:56 +0000 (23:49 +0000)]
Print ac_mem and ac_io if available.

9 years agoTolerate variation in ac_flag field name, and, to an extent, value.
Ian Jackson [Sun, 26 Oct 2014 23:48:52 +0000 (23:48 +0000)]
Tolerate variation in ac_flag field name, and, to an extent, value.

9 years agoTolerate lack of ac_minflt and ac_majflt (and use %lu as is right).
Ian Jackson [Sun, 26 Oct 2014 23:48:04 +0000 (23:48 +0000)]
Tolerate lack of ac_minflt and ac_majflt (and use %lu as is right).

9 years agoTolerate lack of ac_exitcode.
Ian Jackson [Sun, 26 Oct 2014 23:46:18 +0000 (23:46 +0000)]
Tolerate lack of ac_exitcode.

9 years agoUse different struct acct, and different headers, on different platforms.
Ian Jackson [Sun, 26 Oct 2014 23:45:05 +0000 (23:45 +0000)]
Use different struct acct, and different headers, on different platforms.

9 years agoPortability fixes for acctdump:
Ian Jackson [Sun, 26 Oct 2014 23:43:32 +0000 (23:43 +0000)]
Portability fixes for acctdump:
* Do not build on platforms with no <sys/acct.h>

9 years agoFinalise 4.4.0 debian/4.4.0
Ian Jackson [Sun, 26 Oct 2014 14:39:51 +0000 (14:39 +0000)]
Finalise 4.4.0

9 years agoFix changelog so 4.4.0 is not final
Ian Jackson [Sun, 26 Oct 2014 14:25:13 +0000 (14:25 +0000)]
Fix changelog so 4.4.0 is not final

9 years agoacctdump: And changelog update, making this 4.4.0
Jonathan Amery [Mon, 6 Oct 2014 15:41:38 +0000 (16:41 +0100)]
acctdump: And changelog update, making this 4.4.0

9 years agoacctdump: Paperwork
Jonathan Amery [Mon, 6 Oct 2014 15:41:00 +0000 (16:41 +0100)]
acctdump: Paperwork

9 years agoacctdump: Manpage
Jonathan Amery [Mon, 6 Oct 2014 15:26:53 +0000 (16:26 +0100)]
acctdump: Manpage

9 years agoacctdump: Remove badusage from acctdump.c and update usage(FILE *) to usagemessage()
Jonathan Amery [Mon, 6 Oct 2014 14:50:27 +0000 (15:50 +0100)]
acctdump: Remove badusage from acctdump.c and update usage(FILE *) to usagemessage()

9 years agoacctdump: Add acctdump to .gitignore
Jonathan Amery [Mon, 6 Oct 2014 14:50:22 +0000 (15:50 +0100)]
acctdump: Add acctdump to .gitignore

9 years agoacctdump: Actually, we didn't need acct.h at all
Jonathan Amery [Mon, 6 Oct 2014 15:02:12 +0000 (16:02 +0100)]
acctdump: Actually, we didn't need acct.h at all

9 years agoMerge branch 'acctdump'
Jonathan Amery [Sun, 26 Oct 2014 14:18:43 +0000 (14:18 +0000)]
Merge branch 'acctdump'

Conflicts:
cprogs/Makefile
cprogs/myopt.c
cprogs/myopt.h

* Makefile manually merged.
* Keep our version of myopt files as they are newer than acctdump's.

9 years agoDon't need .cvsignore any more
Jonathan Amery [Mon, 6 Oct 2014 14:14:06 +0000 (15:14 +0100)]
Don't need .cvsignore any more

9 years agopacct file has moved
Jonathan Amery [Mon, 6 Oct 2014 12:40:44 +0000 (13:40 +0100)]
pacct file has moved

9 years agoRemove a stray debug line
Jonathan Amery [Mon, 6 Oct 2014 12:22:03 +0000 (13:22 +0100)]
Remove a stray debug line

9 years agoAdded missing \n from error message
Jonathan Amery [Mon, 6 Oct 2014 12:19:14 +0000 (13:19 +0100)]
Added missing \n from error message

9 years agoseekdist lines should have been removed during the merge
Jonathan Amery [Mon, 6 Oct 2014 12:12:37 +0000 (13:12 +0100)]
seekdist lines should have been removed during the merge

9 years agoUpdate acct.h to the one from linux-source-3.2 .
Jonathan Amery [Mon, 6 Oct 2014 12:05:43 +0000 (13:05 +0100)]
Update acct.h to the one from linux-source-3.2 .

linux/jiffies.h is no-longer a standard header; and the new acct.h only
needs it if _KERNEL_.

None of the other changes appear to affect acctdump.

9 years agoMerge branch 'master' into merge-141006
Jonathan Amery [Mon, 6 Oct 2014 11:59:10 +0000 (12:59 +0100)]
Merge branch 'master' into merge-141006

Conflicts:
acctdump.c

9 years agocurrent state of chiark version
Jonathan David Amery [Mon, 6 Oct 2014 11:28:57 +0000 (12:28 +0100)]
current state of chiark version

9 years agoFound backup file on chiark
Jonathan David Amery [Mon, 6 Oct 2014 11:26:09 +0000 (12:26 +0100)]
Found backup file on chiark

9 years agodebian/changelog: finalise 4.3.1 debian/4.3.1
Ian Jackson [Mon, 28 Jul 2014 14:53:09 +0000 (15:53 +0100)]
debian/changelog: finalise 4.3.1

9 years agogit-cache-proxy: Note change properly in changelog
Ian Jackson [Mon, 28 Jul 2014 14:52:15 +0000 (15:52 +0100)]
git-cache-proxy: Note change properly in changelog

9 years agogit-cache-proxy: housekeeping: use rm -rf, not remove_tree (which is weirdly broken)
Ian Jackson [Mon, 28 Jul 2014 14:50:59 +0000 (15:50 +0100)]
git-cache-proxy: housekeeping: use rm -rf, not remove_tree (which is weirdly broken)

9 years agogit-cache-proxy: housekeeping: send STDERR to the syslog right away with priority...
Ian Jackson [Mon, 28 Jul 2014 14:50:22 +0000 (15:50 +0100)]
git-cache-proxy: housekeeping: send STDERR to the syslog right away with priority warning, not crit

9 years agogit-cache-proxy: housekeeping: check errno value from stat after deletion
Ian Jackson [Mon, 28 Jul 2014 14:24:17 +0000 (15:24 +0100)]
git-cache-proxy: housekeeping: check errno value from stat after deletion

9 years agogit-cache-proxy: housekeeping: Rename main dir to tmp before deleting to preserve...
Ian Jackson [Mon, 28 Jul 2014 14:22:37 +0000 (15:22 +0100)]
git-cache-proxy: housekeeping: Rename main dir to tmp before deleting to preserve invariant

9 years agogit-cache-proxy: housekeeping: Use eval, not ad-hoc thing involving $ok
Ian Jackson [Mon, 28 Jul 2014 14:18:56 +0000 (15:18 +0100)]
git-cache-proxy: housekeeping: Use eval, not ad-hoc thing involving $ok

9 years agogit-cache-proxy: housekeeping: More correctly handle errors from remove_tree
Ian Jackson [Mon, 28 Jul 2014 14:10:49 +0000 (15:10 +0100)]
git-cache-proxy: housekeeping: More correctly handle errors from remove_tree

9 years agogit-cache-proxy: housekeeping: Add missing space to message
Ian Jackson [Mon, 28 Jul 2014 14:10:26 +0000 (15:10 +0100)]
git-cache-proxy: housekeeping: Add missing space to message

10 years agoBugfixes:
Ian Jackson [Fri, 10 Jan 2014 14:54:19 +0000 (14:54 +0000)]
Bugfixes:
* expire-iso8601: Fix mistake in usage message.

10 years agodebian/control: a further attempt to fix libs for xduplic-copier debian/4.3.0
Ian Jackson [Fri, 29 Nov 2013 21:07:49 +0000 (21:07 +0000)]
debian/control: a further attempt to fix libs for xduplic-copier

10 years agodebian/control: an attempt to fix build dependencies for Xmu
Ian Jackson [Fri, 29 Nov 2013 21:02:39 +0000 (21:02 +0000)]
debian/control: an attempt to fix build dependencies for Xmu

10 years agoxduplic-copier: an attempt at correct library dependencies
Ian Jackson [Fri, 29 Nov 2013 20:58:43 +0000 (20:58 +0000)]
xduplic-copier: an attempt at correct library dependencies

10 years agodebian/changelog: finalise 4.3.0
Ian Jackson [Fri, 29 Nov 2013 20:52:31 +0000 (20:52 +0000)]
debian/changelog: finalise 4.3.0

10 years agocprogs: Saner build runes for summer, watershed and rcopy-repeatedly
Ian Jackson [Fri, 29 Nov 2013 20:50:50 +0000 (20:50 +0000)]
cprogs: Saner build runes for summer, watershed and rcopy-repeatedly

10 years agogit-cache-proxy: add warning re clients being able to DoS
Ian Jackson [Fri, 29 Nov 2013 20:45:26 +0000 (20:45 +0000)]
git-cache-proxy: add warning re clients being able to DoS

10 years agodebian/rules: use dpkg-buildflags and pass to Makefile.
Ian Jackson [Fri, 29 Nov 2013 20:42:23 +0000 (20:42 +0000)]
debian/rules: use dpkg-buildflags and pass to Makefile.

10 years agoMakefile: honour CMDLINE_CFLAGS, CMDLINE_CPPFLAGS, CMDLINE_LDFLAGS.
Ian Jackson [Fri, 29 Nov 2013 20:41:17 +0000 (20:41 +0000)]
Makefile: honour CMDLINE_CFLAGS, CMDLINE_CPPFLAGS, CMDLINE_LDFLAGS.

10 years agocprogs/usr-local-src-misc-Makefile: Remove ancient cruft file.
Ian Jackson [Fri, 29 Nov 2013 20:37:52 +0000 (20:37 +0000)]
cprogs/usr-local-src-misc-Makefile: Remove ancient cruft file.

10 years agodebian/changelog: condense unofficial releases' entries into one entry for 4.3.0
Ian Jackson [Fri, 29 Nov 2013 20:22:02 +0000 (20:22 +0000)]
debian/changelog: condense unofficial releases' entries into one entry for 4.3.0

10 years agofinalise dummy changelog for 4.2.1~~iwj4 for build tests
Ian Jackson [Fri, 29 Nov 2013 20:05:39 +0000 (20:05 +0000)]
finalise dummy changelog for 4.2.1~~iwj4 for build tests

10 years agoMerge remote-tracking branch 'remotes/dgit/dgit/sid'
Ian Jackson [Fri, 29 Nov 2013 20:04:22 +0000 (20:04 +0000)]
Merge remote-tracking branch 'remotes/dgit/dgit/sid'

Done with merge -s ours.  We are a descendant of this, logically
speaking, although the archive version is missing .gitignore.

10 years agoxduplic-copier: note that it fixes #727223
Ian Jackson [Fri, 29 Nov 2013 19:59:56 +0000 (19:59 +0000)]
xduplic-copier: note that it fixes #727223

10 years agoxduplic-copier: manpage
Ian Jackson [Fri, 29 Nov 2013 19:58:51 +0000 (19:58 +0000)]
xduplic-copier: manpage

10 years agoxduplic-copier: add to .gitignore
Ian Jackson [Fri, 29 Nov 2013 19:41:53 +0000 (19:41 +0000)]
xduplic-copier: add to .gitignore

10 years agoxduplic-copier: do not call XmuClientWindow on a null subwindow
Ian Jackson [Fri, 29 Nov 2013 19:38:27 +0000 (19:38 +0000)]
xduplic-copier: do not call XmuClientWindow on a null subwindow

If you click on the root window, xduplic-copier gets an event with
subwindow==0.  Current XmuClientWindow crashes if you call it with a
null window.

Instead, shortcut this: look for subwindow==0 as the way to tell it's
the root window.

10 years agoxduplic-copier: add missing #includes
Ian Jackson [Fri, 29 Nov 2013 19:38:11 +0000 (19:38 +0000)]
xduplic-copier: add missing #includes

10 years agodebian/copyright: mention xduplic-copier and git-cache-proxy
Ian Jackson [Fri, 29 Nov 2013 19:37:10 +0000 (19:37 +0000)]
debian/copyright: mention xduplic-copier and git-cache-proxy

10 years agoxduplic-copier: update copyright date and licence to gplv3+
Ian Jackson [Fri, 29 Nov 2013 19:33:10 +0000 (19:33 +0000)]
xduplic-copier: update copyright date and licence to gplv3+

10 years agoxduplic-copier: New utility.
Ian Jackson [Fri, 29 Nov 2013 18:55:10 +0000 (18:55 +0000)]
xduplic-copier: New utility.

10 years agocprogs/Makefile: clean deletes $PROGRAMS
Ian Jackson [Fri, 29 Nov 2013 18:46:59 +0000 (18:46 +0000)]
cprogs/Makefile: clean deletes $PROGRAMS

10 years agoxbatmon-simple: Saner build rune.
Ian Jackson [Fri, 29 Nov 2013 18:46:39 +0000 (18:46 +0000)]
xbatmon-simple: Saner build rune.

10 years agoxduplic-copier: as found on chiark
Ian Jackson [Fri, 29 Nov 2013 18:41:32 +0000 (18:41 +0000)]
xduplic-copier: as found on chiark

10 years agowatershed; Provide -h and --help options. Closes:#659989.
Ian Jackson [Fri, 29 Nov 2013 18:41:02 +0000 (18:41 +0000)]
watershed; Provide -h and --help options.  Closes:#659989.

10 years agoreally: Document need to be in the "root" group as well. (This is better than removi...
Ian Jackson [Fri, 29 Nov 2013 18:33:52 +0000 (18:33 +0000)]
really: Document need to be in the "root" group as well.  (This is better than removing the restriction, because it would be dangerous to relax this security barrier in existing deployments.)  Closes:#693356.

10 years agoreally: Document -R option in the manpage. Closes:#693354.
Ian Jackson [Fri, 29 Nov 2013 18:28:57 +0000 (18:28 +0000)]
really: Document -R option in the manpage.  Closes:#693354.

10 years agoreally: Add "danger!" warning to usage message description of -R.
Ian Jackson [Fri, 29 Nov 2013 18:27:57 +0000 (18:27 +0000)]
really: Add "danger!" warning to usage message description of -R.

10 years agogit-cache-proxy: postpone chdir so Housekeeping lock and stamp and up in the right... debian/4.2.1__iwj3
Ian Jackson [Mon, 11 Nov 2013 13:43:52 +0000 (13:43 +0000)]
git-cache-proxy: postpone chdir so Housekeeping lock and stamp and up in the right directory.

10 years agochangelog entry for git-cache-daemon debian/4.2.1__iwj2
Ian Jackson [Mon, 11 Nov 2013 13:14:57 +0000 (13:14 +0000)]
changelog entry for git-cache-daemon

10 years agogit-cache-proxy: better doc comment, install in Makefile
Ian Jackson [Mon, 11 Nov 2013 12:14:49 +0000 (12:14 +0000)]
git-cache-proxy: better doc comment, install in Makefile

10 years agogit-cache-proxy: housekeeping seems to work now
Ian Jackson [Sun, 10 Nov 2013 01:22:09 +0000 (01:22 +0000)]
git-cache-proxy: housekeeping seems to work now

10 years agogit-cache-proxy: introduce lockfile
Ian Jackson [Sun, 10 Nov 2013 00:39:17 +0000 (00:39 +0000)]
git-cache-proxy: introduce lockfile

10 years agogit-cache-proxy: new "utility functions" section, nfc
Ian Jackson [Sun, 10 Nov 2013 00:39:03 +0000 (00:39 +0000)]
git-cache-proxy: new "utility functions" section, nfc

10 years agogit-cache-proxy: message fixes
Ian Jackson [Sun, 10 Nov 2013 00:28:15 +0000 (00:28 +0000)]
git-cache-proxy: message fixes

10 years agogit-cache-proxy: use lstat
Ian Jackson [Sun, 10 Nov 2013 00:27:51 +0000 (00:27 +0000)]
git-cache-proxy: use lstat

10 years agogit-cache-proxy: wip housekeeping, before introduce new locking protocol
Ian Jackson [Sun, 10 Nov 2013 00:27:43 +0000 (00:27 +0000)]
git-cache-proxy: wip housekeeping, before introduce new locking protocol

10 years agogit-cache-proxy: introduce servinfo
Ian Jackson [Sat, 9 Nov 2013 22:49:26 +0000 (22:49 +0000)]
git-cache-proxy: introduce servinfo

10 years agogit-cache-proxy: more wip, restructure done, before add housekeeping
Ian Jackson [Sat, 9 Nov 2013 22:40:42 +0000 (22:40 +0000)]
git-cache-proxy: more wip, restructure done, before add housekeeping

10 years agogit-cache-proxy: more wip, copyright notice, before housekeeping etc.
Ian Jackson [Sat, 9 Nov 2013 22:34:10 +0000 (22:34 +0000)]
git-cache-proxy: more wip, copyright notice, before housekeeping etc.

10 years agogit-cache-proxy: more wip
Ian Jackson [Sat, 9 Nov 2013 22:22:36 +0000 (22:22 +0000)]
git-cache-proxy: more wip

10 years agogit-cache-proxy: more wip
Ian Jackson [Sat, 9 Nov 2013 21:35:12 +0000 (21:35 +0000)]
git-cache-proxy: more wip

10 years agogit-cache-proxy: wip based on userv-utils git-daemon and git-service
Ian Jackson [Sat, 9 Nov 2013 20:29:46 +0000 (20:29 +0000)]
git-cache-proxy: wip based on userv-utils git-daemon and git-service

10 years agogit-cache-proxy: copy starting point from userv-utils git-daemon.in, git-service.in
Ian Jackson [Thu, 7 Nov 2013 18:51:34 +0000 (18:51 +0000)]
git-cache-proxy: copy starting point from userv-utils git-daemon.in, git-service.in

userv-utils has a git proxy, of which we are going to reuse some parts.
Copy them from userv-utils.git#f90cb5738a194fc1b873ffc6212f3aa9a537e2fe

10 years agofinalise 4.2.1~~iwj1
Ian Jackson [Wed, 4 Sep 2013 23:32:52 +0000 (00:32 +0100)]
finalise 4.2.1~~iwj1

10 years agoNew features:
Ian Jackson [Wed, 4 Sep 2013 20:40:23 +0000 (21:40 +0100)]
New features:
* random-word: -F<n> option for using only first <n> lines of source file.