Joey Hess [Sun, 3 May 2009 00:41:06 +0000 (20:41 -0400)]
ifdata: Don't assume that all interface names are 6 characters or less, for instance "wmaster0" is longer. Increase the limit to 20 characters. Closes: #526654 (Thanks, Alan Pope)
zrun: Can be linked to zsomeprog to run the equivilant of zrun someprog.
* zrun: Can be linked to zsomeprog to run the equivilant of zrun someprog. Closes: #411623 (Stefan Fritsch)
* zrun: Add support for lzma and lzo. (Stefan Fritsch)
Greg KH [Sat, 10 May 2008 05:49:30 +0000 (22:49 -0700)]
patch for moreutils Makefile
Hi,
I just packaged up moreutils for Gentoo and added it to their system,
I'll go add it to the SuSE repo system next week as well, thanks a lot
for the utils.
Here's a small patch to the makefile to make it easier for distros to
change the docbook2x-man binary as it is named other things (Gentoo for
example has it as docbook2man.pl). This way it can be changed on the
build line, and the Makefile doesn't have to be patched.
Thanks for already fixing the DESTDIR thing, that also will make things
easier.
And also, you mention dropping you an email if you want to be notified
when new versions come out, I'd appreciate it if you could add me to
that list if you have one.
thanks again,
greg k-h
--------------------
Subject: Make docbook2x-man able to be overridden in Makefile
This makes it easier for distros that do not have the docbook2x-man
binary with that name, override it on the command line instead of having
to patch the Makefile.
If a file an exact multiple of the max buffer size were sponged, it
would fail at the end due to trying to write 0 remaining bytes from the
buffer to the temp file. A similar bug occurred if sponge's input was
empty. Amazing how such a seemingly simple thing can get so tricky..
Also added check for read error from the temp file, just in case.
*Fixed many bugs relating to renaming of temp file to output file
*Doesn't set umask, not sure what correct behavior is
*Does not try and delete /tmp/sponge.XXXXXX on exit if there was no temporary file used
*Uses temporary file when buffer * 2 is >= mem_available as the buffer will double shortly after this operation
*Only traps signals if we are creating a temporary file
*Cleaned up error messages
Javier Merino [Thu, 20 Mar 2008 12:03:26 +0000 (13:03 +0100)]
Moreutils: Added ifne
Hi, I read the suggestion about ifne in the Discussion page of
moreutils and found it interesting. It's a command that runs another
process if the standard input is not empty. I think it can be very
useful in admin scripts so I've implemented it. I attach a patch
against the current head of moreutils' git. You may include it in
moreutils if you think it's worth it.
I've considered making an "ifempty" or "ifne -v" that would run a
command if the standard input is empty, but I'm not sure if that could
be useful. Any comments will be appreciated. Regards,
Joey Hess [Sat, 2 Feb 2008 22:18:59 +0000 (17:18 -0500)]
* vidir: Applied patch from Stefan Fritsch (one part of #412176):
- Check for control characters (especially newlines) in filenames
and error out, since this can greatly confuse the editor or vidir.
- If the source of a rename does not exist (and thus the rename will fail
anyway), vidir should not move an existing target file to a tmpfile.
- If a directory is renamed, vidir should take that into account when
renaming files in this directory.
- If a directory name is passed as name/ to vidir, vidir should not
add second slash after the name.
* vidir: Add support for unlinking directories. To recursivly delete
a directory and its contents, pipe find to vidir, and delete the directory
and its contents in the editor. Closes: #412176
* Don't strip binaries for debian package if built with
DEB_BUILD_OPTIONS=nostrip. Closes: #437577
* Include Michael Tokarev's lckdo program and replace / conflict with the
current lckdo package. (Robert Edmonds) Closes: #432906
* lckdo: Don't clear other flags when setting close on exec.
joeyh [Fri, 18 Aug 2006 05:46:19 +0000 (05:46 +0000)]
* Change the default ts format to include the month and day, for consistency
with syslog format.
* Add -r switch to ts, which makes it convert existing timestamps in
the input into relative times, such as "15m2s ago".