pbr: add provides: pbr to variants 20166/head
authorStan Grishin <stangri@melmac.ca>
Fri, 23 Dec 2022 23:38:25 +0000 (23:38 +0000)
committerStan Grishin <stangri@melmac.ca>
Fri, 23 Dec 2022 23:38:25 +0000 (23:38 +0000)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
net/pbr/Makefile

index 7ec156ac77c03b36a64eb863acc556eab9579d16..ddcd9e1235b51957843daca7035224d10d29f627 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pbr
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 PKG_LICENSE:=GPL-3.0-or-later
 PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
 
@@ -20,25 +20,27 @@ define Package/pbr/default
   URL:=https://docs.openwrt.melmac.net/pbr/
   DEPENDS:=+ip-full +jshn +jsonfilter +resolveip
   CONFLICTS:=vpnbypass vpn-policy-routing
-  PROVIDES:=vpnbypass vpn-policy-routing
   PKGARCH:=all
 endef
 
 define Package/pbr
 $(call Package/pbr/default)
-       TITLE+= with nft/nft set support
-       DEPENDS+=+firewall4 +kmod-nft-core +kmod-nft-nat +nftables-json
+  TITLE+= with nft/nft set support
+  DEPENDS+=+firewall4 +kmod-nft-core +kmod-nft-nat +nftables-json
+  PROVIDES:=vpnbypass vpn-policy-routing
 endef
 
 define Package/pbr-iptables
 $(call Package/pbr/default)
-       TITLE+= with iptables/ipset support
-       DEPENDS+=+ipset +iptables +kmod-ipt-ipset +iptables-mod-ipopt
+  TITLE+= with iptables/ipset support
+  DEPENDS+=+ipset +iptables +kmod-ipt-ipset +iptables-mod-ipopt
+  PROVIDES:=pbr vpnbypass vpn-policy-routing
 endef
 
 define Package/pbr-netifd
 $(call Package/pbr/default)
-       TITLE+= with netifd support
+  TITLE+= with netifd support
+  PROVIDES:=pbr vpnbypass vpn-policy-routing
 endef
 
 define Package/pbr/description