From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: netfilter-devel@vger.kernel.org, matthias.gerstner@suse.com,
kevin@scrye.com, fcolista@alpinelinux.org, seblu@archlinux.org
Subject: Re: [nftables PATCH v2] tools: add a systemd unit for static rulesets
Date: Thu, 20 Mar 2025 01:04:38 +0100 [thread overview]
Message-ID: <Z9tbloqNMyxd4I0F@calendula> (raw)
In-Reply-To: <20250308182250.98098-1-jengelh@inai.de>
Hi Jan,
One more request, see below.
On Sat, Mar 08, 2025 at 07:22:22PM +0100, Jan Engelhardt wrote:
> diff --git a/configure.ac b/configure.ac
> index 80a64813..64a164e5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -114,6 +114,16 @@ AC_CHECK_DECLS([getprotobyname_r, getprotobynumber_r, getservbyport_r], [], [],
> #include <netdb.h>
> ]])
>
> +AC_ARG_WITH([unitdir],
> + [AS_HELP_STRING([--with-unitdir=PATH], [Path to systemd service unit directory])],
> + [unitdir="$withval"],
> + [
> + unitdir=$("$PKG_CONFIG" systemd --variable systemdsystemunitdir 2>/dev/null)
> + AS_IF([test -z "$unitdir"], [unitdir='${prefix}/lib/systemd/system'])
> + ])
> +AC_SUBST([unitdir])
> +
> +
> AC_CONFIG_FILES([ \
> Makefile \
> libnftables.pc \
Update the configuration summary to display this service unit, I mean
this report:
echo "
nft configuration:
cli support: ${with_cli}
enable debugging symbols: ${enable_debug}
use mini-gmp: ${with_mini_gmp}
enable man page: ${enable_man_doc}
libxtables support: ${with_xtables}
json output support: ${with_json}"
Thanks.
prev parent reply other threads:[~2025-03-20 0:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-08 18:22 [nftables PATCH v2] tools: add a systemd unit for static rulesets Jan Engelhardt
2025-03-20 0:04 ` Pablo Neira Ayuso [this message]
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=Z9tbloqNMyxd4I0F@calendula \
--to=pablo@netfilter.org \
--cc=fcolista@alpinelinux.org \
--cc=jengelh@inai.de \
--cc=kevin@scrye.com \
--cc=matthias.gerstner@suse.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=seblu@archlinux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).