added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
From 5aea816f27a71e6c88ad50e7326fa6584eeb7ad9 Mon Sep 17 00:00:00 2001
From: Francois Marier <francois@debian.org>
Date: Fri, 24 Jul 2020 21:22:47 -0700
Subject: [PATCH] Fix compilation with GCC's -fno-common flag (fixes #305)
Upstream-Status: Submitted [https://github.com/mrash/fwknop/pull/319]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
client/log_msg.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/log_msg.h b/client/log_msg.h
index cc17716..3dda161 100644
--- a/client/log_msg.h
+++ b/client/log_msg.h
@@ -38,7 +38,7 @@ enum
LOG_VERBOSITY_INFO, /*!< Constant to define a INFO message */
LOG_VERBOSITY_DEBUG, /*!< Constant to define a DEBUG message */
LOG_LAST_VERBOSITY
-} log_level_t;
+};
#define LOG_DEFAULT_VERBOSITY LOG_VERBOSITY_NORMAL /*!< Default verbosity to use */
--
2.28.0

View File

@@ -0,0 +1,27 @@
From f8f4e1a617c4610ea7dc40a60f1c696ebc37850c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 2 Apr 2023 09:27:42 -0700
Subject: [PATCH] Use pkg-config to find gpgme
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
m4/gpgme.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/m4/gpgme.m4 b/m4/gpgme.m4
index 44bf43c..c9a8ae6 100644
--- a/m4/gpgme.m4
+++ b/m4/gpgme.m4
@@ -18,7 +18,7 @@ AC_DEFUN([_AM_PATH_GPGME_CONFIG],
if test "x$gpgme_config_prefix" != x ; then
GPGME_CONFIG="$gpgme_config_prefix/bin/gpgme-config"
fi
- AC_PATH_PROG(GPGME_CONFIG, gpgme-config, no)
+ GPGME_CONFIG="pkg-config gpgme"
if test "$GPGME_CONFIG" != "no" ; then
gpgme_version=`$GPGME_CONFIG --version`
--
2.40.0

View File

@@ -0,0 +1,29 @@
From fee4cb0ae2d1fcd012cb7f501c3db0d8ec910798 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 2 Apr 2023 10:01:51 -0700
Subject: [PATCH] configure.ac: Fix missing comma in AS_IF
this is flagged with autconf 2.72
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 47a069e..9cdfd3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -744,7 +744,7 @@ dnl
IPFW_EXE=""
IPTABLES_EXE=""
FIREWALLD_EXE=""
- ]
+ ],
]
]
]
--
2.40.0

View File

@@ -0,0 +1,30 @@
SUMMARY = "fwknop - Single Packet Authorization"
HOMEPAGE = "http://www.cipherdyne.org/fwknop/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
"
inherit autotools-brokensep pkgconfig
SRC_URI = "http://www.cipherdyne.org/${BPN}/download/${BPN}-${PV}.tar.bz2 \
file://0001-Fix-compilation-with-GCC-s-fno-common-flag-fixes-305.patch \
file://0001-Use-pkg-config-to-find-gpgme.patch \
file://0001-configure.ac-Fix-missing-comma-in-AS_IF.patch \
"
SRC_URI[sha256sum] = "f6c09bec97ed8e474a98ae14f9f53e1bcdda33393f20667b6af3fb6bb894ca77"
DEPENDS = "libpcap gpgme"
EXTRA_OECONF = " --with-iptables=${sbindir}/iptables"
do_configure:prepend () {
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/config
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/config
}
PACKAGES =+ "${PN}-client ${PN}-daemon"
FILES:${PN}-client = "${bindir}/fwknop"
FILES:${PN}-daemon = "${sbindir}/fwknopd \
${sysconfdir}/fwknop/access.conf \
${sysconfdir}/fwknop/fwknopd.conf"