2013-05-15 22:18:26 +00:00
|
|
|
%global _hardened_build 1
|
2015-10-09 13:41:29 +00:00
|
|
|
%define XXv_rc beta1
|
2014-04-11 09:29:37 +00:00
|
|
|
%define vd_rc %{?v_rc:-%{?v_rc}}
|
|
|
|
%define _use_internal_dependency_generator 0
|
2014-04-22 23:35:25 +00:00
|
|
|
%define __find_provides %{_builddir}/%{name}-%{version}%{?v_rc:-%{?v_rc}}/redhat/find-provides
|
2015-10-09 13:41:29 +00:00
|
|
|
|
|
|
|
# Package scripts are now external
|
2016-02-01 08:16:54 +00:00
|
|
|
# https://github.com/varnishcache/pkg-varnish-cache
|
|
|
|
%define commit1 105f20b89664f081c216d6e2c168cb8a6c090089
|
2015-10-09 13:41:29 +00:00
|
|
|
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
|
|
|
|
2009-02-12 16:17:51 +00:00
|
|
|
Summary: High-performance HTTP accelerator
|
2007-05-21 18:03:11 +00:00
|
|
|
Name: varnish
|
2016-02-01 08:16:54 +00:00
|
|
|
Version: 4.1.1
|
2016-02-29 09:32:04 +00:00
|
|
|
Release: 4%{?v_rc}%{?dist}
|
2007-12-29 20:30:57 +00:00
|
|
|
License: BSD
|
2007-05-21 18:03:11 +00:00
|
|
|
Group: System Environment/Daemons
|
|
|
|
URL: http://www.varnish-cache.org/
|
2015-10-09 13:41:29 +00:00
|
|
|
Source0: http://repo.varnish-cache.org/source/%{name}-%{version}%{?vd_rc}.tar.gz
|
2016-02-01 08:16:54 +00:00
|
|
|
Source1: https://github.com/varnishcache/pkg-varnish-cache/archive/%{commit1}.tar.gz#/pkg-varnish-cache-%{shortcommit1}.tar.gz
|
|
|
|
Patch1: varnish-4.1.1.fix_ld_library_path_in_sphinx_build.patch
|
2015-03-05 20:26:06 +00:00
|
|
|
Patch2: varnish-4.0.3_fix_Werror_el6.patch
|
|
|
|
Patch3: varnish-4.0.3_fix_python24.el5.patch
|
2015-03-06 09:14:51 +00:00
|
|
|
Patch4: varnish-4.0.3_fix_varnish4_selinux.el6.patch
|
2015-10-09 13:41:29 +00:00
|
|
|
Patch6: varnish-4.1.0.fix_find-provides.patch
|
2016-02-03 14:28:37 +00:00
|
|
|
Patch7: varnish-4.1-systemd_daemon.git75955e8.patch
|
2007-05-21 18:03:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2015-10-09 13:41:29 +00:00
|
|
|
|
2012-03-07 16:00:11 +00:00
|
|
|
# To build from git, start with a make dist, see redhat/README.redhat
|
|
|
|
# You will need at least automake autoconf libtool python-docutils
|
2015-10-09 13:41:29 +00:00
|
|
|
#BuildRequires: automake
|
|
|
|
#BuildRequires: autoconf
|
|
|
|
#BuildRequires: libtool
|
|
|
|
#BuildRequires: graphviz
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 5
|
|
|
|
BuildRequires: python-sphinx
|
|
|
|
%endif
|
|
|
|
BuildRequires: python-docutils
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: libedit-devel
|
|
|
|
BuildRequires: jemalloc-devel
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: make
|
|
|
|
|
2015-03-06 09:14:51 +00:00
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
BuildRequires: selinux-policy
|
|
|
|
%endif
|
2014-04-22 23:35:25 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2007-05-21 18:03:11 +00:00
|
|
|
Requires: logrotate
|
2008-09-02 17:54:03 +00:00
|
|
|
Requires: ncurses
|
2010-04-14 12:32:17 +00:00
|
|
|
Requires: pcre
|
2011-02-02 23:34:08 +00:00
|
|
|
Requires: jemalloc
|
2013-11-04 22:50:56 +00:00
|
|
|
Requires: redhat-rpm-config
|
2007-09-06 20:10:56 +00:00
|
|
|
Requires(pre): shadow-utils
|
2012-03-06 09:08:34 +00:00
|
|
|
Requires(post): /sbin/chkconfig, /usr/bin/uuidgen
|
2007-05-21 18:03:11 +00:00
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
Requires(preun): /sbin/service
|
2012-03-07 16:00:11 +00:00
|
|
|
%if %{undefined suse_version}
|
2008-09-02 17:54:03 +00:00
|
|
|
Requires(preun): initscripts
|
2012-03-07 16:00:11 +00:00
|
|
|
%endif
|
2014-07-30 10:36:43 +00:00
|
|
|
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
2012-03-07 16:00:11 +00:00
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
%endif
|
2015-03-06 09:14:51 +00:00
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
Requires: %{name}-selinux
|
|
|
|
Requires(post): policycoreutils,
|
|
|
|
Requires(preun): policycoreutils
|
|
|
|
Requires(postun): policycoreutils
|
|
|
|
%endif
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
# Varnish actually needs gcc installed to work. It uses the C compiler
|
|
|
|
# at runtime to compile the VCL configuration files. This is by design.
|
|
|
|
Requires: gcc
|
|
|
|
|
|
|
|
%description
|
2010-11-04 14:23:57 +00:00
|
|
|
This is Varnish Cache, a high-performance HTTP accelerator.
|
2015-10-09 13:41:29 +00:00
|
|
|
|
2016-02-01 08:16:54 +00:00
|
|
|
Varnish Cache stores web pages in memory so web servers don't have to
|
2015-10-09 13:41:29 +00:00
|
|
|
create the same web page over and over again. Varnish Cache serves
|
|
|
|
pages much faster than any application server; giving the website a
|
|
|
|
significant speed up.
|
|
|
|
|
|
|
|
Documentation wiki and additional information about Varnish Cache is
|
|
|
|
available on the following web site: https://www.varnish-cache.org/
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: Libraries for %{name}
|
2016-02-01 08:16:54 +00:00
|
|
|
Group: System Environment/Libraries
|
2007-05-21 18:03:11 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2007-09-06 20:10:56 +00:00
|
|
|
#Obsoletes: libvarnish1
|
2007-05-21 18:03:11 +00:00
|
|
|
%description libs
|
|
|
|
Libraries for %{name}.
|
2010-11-04 14:23:57 +00:00
|
|
|
Varnish Cache is a high-performance HTTP accelerator
|
2007-05-21 18:03:11 +00:00
|
|
|
|
2007-09-06 20:10:56 +00:00
|
|
|
%package libs-devel
|
|
|
|
Summary: Development files for %{name}-libs
|
2014-04-22 23:35:25 +00:00
|
|
|
Group: Development/Libraries
|
2007-09-06 20:10:56 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2008-11-17 13:21:29 +00:00
|
|
|
Requires: varnish-libs = %{version}-%{release}
|
2015-05-27 08:29:03 +00:00
|
|
|
Requires: python
|
2007-09-06 20:10:56 +00:00
|
|
|
|
|
|
|
%description libs-devel
|
|
|
|
Development files for %{name}-libs
|
2010-11-04 14:23:57 +00:00
|
|
|
Varnish Cache is a high-performance HTTP accelerator
|
2007-05-21 18:03:11 +00:00
|
|
|
|
2010-10-25 18:26:02 +00:00
|
|
|
%package docs
|
|
|
|
Summary: Documentation files for %name
|
2014-04-22 23:35:25 +00:00
|
|
|
Group: Documentation
|
2010-10-25 18:26:02 +00:00
|
|
|
|
|
|
|
%description docs
|
|
|
|
Documentation files for %name
|
|
|
|
|
2008-09-02 17:54:03 +00:00
|
|
|
#%package libs-static
|
|
|
|
#Summary: Files for static linking of %{name} library functions
|
2014-04-22 23:35:25 +00:00
|
|
|
#Group: Development/Libraries
|
2008-09-02 17:54:03 +00:00
|
|
|
#BuildRequires: ncurses-devel
|
2008-11-17 13:21:29 +00:00
|
|
|
#Requires: varnish-libs-devel = %{version}-%{release}
|
2008-09-02 17:54:03 +00:00
|
|
|
#
|
|
|
|
#%description libs-static
|
|
|
|
#Files for static linking of varnish library functions
|
2010-11-04 14:23:57 +00:00
|
|
|
#Varnish Cache is a high-performance HTTP accelerator
|
2008-09-02 17:54:03 +00:00
|
|
|
|
2015-03-06 09:14:51 +00:00
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
%package selinux
|
|
|
|
Summary: Minimal selinux policy for running varnish4
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
|
|
|
%description selinux
|
|
|
|
Minimal selinux policy for running varnish4
|
|
|
|
%endif
|
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
%prep
|
2014-04-11 09:29:37 +00:00
|
|
|
%setup -q -n varnish-%{version}%{?vd_rc}
|
2016-02-05 08:20:10 +00:00
|
|
|
tar xzf %SOURCE1
|
2016-02-01 08:16:54 +00:00
|
|
|
ln -s pkg-varnish-cache-%{commit1}/redhat redhat
|
2016-02-03 14:28:37 +00:00
|
|
|
ln -s pkg-varnish-cache-%{commit1}/debian debian
|
2014-04-11 09:29:37 +00:00
|
|
|
%patch1 -p0
|
2014-07-30 11:45:39 +00:00
|
|
|
%if 0%{?rhel} <= 6 && 0%{?fedora} <= 12
|
2014-04-11 09:29:37 +00:00
|
|
|
%patch2 -p0
|
|
|
|
%endif
|
2015-03-05 20:26:06 +00:00
|
|
|
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 12
|
|
|
|
%patch3 -p0
|
|
|
|
%endif
|
2015-03-06 09:14:51 +00:00
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
%patch4 -p0
|
|
|
|
%endif
|
2015-10-09 13:41:29 +00:00
|
|
|
%patch6 -p0
|
2016-02-03 14:28:37 +00:00
|
|
|
%patch7 -p1
|
2014-04-22 15:09:39 +00:00
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
%build
|
2015-10-09 13:41:29 +00:00
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
export CFLAGS="%{optflags} -fPIC"
|
|
|
|
export LDFLAGS=" -pie"
|
|
|
|
%endif
|
2010-05-03 23:12:10 +00:00
|
|
|
|
2016-02-29 09:32:04 +00:00
|
|
|
%if 0%{?fedora} > 23
|
2016-02-05 08:20:10 +00:00
|
|
|
%ifarch i386 i686
|
|
|
|
export CFLAGS="%{optflags} -ffloat-store -fexcess-precision=standard"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2015-10-09 13:41:29 +00:00
|
|
|
# Remove "--disable static" if you want to build static libraries
|
2015-03-05 20:26:06 +00:00
|
|
|
%configure --disable-static \
|
|
|
|
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 12
|
|
|
|
--with-rst2man=/bin/true \
|
|
|
|
%endif
|
|
|
|
--localstatedir=/var/lib \
|
|
|
|
--docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
# We have to remove rpath - not allowed in Fedora
|
|
|
|
# (This problem only visible on 64 bit arches)
|
2007-09-06 20:10:56 +00:00
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
|
2013-11-04 22:50:56 +00:00
|
|
|
s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2007-05-21 18:03:11 +00:00
|
|
|
|
2014-04-11 09:29:37 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
2007-09-06 20:10:56 +00:00
|
|
|
|
2013-11-04 22:50:56 +00:00
|
|
|
%if 0%{?fedora}%{?rhel} != 0 && 0%{?rhel} <= 4 && 0%{?fedora} <= 8
|
|
|
|
# Old style daemon function
|
|
|
|
sed -i 's,--pidfile \$pidfile,,g;
|
|
|
|
s,status -p \$pidfile,status,g;
|
|
|
|
s,killproc -p \$pidfile,killproc,g' \
|
|
|
|
redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc
|
2007-09-06 20:10:56 +00:00
|
|
|
%endif
|
|
|
|
|
2014-04-11 09:29:37 +00:00
|
|
|
rm -rf doc/sphinx/build/html/_sources
|
|
|
|
rm -rf doc/sphinx/build
|
2015-10-09 13:41:29 +00:00
|
|
|
sed -i "s,\${RPM_BUILD_ROOT}/../../BUILD/varnish\*,%{buildroot}%{_includedir}/%{name}," redhat/find-provides
|
2010-10-25 18:26:02 +00:00
|
|
|
|
2008-09-02 17:54:03 +00:00
|
|
|
%check
|
2015-10-09 13:41:29 +00:00
|
|
|
%ifarch ppc ppc64
|
|
|
|
rm bin/varnishtest/tests/u00000.vtc
|
|
|
|
%endif
|
|
|
|
make -j16 check LD_LIBRARY_PATH="%{buildroot}%{_libdir}:%{buildroot}%{_libdir}/%{name}" TESTS_PARALLELISM=5 VERBOSE=1
|
2009-02-12 16:17:51 +00:00
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2014-04-11 09:29:37 +00:00
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
# None of these for fedora
|
|
|
|
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
2007-09-06 20:10:56 +00:00
|
|
|
# Remove this line to build a devel package with symlinks
|
|
|
|
#find %{buildroot}/%{_libdir}/ -name '*.so' -type l -exec rm -f {} ';'
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
mkdir -p %{buildroot}/var/lib/varnish
|
|
|
|
mkdir -p %{buildroot}/var/log/varnish
|
2008-09-02 17:54:03 +00:00
|
|
|
mkdir -p %{buildroot}/var/run/varnish
|
2012-03-07 16:00:11 +00:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
|
2014-04-11 09:29:37 +00:00
|
|
|
install -D -m 0644 etc/example.vcl %{buildroot}%{_sysconfdir}/varnish/default.vcl
|
2012-03-07 16:00:11 +00:00
|
|
|
install -D -m 0644 redhat/varnish.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/varnish
|
2015-10-09 13:41:29 +00:00
|
|
|
install -D -m 0644 include/vcs_version.h %{buildroot}%{_includedir}/varnish
|
|
|
|
install -D -m 0644 include/vrt.h %{buildroot}%{_includedir}/varnish
|
2012-03-07 16:00:11 +00:00
|
|
|
|
|
|
|
# systemd support
|
2014-07-30 10:36:43 +00:00
|
|
|
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
2012-03-07 16:00:11 +00:00
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
2014-04-11 09:29:37 +00:00
|
|
|
install -D -m 0644 redhat/varnish.service %{buildroot}%{_unitdir}/varnish.service
|
|
|
|
install -D -m 0644 redhat/varnish.params %{buildroot}%{_sysconfdir}/varnish/varnish.params
|
|
|
|
install -D -m 0644 redhat/varnishncsa.service %{buildroot}%{_unitdir}/varnishncsa.service
|
|
|
|
install -D -m 0644 redhat/varnishlog.service %{buildroot}%{_unitdir}/varnishlog.service
|
2012-03-07 16:00:11 +00:00
|
|
|
sed -i 's,sysconfig/varnish,varnish/varnish.params,' redhat/varnish_reload_vcl
|
|
|
|
# default is standard sysvinit
|
|
|
|
%else
|
|
|
|
install -D -m 0644 redhat/varnish.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/varnish
|
|
|
|
install -D -m 0755 redhat/varnish.initrc %{buildroot}%{_initrddir}/varnish
|
|
|
|
install -D -m 0755 redhat/varnishlog.initrc %{buildroot}%{_initrddir}/varnishlog
|
|
|
|
install -D -m 0755 redhat/varnishncsa.initrc %{buildroot}%{_initrddir}/varnishncsa
|
|
|
|
%endif
|
|
|
|
install -D -m 0755 redhat/varnish_reload_vcl %{buildroot}%{_sbindir}/varnish_reload_vcl
|
|
|
|
|
|
|
|
echo %{_libdir}/varnish > %{buildroot}%{_sysconfdir}/ld.so.conf.d/varnish-%{_arch}.conf
|
2007-05-21 18:03:11 +00:00
|
|
|
|
2015-03-06 09:14:51 +00:00
|
|
|
# selinux module for el6
|
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
cd selinux
|
|
|
|
make -f %{_datadir}/selinux/devel/Makefile
|
|
|
|
install -p -m 644 -D varnish4.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/varnish4.pp
|
|
|
|
%endif
|
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_var}/lib/varnish
|
2013-11-21 03:05:48 +00:00
|
|
|
%attr(0700,root,root) %dir %{_var}/log/varnish
|
2007-05-21 18:03:11 +00:00
|
|
|
%{_mandir}/man1/*.1*
|
2012-03-07 16:00:11 +00:00
|
|
|
%{_mandir}/man3/*.3*
|
2007-05-21 18:03:11 +00:00
|
|
|
%{_mandir}/man7/*.7*
|
2015-10-22 08:10:54 +00:00
|
|
|
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
|
|
|
%license LICENSE
|
|
|
|
%else
|
|
|
|
%doc LICENSE
|
|
|
|
%endif
|
2016-02-01 08:16:54 +00:00
|
|
|
%doc README ChangeLog
|
2015-08-21 08:32:58 +00:00
|
|
|
%doc etc/builtin.vcl etc/example.vcl
|
2007-05-21 18:03:11 +00:00
|
|
|
%dir %{_sysconfdir}/varnish/
|
|
|
|
%config(noreplace) %{_sysconfdir}/varnish/default.vcl
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/varnish
|
2012-03-07 16:00:11 +00:00
|
|
|
|
|
|
|
# systemd from fedora 17
|
2014-07-30 10:36:43 +00:00
|
|
|
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
2012-03-07 16:00:11 +00:00
|
|
|
%{_unitdir}/varnish.service
|
|
|
|
%{_unitdir}/varnishncsa.service
|
|
|
|
%{_unitdir}/varnishlog.service
|
|
|
|
%config(noreplace)%{_sysconfdir}/varnish/varnish.params
|
|
|
|
|
|
|
|
# default is standard sysvinit
|
|
|
|
%else
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/varnish
|
2008-09-02 17:54:03 +00:00
|
|
|
%{_initrddir}/varnish
|
|
|
|
%{_initrddir}/varnishlog
|
2008-10-16 09:20:50 +00:00
|
|
|
%{_initrddir}/varnishncsa
|
2012-03-07 16:00:11 +00:00
|
|
|
%endif
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/*.so.*
|
2012-03-07 16:00:11 +00:00
|
|
|
%{_libdir}/varnish
|
2007-05-21 18:03:11 +00:00
|
|
|
%doc LICENSE
|
2012-03-07 16:00:11 +00:00
|
|
|
%config %{_sysconfdir}/ld.so.conf.d/varnish-%{_arch}.conf
|
2007-05-21 18:03:11 +00:00
|
|
|
|
2007-09-06 20:10:56 +00:00
|
|
|
%files libs-devel
|
|
|
|
%defattr(-,root,root,-)
|
2010-11-04 14:23:57 +00:00
|
|
|
%{_libdir}/lib*.so
|
2016-02-01 08:16:54 +00:00
|
|
|
%{_includedir}/%{name}
|
2007-09-06 20:10:56 +00:00
|
|
|
%{_libdir}/pkgconfig/varnishapi.pc
|
2015-03-06 09:14:51 +00:00
|
|
|
%{_datadir}/%{name}
|
2016-02-01 08:16:54 +00:00
|
|
|
%{_datadir}/aclocal/%{name}.m4
|
2014-04-11 09:29:37 +00:00
|
|
|
|
2008-09-02 17:54:03 +00:00
|
|
|
%doc LICENSE
|
|
|
|
|
2010-10-25 18:26:02 +00:00
|
|
|
%files docs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE
|
|
|
|
%doc doc/sphinx
|
2015-10-09 13:41:29 +00:00
|
|
|
%if 0%{?rhel} > 5 || 0%{?fedora} > 12
|
2010-10-25 18:26:02 +00:00
|
|
|
%doc doc/html
|
|
|
|
%doc doc/changes*.html
|
2015-10-09 13:41:29 +00:00
|
|
|
%endif
|
2010-10-25 18:26:02 +00:00
|
|
|
|
2008-09-02 17:54:03 +00:00
|
|
|
#%files libs-static
|
2007-09-06 20:10:56 +00:00
|
|
|
#%{_libdir}/libvarnish.a
|
|
|
|
#%{_libdir}/libvarnishapi.a
|
|
|
|
#%{_libdir}/libvarnishcompat.a
|
2014-04-11 09:29:37 +00:00
|
|
|
#%{_libdir}/libvcc.a
|
2008-09-02 17:54:03 +00:00
|
|
|
#%doc LICENSE
|
2007-09-06 20:10:56 +00:00
|
|
|
|
2015-03-06 09:14:51 +00:00
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
%files selinux
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/selinux/packages/%{name}/varnish4.pp
|
|
|
|
%endif
|
|
|
|
|
2007-09-06 20:10:56 +00:00
|
|
|
%pre
|
|
|
|
getent group varnish >/dev/null || groupadd -r varnish
|
|
|
|
getent passwd varnish >/dev/null || \
|
2014-04-11 09:29:37 +00:00
|
|
|
useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \
|
|
|
|
-c "Varnish Cache" varnish
|
2007-09-06 20:10:56 +00:00
|
|
|
exit 0
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
%post
|
2014-07-30 10:36:43 +00:00
|
|
|
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
2012-09-03 21:19:44 +00:00
|
|
|
%systemd_post varnish.service
|
|
|
|
|
|
|
|
# Other distros: Use chkconfig
|
2012-03-07 16:00:11 +00:00
|
|
|
%else
|
2007-05-21 18:03:11 +00:00
|
|
|
/sbin/chkconfig --add varnish
|
|
|
|
/sbin/chkconfig --add varnishlog
|
2008-10-16 09:20:50 +00:00
|
|
|
/sbin/chkconfig --add varnishncsa
|
2012-03-07 16:00:11 +00:00
|
|
|
%endif
|
2012-09-03 21:19:44 +00:00
|
|
|
|
2012-03-06 09:08:34 +00:00
|
|
|
test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc/varnish/secret)
|
2007-05-21 18:03:11 +00:00
|
|
|
|
2012-03-07 16:00:11 +00:00
|
|
|
%triggerun -- varnish < 3.0.2-1
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply varnish
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
%{_bindir}/systemd-sysv-convert --save varnish >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
# If the package is allowed to autostart:
|
|
|
|
#/bin/systemctl --no-reload enable varnish.service >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del varnish >/dev/null 2>&1 || :
|
|
|
|
#/bin/systemctl try-restart varnish.service >/dev/null 2>&1 || :
|
|
|
|
|
2015-03-06 09:14:51 +00:00
|
|
|
# selinux module for el6
|
|
|
|
%if 0%{?rhel} == 6
|
|
|
|
%post selinux
|
|
|
|
if [ "$1" -le "1" ] ; then # First install
|
|
|
|
semodule -i %{_datadir}/selinux/packages/%{name}/varnish4.pp 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun selinux
|
|
|
|
if [ "$1" -lt "1" ] ; then # Final removal
|
|
|
|
semodule -r varnish4 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun selinux
|
|
|
|
if [ "$1" -ge "1" ] ; then # Upgrade
|
|
|
|
semodule -i %{_datadir}/selinux/packages/%{name}/varnish4.pp 2>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
%preun
|
2012-09-03 21:19:44 +00:00
|
|
|
|
2014-07-30 10:36:43 +00:00
|
|
|
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
2012-09-03 21:19:44 +00:00
|
|
|
%systemd_preun varnish.service
|
|
|
|
%else
|
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
if [ $1 -lt 1 ]; then
|
2014-04-11 09:29:37 +00:00
|
|
|
# Package removal, not upgrade
|
2015-03-05 20:26:06 +00:00
|
|
|
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
2012-03-07 16:00:11 +00:00
|
|
|
/bin/systemctl --no-reload disable varnish.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop varnish.service > /dev/null 2>&1 || :
|
2016-02-01 08:16:54 +00:00
|
|
|
/bin/systemctl stop varnishlog.service > /dev/null 2>&1 || :
|
|
|
|
/bin/systemctl stop varnishncsa.service > /dev/null 2>&1 || :
|
2012-03-07 16:00:11 +00:00
|
|
|
%else
|
2008-09-02 17:54:03 +00:00
|
|
|
/sbin/service varnish stop > /dev/null 2>&1
|
|
|
|
/sbin/service varnishlog stop > /dev/null 2>&1
|
2008-10-16 09:20:50 +00:00
|
|
|
/sbin/service varnishncsa stop > /dev/null 2>%1
|
2007-05-21 18:03:11 +00:00
|
|
|
/sbin/chkconfig --del varnish
|
|
|
|
/sbin/chkconfig --del varnishlog
|
2008-10-16 09:20:50 +00:00
|
|
|
/sbin/chkconfig --del varnishncsa
|
2012-03-07 16:00:11 +00:00
|
|
|
%endif
|
2007-05-21 18:03:11 +00:00
|
|
|
fi
|
2012-09-03 21:19:44 +00:00
|
|
|
%endif
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
2013-05-15 22:18:26 +00:00
|
|
|
%postun libs
|
|
|
|
/sbin/ldconfig
|
2014-07-30 10:36:43 +00:00
|
|
|
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
2012-09-03 21:19:44 +00:00
|
|
|
%systemd_postun_with_restart varnish.service
|
|
|
|
%endif
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-02-29 09:32:04 +00:00
|
|
|
* Mon Feb 29 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-4
|
|
|
|
- Rebuilt agains jemalloc-4.1.0-1
|
|
|
|
- fix for gcc6 now for fedora >23
|
|
|
|
|
2016-02-05 08:20:10 +00:00
|
|
|
* Thu Feb 04 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-3
|
|
|
|
- Added "-ffloat-store -fexcess-precision=standard" to CFLAGS on i386
|
|
|
|
to work around a bug in gcc6, see
|
|
|
|
https://github.com/dhobsd/Varnish-Cache/commit/9f1035d
|
|
|
|
- Quieted unpacking of distro package source
|
|
|
|
|
2016-02-03 14:28:37 +00:00
|
|
|
* Wed Feb 03 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-2
|
|
|
|
- Added patch from upstream, daemonizing varnishd in systemd, as
|
|
|
|
it handles SIGHUP otherwice when running foregrounded under systemd
|
|
|
|
|
2016-02-01 08:16:54 +00:00
|
|
|
* Fri Jan 29 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-1
|
|
|
|
- New upstream release
|
|
|
|
- Rebased sphinx build patch
|
|
|
|
- Removed patch for dns corner case, it has been fixed upstream
|
|
|
|
- Removed patch for pcre madness test. It has been removed
|
|
|
|
- Added new source pkg-varnish-cache from github, replacing varnish-cache-redhat
|
|
|
|
- Also stop varnishlog and varnishncsa on package removal
|
|
|
|
- Removed redhat/README.rst. It is no longer included upstream
|
|
|
|
|
|
|
|
* Wed Oct 21 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.0-2
|
2015-10-22 08:10:54 +00:00
|
|
|
- Moved LICENSE to license catalog for fedora and el7
|
|
|
|
|
2015-10-09 13:41:29 +00:00
|
|
|
* Fri Oct 09 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.0-1
|
|
|
|
- New upstream release 4.1.0
|
|
|
|
- Changed buildreqs list to be one per line
|
|
|
|
- Skipped patches included upstream
|
|
|
|
- Rebased sphinx build patch
|
|
|
|
- Changed description to match upstream
|
|
|
|
- Added basic buildreqs gcc and make
|
|
|
|
- Included vcs_version.h and vrt.h to produce correct provides, even
|
|
|
|
when building in a non-standard buildroot
|
|
|
|
- Patched local find_provides similarily
|
|
|
|
- Added a couple of patches that adjusts test values for the koji
|
|
|
|
i686 and ppc64 build servers
|
|
|
|
- Added -fPIC and -pie for el6 rebuilds
|
|
|
|
- redhat subdir is now fetched from new upstream gitrepo
|
|
|
|
|
2015-09-01 09:19:07 +00:00
|
|
|
* Tue Sep 01 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-6
|
|
|
|
- Rebuilt for jemalloc-4.0.0
|
|
|
|
|
2015-10-09 13:41:29 +00:00
|
|
|
* Wed Aug 26 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.0-0.1.tp1
|
|
|
|
- Added patch for varnish unix-jail, instead of old-style -u user
|
|
|
|
|
|
|
|
* Fri Aug 21 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.0-0.0.tp1
|
|
|
|
- New upstream tech preview release
|
|
|
|
- Removed patches included upstream
|
|
|
|
- Prebuild html docs now placed in doc dir already
|
|
|
|
|
2015-08-21 08:32:58 +00:00
|
|
|
* Fri Aug 21 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-5
|
|
|
|
- Added example vcl files explicitly. They are installed by make, but
|
|
|
|
have been removed by the cleaning of docroot in older rpmbuild. This makes
|
|
|
|
varnish build again in rawhide
|
|
|
|
|
2015-06-19 01:50:07 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.3-4.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-27 08:29:03 +00:00
|
|
|
* Wed May 27 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-4
|
|
|
|
- libs-devel package now requires python, closing #1225243
|
|
|
|
|
2015-03-16 12:50:34 +00:00
|
|
|
* Fri Mar 13 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-3
|
|
|
|
- Added a patch fixing a crash on bogus content-length header,
|
|
|
|
closing #1200034
|
|
|
|
|
2015-03-06 09:14:51 +00:00
|
|
|
* Fri Mar 06 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-2
|
|
|
|
- Added selinux module for varnish4 on el6
|
|
|
|
|
2015-03-05 20:26:06 +00:00
|
|
|
* Thu Mar 05 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-1
|
|
|
|
- New upstream release
|
|
|
|
- Removed systemd patch included upstream
|
|
|
|
- Rebased trivial Werr-patch for varnish-4.0.3
|
|
|
|
- Added patch to build on el5
|
|
|
|
|
2014-11-25 23:32:04 +00:00
|
|
|
* Tue Nov 25 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.2-1
|
|
|
|
- New upstream release
|
|
|
|
- Rebased sphinx makefile patch
|
|
|
|
- Added systemd services patch from Federico Schwindt
|
|
|
|
|
2014-08-18 07:31:43 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-30 13:09:47 +00:00
|
|
|
* Wed Jul 30 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.1-2
|
|
|
|
- Rebased patch for el6
|
|
|
|
|
2014-07-30 11:47:07 +00:00
|
|
|
* Wed Jul 30 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.1-1
|
|
|
|
- New upstream release
|
|
|
|
- systemd support for rhel7
|
|
|
|
- Dropped patches included upstream
|
2014-07-30 10:36:43 +00:00
|
|
|
|
2014-06-08 03:18:11 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-3.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-22 23:35:25 +00:00
|
|
|
* Wed Apr 23 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-3
|
|
|
|
- Added a patch that fixes broken find_provides and hard coded provides
|
|
|
|
from upstream
|
|
|
|
- Added _isa macro to the libs dependency and updated Group definitions to
|
|
|
|
more modern tags, closes bz 1090196
|
2014-04-23 00:40:50 +00:00
|
|
|
- Added aclocal macros to libs-devel sub package
|
2014-04-22 23:35:25 +00:00
|
|
|
|
2014-04-22 15:09:39 +00:00
|
|
|
* Tue Apr 22 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-2
|
|
|
|
- Use _pkgdocdir macro on fedora
|
|
|
|
|
2014-04-11 09:29:37 +00:00
|
|
|
* Fri Apr 11 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-1
|
|
|
|
- New upstream release
|
2014-04-22 15:09:39 +00:00
|
|
|
- Updated patches to match new release
|
|
|
|
- Dropped patches included upstream
|
2014-04-11 09:29:37 +00:00
|
|
|
|
|
|
|
* Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-0.4.beta1
|
|
|
|
- New upstream beta release
|
2014-04-22 15:09:39 +00:00
|
|
|
- Added a few patches from upstream git for building on ppc
|
2014-04-11 09:29:37 +00:00
|
|
|
|
|
|
|
* Wed Mar 12 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-0.3.tp2+20140327
|
|
|
|
- Daily snapshot build
|
|
|
|
|
|
|
|
* Wed Mar 12 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-0.2.tp2+20140306
|
|
|
|
- First try on wrapping 4.0.0-tp2+ daily snapshot series
|
|
|
|
- Added the rc and __find_provides macros from upstream
|
|
|
|
- Added LD_LIBRARY_PATH fix for varnishd-to-sphinx doc thing
|
|
|
|
- Changed LD_LIBRARY_PATH for make check to something more readable
|
|
|
|
- etc/zope-plone.vcl is gone. example.vcl replaces default.vcl as example vcl doc
|
|
|
|
- Now using example.vcl for /etc/varnish/default.vcl
|
|
|
|
- Added docdir to configure call, to get example docs in the right place
|
|
|
|
- Systemd scripts are now upstream
|
|
|
|
- Added some explicit provides not found automatically
|
|
|
|
|
2013-12-03 13:46:17 +00:00
|
|
|
* Tue Dec 03 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.5-1
|
|
|
|
- New upstream release
|
|
|
|
- Dropped patch for CVE-2013-4484, as it's in upstream
|
|
|
|
|
2013-11-21 03:05:48 +00:00
|
|
|
* Thu Nov 21 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.4-2
|
|
|
|
- Changed default mask for varnish log dir to 700, closing #915413
|
|
|
|
- Added a patch for CVE-2013-4484 from upstream, closing #1025128
|
|
|
|
|
2013-11-04 22:50:56 +00:00
|
|
|
* Mon Aug 12 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.4-1
|
|
|
|
- New upstream release
|
|
|
|
- Added libedit-devel to the build reqs
|
|
|
|
- Changed the old-style initrc sed patching to a blacklist as in upstream
|
|
|
|
- Some tab vs space cleanup to make rpmlint more happy
|
|
|
|
- Added requirement of redhat-rpm-config, which provides redhat-hardened-cc1,
|
|
|
|
needed for _hardened_build, closes #975147
|
|
|
|
- Removed no-pcre patch, as pcre is now switched off by default upstream
|
|
|
|
|
2013-07-29 02:38:51 +00:00
|
|
|
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 3.0.3-6
|
|
|
|
- no pcre jit on arm arches
|
|
|
|
|
2013-05-15 22:18:26 +00:00
|
|
|
* Wed May 15 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.3-5
|
|
|
|
- Added macro _hardened_build to enforce compiling with PIE, closes #955156
|
|
|
|
- moved ldconfig in postun script to a shell line, since the following lines
|
|
|
|
may expand to more shell commands on fedora >=18
|
|
|
|
- Corrected some bogus dates in the changelog
|
|
|
|
|
2013-02-15 02:38:50 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-09 22:47:19 +00:00
|
|
|
* Tue Oct 09 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.3-3
|
|
|
|
- Upped the minimum number of threads from 1 to 5, closes #861493
|
|
|
|
|
2012-09-18 10:39:45 +00:00
|
|
|
* Tue Sep 18 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.3-2
|
|
|
|
- Added a patch from phk, fixing upstream ppc64 bug #1194
|
|
|
|
|
2012-09-03 21:19:44 +00:00
|
|
|
* Tue Aug 21 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.3-1
|
|
|
|
- New upstream release
|
|
|
|
- Remove unneeded hacks for ppc
|
|
|
|
- Remove hacks for rhel4, we no longer support that
|
|
|
|
- Remove unneeded hacks for docs, since we use the pregenerated docs
|
|
|
|
- Add new systemd scriptlets from f18+
|
|
|
|
- Added a patch switching off pcre jit on i386 and ppc to avoid upstream bug #1191
|
|
|
|
|
2012-07-22 02:27:07 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-12 12:46:28 +00:00
|
|
|
* Mon Mar 12 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.2-2
|
|
|
|
- Added PrivateTmp=true to varnishd unit file, closing #782539
|
|
|
|
- Fixed comment typos in varnish unit file
|
|
|
|
|
2012-03-07 16:00:11 +00:00
|
|
|
* Tue Mar 06 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.2-1
|
|
|
|
- New upstream version 3.0.2
|
|
|
|
- Removed INSTALL as requested by rpmlint
|
|
|
|
- Added a ld.so.conf.d fragment file listing libdir/varnish
|
|
|
|
- Removed redundant doc/html/_sources
|
|
|
|
- systemd support from fedora 17
|
|
|
|
- Stopped using macros for make and install, according to
|
|
|
|
Fedora's packaging guidelines
|
|
|
|
- Changes merged from upstream:
|
|
|
|
- Added suse_version macro
|
|
|
|
- Added comments on building from a git checkout
|
|
|
|
- mkpasswd -> uuidgen for fewer dependencies
|
|
|
|
- Fixed missing quotes around cflags for pcre
|
|
|
|
- Removed unnecessary 32/64 bit parallell build hack as this is fixed upstream
|
|
|
|
- Fixed typo in configure call, disable -> without
|
|
|
|
- Added lib/libvgz/.libs to LD_LIBRARY_PATH in make check
|
|
|
|
- Added section 3 manpages
|
|
|
|
- Configure with --without-rst2man --without-rst2html
|
|
|
|
- changelog entries
|
|
|
|
- Removed unnecessary patch for system jemalloc, upstream now supports this
|
|
|
|
|
2012-02-10 13:54:43 +00:00
|
|
|
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.1.5-4
|
|
|
|
- Rebuild against PCRE 8.30
|
|
|
|
|
2012-01-14 07:45:33 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 00:57:38 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-02 23:34:08 +00:00
|
|
|
* Tue Feb 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.5-1
|
|
|
|
- New upstream release
|
|
|
|
- New download location
|
|
|
|
- Moved varnish_reload_vcl to sbin
|
|
|
|
- Removed patches included upstream
|
|
|
|
- Use jemalloc as system installed library
|
|
|
|
|
2012-03-06 08:59:51 +00:00
|
|
|
* Mon Nov 15 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-0.svn20101115r5543
|
|
|
|
- Merged some changes from fedora
|
|
|
|
- Upped general version to 3.0 prerelease in trunk
|
|
|
|
|
2013-05-15 22:18:26 +00:00
|
|
|
* Thu Nov 04 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-4
|
2010-11-04 14:23:57 +00:00
|
|
|
- Added a patch fixing a missing echo in the init script that
|
|
|
|
masked failure output from the script
|
|
|
|
- Added a patch from upstream, fixing a problem with Content-Length
|
|
|
|
headers (upstream r5461, upstream bug #801)
|
|
|
|
- Added a patch from upstream, adding empty Default-Start and Default-Stop
|
|
|
|
to initscripts for better lsb compliance
|
|
|
|
- Added varnish_reload_vcl from trunk
|
|
|
|
- Synced descriptions from release spec
|
|
|
|
|
2010-10-28 19:52:04 +00:00
|
|
|
* Thu Oct 28 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-3
|
|
|
|
- Fixed missing manpages because of no rst2man in rhel4 and 5
|
|
|
|
|
2010-10-25 20:32:11 +00:00
|
|
|
* Mon Oct 25 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-2
|
|
|
|
- Removed RHEL6/ppc64 specific patch that has been included upstream
|
|
|
|
|
2010-10-25 18:26:02 +00:00
|
|
|
* Mon Oct 25 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-1
|
|
|
|
- New upstream release
|
|
|
|
- New URL for source tarball and main website
|
|
|
|
- Prebuilt html docs now included, use that instead of running sphinx
|
|
|
|
- Putting sphinx generated doc in a separate subpackage
|
|
|
|
- Replaced specific include files with a wildcard glob
|
2012-03-06 08:59:51 +00:00
|
|
|
- Needs python-sphinx and deps to build sphinx documentation
|
2010-10-25 18:26:02 +00:00
|
|
|
|
2010-08-24 13:39:45 +00:00
|
|
|
* Tue Aug 24 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
|
2010-10-25 20:32:11 +00:00
|
|
|
- Added a RHEL6/ppc64 specific patch that changes the hard coded
|
2010-08-24 13:39:45 +00:00
|
|
|
stack size in tests/c00031.vtc
|
|
|
|
|
2012-03-06 08:59:51 +00:00
|
|
|
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-0.svn20100824r5117
|
|
|
|
- Replaced specific include files with a wildcard glob
|
|
|
|
- Needs python-sphinx and deps to build sphinx documentation
|
|
|
|
- Builds html and latex documentation. Put that in a subpackage varnish-docs
|
|
|
|
|
2010-08-02 12:24:52 +00:00
|
|
|
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-1
|
|
|
|
- New upstream release
|
|
|
|
- Add a patch for jemalloc on s390 that lacks upstream
|
|
|
|
|
2010-05-05 12:59:32 +00:00
|
|
|
* Wed May 05 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.2-1
|
|
|
|
- New upstream release
|
|
|
|
- Remove patches merged upstream
|
|
|
|
|
2010-05-03 23:12:10 +00:00
|
|
|
* Tue Apr 27 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.1-1
|
|
|
|
- New upstream release
|
|
|
|
- Added a fix for missing pkgconfig/libpcre.pc on rhel4
|
|
|
|
- Added a patch from trunk making the rpm buildable on lowspec
|
|
|
|
build hosts (like Red Hat's ppc build farm nodes)
|
|
|
|
- Removed patches that are merged upstream
|
|
|
|
|
2010-04-14 13:28:41 +00:00
|
|
|
* Wed Apr 14 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-2
|
|
|
|
- Added a patch from svn that fixes changes-2.0.6-2.1.0.xml
|
|
|
|
|
2010-04-14 12:32:17 +00:00
|
|
|
* Tue Apr 06 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-1
|
|
|
|
- New upstream release; note: Configuration changes, see the README
|
|
|
|
- Removed unneeded patches
|
|
|
|
- CVE-2009-2936: Added a patch from Debian that adds the -S option
|
|
|
|
to the varnisdh(1) manpage and to the sysconfig defaults, thus
|
|
|
|
password-protecting the admin interface port (#579536,#579533)
|
|
|
|
- Generates that password in the post script, requires mkpasswd
|
|
|
|
- Added a patch from Robert Scheck for explicit linking to libm
|
|
|
|
- Requires pcre
|
|
|
|
|
2009-12-23 14:07:55 +00:00
|
|
|
* Wed Dec 23 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.6-2
|
|
|
|
- Added a test that enables jemalloc on ppc if the kernel is
|
|
|
|
not a rhel5 kernel (as on redhat builders)
|
|
|
|
- Removed tests c00031.vtc and r00387on rhel4/ppc as they fail
|
|
|
|
on the Red Hat ppc builders (but works on my rhel4 ppc instance)
|
|
|
|
- Added a patch that fixes broken changes-2.0.6.html in doc
|
|
|
|
|
2009-12-21 20:30:12 +00:00
|
|
|
* Mon Dec 14 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.6-1
|
|
|
|
- New upstream release
|
2009-12-23 14:07:55 +00:00
|
|
|
- Removed patches for libjemalloc, as they are added upstream
|
2009-12-21 20:30:12 +00:00
|
|
|
|
2009-11-09 20:19:14 +00:00
|
|
|
* Mon Nov 09 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.5-1
|
|
|
|
- New upstream release
|
|
|
|
|
2009-08-20 09:06:49 +00:00
|
|
|
* Thu Aug 13 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.4-4
|
|
|
|
- Added a sparc specific patch to libjemalloc.
|
|
|
|
|
2009-07-27 06:44:13 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2013-05-15 22:18:26 +00:00
|
|
|
* Thu Jun 04 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.4-2
|
2009-06-05 12:10:37 +00:00
|
|
|
- Added a s390 specific patch to libjemalloc.
|
|
|
|
|
2009-04-15 12:34:21 +00:00
|
|
|
* Fri Mar 27 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.4-1
|
|
|
|
New upstream release 2.0.4
|
|
|
|
|
2009-02-25 23:47:52 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-12 16:17:51 +00:00
|
|
|
* Wed Feb 11 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.3-1
|
|
|
|
New upstream release 2.0.3. A bugfix and feature enhancement release
|
|
|
|
|
2008-12-12 09:17:53 +00:00
|
|
|
* Fri Dec 12 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-2
|
|
|
|
Added a fix for a timeout bug, backported from trunk
|
|
|
|
|
2008-11-17 13:21:29 +00:00
|
|
|
* Mon Nov 10 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-1
|
|
|
|
New upstream release 2.0.2. A bugfix release
|
|
|
|
|
|
|
|
* Sun Nov 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-2
|
|
|
|
- Removed the requirement for kernel => 2.6.0. All supported
|
|
|
|
platforms meets this, and it generates strange errors in EPEL
|
|
|
|
|
2008-10-17 21:32:43 +00:00
|
|
|
* Fri Oct 17 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-1
|
|
|
|
- 2.0.1 released, a bugfix release. New upstream sources
|
2008-11-17 13:21:29 +00:00
|
|
|
- Package now also available in EPEL
|
|
|
|
|
|
|
|
* Thu Oct 16 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-2
|
|
|
|
- Readded the debugflag patch. It's so practical
|
|
|
|
- Added a strange workaround for make check on ppc64
|
2008-10-17 21:32:43 +00:00
|
|
|
|
2008-10-16 09:20:50 +00:00
|
|
|
* Wed Oct 15 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-1
|
|
|
|
- 2.0 released. New upstream sources
|
2008-10-17 21:32:43 +00:00
|
|
|
- Disabled jemalloc on ppc and ppc64. Added a note in README.redhat
|
2008-11-17 13:21:29 +00:00
|
|
|
- Synced to upstream again. No more patches needed
|
2008-10-16 09:20:50 +00:00
|
|
|
|
|
|
|
* Wed Oct 08 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.11.rc1
|
|
|
|
- 2.0-rc1 released. New upstream sources
|
|
|
|
- Added a patch for pagesize to match redhat's rhel5 ppc64 koji build boxes
|
|
|
|
- Added a patch for test a00008, from r3269
|
2008-10-17 21:32:43 +00:00
|
|
|
- Removed condrestart in postscript at upgrade. We don't want that
|
2008-10-16 09:20:50 +00:00
|
|
|
|
|
|
|
* Fri Sep 26 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.10.beta2
|
|
|
|
- 2.0-beta2 released. New upstream sources
|
|
|
|
- Whitespace changes to make rpmlint more happy
|
|
|
|
|
|
|
|
* Fri Sep 12 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.9.20080912svn3184
|
2012-03-06 09:06:22 +00:00
|
|
|
- Added varnisncsa init script (Colin Hill)
|
2008-10-16 09:20:50 +00:00
|
|
|
- Corrected varnishlog init script (Colin Hill)
|
|
|
|
|
2008-09-08 22:28:30 +00:00
|
|
|
* Tue Sep 09 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.8.beta1
|
|
|
|
- Added a patch from r3171 that fixes an endian bug on ppc and ppc64
|
|
|
|
- Added a hack that changes the varnishtest ports for 64bits builds,
|
|
|
|
so they can run in parallell with 32bits build on same build host
|
|
|
|
|
2008-09-02 20:37:08 +00:00
|
|
|
* Tue Sep 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.7.beta1
|
|
|
|
- Added a patch from r3156 and r3157, hiding a legit errno in make check
|
|
|
|
|
2008-09-02 17:54:03 +00:00
|
|
|
* Tue Sep 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.6.beta1
|
|
|
|
- Added a commented option for max coresize in the sysconfig script
|
|
|
|
- Added a comment in README.redhat about upgrading from 1.x to 2.0
|
|
|
|
|
|
|
|
* Fri Aug 29 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.5.beta1
|
|
|
|
- Bumped version numbers and source url for first beta release \o/
|
|
|
|
- Added a missing directory to the libs-devel package (Michael Schwendt)
|
|
|
|
- Added the LICENSE file to the libs-devel package
|
|
|
|
- Moved make check to its proper place
|
|
|
|
- Removed superfluous definition of lockfile in initscripts
|
|
|
|
|
|
|
|
* Wed Aug 27 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.4.20080827svn3136
|
|
|
|
- Fixed up init script for varnishlog too
|
|
|
|
|
|
|
|
* Mon Aug 25 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.3.20080825svn3125
|
|
|
|
- Fixing up init script according to newer Fedora standards
|
|
|
|
- The build now runs the test suite after compiling
|
|
|
|
- Requires initscripts
|
|
|
|
- Change default.vcl from nothing but comments to point to localhost:80,
|
|
|
|
|
|
|
|
* Mon Aug 18 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.2.tp2
|
|
|
|
- Changed source, version and release to match 2.0-tp2
|
|
|
|
|
|
|
|
* Thu Aug 14 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.1.20080814svn
|
|
|
|
- default.vcl has moved
|
|
|
|
- Added groff to build requirements
|
|
|
|
|
2008-02-19 05:14:07 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.2-6
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-12-29 20:30:57 +00:00
|
|
|
* Sat Dec 29 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.2-5
|
|
|
|
- Added missing configuration examples
|
|
|
|
- Corrected the license to "BSD"
|
|
|
|
|
2007-12-28 21:07:24 +00:00
|
|
|
* Fri Dec 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.2-4
|
2007-12-28 20:57:43 +00:00
|
|
|
- Build for fedora update
|
|
|
|
|
2007-12-28 20:45:56 +00:00
|
|
|
* Fri Dec 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.2-2
|
|
|
|
- Added missing changelog items
|
|
|
|
|
|
|
|
* Thu Dec 20 2007 Stig Sandbeck Mathisen <ssm@linpro.no> - 1.1.2-1
|
|
|
|
- Bumped the version number to 1.1.2.
|
|
|
|
- Addeed build dependency on libxslt
|
|
|
|
|
2013-05-15 22:18:26 +00:00
|
|
|
* Fri Sep 07 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.1-3
|
2007-09-07 22:13:48 +00:00
|
|
|
- Added a patch, changeset 1913 from svn trunk. This makes varnish
|
|
|
|
more stable under specific loads.
|
|
|
|
|
2013-05-15 22:18:26 +00:00
|
|
|
* Thu Sep 06 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.1-2
|
2007-09-06 20:28:35 +00:00
|
|
|
- Removed autogen call (only diff from relase tarball)
|
|
|
|
|
2007-09-06 20:10:56 +00:00
|
|
|
* Mon Aug 20 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.1-1
|
|
|
|
- Bumped the version number to 1.1.1.
|
2007-09-06 20:28:35 +00:00
|
|
|
|
2007-09-06 20:10:56 +00:00
|
|
|
* Tue Aug 14 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.svn
|
|
|
|
- Update for 1.1 branch
|
|
|
|
- Added the devel package for the header files and static library files
|
|
|
|
- Added a varnish user, and fixed the init script accordingly
|
|
|
|
|
2008-09-02 17:54:03 +00:00
|
|
|
* Thu Jul 05 2007 Dag-Erling Smørgrav <des@des.no> - 1.1-1
|
2007-09-06 20:10:56 +00:00
|
|
|
- Bump Version and Release for 1.1
|
|
|
|
|
|
|
|
* Mon May 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.4-3
|
|
|
|
- Fixed initrc-script bug only visible on el4 (fixes #107)
|
|
|
|
|
2007-05-21 18:03:11 +00:00
|
|
|
* Sun May 20 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.4-2
|
|
|
|
- Repack from unchanged 1.0.4 tarball
|
|
|
|
- Final review request and CVS request for Fedora Extras
|
2007-09-06 20:10:56 +00:00
|
|
|
- Repack with extra obsoletes for upgrading from older sf.net package
|
2007-05-21 18:03:11 +00:00
|
|
|
|
|
|
|
* Fri May 18 2007 Dag-Erling Smørgrav <des@des.no> - 1.0.4-1
|
|
|
|
- Bump Version and Release for 1.0.4
|
|
|
|
|
|
|
|
* Wed May 16 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070517
|
|
|
|
- Wrapping up for 1.0.4
|
|
|
|
- Changes in sysconfig and init scripts. Syncing with files in
|
|
|
|
trunk/debian
|
|
|
|
|
|
|
|
* Fri May 11 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070511
|
|
|
|
- Threw latest changes into svn trunk
|
|
|
|
- Removed the conversion of manpages into utf8. They are all utf8 in trunk
|
|
|
|
|
|
|
|
* Wed May 09 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-7
|
|
|
|
- Simplified the references to the subpackage names
|
|
|
|
- Added init and logrotate scripts for varnishlog
|
|
|
|
|
|
|
|
* Mon Apr 23 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-6
|
|
|
|
- Removed unnecessary macro lib_name
|
|
|
|
- Fixed inconsistently use of brackets in macros
|
|
|
|
- Added a condrestart to the initscript
|
|
|
|
- All manfiles included, not just the compressed ones
|
|
|
|
- Removed explicit requirement for ncurses. rpmbuild figures out the
|
|
|
|
correct deps by itself.
|
|
|
|
- Added ulimit value to initskript and sysconfig file
|
|
|
|
- Many thanks to Matthias Saou for valuable input
|
|
|
|
|
|
|
|
* Mon Apr 16 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-5
|
|
|
|
- Added the dist tag
|
|
|
|
- Exchanged RPM_BUILD_ROOT variable for buildroot macro
|
|
|
|
- Removed stripping of binaries to create a meaningful debug package
|
|
|
|
- Removed BuildRoot and URL from subpackages, they are picked from the
|
|
|
|
main package
|
|
|
|
- Removed duplication of documentation files in the subpackages
|
|
|
|
- 'chkconfig --list' removed from post script
|
|
|
|
- Package now includes _sysconfdir/varnish/
|
|
|
|
- Trimmed package information
|
|
|
|
- Removed static libs and .so-symlinks. They can be added to a -devel package
|
|
|
|
later if anybody misses them
|
|
|
|
|
|
|
|
* Wed Feb 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-4
|
|
|
|
- More small specfile fixes for Fedora Extras Package
|
|
|
|
Review Request, see bugzilla ticket 230275
|
|
|
|
- Removed rpath (only visible on x86_64 and probably ppc64)
|
|
|
|
|
|
|
|
* Tue Feb 27 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-3
|
|
|
|
- Made post-1.0.3 changes into a patch to the upstream tarball
|
|
|
|
- First Fedora Extras Package Review Request
|
|
|
|
|
|
|
|
* Fri Feb 23 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-2
|
|
|
|
- A few other small changes to make rpmlint happy
|
|
|
|
|
|
|
|
* Thu Feb 22 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-1
|
|
|
|
- New release 1.0.3. See the general ChangeLog
|
|
|
|
- Splitted the package into varnish, libvarnish1 and
|
|
|
|
libvarnish1-devel
|
|
|
|
|
|
|
|
* Thu Oct 19 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.2-7
|
|
|
|
- Added a Vendor tag
|
|
|
|
|
|
|
|
* Thu Oct 19 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.2-6
|
|
|
|
- Added redhat subdir to svn
|
|
|
|
- Removed default vcl config file. Used the new upstream variant instead.
|
|
|
|
- Based build on svn. Running autogen.sh as start of build. Also added
|
|
|
|
libtool, autoconf and automake to BuildRequires.
|
|
|
|
- Removed rule to move varnishd to sbin. This is now fixed in upstream
|
|
|
|
- Changed the sysconfig script to include a lot more nice features.
|
|
|
|
Most of these were ripped from the Debian package. Updated initscript
|
|
|
|
to reflect this.
|
|
|
|
|
|
|
|
* Tue Oct 10 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.1-3
|
|
|
|
- Moved Red Hat specific files to its own subdirectory
|
|
|
|
|
|
|
|
* Tue Sep 26 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.1-2
|
|
|
|
- Added gcc requirement.
|
|
|
|
- Changed to an even simpler example vcl in to /etc/varnish (thanks, perbu)
|
|
|
|
- Added a sysconfig entry
|
|
|
|
|
|
|
|
* Fri Sep 22 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.1-1
|
|
|
|
- Initial build.
|