.
OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=44
This commit is contained in:
parent
3f267b0842
commit
bb8d82a2c6
@ -2,6 +2,7 @@
|
|||||||
Sun Apr 3 23:38:24 UTC 2011 - jengelh@medozas.de
|
Sun Apr 3 23:38:24 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
- Fix security-problematic ownership of /etc/varnish files
|
- Fix security-problematic ownership of /etc/varnish files
|
||||||
|
(bnc#678811)
|
||||||
- Run spec-beautifier over it
|
- Run spec-beautifier over it
|
||||||
- Replace default shipped vcl.conf by something working
|
- Replace default shipped vcl.conf by something working
|
||||||
- Run as varnish user
|
- Run as varnish user
|
||||||
|
21
varnish.spec
21
varnish.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package varnish
|
# spec file for package varnish (Version 2.0.5)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,13 +20,13 @@
|
|||||||
|
|
||||||
Name: varnish
|
Name: varnish
|
||||||
Version: 2.1.3
|
Version: 2.1.3
|
||||||
Release: 5
|
Release: 0
|
||||||
#
|
#
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Productivity/Networking/Web/Proxy
|
Group: Productivity/Networking/Web/Proxy
|
||||||
#
|
#
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
BuildRequires: libxslt ncurses-devel pcre-devel pkg-config
|
BuildRequires: libxslt, ncurses-devel, pcre-devel, pkg-config
|
||||||
Prereq(post): %_sbindir/useradd %_sbindir/groupadd
|
Prereq(post): %_sbindir/useradd %_sbindir/groupadd
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Recommends: logrotate
|
Recommends: logrotate
|
||||||
@ -35,7 +35,7 @@ Recommends: logrotate
|
|||||||
%define pkg_logdir %_localstatedir/log/%name
|
%define pkg_logdir %_localstatedir/log/%name
|
||||||
%define pkg_cachedir %_localstatedir/cache/%name
|
%define pkg_cachedir %_localstatedir/cache/%name
|
||||||
#
|
#
|
||||||
Url: http://www.varnish-cache.org/
|
URL: http://www.varnish-cache.org/
|
||||||
Source0: http://downloads.sourceforge.net/varnish/varnish-%version.tar.gz
|
Source0: http://downloads.sourceforge.net/varnish/varnish-%version.tar.gz
|
||||||
# http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2
|
# http://downloads.sourceforge.net/varnish/varnish-%version.tar.bz2
|
||||||
Source2: varnish.init
|
Source2: varnish.init
|
||||||
@ -44,7 +44,6 @@ Source4: vcl.conf
|
|||||||
Source5: varnish.logrotate
|
Source5: varnish.logrotate
|
||||||
#
|
#
|
||||||
Summary: Varnish is a high-performance HTTP accelerator
|
Summary: Varnish is a high-performance HTTP accelerator
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
||||||
Proxy) is an application that stores (caches) documents that have been
|
Proxy) is an application that stores (caches) documents that have been
|
||||||
@ -61,14 +60,10 @@ Authors:
|
|||||||
Poul-Henning Kamp <phk@phk.freebsd.dk>
|
Poul-Henning Kamp <phk@phk.freebsd.dk>
|
||||||
|
|
||||||
%define library_name libvarnish1
|
%define library_name libvarnish1
|
||||||
|
|
||||||
%package -n %library_name
|
%package -n %library_name
|
||||||
|
|
||||||
|
|
||||||
Group: Productivity/Networking/Web/Proxy
|
Group: Productivity/Networking/Web/Proxy
|
||||||
#
|
#
|
||||||
Summary: Shared libraries for Varnish
|
Summary: Shared libraries for Varnish
|
||||||
|
|
||||||
%description -n %library_name
|
%description -n %library_name
|
||||||
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
||||||
Proxy) is an application that stores (caches) documents that have been
|
Proxy) is an application that stores (caches) documents that have been
|
||||||
@ -89,13 +84,10 @@ Authors:
|
|||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
|
|
||||||
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %name = %version
|
Requires: %name = %version
|
||||||
#
|
#
|
||||||
Summary: Development files for Varnish
|
Summary: Development files for Varnish
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
Varnish is an HTTP accelerator. An HTTP accelerator (often called Reverse
|
||||||
Proxy) is an application that stores (caches) documents that have been
|
Proxy) is an application that stores (caches) documents that have been
|
||||||
@ -175,7 +167,6 @@ mkdir -p "%buildroot/%_localstatedir/log/varnish"
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n %library_name -p /sbin/ldconfig
|
%post -n %library_name -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %library_name -p /sbin/ldconfig
|
%postun -n %library_name -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user