From 13c126ab91c49bd7ad41b6946de56e5d7b008557 Mon Sep 17 00:00:00 2001 From: David P Date: Tue, 19 Jul 2022 16:20:56 -0400 Subject: addpkg: nonsystemd/firewalld-openrc 20210505-1 Signed-off-by: David P --- nonsystemd/firewalld-openrc/PKGBUILD | 22 ++++++++++++++++++++++ nonsystemd/firewalld-openrc/firewalld.initd | 14 ++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 nonsystemd/firewalld-openrc/PKGBUILD create mode 100644 nonsystemd/firewalld-openrc/firewalld.initd diff --git a/nonsystemd/firewalld-openrc/PKGBUILD b/nonsystemd/firewalld-openrc/PKGBUILD new file mode 100644 index 000000000..0ee6d8f7e --- /dev/null +++ b/nonsystemd/firewalld-openrc/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: David P. +# Maintainer (Artix): Nathan Owens +# Submitter (Artix): alium@artixlinux.org + +pkgname=firewalld-openrc +pkgver=20210505 +pkgrel=1 +pkgdesc="OpenRC firewalld init script" +arch=('any') +url="https://gitea.artixlinux.org/packagesF/firewalld-openrc" +license=('GPL2') +groups=('openrc-galaxy') +provides=('init-firewalld') +conflicts=('init-firewalld') +backup=('etc/conf.d/firewalld') +source=("firewalld.initd") +sha256sums=('53ed08a1e2a45fae27e3dd30022b91f71801092332d158af0467f78723d56fd1') + +package() { + depends=('openrc' 'firewalld') + install -Dm755 "$srcdir/firewalld.initd" "$pkgdir/etc/init.d/firewalld" +} diff --git a/nonsystemd/firewalld-openrc/firewalld.initd b/nonsystemd/firewalld-openrc/firewalld.initd new file mode 100644 index 000000000..0808b88ad --- /dev/null +++ b/nonsystemd/firewalld-openrc/firewalld.initd @@ -0,0 +1,14 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="FirewallD" + +supervisor=supervise-daemon +command=/usr/sbin/firewalld +command_args="--nofork" + +depend() { + need dbus + provide firewall +} -- cgit v1.2.3