Packaging firewalld
Would it be possible to package the popular firewalld ?
At first I thought it might be systemd-dependent, but it doesn't seem like. I'm quite surprised it's not in the repos already.
For reference, here is how Gentoo packages it.
Unfortunately, I don't think I'm familiar enough with Alpine build system to submit such a package.
Edit: I managed to build with this (Work-In-Progress) APKBUILD:
pkgname=firewalld
pkgver=1.2.1
pkgrel=0
pkgdesc="A firewall daemon with D-Bus interface providing a dynamic firewall"
url="https://github.com/firewalld/firewalld"
arch="all"
license="GPL-2.0-or-later"
options="checkroot"
depends="py3-dbus py3-gobject3 py3-nftables !ufw"
makedepends="desktop-file-utils gettext intltool glib glib-dev autoconf automake"
checkdepends="musl-locales"
install=""
subpackages="$pkgname-doc"
source="https://github.com/firewalld/firewalld/archive/v$pkgver/firewalld-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
./autogen.sh
}
build() {
./autogen.sh
./configure
make
}
check() {
make check
}
package() {
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="
db8dc65d5036273e9853eec6c894a81c8859329cd9290a06ec480494c7e2304226b83dc647cedbead4916be41189a296b873fc41850b4fe61dd865e677798b31 firewalld-1.2.1.tar.gz
"
...But almost all the checks fail.
Edited by SecT0uch