diff mbox series

[meta-oe,1/2] usbguard: Remove pegtl from DEPENDS

Message ID 20230105170929.12088-1-alex.kiernan@gmail.com
State Under Review
Headers show
Series [meta-oe,1/2] usbguard: Remove pegtl from DEPENDS | expand

Commit Message

Alex Kiernan Jan. 5, 2023, 5:09 p.m. UTC
Using `DEPENDS = "pegtl"` with `--with-bundled-pegtl` doesn't make
sense, so drop the DEPENDS.

Also add github-releases checking for newer versions.

Drop redundant setting of `S` to the default.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---

 meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb b/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb
index 8df78ec81799..2e0934931de2 100644
--- a/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb
+++ b/meta-oe/recipes-security/usbguard/usbguard_1.1.1.bb
@@ -16,11 +16,11 @@  SRC_URI = "https://github.com/USBGuard/usbguard/releases/download/${BPN}-${PV}/$
 
 SRC_URI[sha256sum] = "460ebfb4ffc5609739a202a3a1d9fda1c30de033b634845b8baa136352bfb432"
 
-inherit autotools-brokensep bash-completion pkgconfig systemd
+inherit autotools-brokensep bash-completion pkgconfig systemd github-releases
 
-DEPENDS = "glib-2.0-native libcap-ng libqb libxml2-native libxslt-native pegtl protobuf protobuf-native xmlto-native"
+DEPENDS = "glib-2.0-native libcap-ng libqb libxml2-native libxslt-native protobuf protobuf-native xmlto-native"
 
-S = "${WORKDIR}/${BPN}-${PV}"
+UPSTREAM_CHECK_REGEX = "releases/tag/usbguard-(?P<pver>\d+(\.\d+)+)"
 
 EXTRA_OECONF += "\
     --with-bundled-catch \