Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] zeek: update to 4.0.0.
@ 2021-03-03  1:25 abenson
  2021-03-30  3:35 ` [PR PATCH] [Updated] " abenson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: abenson @ 2021-03-03  1:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]

There is a new pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages zeek_4.0.0
https://github.com/void-linux/void-packages/pull/29188

zeek: update to 4.0.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29188.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zeek_4.0.0-29188.patch --]
[-- Type: text/x-diff, Size: 1876 bytes --]

From f7385882bf52604eaf67e1b66f7d8dbe93d797c4 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson@gmail.com>
Date: Tue, 2 Mar 2021 18:24:34 -0700
Subject: [PATCH] zeek: update to 4.0.0.

---
 common/shlibs         | 6 +++---
 srcpkgs/zeek/template | 5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index c836cc1a377..ff42fa819e4 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3492,9 +3492,9 @@ libupstart.so.1 libupstart-1.13.3_1
 librtas.so.2 librtas-2.0.2_1
 librtasevent.so.2 librtas-2.0.2_1
 libbroker.so.2 zeek-3.1.1_1
-libcaf_core.so.0.17.6 zeek-3.2.0_1
-libcaf_io.so.0.17.6 zeek-3.2.0_1
-libcaf_openssl.so.0.17.6 zeek-3.2.0_1
+libcaf_core.so.0.18.0 zeek-4.0.0_1
+libcaf_io.so.0.18.0 zeek-4.0.0_1
+libcaf_openssl.so.0.18.0 zeek-4.0.0_1
 libbinpac.so.0 zeek-3.1.1_1
 libllhttp.so.1 llhttp-1.0.1_1
 libpinyin.so.13 libpinyin-2.2.1_1
diff --git a/srcpkgs/zeek/template b/srcpkgs/zeek/template
index 5212bb2dc4b..d1f336ac18c 100644
--- a/srcpkgs/zeek/template
+++ b/srcpkgs/zeek/template
@@ -1,9 +1,10 @@
 # Template file for 'zeek'
 pkgname=zeek
-version=3.2.4
+version=4.0.0
 revision=1
 archs="x86_64* i686* aarch64* armv7* ppc64*"
 build_style=cmake
+configure_args="-DCMAKE_INSTALL_LIBDIR=lib"
 hostmakedepends="flex pkg-config python3 libpcap-devel libressl-devel
  bind-devel zlib-devel"
 makedepends="bind-devel geoip-devel libpcap-devel libressl-devel zlib-devel"
@@ -12,7 +13,7 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://www.zeek.org"
 distfiles="https://old.zeek.org/downloads/zeek-${version}.tar.gz"
-checksum=d5a984d383c0cc337e18d3d65b969e8566ab8a6fc38e9c6d39ba4a101027be85
+checksum=f2eedab3262eaa3f58a83442b1f38bad35ed72399564917b71bba42266f1ff54
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-fts-devel musl-legacy-compat"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] zeek: update to 4.0.0.
  2021-03-03  1:25 [PR PATCH] zeek: update to 4.0.0 abenson
@ 2021-03-30  3:35 ` abenson
  2021-03-30  4:03 ` abenson
  2021-03-30 22:25 ` [PR PATCH] [Merged]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-03-30  3:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]

There is an updated pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages zeek_4.0.0
https://github.com/void-linux/void-packages/pull/29188

zeek: update to 4.0.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/29188.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zeek_4.0.0-29188.patch --]
[-- Type: text/x-diff, Size: 3104 bytes --]

From 6b4b450d7a93c195e322f9b03b14d0676c3bcce4 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson@gmail.com>
Date: Tue, 2 Mar 2021 18:24:34 -0700
Subject: [PATCH] zeek: update to 4.0.0.

---
 common/shlibs                      |  6 ++---
 srcpkgs/zeek/patches/timeval.patch | 40 ++++++++++++++++++++++++++++++
 srcpkgs/zeek/template              |  8 +++---
 3 files changed, 48 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/zeek/patches/timeval.patch

diff --git a/common/shlibs b/common/shlibs
index 3a2c8d27b3a0..914a2d4a09ef 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3532,9 +3532,9 @@ libupstart.so.1 libupstart-1.13.3_1
 librtas.so.2 librtas-2.0.2_1
 librtasevent.so.2 librtas-2.0.2_1
 libbroker.so.2 zeek-3.2.4_2
-libcaf_core.so.0.17.6 zeek-3.2.4_2
-libcaf_io.so.0.17.6 zeek-3.2.4_2
-libcaf_openssl.so.0.17.6 zeek-3.2.4_2
+libcaf_core.so.0.18.0 zeek-4.0.0_1
+libcaf_io.so.0.18.0 zeek-4.0.0_1
+libcaf_openssl.so.0.18.0 zeek-4.0.0_1
 libbinpac.so.0 zeek-3.2.4_2
 libllhttp.so.1 llhttp-1.0.1_1
 libpinyin.so.13 libpinyin-2.2.1_1
diff --git a/srcpkgs/zeek/patches/timeval.patch b/srcpkgs/zeek/patches/timeval.patch
new file mode 100644
index 000000000000..47f0730becde
--- /dev/null
+++ b/srcpkgs/zeek/patches/timeval.patch
@@ -0,0 +1,40 @@
+--- src/util.h.orig
++++ src/util.h
+@@ -29,6 +29,17 @@
+ #include <vector>
+ #include <memory> // std::unique_ptr
+ 
++#ifdef TIME_WITH_SYS_TIME
++# include <sys/time.h>
++# include <time.h>
++#else
++# ifdef HAVE_SYS_TIME_H
++#  include <sys/time.h>
++# else
++#  include <time.h>
++# endif
++#endif
++
+ #ifdef DEBUG
+ 
+ #include <assert.h>
+--- src/util.cc.orig
++++ src/util.cc
+@@ -5,17 +5,6 @@
+ 
+ #include "zeek/util.h"
+ 
+-#ifdef TIME_WITH_SYS_TIME
+-# include <sys/time.h>
+-# include <time.h>
+-#else
+-# ifdef HAVE_SYS_TIME_H
+-#  include <sys/time.h>
+-# else
+-#  include <time.h>
+-# endif
+-#endif
+-
+ #ifdef HAVE_DARWIN
+ #include <mach/task.h>
+ #include <mach/mach_init.h>
diff --git a/srcpkgs/zeek/template b/srcpkgs/zeek/template
index 408b3fe11407..13625e90c744 100644
--- a/srcpkgs/zeek/template
+++ b/srcpkgs/zeek/template
@@ -1,9 +1,10 @@
 # Template file for 'zeek'
 pkgname=zeek
-version=3.2.4
-revision=2
+version=4.0.0
+revision=1
 archs="x86_64* i686* aarch64* armv7* ppc64*"
 build_style=cmake
+configure_args="-DCMAKE_INSTALL_LIBDIR=lib"
 hostmakedepends="flex pkg-config python3 libpcap-devel openssl-devel
  bind-devel zlib-devel"
 makedepends="bind-devel geoip-devel libpcap-devel openssl-devel zlib-devel"
@@ -12,7 +13,7 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://www.zeek.org"
 distfiles="https://old.zeek.org/downloads/zeek-${version}.tar.gz"
-checksum=d5a984d383c0cc337e18d3d65b969e8566ab8a6fc38e9c6d39ba4a101027be85
+checksum=f2eedab3262eaa3f58a83442b1f38bad35ed72399564917b71bba42266f1ff54
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
 	makedepends+=" musl-fts-devel musl-legacy-compat"
@@ -61,6 +62,7 @@ zeek-devel_package() {
 		vmove "usr/lib/*.a"
 		vmove "usr/lib/*.so"
 		vmove usr/share/zeek/cmake
+		vmove usr/lib/cmake
 	}
 }
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zeek: update to 4.0.0.
  2021-03-03  1:25 [PR PATCH] zeek: update to 4.0.0 abenson
  2021-03-30  3:35 ` [PR PATCH] [Updated] " abenson
@ 2021-03-30  4:03 ` abenson
  2021-03-30 22:25 ` [PR PATCH] [Merged]: " abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-03-30  4:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/29188#issuecomment-809889478

Comment:
Hopefully upstreaming the patch [here](https://github.com/zeek/zeek/pull/1469).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: zeek: update to 4.0.0.
  2021-03-03  1:25 [PR PATCH] zeek: update to 4.0.0 abenson
  2021-03-30  3:35 ` [PR PATCH] [Updated] " abenson
  2021-03-30  4:03 ` abenson
@ 2021-03-30 22:25 ` abenson
  2 siblings, 0 replies; 4+ messages in thread
From: abenson @ 2021-03-30 22:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

There's a merged pull request on the void-packages repository

zeek: update to 4.0.0.
https://github.com/void-linux/void-packages/pull/29188

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [X] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-30 22:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  1:25 [PR PATCH] zeek: update to 4.0.0 abenson
2021-03-30  3:35 ` [PR PATCH] [Updated] " abenson
2021-03-30  4:03 ` abenson
2021-03-30 22:25 ` [PR PATCH] [Merged]: " abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).