hermann 0.23.0.261-java → 0.24.0.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19434f0247b122bbee20a57a059241bfa881fbd3
|
4
|
+
data.tar.gz: 400d47b34a071c26220a5ec9000ff53bd63d9c42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cffa05d54e8d6280ce1ca2bf92fad98823bfd6550568e32741b83e8704e4001f8bc616be89e6e9021c83c46d1b231ed58be7cb4c7b42a80773efab53f2549455
|
7
|
+
data.tar.gz: 313d612acc4e30991f305dc69c079293c386e88e060aeacce93e6e023d34f7279ee3cab76215ba71e184a0924f080dfd53fe51a500a28293bfa24eda2aebb77e
|
data/ext/hermann/extconf.rb
CHANGED
@@ -122,10 +122,9 @@ class RdKafkaRecipe < MiniPortile
|
|
122
122
|
end
|
123
123
|
################################################################################
|
124
124
|
|
125
|
-
librdkafka = RdKafkaRecipe.new('librdkafka', '0.8.
|
125
|
+
librdkafka = RdKafkaRecipe.new('librdkafka', '0.8.6')
|
126
126
|
librdkafka.files = ["https://github.com/edenhill/librdkafka/archive/#{librdkafka.version}.tar.gz"]
|
127
|
-
librdkafka.checksum = '
|
128
|
-
librdkafka.patch_files = Dir["#{File.join(BASE_DIR, 'ext', 'patches', 'librdkafka')}/*.patch"]
|
127
|
+
librdkafka.checksum = '1b77543f9be82d3f700c0ef98f494990'
|
129
128
|
checkpoint = ".librdkafka.#{librdkafka.version}.cooked"
|
130
129
|
|
131
130
|
unless File.exists?(checkpoint)
|
data/lib/hermann/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hermann
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- R. Tyler Croy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|
@@ -81,7 +81,6 @@ files:
|
|
81
81
|
- ext/hermann/extconf.rb
|
82
82
|
- ext/hermann/hermann_lib.c
|
83
83
|
- ext/hermann/hermann_lib.h
|
84
|
-
- ext/patches/librdkafka/0006-Update-some-headers-to-include-the-right-headers-to-.patch
|
85
84
|
- lib/hermann.rb
|
86
85
|
- lib/hermann/consumer.rb
|
87
86
|
- lib/hermann/discovery/zookeeper.rb
|
@@ -1,57 +0,0 @@
|
|
1
|
-
From 888ca33b571d99e877d665235b822f7c961c8fdb Mon Sep 17 00:00:00 2001
|
2
|
-
From: "R. Tyler Croy" <tyler@monkeypox.org>
|
3
|
-
Date: Thu, 28 Aug 2014 16:24:04 -0700
|
4
|
-
Subject: [PATCH 6/8] Update some headers to include the right headers to build
|
5
|
-
on FreeBSD
|
6
|
-
|
7
|
-
---
|
8
|
-
src/rd.h | 9 +++++++++
|
9
|
-
src/rdaddr.h | 4 ++++
|
10
|
-
2 files changed, 13 insertions(+)
|
11
|
-
|
12
|
-
diff --git a/src/rd.h b/src/rd.h
|
13
|
-
index c31501e..4789493 100644
|
14
|
-
--- a/src/rd.h
|
15
|
-
+++ b/src/rd.h
|
16
|
-
@@ -37,7 +37,11 @@
|
17
|
-
#include <errno.h>
|
18
|
-
#include <time.h>
|
19
|
-
#include <sys/time.h>
|
20
|
-
+
|
21
|
-
+#ifndef __FreeBSD__
|
22
|
-
+/* alloca(3) is in stdlib on FreeBSD */
|
23
|
-
#include <alloca.h>
|
24
|
-
+#endif
|
25
|
-
#include <assert.h>
|
26
|
-
#include <pthread.h>
|
27
|
-
|
28
|
-
@@ -110,6 +114,11 @@
|
29
|
-
# endif
|
30
|
-
#endif /* sun */
|
31
|
-
|
32
|
-
+#ifdef __FreeBSD__
|
33
|
-
+/* FreeBSD defines be64toh() in sys/endian.h */
|
34
|
-
+#include <sys/endian.h>
|
35
|
-
+#endif
|
36
|
-
+
|
37
|
-
#ifndef be64toh
|
38
|
-
#ifndef __APPLE__
|
39
|
-
#ifndef sun
|
40
|
-
diff --git a/src/rdaddr.h b/src/rdaddr.h
|
41
|
-
index 0b37354..e55bd55 100644
|
42
|
-
--- a/src/rdaddr.h
|
43
|
-
+++ b/src/rdaddr.h
|
44
|
-
@@ -32,6 +32,10 @@
|
45
|
-
#include <arpa/inet.h>
|
46
|
-
#include <netdb.h>
|
47
|
-
|
48
|
-
+#ifdef __FreeBSD__
|
49
|
-
+#include <sys/socket.h>
|
50
|
-
+#endif
|
51
|
-
+
|
52
|
-
/**
|
53
|
-
* rd_sockaddr_inx_t is a union for either ipv4 or ipv6 sockaddrs.
|
54
|
-
* It provides conveniant abstraction of AF_INET* agnostic operations.
|
55
|
-
--
|
56
|
-
1.9.0
|
57
|
-
|