diff options
author | David P <megver83@parabola.nu> | 2022-07-19 16:20:56 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2022-07-19 16:20:56 -0400 |
commit | 13c126ab91c49bd7ad41b6946de56e5d7b008557 (patch) | |
tree | 6856ec691417cf9f2b71ac1dd8f1c07a041d0544 /nonsystemd | |
parent | 4684549f124a3409620fe19b5ee214b6c85d138a (diff) | |
download | abslibre-13c126ab91c49bd7ad41b6946de56e5d7b008557.tar.gz abslibre-13c126ab91c49bd7ad41b6946de56e5d7b008557.tar.bz2 abslibre-13c126ab91c49bd7ad41b6946de56e5d7b008557.zip |
addpkg: nonsystemd/firewalld-openrc 20210505-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd')
-rw-r--r-- | nonsystemd/firewalld-openrc/PKGBUILD | 22 | ||||
-rw-r--r-- | nonsystemd/firewalld-openrc/firewalld.initd | 14 |
2 files changed, 36 insertions, 0 deletions
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. <megver83@parabola.nu> +# Maintainer (Artix): Nathan Owens <ndowens @ artixlinux.org> +# 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 +} |