pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/yara



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 29 08:35:01 UTC 2022

Modified Files:
        pkgsrc/security/yara: distinfo
        pkgsrc/security/yara/patches: patch-configure.ac

Log Message:
yara: fix build on NetBSD (no proc interface)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/security/yara/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/yara/patches/patch-configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/yara/distinfo
diff -u pkgsrc/security/yara/distinfo:1.18 pkgsrc/security/yara/distinfo:1.19
--- pkgsrc/security/yara/distinfo:1.18  Mon Nov 28 18:57:19 2022
+++ pkgsrc/security/yara/distinfo       Tue Nov 29 08:35:01 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2022/11/28 18:57:19 adam Exp $
+$NetBSD: distinfo,v 1.19 2022/11/29 08:35:01 adam Exp $
 
 BLAKE2s (yara-4.2.3.tar.gz) = fcd5a273fb2f1b7835f9bd80a8963bedf2bc67fa78b971abbcd971571e3fef74
 SHA512 (yara-4.2.3.tar.gz) = 1df23837d14d3f9f72db901190e7412241514a8914d72b753df32ad8a44c7a49ad8f14941a95de83754e4d1dd0f23d712d8e6a43916343341b92cb1bc66f3c09
 Size (yara-4.2.3.tar.gz) = 1288334 bytes
-SHA1 (patch-configure.ac) = 1640083582087e1377d1ee378610e35cd09e08d5
+SHA1 (patch-configure.ac) = 49ad0dddaa2f105a8460304dc163a550d7638b45

Index: pkgsrc/security/yara/patches/patch-configure.ac
diff -u pkgsrc/security/yara/patches/patch-configure.ac:1.1 pkgsrc/security/yara/patches/patch-configure.ac:1.2
--- pkgsrc/security/yara/patches/patch-configure.ac:1.1 Sat Jun  5 02:58:18 2021
+++ pkgsrc/security/yara/patches/patch-configure.ac     Tue Nov 29 08:35:01 2022
@@ -1,10 +1,20 @@
-$NetBSD: patch-configure.ac,v 1.1 2021/06/05 02:58:18 mef Exp $
+$NetBSD: patch-configure.ac,v 1.2 2022/11/29 08:35:01 adam Exp $
 
-ERROR: [check-portability.awk] configure:15604:     if test "x${PROTOC}" == "x"
+NetBSD does not use Linux proc interface.
+Portability fix.
 
---- configure.ac.orig  2021-04-19 22:05:24.000000000 +0900
-+++ configure.ac       2021-06-05 11:54:34.849727053 +0900
-@@ -178,7 +178,7 @@ AC_ARG_ENABLE([pb-tests],
+--- configure.ac.orig  2022-08-08 11:29:28.000000000 +0000
++++ configure.ac
+@@ -54,7 +54,7 @@ case $host_os in
+     mingw*|cygwin*) CFLAGS="$CFLAGS -DUSE_WINDOWS_PROC"
+             proc_interface=windows
+             jemalloc_prefix= ;;
+-    linux*|netbsd*|dragonfly*|kfreebsd*)
++    linux*|dragonfly*|kfreebsd*)
+             CFLAGS="$CFLAGS -DUSE_LINUX_PROC"
+             posix=true
+             proc_interface=linux
+@@ -179,7 +179,7 @@ AC_ARG_ENABLE([pb-tests],
    [if test x$enableval = xyes; then
      build_pb_tests_module=true
      AC_CHECK_PROG(PROTOC, protoc, protoc)



Home | Main Index | Thread Index | Old Index