Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: runit-nftables-20200123
@ 2020-01-23  4:15 voidlinux-github
  2020-01-24 10:46 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2020-01-23  4:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages runit-nftables
https://github.com/void-linux/void-packages/pull/18480

New package: runit-nftables-20200123
This package is analogous to runit-iptables, loading existing rules at /etc/nftables.conf (the file expected by the service installed by the nftables package) on boot.

A patch file from https://github.com/void-linux/void-packages/pull/18480.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-runit-nftables-18480.patch --]
[-- Type: text/x-diff, Size: 1372 bytes --]

From f89596a952b605035bd611e72d7e938cb4b30555 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 22 Jan 2020 23:13:56 -0500
Subject: [PATCH] New package: runit-nftables-20200123

---
 srcpkgs/runit-nftables/files/91-nftables.sh |  3 +++
 srcpkgs/runit-nftables/template             | 14 ++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 srcpkgs/runit-nftables/files/91-nftables.sh
 create mode 100644 srcpkgs/runit-nftables/template

diff --git a/srcpkgs/runit-nftables/files/91-nftables.sh b/srcpkgs/runit-nftables/files/91-nftables.sh
new file mode 100644
index 00000000000..8af4ca96dca
--- /dev/null
+++ b/srcpkgs/runit-nftables/files/91-nftables.sh
@@ -0,0 +1,3 @@
+if [ -e /etc/nftables.conf ]; then
+  nft -f /etc/nftables.conf
+fi
diff --git a/srcpkgs/runit-nftables/template b/srcpkgs/runit-nftables/template
new file mode 100644
index 00000000000..d07cb42cae5
--- /dev/null
+++ b/srcpkgs/runit-nftables/template
@@ -0,0 +1,14 @@
+# Template file for 'runit-nftables'
+pkgname=runit-nftables
+version=20200123
+revision=1
+archs=noarch
+depends="runit-void nftables"
+short_desc="Restore nftables rules on boot"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="Public Domain"
+homepage="https://www.voidlinux.org"
+
+do_install() {
+	vinstall ${FILESDIR}/91-nftables.sh 0644 etc/runit/core-services
+}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: New package: runit-nftables-20200123
  2020-01-23  4:15 [PR PATCH] New package: runit-nftables-20200123 voidlinux-github
@ 2020-01-24 10:46 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2020-01-24 10:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

There's a merged pull request on the void-packages repository

New package: runit-nftables-20200123
https://github.com/void-linux/void-packages/pull/18480

Description:
This package is analogous to runit-iptables, loading existing rules at /etc/nftables.conf (the file expected by the service installed by the nftables package) on boot.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-24 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23  4:15 [PR PATCH] New package: runit-nftables-20200123 voidlinux-github
2020-01-24 10:46 ` [PR PATCH] [Merged]: " voidlinux-github

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).