diff options
Diffstat (limited to 'meta-security/recipes-scanners')
5 files changed, 2 insertions, 238 deletions
diff --git a/meta-security/recipes-scanners/arpwatch/arpwatch_3.3.bb b/meta-security/recipes-scanners/arpwatch/arpwatch_3.3.bb index 8efb339750..4b4d476b07 100644 --- a/meta-security/recipes-scanners/arpwatch/arpwatch_3.3.bb +++ b/meta-security/recipes-scanners/arpwatch/arpwatch_3.3.bb @@ -82,6 +82,6 @@ FILES:${PN} = "${bindir} ${sbindir} ${prefix}/etc/rc.d \ COMPATIBLE_HOST:riscv32 = "null" COMPATIBLE_HOST:riscv64 = "null" -OMPATIBLE_HOST:libc-musl = "null" +COMPATIBLE_HOST:libc-musl = "null" RDEPENDS:${PN} = "libpcap" diff --git a/meta-security/recipes-scanners/arpwatch/files/postfix_workaround.patch b/meta-security/recipes-scanners/arpwatch/files/postfix_workaround.patch deleted file mode 100644 index 95213f2bd2..0000000000 --- a/meta-security/recipes-scanners/arpwatch/files/postfix_workaround.patch +++ /dev/null @@ -1,91 +0,0 @@ -Sendmail exists after the system boots. We are using postfix -so no need to check if it exists. - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Armin Kuster <akuster808@gmail.com> - -Index: arpwatch-3.0/configure -=================================================================== ---- arpwatch-3.0.orig/configure -+++ arpwatch-3.0/configure -@@ -636,7 +636,6 @@ LBL_LIBS - HAVE_FREEBSD_TRUE - HAVE_FREEBSD_FALSE - PYTHON --V_SENDMAIL - LIBOBJS - INSTALL_DATA - INSTALL_SCRIPT -@@ -5573,53 +5572,6 @@ fi - done - - --# Extract the first word of "sendmail", so it can be a program name with args. --set dummy sendmail; ac_word=$2 --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 --$as_echo_n "checking for $ac_word... " >&6; } --if ${ac_cv_path_V_SENDMAIL+:} false; then : -- $as_echo_n "(cached) " >&6 --else -- case $V_SENDMAIL in -- [\\/]* | ?:[\\/]*) -- ac_cv_path_V_SENDMAIL="$V_SENDMAIL" # Let the user override the test with a path. -- ;; -- *) -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR --as_dummy="$PATH:/usr/sbin:/usr/lib:/usr/bin:/usr/ucblib:/usr/local/etc" --for as_dir in $as_dummy --do -- IFS=$as_save_IFS -- test -z "$as_dir" && as_dir=. -- for ac_exec_ext in '' $ac_executable_extensions; do -- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -- ac_cv_path_V_SENDMAIL="$as_dir/$ac_word$ac_exec_ext" -- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -- break 2 -- fi --done -- done --IFS=$as_save_IFS -- -- ;; --esac --fi --V_SENDMAIL=$ac_cv_path_V_SENDMAIL --if test -n "$V_SENDMAIL"; then -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $V_SENDMAIL" >&5 --$as_echo "$V_SENDMAIL" >&6; } --else -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 --$as_echo "no" >&6; } --fi -- -- -- --if test -z "${V_SENDMAIL}" ; then -- as_fn_error $? "Can't find sendmail" "$LINENO" 5 --fi -- -- - python=${PYTHON:-python} - # Extract the first word of "${python}", so it can be a program name with args. - set dummy ${python}; ac_word=$2 -Index: arpwatch-3.0/configure.in -=================================================================== ---- arpwatch-3.0.orig/configure.in -+++ arpwatch-3.0/configure.in -@@ -76,13 +76,6 @@ AC_LBL_UNION_WAIT - AC_CHECK_LIB(resolv, res_query) - AC_LBL_LIBPCAP(V_PCAPDEP, V_INCLS) - --AC_PATH_PROG(V_SENDMAIL, sendmail,, -- $PATH:/usr/sbin:/usr/lib:/usr/bin:/usr/ucblib:/usr/local/etc) -- --if test -z "${V_SENDMAIL}" ; then -- AC_MSG_ERROR([Can't find sendmail]) --fi -- - dnl AC_LBL_CHECK_TYPE(int32_t, int) - dnl AC_LBL_CHECK_TYPE(u_int32_t, u_int) - diff --git a/meta-security/recipes-scanners/buck-security/buck-security_0.7.bb b/meta-security/recipes-scanners/buck-security/buck-security_0.7.bb index 881c2a3948..85884a770c 100644 --- a/meta-security/recipes-scanners/buck-security/buck-security_0.7.bb +++ b/meta-security/recipes-scanners/buck-security/buck-security_0.7.bb @@ -33,6 +33,7 @@ RDEPENDS:${PN} = "coreutils gnupg net-tools perl perl-module-data-dumper \ perl-module-lib perl-module-posix perl-module-term-ansicolor \ perl-module-time-localtime pinentry perl-module-pod-usage \ perl-module-pod-text perl-module-file-glob \ + perl-module-cwd perl-module-encode perl-module-encode-encoding \ " RDEPENDS:${PN}:class-native = "coreutils net-tools perl perl-module-data-dumper \ diff --git a/meta-security/recipes-scanners/clamav/files/fix2_libcurl_check.patch b/meta-security/recipes-scanners/clamav/files/fix2_libcurl_check.patch deleted file mode 100644 index 46406e9d0b..0000000000 --- a/meta-security/recipes-scanners/clamav/files/fix2_libcurl_check.patch +++ /dev/null @@ -1,122 +0,0 @@ -clamav .102.2 tries to find clamav using culf_config. Use EO pkg_config instead - -Upstream-Status: OE specific -Signed-off-by: Armin Kuster <akuster808@gmail.com> - -Index: git/configure -=================================================================== ---- git.orig/configure -+++ git/configure -@@ -28850,39 +28850,14 @@ $as_echo_n "checking for libcurl install - if test "${with_libcurl+set}" = set; then : - withval=$with_libcurl; - find_curl="no" --if test "X$withval" = "Xyes"; then -- find_curl="yes" --else -- if test "X$withval" != "Xno"; then -- if test -f "${withval}/bin/curl-config"; then -- LIBCURL_HOME="$withval" -- have_curl="yes" -- fi -- fi --fi -- --else -- find_curl="yes" --fi -- -- --if test "X$find_curl" = "Xyes"; then -- for p in /usr/local /usr ; do -- if test -f "${p}/bin/curl-config"; then -- LIBCURL_HOME=$p -- have_curl="yes" -- fi -- done --fi -- --if test "X$have_curl" = "Xyes"; then -- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCURL_HOME" >&5 --$as_echo "$LIBCURL_HOME" >&6; } -- if test -f "$LIBCURL_HOME/bin/curl-config"; then -+ #save_LDFLAGS="$LDFLAGS" -+ if test "X$withval" != "Xno"; then -+ LIBCURL_HOME="$withval" -+ if test "${PKG_CONFIG} libcurl --exists"; then - CURL_LDFLAGS="$LDFLAGS" -- CURL_LIBS=$($LIBCURL_HOME/bin/curl-config --libs) -- CURL_CPPFLAGS=$($LIBCURL_HOME/bin/curl-config --cflags) -- else -+ CURL_LIBS=$($PKG_CONFIG libcurl --libs) -+ CURL_CPPFLAGS=$($PKG_CONFIG libcurl --cflags) -+ else - if test "$LIBCURL_HOME" != "/usr"; then - CURL_LDFLAGS="-L$LIBCURL_HOME/lib" - CURL_CPPFLAGS="-I$LIBCURL_HOME/include" -@@ -28891,60 +28866,12 @@ $as_echo "$LIBCURL_HOME" >&6; } - CURL_CPPFLAGS="" - fi - CURL_LIBS="-lcurl" -- fi -- save_LDFLAGS="$LDFLAGS" -- LDFLAGS="$CURL_LDFLAGS $CURL_LIBS" -- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_init in -lcurl" >&5 --$as_echo_n "checking for curl_easy_init in -lcurl... " >&6; } --if ${ac_cv_lib_curl_curl_easy_init+:} false; then : -- $as_echo_n "(cached) " >&6 --else -- ac_check_lib_save_LIBS=$LIBS --LIBS="-lcurl $CURL_LIBS -- $LIBS" --cat confdefs.h - <<_ACEOF >conftest.$ac_ext --/* end confdefs.h. */ -- --/* Override any GCC internal prototype to avoid an error. -- Use char because int might match the return type of a GCC -- builtin and then its argument prototype would still apply. */ --#ifdef __cplusplus --extern "C" --#endif --char curl_easy_init (); --int --main () --{ --return curl_easy_init (); -- ; -- return 0; --} --_ACEOF --if ac_fn_c_try_link "$LINENO"; then : -- ac_cv_lib_curl_curl_easy_init=yes --else -- ac_cv_lib_curl_curl_easy_init=no --fi --rm -f core conftest.err conftest.$ac_objext \ -- conftest$ac_exeext conftest.$ac_ext --LIBS=$ac_check_lib_save_LIBS --fi --{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_easy_init" >&5 --$as_echo "$ac_cv_lib_curl_curl_easy_init" >&6; } --if test "x$ac_cv_lib_curl_curl_easy_init" = xyes; then : -- -- curl_msg=""; -- have_curl="yes"; -- CLAMSUBMIT_LIBS="$CLAMSUBMIT_LIBS $CURL_LDFLAGS $CURL_LIBS"; -- CLAMSUBMIT_CFLAGS="$CLAMSUBMIT_CFLAGS $CURL_CPPFLAGS"; -- FRESHCLAM_LIBS="$FRESHCLAM_LIBS $CURL_LDFLAGS $CURL_LIBS"; -- FRESHCLAM_CPPFLAGS="$FRESHCLAM_CPPFLAGS $CURL_CPPFLAGS" -- --else -- -- as_fn_error $? "Your libcurl is misconfigured. libcurl (e.g. libcurl-devel) is required in order to build freshclam and clamsubmit." "$LINENO" 5 -+ fi - --fi -+ have_curl="yes" -+ LDFLAGS="$save_LDFLAGS" -+ LDFLAGS="$CURL_LDFLAGS $CURL_LIBS" -+ fi - - LDFLAGS="$save_LDFLAGS" - else diff --git a/meta-security/recipes-scanners/clamav/files/test.patch b/meta-security/recipes-scanners/clamav/files/test.patch deleted file mode 100644 index a22b45def8..0000000000 --- a/meta-security/recipes-scanners/clamav/files/test.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: clamav-0.103.0/Makefile.am -=================================================================== ---- clamav-0.103.0.orig/Makefile.am -+++ clamav-0.103.0/Makefile.am -@@ -28,7 +28,6 @@ else - SUBDIRS = libltdl libclamav shared libfreshclam clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests - EXTRA_DIST = examples shared libclamav.pc.in COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.llvm COPYING.file COPYING.zlib COPYING.getopt COPYING.regex COPYING.YARA COPYING.pcre platform.h.in libclamunrar libclamunrar_iface libclammspack clamdscan/clamdscan.map win32 ChangeLog.md INSTALL.cmake.md INSTALL.autotools.md NEWS.md README.md cmake CMakeLists.txt CMakeOptions.cmake $(top_srcdir)/**/CMakeLists.txt libclammspack/config.h.in.cmake clamav-config.h.cmake.in target.h.cmake.in autogen.sh - --bin_SCRIPTS=clamav-config - - if BUILD_CLAMONACC - SUBDIRS += clamonacc -Index: clamav-0.103.0/Makefile.in -=================================================================== ---- clamav-0.103.0.orig/Makefile.in -+++ clamav-0.103.0/Makefile.in -@@ -641,7 +641,6 @@ ACLOCAL_AMFLAGS = -I m4 - @BUILD_LIBCLAMAV_ONLY_TRUE@SUBDIRS = libclamav $(am__append_1) \ - @BUILD_LIBCLAMAV_ONLY_TRUE@ $(am__append_2) $(am__append_3) - @BUILD_LIBCLAMAV_ONLY_FALSE@bin_SCRIPTS = clamav-config --@BUILD_LIBCLAMAV_ONLY_TRUE@bin_SCRIPTS = clamav-config - @BUILD_LIBCLAMAV_ONLY_FALSE@EXTRA_DIST = examples shared libclamav.pc.in COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.llvm COPYING.file COPYING.zlib COPYING.getopt COPYING.regex COPYING.YARA COPYING.pcre platform.h.in libclamunrar libclamunrar_iface libclammspack clamdscan/clamdscan.map win32 ChangeLog.md INSTALL.cmake.md INSTALL.autotools.md NEWS.md README.md cmake CMakeLists.txt CMakeOptions.cmake $(top_srcdir)/**/CMakeLists.txt libclammspack/config.h.in.cmake clamav-config.h.cmake.in target.h.cmake.in autogen.sh - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = libclamav.pc |