Jan-Jaap Driessen
2015-Dec-10 07:19 UTC
[Logcheck-users] logcheck-test incompatibility on OSX
Hi, On OSX mktemp does not take the '--tmpdir' argument, which makes the logcheck-test command choke: CLEANRULE="$(mktemp --tmpdir logcheck-test.XXXXXXXXXX)" I am not well versed in debian development land, would like to ask the package maintainers whether they are open to making logcheck-test work on OSX. There is an open pull request for homebrew/logcheck in which a patch for mktemp is applied - it would be nice if this patch would land upstream: https://github.com/Homebrew/homebrew/pull/46663 Thanks, Jan-Jaap
Hannes von Haugwitz
2015-Dec-10 18:43 UTC
[Logcheck-users] logcheck-test incompatibility on OSX
Hi, On Thu, Dec 10, 2015 at 08:19:57AM +0100, Jan-Jaap Driessen wrote:> On OSX mktemp does not take the '--tmpdir' argument, which makes the > logcheck-test command choke: > > CLEANRULE="$(mktemp --tmpdir logcheck-test.XXXXXXXXXX)" > > I am not well versed in debian development land, would like to ask the > package maintainers whether they are open to making logcheck-test work > on OSX.Sure. Would CLEANRULE="$(mktemp "${TMPDIR:-/tmp}/logcheck-test.XXXXXXXXXX")" work on OSX? Best regards Hannes
Jan-Jaap Driessen
2015-Dec-15 11:06 UTC
[Logcheck-users] logcheck-test incompatibility on OSX
On 10 December 2015 at 19:43, Hannes von Haugwitz <hannes at vonhaugwitz.com> wrote:> Hi, > > On Thu, Dec 10, 2015 at 08:19:57AM +0100, Jan-Jaap Driessen wrote: >> On OSX mktemp does not take the '--tmpdir' argument, which makes the >> logcheck-test command choke: >> >> CLEANRULE="$(mktemp --tmpdir logcheck-test.XXXXXXXXXX)" >> >> I am not well versed in debian development land, would like to ask the >> package maintainers whether they are open to making logcheck-test work >> on OSX. > > Sure. > > Would > > CLEANRULE="$(mktemp "${TMPDIR:-/tmp}/logcheck-test.XXXXXXXXXX")" > > work on OSX?Hi Hannes, Thank you for your time. Using your CLEANRULE definition works like a charm on OSX. Cheers, Jan-Jaap