Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
37e6fe10
Commit
37e6fe10
authored
Nov 30, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version 4.3.0, builds packages for Varnish 6.0.
parent
87cbdaa5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
10 deletions
+41
-10
README.rst
README.rst
+11
-2
configure.ac
configure.ac
+2
-2
pkg
pkg/rpm/pkg
+3
-3
trackrdrd.spec
pkg/rpm/trackrdrd.spec
+3
-3
varnishcache_varnish60.repo
pkg/rpm/varnishcache_varnish60.repo
+22
-0
No files found.
README.rst
View file @
37e6fe10
...
...
@@ -9,7 +9,7 @@ Tracking Log Reader demon
-------------------------
:Author: Geoffrey Simmons
:Date: 201
7-11-19
:Date: 201
8-11-30
:Version: trunk
:Manual section: 1
...
...
@@ -211,9 +211,18 @@ REQUIREMENTS
=============
This version of the tracking reader is compatible with Varnish since
version
5.2
. See the source repository for versions that are
version
6.0
. See the source repository for versions that are
compatible with other versions of Varnish.
Due to a `bug
<https://github.com/varnishcache/varnish-cache/issues/2790>`_ in
Varnish 6.1.0, when the tracking reader is built against that version,
it is unable to read binary log files (using the ``-f`` option) that
were written by earlier versions of Varnish. This causes errors in
development self-tests (``make check``), because the tests read from
binary log files and check the results against expected outputs. The
bug was fixed in version 6.1.1.
The messaging plugin for Kafka (``libtrackrdr-kafka``) requires
libraries for Kafka (``librdkafka``) and the multi-threaded libary for
Zookeeper (``libzookeeper_mt``)::
...
...
configure.ac
View file @
37e6fe10
AC_PREREQ(2.63)
AC_COPYRIGHT([Copyright (c) 2012-2017 Otto Gmbh & Co KG])
AC_INIT([trackrdrd], [
trunk
])
AC_INIT([trackrdrd], [
4.3.0
])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/trackrdrd.c)
AM_CONFIG_HEADER(config.h)
...
...
@@ -44,7 +44,7 @@ PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([VARNISH], [varnishapi],
[ac_varnish_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir varnishapi`],
[AC_MSG_ERROR([Varnish trunk or
5.2
or later is required])])
[AC_MSG_ERROR([Varnish trunk or
6.0
or later is required])])
if test "x$ac_varnish_pkgdatadir" = x; then
AC_MSG_ERROR([couldn't get Varnish data dir from pkg-config])
fi
...
...
pkg/rpm/pkg
View file @
37e6fe10
...
...
@@ -12,7 +12,7 @@
# - RPM spec file (trackrdrd.spec)
# - systemd unit file (trackrdrd.service)
# - logrotate config for the Kafka plugin (trackrdr-kafka.logrotate)
# - yum repo config for varnish
5@packagecloud (varnishcache_varnish5
.repo)
# - yum repo config for varnish
60@packagecloud (varnishcache_varnish60
.repo)
# (see https://packagecloud.io/varnishcache/varnish5/install#manual-rpm)
# At the end of the run, binary, source and debuginfo RPMs are in the
...
...
@@ -47,9 +47,9 @@ sudo rpm -Uvh \
sudo
yum
install
-y
-q
https://archive.cloudera.com/cdh5/one-click-install/redhat/7/x86_64/cloudera-cdh-5-0.x86_64.rpm
# set up varnish repo
sudo cp
/srv/varnishcache_varnish
5
.repo /etc/yum.repos.d/
sudo cp
/srv/varnishcache_varnish
60
.repo /etc/yum.repos.d/
sudo
yum
-q
makecache
-y
--disablerepo
=
'*'
--enablerepo
=
'varnishcache_varnish
5
'
sudo
yum
-q
makecache
-y
--disablerepo
=
'*'
--enablerepo
=
'varnishcache_varnish
60
'
# build requirements
sudo
yum
install
-y
-q
varnish-devel pkgconfig make gcc librdkafka-devel
\
...
...
pkg/rpm/trackrdrd.spec
View file @
37e6fe10
...
...
@@ -11,16 +11,16 @@ Source0: %{name}-%{version}.tar.gz
Source1: trackrdrd.service
Source2: trackrdr-kafka.logrotate
# varnish from varnish
5
at packagecloud
# varnish from varnish
60
at packagecloud
# zookeeper-native from cloudera-cdh5.repo
Requires: varnish >=
5.2
.0
Requires: varnish >=
6.0.0, varnish < 6.1
.0
Requires: librdkafka
Requires: zookeeper-native
Requires: zlib
Requires: pcre
Requires: logrotate
BuildRequires: varnish-devel >=
5.2
.0
BuildRequires: varnish-devel >=
6.0.0, varnish-devel < 6.1
.0
BuildRequires: pkgconfig
BuildRequires: make
BuildRequires: gcc
...
...
pkg/rpm/varnishcache_varnish
5
.repo
→
pkg/rpm/varnishcache_varnish
60
.repo
View file @
37e6fe10
[varnishcache_varnish
5
]
name=varnishcache_varnish
5
baseurl=https://packagecloud.io/varnishcache/varnish
5
/el/7/$basearch
[varnishcache_varnish
60
]
name=varnishcache_varnish
60
baseurl=https://packagecloud.io/varnishcache/varnish
60
/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish
5
/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish
60
/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[varnishcache_varnish
5
-source]
name=varnishcache_varnish
5
-source
baseurl=https://packagecloud.io/varnishcache/varnish
5
/el/7/SRPMS
[varnishcache_varnish
60
-source]
name=varnishcache_varnish
60
-source
baseurl=https://packagecloud.io/varnishcache/varnish
60
/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish
5
/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish
60
/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment