forked from pool/varnish
varnish 3.0.2
OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=51
This commit is contained in:
parent
6e7c66d063
commit
d85a0ca41d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec04d8dd3e498b570294fb0c6fbb4a2ae4005b039436e2f8913660be598b3c70
|
||||
size 846684
|
3
varnish-3.0.2.tar.xz
Normal file
3
varnish-3.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81243b849308defc2996ed72a1f4acc1351b3ae4ce8fc57d608d0e9429581f9e
|
||||
size 1101616
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 23:26:10 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 3.0.2
|
||||
* Add support for ESI and gzip
|
||||
* Handle objects larger than 2G
|
||||
* HTTP Range support is now enabled by default
|
||||
* "307 Temporary redirect" is now considered cacheable
|
||||
* see ChangeLog (packaged) or
|
||||
http://varnish-cache.org/trac/browser/doc/changes.rst
|
||||
for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 13:51:14 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
104
varnish.spec
104
varnish.spec
@ -15,23 +15,25 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: varnish
|
||||
Version: 2.1.5
|
||||
%define library_name libvarnishapi1
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
#
|
||||
License: BSD2c
|
||||
Summary: Varnish is a high-performance HTTP accelerator
|
||||
License: BSD-2-Clause
|
||||
Group: Productivity/Networking/Web/Proxy
|
||||
#
|
||||
URL: http://varnish-cache.org/
|
||||
|
||||
#DL-URL: http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2
|
||||
Source0: %name-%version.tar.xz
|
||||
Source2: varnish.init
|
||||
Source3: varnish.sysconfig
|
||||
Source4: vcl.conf
|
||||
Source5: varnish.logrotate
|
||||
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
BuildRequires: libxslt, ncurses-devel, pcre-devel
|
||||
%if %{suse_version} >= 1010
|
||||
BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: pkgconfig, xz
|
||||
Prereq(post): %_sbindir/useradd %_sbindir/groupadd
|
||||
%if 0%{?suse_version} >= 1010
|
||||
Recommends: logrotate
|
||||
@ -39,18 +41,8 @@ Recommends: logrotate
|
||||
%define pkg_home %_localstatedir/lib/%name
|
||||
%define pkg_logdir %_localstatedir/log/%name
|
||||
%define pkg_cachedir %_localstatedir/cache/%name
|
||||
#
|
||||
URL: http://www.varnish-cache.org/
|
||||
Source0: %name-%version.tar.xz
|
||||
# http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2
|
||||
Source2: varnish.init
|
||||
Source3: varnish.sysconfig
|
||||
Source4: vcl.conf
|
||||
Source5: varnish.logrotate
|
||||
#
|
||||
Summary: Varnish is a high-performance HTTP accelerator
|
||||
BuildRequires: xz
|
||||
Requires: c_compiler
|
||||
|
||||
%description
|
||||
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
||||
Proxy) is an application that stores (caches) documents that have been
|
||||
@ -61,16 +53,10 @@ given the cached document, or a "fresh" document requested from a backend
|
||||
server. The purpose of this is to minimize the requests going to the backend
|
||||
server(s) by serving the same document to potentially many users.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Poul-Henning Kamp <phk@phk.freebsd.dk>
|
||||
|
||||
%define library_name libvarnish1
|
||||
%package -n %library_name
|
||||
Group: Productivity/Networking/Web/Proxy
|
||||
#
|
||||
Summary: Shared libraries for Varnish
|
||||
|
||||
%description -n %library_name
|
||||
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
||||
Proxy) is an application that stores (caches) documents that have been
|
||||
@ -81,20 +67,13 @@ given the cached document, or a "fresh" document requested from a backend
|
||||
server. The purpose of this is to minimize the requests going to the backend
|
||||
server(s) by serving the same document to potentially many users.
|
||||
|
||||
|
||||
This package holds the shared libraries for varnish.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Poul-Henning Kamp <phk@phk.freebsd.dk>
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %name = %version
|
||||
#
|
||||
Summary: Development files for Varnish
|
||||
|
||||
%description devel
|
||||
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
||||
Proxy) is an application that stores (caches) documents that have been
|
||||
@ -105,15 +84,8 @@ given the cached document, or a "fresh" document requested from a backend
|
||||
server. The purpose of this is to minimize the requests going to the backend
|
||||
server(s) by serving the same document to potentially many users.
|
||||
|
||||
|
||||
This package holds the development files for varnish.
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Poul-Henning Kamp <phk@phk.freebsd.dk>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -150,7 +122,7 @@ install -D -m 0644 %{S:4} %buildroot%_sysconfdir/%name/vcl.conf
|
||||
install -D -m 0644 %{S:4} %buildroot%_sysconfdir/%name/vcl.conf.example
|
||||
|
||||
find "%buildroot" -type f -name "*.la" -delete
|
||||
mkdir -p "%buildroot/%_localstatedir/log/varnish"
|
||||
mkdir -p "%buildroot/%pkg_logdir"
|
||||
|
||||
%pre
|
||||
%_bindir/getent group varnish >/dev/null || \
|
||||
@ -177,39 +149,37 @@ mkdir -p "%buildroot/%_localstatedir/log/varnish"
|
||||
%postun -n %library_name -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root)
|
||||
%_initrddir/%name
|
||||
%config(noreplace) %_sysconfdir/logrotate.d/varnish
|
||||
%dir %attr(0750,root,varnish) %_sysconfdir/%name/
|
||||
%config(noreplace) %attr(0640,root,varnish) %_sysconfdir/%name/vcl.conf
|
||||
%config %attr(0640,root,varnish) %_sysconfdir/%name/vcl.conf.example
|
||||
%config(noreplace) %attr(0640,root,varnish) %_sysconfdir/%name/default.vcl
|
||||
%_libdir/varnish
|
||||
%_sbindir/varnish*
|
||||
%_mandir/man*/*
|
||||
%doc ChangeLog LICENSE README
|
||||
%dir %attr(0750,varnish,varnish) %pkg_home
|
||||
%dir %attr(0750,varnish,varnish) %pkg_cachedir
|
||||
%dir %attr(0750,varnish,varnish) %pkg_logdir
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%_sbindir/rc%name
|
||||
/var/adm/fillup-templates/sysconfig.%name
|
||||
%_localstatedir/adm/fillup-templates/sysconfig.%name
|
||||
%else
|
||||
%config(noreplace) %_sysconfdir/sysconfig/%name
|
||||
%endif
|
||||
%config(noreplace) %_sysconfdir/init.d/%name
|
||||
#
|
||||
%dir %attr(750,root,varnish) %_sysconfdir/%name/
|
||||
%config(noreplace) %attr(640,root,varnish) %_sysconfdir/%name/vcl.conf
|
||||
%config %attr(640,root,varnish) %_sysconfdir/%name/vcl.conf.example
|
||||
%config(noreplace) %attr(640,root,varnish) %_sysconfdir/%name/default.vcl
|
||||
#
|
||||
%_sbindir/*
|
||||
%doc %_mandir/*/*
|
||||
%doc ChangeLog LICENSE README
|
||||
%if ! 0%{?suse_version}
|
||||
%doc redhat/README.redhat
|
||||
%endif
|
||||
%dir %attr(750,varnish,varnish) %pkg_home
|
||||
%dir %attr(750,varnish,varnish) %pkg_cachedir
|
||||
%config(noreplace) %_sysconfdir/logrotate.d/varnish
|
||||
%dir %attr(750,varnish,varnish) %_localstatedir/log/varnish
|
||||
|
||||
%files -n %library_name
|
||||
%defattr(-,root,root,-)
|
||||
%_libdir/*.so.*
|
||||
%_libdir/libvarnishapi.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%_includedir/varnish/
|
||||
%_includedir/varnish
|
||||
%_libdir/pkgconfig/*
|
||||
%_libdir/*.so
|
||||
%_libdir/libvarnishapi.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user