From cc0f235f88daac7b7ed214b6d9a76a66776779ae Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Fri, 19 Jul 2024 22:21:49 -0700 Subject: [PATCH] main/postmarketos-config-nftables: drop openrc subpkg (MR 5364) The nftables service should be enabled by pmos-base instead --- main/postmarketos-config-nftables/APKBUILD | 11 +---------- .../postmarketos-config-nftables-openrc.post-install | 3 --- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 main/postmarketos-config-nftables/postmarketos-config-nftables-openrc.post-install diff --git a/main/postmarketos-config-nftables/APKBUILD b/main/postmarketos-config-nftables/APKBUILD index 87cb7b272..6c8812f1b 100644 --- a/main/postmarketos-config-nftables/APKBUILD +++ b/main/postmarketos-config-nftables/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Clayton Craft pkgname=postmarketos-config-nftables pkgver=0.16 -pkgrel=1 +pkgrel=2 pkgdesc="nftables firewall configuration for postmarketOS" url="https://gitlab.com/postmarketos" arch="noarch" @@ -18,7 +18,6 @@ subpackages=" $pkgname-vlc-chromecast:vlc_chromecast $pkgname-vncserver:vncserver $pkgname-wifi-display:wifi_display - $pkgname-openrc " source=" rules/00_log_all.nft @@ -47,14 +46,6 @@ package() { done } -openrc() { - install_if="$pkgname=$pkgver-r$pkgrel openrc" - install="$subpkgname.post-install" - depends="nftables-openrc" - - mkdir -p "$subpkgdir" -} - openusb() { depends="$pkgname" description="Adds a rule to accept all incoming connections to the usb* interface" diff --git a/main/postmarketos-config-nftables/postmarketos-config-nftables-openrc.post-install b/main/postmarketos-config-nftables/postmarketos-config-nftables-openrc.post-install deleted file mode 100644 index 9c6afeb4b..000000000 --- a/main/postmarketos-config-nftables/postmarketos-config-nftables-openrc.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -rc-update add nftables default