postmarketos-base: add nftables as dependency (MR 2060)
This enables the firewall by default, and could be split off into a future ui-base package so that the firewall (among other things) are enabled only when UIs are installed.
This commit is contained in:
parent
c77ef83d0f
commit
a83a0a0726
2 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
pkgname=postmarketos-base
|
pkgname=postmarketos-base
|
||||||
pkgver=11
|
pkgver=11
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Meta package for minimal postmarketOS base"
|
pkgdesc="Meta package for minimal postmarketOS base"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
|
@ -13,6 +13,7 @@ depends="
|
||||||
dnsmasq
|
dnsmasq
|
||||||
eudev
|
eudev
|
||||||
haveged
|
haveged
|
||||||
|
nftables
|
||||||
openssh
|
openssh
|
||||||
postmarketos-mkinitfs
|
postmarketos-mkinitfs
|
||||||
postmarketos-mvcfg
|
postmarketos-mvcfg
|
||||||
|
@ -29,6 +30,7 @@ subpackages="
|
||||||
$pkgname-tinydm
|
$pkgname-tinydm
|
||||||
$pkgname-x11
|
$pkgname-x11
|
||||||
$pkgname-pulseaudio
|
$pkgname-pulseaudio
|
||||||
|
$pkgname-nftables
|
||||||
"
|
"
|
||||||
options="!check"
|
options="!check"
|
||||||
replaces="
|
replaces="
|
||||||
|
@ -136,6 +138,12 @@ pulseaudio() {
|
||||||
amove etc/pulse/daemon.conf.d/90-postmarketos.conf
|
amove etc/pulse/daemon.conf.d/90-postmarketos.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nftables() {
|
||||||
|
install_if="$pkgname=$pkgver-r$pkgrel nftables"
|
||||||
|
depends="postmarketos-config-nftables"
|
||||||
|
mkdir "$subpkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e529f5cef1f31481b577f99b8917704f2cfefb963d98bf40a14b017938e55a00134d2033f81d2cb0b8489c5e9b4a92fdc0a788013f1adb4cd46d9580c9988186 rootfs-etc-sudoers
|
e529f5cef1f31481b577f99b8917704f2cfefb963d98bf40a14b017938e55a00134d2033f81d2cb0b8489c5e9b4a92fdc0a788013f1adb4cd46d9580c9988186 rootfs-etc-sudoers
|
||||||
e5d049db1d82c510bab9246208b51b8ec2711d008d67792fc10d4c0b65ed4dece7b5ae3c3dd28a8539d177b6849c1f921cb9fef3d2c7bee0355451f7b4757ec6 rootfs-etc-chrony-chrony.conf
|
e5d049db1d82c510bab9246208b51b8ec2711d008d67792fc10d4c0b65ed4dece7b5ae3c3dd28a8539d177b6849c1f921cb9fef3d2c7bee0355451f7b4757ec6 rootfs-etc-chrony-chrony.conf
|
||||||
|
|
|
@ -11,7 +11,7 @@ done
|
||||||
for service in hwclock modules sysctl hostname bootmisc syslog; do
|
for service in hwclock modules sysctl hostname bootmisc syslog; do
|
||||||
rc-update -q add $service boot
|
rc-update -q add $service boot
|
||||||
done
|
done
|
||||||
for service in dbus haveged sshd swapfile wpa_supplicant chronyd local rfkill; do
|
for service in dbus haveged sshd swapfile wpa_supplicant chronyd local rfkill nftables; do
|
||||||
rc-update -q add $service default
|
rc-update -q add $service default
|
||||||
done
|
done
|
||||||
for service in mount-ro killprocs savecache; do
|
for service in mount-ro killprocs savecache; do
|
||||||
|
|
Loading…
Reference in a new issue