All of lore.kernel.org
 help / color / mirror / Atom feed
From: martinbarrowcliff <martinbarrowcliff@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: xtables addons; mktemp
Date: Fri, 02 Jul 2010 21:59:00 -0400	[thread overview]
Message-ID: <4C2E9964.5030002@gmail.com> (raw)

This is a small but annoying issue.
With my embedded firewall system the busybox mktemp function
fails due to unsupported flags, so the xtables-addons build fails
on the native toolchain. This can be fixed.
I hacked the code to make it work properly however I won't send
a patch because it is a amateur hack, and not a proper fix.
I think this issue should be considered, because so many appliances
do use busybox and some may even have a working toolchain...

make[1]: Leaving directory 
`/usr/src/source/build/firewall/xtables-addons-1.27/extensions'
mktemp: invalid option -- u
BusyBox v1.16.2 (2010-06-30 20:04:07 EDT) multi-call binary.

Usage: mktemp [-dt] [-p DIR] [TEMPLATE]

Create a temporary file with name based on TEMPLATE and print its name.
TEMPLATE must end with XXXXXX (e.g. [/dir/]nameXXXXXX).

Options:
        -d      Make a directory instead of a file
        -t      Generate a path rooted in temporary directory
        -p DIR  Use DIR as a temporary directory (implies -t)

For -t or -p, directory is chosen as follows:
$TMPDIR if set, else -p DIR, else /tmp

Thanks much,

Marty B.




             reply	other threads:[~2010-07-03  1:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-03  1:59 martinbarrowcliff [this message]
2010-07-03  6:30 ` xtables addons; mktemp Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2E9964.5030002@gmail.com \
    --to=martinbarrowcliff@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.