Skip to contentSkip to conversation

eventlog: update SRC_URI to fetch from git

PATCH New Andre McCurdy 1 participant 1 message Aug 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eventlog: update SRC_URI to fetch from git

The tar file releases don't seem to be available any more so switch to building from the github git repo instead.

Take the current master branch, which is based on the 0.2.13 release but with three minor updates / fixes, so include them too:

a5c1916 evttags: improve handling of NULL arguments to evt_tag_str b34e3d2 configure.in: fixed a compilation problem on Windows 649eabd evtstr: readd the escaping of the CR and LF characters

Also drop unnecessary "inherit pkgconfig".

---
 meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb +6 -4
index 13eb794..85e29b0 100644
@@ -13,9 +13,11 @@ DESCRIPTION = "The EventLog library aims to be a replacement of the \
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b8ba8e77bcda9a53fac0fe39fe957767"
 
-SRC_URI = "https://www.balabit.com/downloads/syslog-ng/open-source-edition/3.4.2/source/${BPN}_${PV}.tar.gz"
+PV = "0.2.13+git${SRCPV}"
+SRCREV = "a5c19163ba131f79452c6dfe4e31c2b4ce4be741"
 
-inherit autotools pkgconfig
+SRC_URI = "git://github.com/balabit/eventlog;protocol=https"
 
-SRC_URI[md5sum] = "68ec8d1ea3b98fa35002bb756227c315"
-SRC_URI[sha256sum] = "7cb4e6f316daede4fa54547371d5c986395177c12dbdec74a66298e684ac8b85"
+S = "${WORKDIR}/git"
+
+inherit autotools
Signature · 1 line
1.9.1