Skip to contentSkip to conversation

suricata: update to 6.0.10

PATCH New Armin Kuster 1 participant 4 messages Mar 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 suricata: update to 6.0.10

fixup another python file to use py3

---
 recipes-ids/suricata/{suricata_6.0.6.bb => suricata_6.0.10.bb} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename recipes-ids/suricata/{suricata_6.0.6.bb => suricata_6.0.10.bb} (97%)
recipes-ids/suricata/suricata_6.0.10.bb renamed from recipes-ids/suricata/suricata_6.0.6.bb +2 -1
similarity index 97%
rename from recipes-ids/suricata/suricata_6.0.6.bb
rename to recipes-ids/suricata/suricata_6.0.10.bb
index ce9aca8..0422ead 100644
@@ -5,7 +5,7 @@ require suricata.inc
 LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=2;md5=c70d8d3310941dcdfcd1e02800a1f548"
 
 SRC_URI = "http://www.openinfosecfoundation.org/download/suricata-${PV}.tar.gz"
-SRC_URI[sha256sum] = "00173634fa76aee636e38a90b1c02616c903e42173107d47b4114960b5fbe839"
+SRC_URI[sha256sum] = "59bfd1bf5d9c1596226fa4815bf76643ce59698866c107a26269c481f125c4d7"
 
 DEPENDS = "lz4 libhtp"
 
@@ -190,6 +190,7 @@ do_install () {
 
     sed -i -e "s:#!.*$:#!${USRBINPATH}/env ${PYTHON_PN}:g" ${D}${bindir}/suricatasc
     sed -i -e "s:#!.*$:#!${USRBINPATH}/env ${PYTHON_PN}:g" ${D}${bindir}/suricatactl
+    sed -i -e "s:#!.*$:#!${USRBINPATH}/env ${PYTHON_PN}:g" ${D}${libdir}/suricata/python/suricata/sc/suricatasc.py
 }
 
 pkg_postinst_ontarget:${PN} () {
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/4 apparmor: update to 3.1.3

drop debian patch as the file was dropped upstream.

---
 .../{apparmor_3.0.7.bb => apparmor_3.1.3.bb}  |  7 +--
 ...pparmor.debian-add-missing-functions.patch | 57 -------------------
 2 files changed, 3 insertions(+), 61 deletions(-)
 rename recipes-mac/AppArmor/{apparmor_3.0.7.bb => apparmor_3.1.3.bb} (96%)
 delete mode 100644 recipes-mac/AppArmor/files/0001-rc.apparmor.debian-add-missing-functions.patch
recipes-mac/AppArmor/apparmor_3.1.3.bb renamed from recipes-mac/AppArmor/apparmor_3.0.7.bb +3 -4
similarity index 96%
rename from recipes-mac/AppArmor/apparmor_3.0.7.bb
rename to recipes-mac/AppArmor/apparmor_3.1.3.bb
index e7d677e..fd649e4 100644
@@ -14,15 +14,14 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=fd57a4b0bc782d7b80fd431f10bbf9d0"
 DEPENDS = "bison-native apr gettext-native coreutils-native swig-native"
 
 SRC_URI = " \
-    git://gitlab.com/apparmor/apparmor.git;protocol=https;branch=apparmor-3.0 \
+    git://gitlab.com/apparmor/apparmor.git;protocol=https;branch=apparmor-3.1 \
     file://run-ptest \
     file://crosscompile_perl_bindings.patch \
     file://0001-Makefile.am-suppress-perllocal.pod.patch \
     file://0001-Makefile-fix-hardcoded-installation-directories.patch \
-    file://0001-rc.apparmor.debian-add-missing-functions.patch \
     "
 
-SRCREV = "0ead606d9e608801f45e13a34358036135470729"
+SRCREV = "e69cb5047946818e6a9df326851483bb075a5cfe"
 S = "${WORKDIR}/git"
 
 PARALLEL_MAKE = ""
@@ -95,7 +94,7 @@ do_install () {
 
     if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
         install -d ${D}${sysconfdir}/init.d
-        install -m 755 ${B}/parser/rc.apparmor.debian ${D}${sysconfdir}/init.d/apparmor
+        install -m 755 ${B}/parser/rc.apparmor.functions ${D}${sysconfdir}/init.d/apparmor
     fi
 
     if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
recipes-mac/AppArmor/files/0001-rc.apparmor.debian-add-missing-functions.patch deleted +0 -57

57 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/4 krill: update 0.12.3

In reply to Armin Kuster

refresh patch

---
 .../krill/files/panic_workaround.patch        |   4 +-
 recipes-security/krill/krill.inc              | 247 ++++++++++--------
 .../krill/{krill_0.9.6.bb => krill_0.12.3.bb} |   2 +-
 3 files changed, 146 insertions(+), 107 deletions(-)
 rename recipes-security/krill/{krill_0.9.6.bb => krill_0.12.3.bb} (95%)
recipes-security/krill/files/panic_workaround.patch +2 -2
index 9b08cb5..dc26416 100644
@@ -5,7 +5,7 @@ Index: git/Cargo.toml
 ===================================================================
 --- git.orig/Cargo.toml
 +++ git/Cargo.toml
-@@ -71,7 +71,7 @@ static-openssl = [ "openssl/vendored" ]
+@@ -91,7 +91,7 @@ hsm-tests-pkcs11 = [ "hsm" ]
  # Make sure that Krill crashes on panics, rather than losing threads and
  # limping on in a bad state.
  [profile.release]
@@ -13,4 +13,4 @@ Index: git/Cargo.toml
 +#panic = "abort"
  
  [dev-dependencies]
- # for user management
+ regex     = "1.5.5"
recipes-security/krill/krill.inc +143 -104

373 lines not on this page · raw message

recipes-security/krill/krill_0.12.3.bb renamed from recipes-security/krill/krill_0.9.6.bb +1 -1
similarity index 95%
rename from recipes-security/krill/krill_0.9.6.bb
rename to recipes-security/krill/krill_0.12.3.bb
index fd86c4b..a943c52 100644
@@ -7,7 +7,7 @@ DEPENDS = "openssl"
 
 # SRC_URI += "crate://crates.io/krill/0.9.1"
 SRC_URI = "git://github.com/NLnetLabs/krill.git;protocol=https;branch=main"
-SRCREV = "95e6681d5b4024cac7a1892d47fb76abc68f34fb"
+SRCREV = "e92098419c7ad82939e0483bc76df21eff705b80"
 SRC_URI += "file://panic_workaround.patch"
 
 include krill.inc
Signature · 1 line
2.25.1
#3 lore raw

PATCH 4/4 cryptmout: update to 6.2.0

In reply to Armin Kuster

Change LIC_FILES_CHKSUM to use COPYING

---
 .../cryptmount/{cryptmount_6.0.bb => cryptmount_6.2.0.bb} | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
 rename recipes-security/cryptmount/{cryptmount_6.0.bb => cryptmount_6.2.0.bb} (83%)
recipes-security/cryptmount/cryptmount_6.2.0.bb renamed from recipes-security/cryptmount/cryptmount_6.0.bb +3 -5
similarity index 83%
rename from recipes-security/cryptmount/cryptmount_6.0.bb
rename to recipes-security/cryptmount/cryptmount_6.2.0.bb
index d712a61..d815e1d 100644
@@ -1,12 +1,10 @@
 SUMMARY = "Linux encrypted filesystem management tool"
 HOMEPAGE = "http://cryptmount.sourceforge.net/"
-LIC_FILES_CHKSUM = "file://README;beginline=3;endline=4;md5=dae0772f0ff46fd927e7fdb08af51b71"
+LIC_FILES_CHKSUM = "file://COPYING;beginline=1;endline=4;md5=6e69c425bf32ecf9b1e11d29d146d03d"
 LICENSE = "GPL-2.0-only"
+SRC_URI = "https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-6.2/${BPN}-${PV}.tar.gz"
 
-SRC_URI = "https://sourceforge.net/projects/cryptmount/files/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
-           "
-
-SRC_URI[sha256sum] = "86528a9175e1eb53f60613e3c3ea6ae6d69dbfe5ac2b53b2f58ba0f768371e7e"
+SRC_URI[sha256sum] = "90cc49fd598d636929c70479b1305f12b011edadf4a54578ace6c0fca8cb5ed2"
 
 inherit autotools-brokensep gettext pkgconfig systemd
 
Signature · 1 line
2.25.1