pbr: add provides: pbr to variants

Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
Stan Grishin 2022-12-23 23:38:25 +00:00
parent 2f3b939497
commit f1c8f1423b

View file

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