Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-selector
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
libvmod-selector
Commits
871bfdf2
Commit
871bfdf2
authored
Apr 16, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update RPM packaging for VRT 9.0 / Varnish 6.2.
parent
11461e30
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
10 deletions
+34
-10
pkg
pkg/rpm/pkg
+5
-5
varnishcache_varnish62.repo
pkg/rpm/varnishcache_varnish62.repo
+21
-0
vmod-selector.spec
pkg/rpm/vmod-selector.spec
+8
-5
No files found.
pkg/rpm/pkg
View file @
871bfdf2
...
...
@@ -10,8 +10,8 @@
# - this script (named pkg)
# - VMOD selector tarball (vmod-selector-$VERSION.tar.gz)
# - RPM spec file (vmod-selector.spec)
# - yum repo config for varnish6
1@packagecloud (varnishcache_varnish61
.repo)
# (see https://packagecloud.io/varnishcache/varnish6
1
/install#manual-rpm)
# - yum repo config for varnish6
2@packagecloud (varnishcache_varnish62
.repo)
# (see https://packagecloud.io/varnishcache/varnish6
2
/install#manual-rpm)
# Sample docker invocation:
# $ docker run -t -v $PWD:/srv -e VERSION=47.1.1 -e RELEASE=815 \
...
...
@@ -44,12 +44,12 @@ sudo yum install -y -q \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# set up varnish repo
sudo cp
/srv/varnishcache_varnish6
1
.repo /etc/yum.repos.d/
sudo cp
/srv/varnishcache_varnish6
2
.repo /etc/yum.repos.d/
sudo
yum
-q
makecache
-y
--disablerepo
=
'*'
--enablerepo
=
'varnishcache_varnish6
1
'
sudo
yum
-q
makecache
-y
--disablerepo
=
'*'
--enablerepo
=
'varnishcache_varnish6
2
'
# build requirements
sudo
yum
install
-y
-
q
varnish-devel pkgconfig make gcc python-docutils
sudo
yum
install
-y
-
v
varnish-devel pkgconfig make gcc python-docutils
# build RPMs
rpmbuild
-ba
-D
"dist .
${
DIST
}
"
\
...
...
pkg/rpm/varnishcache_varnish6
1
.repo
→
pkg/rpm/varnishcache_varnish6
2
.repo
View file @
871bfdf2
[varnishcache_varnish6
1
]
name=varnishcache_varnish6
1
baseurl=https://packagecloud.io/varnishcache/varnish6
1
/el/7/$basearch
[varnishcache_varnish6
2
]
name=varnishcache_varnish6
2
baseurl=https://packagecloud.io/varnishcache/varnish6
2
/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish6
1
/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish6
2
/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[varnishcache_varnish6
1
-source]
name=varnishcache_varnish6
1
-source
baseurl=https://packagecloud.io/varnishcache/varnish6
1
/el/7/SRPMS
[varnishcache_varnish6
2
-source]
name=varnishcache_varnish6
2
-source
baseurl=https://packagecloud.io/varnishcache/varnish6
2
/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish6
1
/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish6
2
/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
pkg/rpm/vmod-selector.spec
View file @
871bfdf2
...
...
@@ -9,11 +9,11 @@ Group: System Environment/Daemons
URL: https://code.uplex.de/uplex-varnish/libvmod-selector
Source0: %{name}-%{version}.tar.gz
# varnish from varnish6
1
at packagecloud
# This is the Requires for VMOD ABI compatibility with VRT >=
8
.0.
Requires: varnishd(vrt)%{?_isa} >=
8
# varnish from varnish6
2
at packagecloud
# This is the Requires for VMOD ABI compatibility with VRT >=
9
.0.
Requires: varnishd(vrt)%{?_isa} >=
9
BuildRequires: varnish-devel >= 6.
1
.0
BuildRequires: varnish-devel >= 6.
2
.0
BuildRequires: pkgconfig
BuildRequires: make
BuildRequires: gcc
...
...
@@ -73,7 +73,10 @@ rm -rf %{buildroot}
/sbin/ldconfig
%changelog
* Fri Nov 30 2018 Geoff Simmons <geoff@uplex.de> - %{_version}-%{_release}
* Tue Apr 16 2019 Geoff Simmons <geoff@uplex.de> - %{_version}-%{_release}
Compatibilty with VRT 9 (Varnish 6.2)
* Fri Nov 30 2018 Geoff Simmons <geoff@uplex.de> - 1.0.0-1
Compatibilty with VRT 8 (Varnish 6.1 and libvarnishapi.so.2)
* Tue Jul 10 2018 Geoff Simmons <geoff@uplex.de> - 0.5.0-1
...
...
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