Blame SPECS/varnish.spec

d17577
%{?scl:%scl_package varnish}
d17577
d17577
%global _hardened_build 1
d17577
%define XXv_rc beta1
d17577
%define vd_rc %{?v_rc:-%{?v_rc}}
d17577
%define    _use_internal_dependency_generator 0
d17577
%define __find_provides %{_builddir}/varnish-%{version}%{?v_rc:-%{?v_rc}}/redhat/find-provides
d17577
d17577
# https://github.com/varnishcache/varnish-cache/issues/2269
d17577
%global debug_package %{nil}
d17577
%define __debug_install_post %{nil}
d17577
d17577
# Package scripts are now external
d17577
# https://github.com/varnishcache/pkg-varnish-cache
d17577
%define commit1 5b976190ce9e0720f1eee6e9eaccd8a15eaa498d
d17577
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
d17577
d17577
# Concrete service name to stop infinite macro recursion
d17577
%global varnish_service %{?scl:%{expand:%scl_prefix}}varnish.service
d17577
d17577
Summary: High-performance HTTP accelerator
d17577
Name: %{?scl:%scl_prefix}varnish
8c1778
Version: 6.0.8
8c1778
Release: 2%{?dist}
d17577
License: BSD
d17577
Group: System Environment/Daemons
d17577
URL: http://www.varnish-cache.org/
d17577
Source0: http://varnish-cache.org/_downloads/varnish-%{version}.tgz
d17577
Source1: https://github.com/varnishcache/pkg-varnish-cache/archive/%{commit1}.tar.gz#/pkg-varnish-cache-%{shortcommit1}.tar.gz
d17577
Source2: scl-register-helper.sh
d17577
Patch0:  varnish.scl.patch
d17577
Patch1:  varnish-4.1.0.fix_find-provides.patch
019b48
Patch2:  varnish-6.0.2.fix_ld_library_path_in_doc_build.patch
8c1778
Patch3:  varnish-6.0.8-use-python2.patch
d17577
d17577
d17577
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d17577
d17577
%if 0%{?rhel} >= 6
d17577
BuildRequires: python-sphinx
d17577
%endif
d17577
BuildRequires: python-docutils
d17577
BuildRequires: ncurses-devel
d17577
BuildRequires: groff
d17577
BuildRequires: pcre-devel
d17577
BuildRequires: pkgconfig
d17577
BuildRequires: libedit-devel
d17577
BuildRequires: %{?scl:%scl_prefix}jemalloc-devel
d17577
BuildRequires: gcc
d17577
BuildRequires: make
8c1778
BuildRequires: autoconf, libtool
d17577
d17577
%if 0%{?rhel} == 6
d17577
BuildRequires: selinux-policy
d17577
%endif
d17577
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
d17577
Requires: logrotate
d17577
Requires: ncurses
d17577
Requires: pcre
d17577
Requires: redhat-rpm-config
d17577
Requires(pre): shadow-utils
d17577
Requires(post): /sbin/chkconfig, /usr/bin/uuidgen
d17577
Requires(preun): /sbin/chkconfig
d17577
Requires(preun): /sbin/service
d17577
Requires(post): policycoreutils-python libselinux-utils
d17577
#Provides: varnishabi-4.0.0-2acedeb
d17577
%if %{undefined suse_version}
d17577
Requires(preun): initscripts
d17577
%endif
d17577
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
d17577
Requires(post): systemd-units
d17577
Requires(post): systemd-sysv
d17577
Requires(preun): systemd-units
d17577
Requires(postun): systemd-units
d17577
BuildRequires: systemd-units
d17577
%endif
d17577
%if 0%{?rhel} == 6
d17577
Requires: %{name}-selinux
d17577
Requires(post): policycoreutils, 
d17577
Requires(preun): policycoreutils
d17577
Requires(postun): policycoreutils
d17577
%endif
d17577
d17577
# Varnish actually needs gcc installed to work. It uses the C compiler 
d17577
# at runtime to compile the VCL configuration files. This is by design.
d17577
Requires: gcc
59aae9
%{?scl:Requires:%scl_runtime}
d17577
d17577
%description
d17577
This is Varnish Cache, a high-performance HTTP accelerator.
d17577
d17577
Varnish Cache stores web pages in memory so web servers don’t have to
d17577
create the same web page over and over again. Varnish Cache serves
d17577
pages much faster than any application server; giving the website a
d17577
significant speed up.
d17577
d17577
Documentation wiki and additional information about Varnish Cache is
d17577
available on: https://www.varnish-cache.org/
d17577
d17577
%package libs
d17577
Summary: Libraries for %{name}
d17577
Group: System Environment/Libraries
d17577
BuildRequires: ncurses-devel
59aae9
%{?scl:Requires:%scl_runtime}
d17577
d17577
%description libs
d17577
Libraries for %{name}.
d17577
Varnish Cache is a high-performance HTTP accelerator
d17577
d17577
%package devel
d17577
Summary: Development files for %{name}-libs
d17577
Group: Development/Libraries
d17577
BuildRequires: ncurses-devel
d17577
Requires: %{?scl:%scl_prefix}varnish-libs = %{version}-%{release}
59aae9
%{?scl:Requires:%scl_runtime}
d17577
Requires: python
d17577
d17577
%description devel
d17577
Development files for %{name}-libs
d17577
Varnish Cache is a high-performance HTTP accelerator
d17577
d17577
%package docs
d17577
Summary: Documentation files for %name
d17577
Group: Documentation
59aae9
%{?scl:Requires:%scl_runtime}
d17577
d17577
%description docs
d17577
Documentation files for %name
d17577
d17577
%if 0%{?rhel} == 6
d17577
%package selinux
d17577
Summary: Minimal selinux policy for running varnish4
d17577
Group:   System Environment/Daemons
59aae9
%{?scl:Requires:%scl_runtime}
d17577
d17577
%description selinux
d17577
Minimal selinux policy for running varnish4
d17577
%endif
d17577
d17577
%prep
d17577
%setup -q -n varnish-%{version}%{?vd_rc}
d17577
tar xzf %SOURCE1
d17577
ln -s pkg-varnish-cache-%{commit1}/redhat redhat
d17577
ln -s pkg-varnish-cache-%{commit1}/debian debian
d17577
d17577
%patch0 -p1 -b .scl
d17577
%patch1 -p0
019b48
%patch2 -p1
8c1778
%patch3 -p1
d17577
d17577
sed -i 's/varnishabi-/%{name}-varnishabi-/g' redhat/find-provides
d17577
d17577
sed -i '
d17577
s,/etc/sysconfig/varnish,%{_sysconfdir}/varnish/varnish.params,
d17577
/^VARNISHADM=/s,varnishadm,%{_bindir}/varnishadm,
d17577
' redhat/varnish_reload_vcl
d17577
d17577
%build
d17577
#export CFLAGS="$CFLAGS -Wp,-D_FORTIFY_SOURCE=0"
d17577
d17577
export LD_LIBRARY_PATH=%{_libdir}:$LD_LIBRARY_PATH
d17577
%if 0%{?rhel} <= 6
d17577
export LDFLAGS="-L%{_libdir} -Wl,-rpath,%{_libdir}"
d17577
%else
d17577
export LDFLAGS="-L%{_libdir} -Wl,-rpath,%{_libdir} %{__global_ldflags}"
d17577
%endif
d17577
d17577
# Man pages are prebuilt. No need to regenerate them.
d17577
export RST2MAN=/bin/true
d17577
d17577
export AM_LT_LDFLAGS="-release %{scl}"
8c1778
8c1778
autoreconf -i
8c1778
8c1778
for f in configure configure.ac; do
8c1778
  sed -i 's|ljemalloc|l%{scl}jemalloc|g' $f
8c1778
  sed -i '/^VARNISH_STATE_DIR=/s,varnish,%{name},' $f
8c1778
done
8c1778
d17577
%configure --disable-static \
d17577
%ifarch aarch64
d17577
  --with-jemalloc=no \
d17577
%endif
d17577
%ifarch x86_64 %arm
d17577
   --disable-pcre-jit \
d17577
%endif
d17577
  --localstatedir=%{_localstatedir}/lib  \
d17577
  --docdir=%{_docdir}/%{name}-%{version}
d17577
d17577
# We have to remove rpath - not allowed in Fedora
d17577
# (This problem only visible on 64 bit arches)
d17577
# sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
d17577
#         s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
d17577
d17577
make %{?_smp_mflags} V=1 
d17577
d17577
%if 0%{?fedora}%{?rhel} != 0 && 0%{?rhel} <= 4 && 0%{?fedora} <= 8
d17577
        # Old style daemon function
d17577
        sed -i 's,--pidfile \$pidfile,,g;
d17577
                s,status -p \$pidfile,status,g;
d17577
                s,killproc -p \$pidfile,killproc,g' \
d17577
        redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc
d17577
%endif
d17577
d17577
# One varnish user is enough
d17577
sed -i 's,User=varnishlog,User=varnish,g;' redhat/varnishncsa.service
d17577
d17577
# Explicit python, please
59aae9
sed -i 's/env python3/python2/g;' lib/libvcc/vmodtool.py
59aae9
sed -i 's/env python3/python2/g;' lib/libvcc/vsctool.py
59aae9
d17577
d17577
# Clean up the sphinx documentation
d17577
rm -rf doc/sphinx/build/html/_sources
d17577
rm -rf doc/sphinx/build
d17577
rm  -f doc/sphinx/Makefile.in.orig
d17577
d17577
%check
d17577
%ifarch ppc64 ppc64le aarch64
d17577
sed -i 's/48/128/g;' bin/varnishtest/tests/c00057.vtc
d17577
%endif
d17577
59aae9
# randomly 2-3 tests failing on ppc64
59aae9
%ifnarch ppc64 ppc64le
59aae9
make check LD_LIBRARY_PATH="%{buildroot}%{_libdir}:%{buildroot}%{_libdir}/%{name}" TESTS_PARALLELISM=5 VERBOSE=1
59aae9
%endif
d17577
d17577
%install
d17577
#include helper script for creating register stuff
d17577
export _SR_BUILDROOT=%{buildroot}
d17577
export _SR_SCL_SCRIPTS=%{?_scl_scripts}
d17577
d17577
source %{SOURCE2}
d17577
d17577
expand_variables() {
d17577
    sed -i 's|\$sbindir|%{_sbindir}|g' "$1"
d17577
    sed -i 's|\$bindir|%{_bindir}|g' "$1"
d17577
    sed -i 's|\$rundir|%{_localstatedir}/run/%{?scl:%scl_prefix}varnish|g' "$1"
d17577
    sed -i 's|\$sysconfdir|%{_sysconfdir}|g' "$1"
d17577
    sed -i 's|\$logdir|%{_localstatedir}/log/varnish|g' "$1"
d17577
    sed -i 's|\$name|%{name}|g' "$1"
d17577
    sed -i 's|\$localstatedir|%{_localstatedir}|g' "$1"
d17577
}
d17577
d17577
rm -rf %{buildroot}
d17577
make install DESTDIR=%{buildroot} INSTALL="install -p" 
d17577
d17577
# None of these for fedora
d17577
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
d17577
d17577
mkdir -p %{buildroot}%{_localstatedir}/lib/%{?scl:%scl_prefix}varnish
d17577
mkdir -p %{buildroot}%{_localstatedir}/log/varnish
d17577
mkdir -p %{buildroot}%{_localstatedir}/run/%{?scl:%scl_prefix}varnish
d17577
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
d17577
install -D -m 0644 etc/example.vcl %{buildroot}%{_sysconfdir}/varnish/default.vcl
d17577
install -D -m 0644 redhat/varnish.logrotate %{buildroot}/etc/logrotate.d/%{?scl:%scl_prefix}varnish
d17577
expand_variables %{buildroot}/etc/logrotate.d/%{?scl:%scl_prefix}varnish
d17577
d17577
scl_reggen %{name} --mkdir %{_localstatedir}/lib/%{?scl:%scl_prefix}varnish
d17577
scl_reggen %{name} --mkdir %{_root_localstatedir}/log/%{?scl:%scl_prefix}varnish
d17577
scl_reggen %{name} --mkdir %{_localstatedir}/run/%{?scl:%scl_prefix}varnish
d17577
scl_reggen %{name} --cpfile %{_sysconfdir}/varnish/default.vcl
d17577
scl_reggen %{name} --cpfile %{_root_sysconfdir}/logrotate.d/%{?scl:%scl_prefix}varnish
d17577
d17577
scl_reggen %{name} --runafterregister "semanage fcontext -a -e /var/log/varnish %{_localstatedir}/log/varnish >/dev/null 2>&1 || :"
d17577
scl_reggen %{name} --runafterregister "restorecon -R %{_localstatedir}/log/varnish >/dev/null 2>&1 || :"
d17577
scl_reggen %{name} --runafterregister "semanage fcontext -a -e %{_root_localstatedir}/lib/varnish %{_localstatedir}/lib/%{name} >/dev/null 2>&1 || :"
d17577
scl_reggen %{name} --runafterregister "restorecon -R %{_localstatedir} >/dev/null 2>&1 || :"
d17577
scl_reggen %{name} --runafterregister "semanage fcontext -a -e %{_root_localstatedir}/run/varnish %{_localstatedir}/run/%{name} >/dev/null 2>&1 || :"
d17577
scl_reggen %{name} --runafterregister "restorecon -R %{_localstatedir} >/dev/null 2>&1 || :"
d17577
d17577
d17577
# systemd support
d17577
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
d17577
mkdir -p %{buildroot}%{_unitdir}
d17577
d17577
install -D -m 0644 redhat/varnish.service %{buildroot}%{_unitdir}/%{varnish_service}
d17577
expand_variables %{buildroot}%{_unitdir}/%{varnish_service}
d17577
scl_reggen %{name} --cpfile /%{_unitdir}/%{varnish_service}
d17577
d17577
install -D -m 0644 redhat/varnish.params %{buildroot}%{_sysconfdir}/varnish/varnish.params
d17577
expand_variables %{buildroot}%{_sysconfdir}/varnish/varnish.params
d17577
scl_reggen %{name} --cpfile %{_sysconfdir}/varnish/varnish.params
d17577
d17577
install -D -m 0644 redhat/varnishncsa.service %{buildroot}%{_unitdir}/%{?scl:%scl_prefix}varnishncsa.service
d17577
expand_variables %{buildroot}%{_unitdir}/%{?scl:%scl_prefix}varnishncsa.service
d17577
scl_reggen %{name} --cpfile /%{_unitdir}/%{?scl:%scl_prefix}varnishncsa.service
d17577
d17577
# default is standard sysvinit
d17577
%else
d17577
install -D -m 0644 redhat/varnish.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/varnish
d17577
expand_variables %{buildroot}%{_sysconfdir}/sysconfig/varnish
d17577
scl_reggen %{name} --cpfile %{_sysconfdir}/sysconfig/varnish
d17577
d17577
install -D -m 0755 redhat/varnish.initrc %{buildroot}%{_root_initddir}/%{?scl:%scl_prefix}varnish
d17577
expand_variables %{buildroot}%{_root_initddir}/%{?scl:%scl_prefix}varnish
d17577
scl_reggen %{name} --cpfile %{_root_initddir}/%{?scl:%scl_prefix}varnish
d17577
d17577
install -D -m 0755 redhat/varnishlog.initrc %{buildroot}%{_root_initddir}/%{?scl:%scl_prefix}varnishlog
d17577
expand_variables %{buildroot}%{_root_initddir}/%{?scl:%scl_prefix}varnishlog
d17577
scl_reggen %{name} --cpfile %{_root_initddir}/%{?scl:%scl_prefix}varnishlog
d17577
d17577
install -D -m 0755 redhat/varnishncsa.initrc %{buildroot}%{_root_initddir}/%{?scl:%scl_prefix}varnishncsa
d17577
expand_variables %{buildroot}%{_root_initddir}/%{?scl:%scl_prefix}varnishncsa
d17577
scl_reggen %{name} --cpfile %{_root_initddir}/%{?scl:%scl_prefix}varnishncsa
d17577
%endif
d17577
install -D -m 0755 redhat/varnish_reload_vcl %{buildroot}%{_sbindir}/varnish_reload_vcl
d17577
expand_variables %{buildroot}%{_sbindir}/varnish_reload_vcl
d17577
d17577
echo %{_libdir}/varnish > %{buildroot}%{_sysconfdir}/ld.so.conf.d/varnish-%{_arch}.conf
d17577
mv %{buildroot}%{_libdir}/pkgconfig/varnishapi.pc %{buildroot}%{_libdir}/pkgconfig/%{?scl:%scl_prefix}varnishapi.pc
d17577
d17577
# selinux module for el6
d17577
%if 0%{?rhel} == 6
d17577
cd selinux
d17577
make -f %{_root_datadir}/selinux/devel/Makefile
d17577
install -p -m 644 -D varnish4.pp %{buildroot}%{_root_datadir}/selinux/packages/%{name}/%{?scl:%scl_prefix}varnish4.pp
d17577
scl_reggen %{name} --cpfile %{_root_datadir}/selinux/packages/%{name}/%{?scl:%scl_prefix}varnish4.pp
d17577
%endif
d17577
d17577
%clean
d17577
rm -rf %{buildroot}
d17577
d17577
%files
d17577
%defattr(-,root,root,-)
d17577
%{_sbindir}/*
d17577
%{_bindir}/*
d17577
%{_localstatedir}/lib/%{name}
59aae9
%attr(0770,root,varnish) %dir %{_localstatedir}/log/varnish
d17577
%{_mandir}/man1/*.1*
d17577
%{_mandir}/man3/*.3*
d17577
%{_mandir}/man7/*.7*
d17577
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
d17577
%license LICENSE
d17577
%else
d17577
%doc LICENSE
d17577
%endif
d17577
%doc README.rst ChangeLog
d17577
%dir %{_sysconfdir}/varnish/
59aae9
%attr(0775,root,varnish) %dir %{_localstatedir}/run/%{name}
d17577
%config(noreplace) %{_sysconfdir}/varnish/default.vcl
d17577
%config(noreplace) /etc/logrotate.d/%{?scl:%scl_prefix}varnish
d17577
d17577
%{?scl: %{_scl_scripts}/register.d/*}
d17577
%{?scl: %{_scl_scripts}/register.content/*}
d17577
%{?scl: %{_scl_scripts}/deregister.d/*}
d17577
d17577
# systemd from fedora 17 and rhel 7
d17577
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
d17577
%{_unitdir}/%{varnish_service}
d17577
%{_unitdir}/%{?scl:%scl_prefix}varnishncsa.service
d17577
%config(noreplace)%{_sysconfdir}/varnish/varnish.params
d17577
d17577
# default is standard sysvinit
d17577
%else
d17577
%config(noreplace) %{_sysconfdir}/sysconfig/varnish
d17577
%{_root_initddir}/%{?scl:%scl_prefix}varnish
d17577
%{_root_initddir}/%{?scl:%scl_prefix}varnishlog
d17577
%{_root_initddir}/%{?scl:%scl_prefix}varnishncsa
d17577
%endif
d17577
d17577
%files libs
d17577
%defattr(-,root,root,-)
d17577
%{_libdir}/*.so.*
d17577
%{_libdir}/varnish
d17577
%doc LICENSE
d17577
%config %{_sysconfdir}/ld.so.conf.d/varnish-%{_arch}.conf
d17577
d17577
%files devel
d17577
%defattr(-,root,root,-)
d17577
%{_libdir}/lib*.so
d17577
%{_includedir}/varnish
d17577
%{_libdir}/pkgconfig/%{?scl:%scl_prefix}varnishapi.pc
d17577
%{_datadir}/varnish
d17577
%{_datadir}/aclocal/*.m4
d17577
d17577
%doc LICENSE
d17577
d17577
%files docs
d17577
%defattr(-,root,root,-)
d17577
%doc LICENSE
d17577
%doc doc/sphinx
d17577
%doc doc/html
d17577
%doc doc/changes*.html
d17577
d17577
%if 0%{?rhel} == 6
d17577
%files selinux
d17577
%defattr(-,root,root,-)
d17577
%{_root_datadir}/selinux/packages/%{name}/%{?scl:%scl_prefix}varnish4.pp
d17577
%endif
d17577
d17577
%pre
d17577
getent group varnish >/dev/null || groupadd -r varnish
d17577
getent passwd varnish >/dev/null || \
d17577
       useradd -r -g varnish -d %{_localstatedir}/lib/%{?scl:%scl_prefix}varnish -s /sbin/nologin \
d17577
               -c "Varnish Cache" varnish
d17577
exit 0
d17577
d17577
%post
d17577
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
d17577
d17577
# Fedora 17
d17577
%if 0%{?fedora} == 17
d17577
# Initial installation
d17577
if [ $1 -eq 1 ] ; then
d17577
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
d17577
fi
d17577
d17577
# Fedora 18+, rhel7+
d17577
%else
d17577
%systemd_post %{varnish_service}
d17577
%endif
d17577
d17577
# Other distros: Use chkconfig
d17577
%else
d17577
/sbin/chkconfig --add %{?scl:%scl_prefix}varnish
d17577
/sbin/chkconfig --add %{?scl:%scl_prefix}varnishlog
d17577
/sbin/chkconfig --add %{?scl:%scl_prefix}varnishncsa 
d17577
%endif
d17577
d17577
test -f %{_sysconfdir}/varnish/secret || (uuidgen > %{_sysconfdir}/varnish/secret && chmod 0600 %{_sysconfdir}/varnish/secret)
d17577
d17577
restorecon -R %{_scl_root} >/dev/null 2>&1 || :
d17577
d17577
semanage fcontext -a -e /var/log/varnish %{_localstatedir}/log/varnish >/dev/null 2>&1 || :
d17577
restorecon -R %{_localstatedir}/log/varnish >/dev/null 2>&1 || :
d17577
d17577
semanage fcontext -a -e %{_root_localstatedir}/lib/varnish %{_localstatedir}/lib/%{name} >/dev/null 2>&1 || :
d17577
restorecon -R %{_localstatedir} >/dev/null 2>&1 || :
d17577
d17577
semanage fcontext -a -e %{_root_localstatedir}/run/varnish %{_localstatedir}/run/%{name} >/dev/null 2>&1 || :
d17577
restorecon -R %{_localstatedir} >/dev/null 2>&1 || :
d17577
d17577
# selinux module for el6
d17577
%if 0%{?rhel} == 6
d17577
%post selinux
d17577
if [ "$1" -le "1" ] ; then # First install
d17577
semodule -i %{_root_datadir}/selinux/packages/%{name}/%{?scl:%scl_prefix}varnish4.pp 2>/dev/null || :
d17577
d17577
restorecon -R %{_scl_root} >/dev/null 2>&1 || :
d17577
d17577
semanage fcontext -a -e /var/log/varnish %{_localstatedir}/log/varnish >/dev/null 2>&1 || :
d17577
restorecon -R %{_localstatedir}/log/varnish >/dev/null 2>&1 || :
d17577
d17577
semanage fcontext -a -e %{_root_localstatedir}/lib/%{name} %{_localstatedir}/lib/varnish >/dev/null 2>&1 || :
d17577
restorecon -R %{_localstatedir} >/dev/null 2>&1 || :
d17577
d17577
semanage fcontext -a -e %{_root_localstatedir}/run/%{name} %{_localstatedir}/run/varnish >/dev/null 2>&1 || :
d17577
restorecon -R %{_localstatedir} >/dev/null 2>&1 || :
d17577
fi
d17577
d17577
%preun selinux
d17577
if [ "$1" -lt "1" ] ; then # Final removal
d17577
semodule -r %{?scl:%scl_prefix}varnish4 2>/dev/null || :
d17577
fi
d17577
d17577
%postun selinux
d17577
if [ "$1" -ge "1" ] ; then # Upgrade
d17577
semodule -i %{_root_datadir}/selinux/packages/%{name}/%{?scl:%scl_prefix}varnish4.pp 2>/dev/null || :
d17577
fi
d17577
d17577
%endif
d17577
d17577
%preun
d17577
d17577
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
d17577
%systemd_preun %{varnish_service}
d17577
%else
d17577
d17577
if [ $1 -lt 1 ]; then
d17577
  # Package removal, not upgrade
d17577
  %if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
d17577
  /bin/systemctl --no-reload disable %{varnish_service} > /dev/null 2>&1 || :
d17577
  /bin/systemctl stop %{varnish_service} > /dev/null 2>&1 || :
d17577
  %else
d17577
  /sbin/service %{?scl:%scl_prefix}varnish stop > /dev/null 2>&1
d17577
  /sbin/service %{?scl:%scl_prefix}varnishlog stop > /dev/null 2>&1
d17577
  /sbin/service %{?scl:%scl_prefix}varnishncsa stop > /dev/null 2>%1
d17577
  /sbin/chkconfig --del %{?scl:%scl_prefix}varnish
d17577
  /sbin/chkconfig --del %{?scl:%scl_prefix}varnishlog
d17577
  /sbin/chkconfig --del %{?scl:%scl_prefix}varnishncsa 
d17577
  %endif
d17577
fi
d17577
%endif
d17577
d17577
%post libs -p /sbin/ldconfig
d17577
d17577
%postun libs 
d17577
/sbin/ldconfig
d17577
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
d17577
%systemd_postun_with_restart %{varnish_service}
d17577
%endif
d17577
d17577
%changelog
8c1778
* Thu Jul 22 2021 Luboš Uhliarik <luhliari@redhat.com> - 6.0.8-2
8c1778
- new version 6.0.8
8c1778
- Resolves: #1982865 - CVE-2021-36740 rh-varnish6: varnish: HTTP/2 request
8c1778
  smuggling attack via a large Content-Length header for a POST request
8c1778
59aae9
* Thu Apr 02 2020 Lubos Uhliarik <luhliari@redhat.com> - 6.0.6-1
59aae9
- update to Varnish 6.0.6
59aae9
- Resolves: #1819937 - rh-varnish6-varnish: varnish: remote clients may
59aae9
  cause Varnish to assert and restart which could result in DoS
59aae9
- Resolves: #1707831 - Permissions wrong on /var/opt/rh/rh-varnish6/log/varnish
59aae9
- remove unused varnish.tmpfiles
59aae9
59aae9
* Tue Jan 28 2020 Lubos Uhliarik <luhliari@redhat.com> - 6.0.5-6
59aae9
- Resolves: #1788975 - RFE: updated collection for Varnish 6
59aae9
- update to Varnish 6.0.5
59aae9
019b48
* Thu Jan 03 2019 Lubos Uhliarik <luhliari@redhat.com> - 6.0.2-1
019b48
- Resolves: #1658671 - RFE: updated collection for Varnish 6
019b48
- update to Varnish 6.0.2
019b48
d17577
* Wed Jul 18 2018 Luboš Uhliarik <luhliari@redhat.com> - 6.0.0-2
d17577
- update to Varnish 6.0.0
d17577
d17577
* Fri Jan 19 2018 Luboš Uhliarik <luhliari@redhat.com> - 5.2.1-3
d17577
- Resolves: #1536402 - varnish crash with SEGFAULT on 1st use
d17577
d17577
* Thu Jan 04 2018 Luboš Uhliarik <luhliari@redhat.com> - 5.2.1-1
d17577
- Resolves: #1518821 - RFE: add collection for Varnish 5
d17577
- update to Varnish 5.2.1
d17577
d17577
* Thu Sep 14 2017 Joe Orton <jorton@redhat.com> - 5.1.3-5
d17577
- fix varnish_reload_vcl paths
d17577
d17577
* Fri Sep  8 2017 Joe Orton <jorton@redhat.com> - 5.1.3-4
d17577
- prefix varnishabi- provides with SCL name
d17577
d17577
* Fri Sep  8 2017 Joe Orton <jorton@redhat.com> - 5.1.3-3
d17577
- fix ExecReload in varnish.service, fix ExecStart in varnishncsa.service
d17577
d17577
* Tue Aug 22 2017 Joe Orton <jorton@redhat.com> - 5.1.3-2
d17577
- update to Varnish 5.x, merge with Fedora (Ingvar Hagelund et al)
d17577
d17577
* Fri Sep 18 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-13
d17577
- add prefix also to pkgconfig, use "rh-varnish4" for all prefixes (#1254034)
d17577
d17577
* Tue Sep 15 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-12
d17577
- compile with hardening on RHEL-7
d17577
d17577
* Fri Sep 11 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-11
d17577
- add rh-varnish4 infix/suffix to libraries (#1254034)
d17577
d17577
* Mon Sep 07 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-10
d17577
- enable build time tests
d17577
d17577
* Sun Aug 16 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-9
d17577
- use SELinux context equivalency for localstatedir directories
d17577
d17577
* Wed Aug 12 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-8
d17577
- move logs to /var/opt/rh/rh-varnish4/log (#1250099)
d17577
d17577
* Mon Jul 27 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-7
d17577
- use localstatedir instead of /var
d17577
- fix hard-coded SCL name in paths
d17577
- fix hard-coded storage dir
d17577
d17577
* Fri Jul 10 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-6
d17577
- set the SELinux context for scl root
d17577
d17577
* Thu Jul 09 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-5
d17577
- add support for NFS
d17577
d17577
* Thu Jul 09 2015 Jan Kaluza <jkaluza@redhat.com> - 4.0.3-4
d17577
- package as SCL
d17577
d17577
* Fri Mar 13 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-3
d17577
- Added a patch fixing a crash on bogus content-length header,
d17577
  closing #1200034
d17577
d17577
* Fri Mar 06 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-2
d17577
- Added selinux module for varnish4 on el6
d17577
d17577
* Thu Mar 05 2015 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.3-1
d17577
- New upstream release
d17577
- Removed systemd patch included upstream
d17577
- Rebased trivial Werr-patch for varnish-4.0.3
d17577
- Added patch to build on el5
d17577
d17577
* Tue Nov 25 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.2-1
d17577
- New upstream release
d17577
- Rebased sphinx makefile patch
d17577
- Added systemd services patch from Federico Schwindt
d17577
d17577
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-2.1
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d17577
d17577
* Wed Jul 30 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.1-2
d17577
- Rebased patch for el6
d17577
d17577
* Wed Jul 30 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.1-1 
d17577
- New upstream release 
d17577
- systemd support for rhel7 
d17577
- Dropped patches included upstream 
d17577
d17577
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.0-3.1
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d17577
d17577
* Wed Apr 23 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-3
d17577
- Added a patch that fixes broken find_provides and hard coded provides
d17577
  from upstream
d17577
- Added _isa macro to the libs dependency and updated Group definitions to
d17577
  more modern tags, closes bz 1090196
d17577
- Added aclocal macros to libs-devel sub package
d17577
d17577
* Tue Apr 22 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-2
d17577
- Use _pkgdocdir macro on fedora
d17577
d17577
* Fri Apr 11 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-1
d17577
- New upstream release
d17577
- Updated patches to match new release
d17577
- Dropped patches included upstream
d17577
d17577
* Tue Apr 01 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-0.4.beta1
d17577
- New upstream beta release
d17577
- Added a few patches from upstream git for building on ppc
d17577
d17577
* Wed Mar 12 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-0.3.tp2+20140327
d17577
- Daily snapshot build
d17577
d17577
* Wed Mar 12 2014 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.0.0-0.2.tp2+20140306
d17577
- First try on wrapping 4.0.0-tp2+ daily snapshot series
d17577
- Added the rc and __find_provides macros from upstream
d17577
- Added LD_LIBRARY_PATH fix for varnishd-to-sphinx doc thing
d17577
- Changed LD_LIBRARY_PATH for make check to something more readable
d17577
- etc/zope-plone.vcl is gone. example.vcl replaces default.vcl as example vcl doc
d17577
- Now using example.vcl for /etc/varnish/default.vcl
d17577
- Added docdir to configure call, to get example docs in the right place
d17577
- Systemd scripts are now upstream
d17577
- Added some explicit provides not found automatically
d17577
d17577
* Tue Dec 03 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.5-1
d17577
- New upstream release
d17577
- Dropped patch for CVE-2013-4484, as it's in upstream
d17577
d17577
* Thu Nov 21 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.4-2
d17577
- Changed default mask for varnish log dir to 700, closing #915413 
d17577
- Added a patch for CVE-2013-4484 from upstream, closing #1025128
d17577
d17577
* Mon Aug 12 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.4-1
d17577
- New upstream release
d17577
- Added libedit-devel to the build reqs
d17577
- Changed the old-style initrc sed patching to a blacklist as in upstream
d17577
- Some tab vs space cleanup to make rpmlint more happy
d17577
- Added requirement of redhat-rpm-config, which provides redhat-hardened-cc1,
d17577
  needed for _hardened_build, closes #975147
d17577
- Removed no-pcre patch, as pcre is now switched off by default upstream
d17577
d17577
* Sun Jul 28 2013 Dennis Gilmore <dennis@ausil.us> - 3.0.3-6
d17577
- no pcre jit on arm arches
d17577
d17577
* Wed May 15 2013 Ingvar Hagelund <ingvar@redpill-linpro.com> 3.0.3-5
d17577
- Added macro _hardened_build to enforce compiling with PIE, closes #955156
d17577
- moved ldconfig in postun script to a shell line, since the following lines
d17577
  may expand to more shell commands on fedora >=18
d17577
- Corrected some bogus dates in the changelog
d17577
d17577
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-4
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d17577
d17577
* Tue Oct 09 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.3-3
d17577
- Upped the minimum number of threads from 1 to 5, closes #861493
d17577
d17577
* Tue Sep 18 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.3-2
d17577
- Added a patch from phk, fixing upstream ppc64 bug #1194
d17577
d17577
* Tue Aug 21 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.3-1
d17577
- New upstream release
d17577
- Remove unneeded hacks for ppc
d17577
- Remove hacks for rhel4, we no longer support that
d17577
- Remove unneeded hacks for docs, since we use the pregenerated docs
d17577
- Add new systemd scriptlets from f18+
d17577
- Added a patch switching off pcre jit on i386 and ppc to avoid upstream bug #1191 
d17577
d17577
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-3
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d17577
d17577
* Mon Mar 12 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.2-2
d17577
- Added PrivateTmp=true to varnishd unit file, closing #782539
d17577
- Fixed comment typos in varnish unit file
d17577
d17577
* Tue Mar 06 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.2-1
d17577
- New upstream version 3.0.2
d17577
- Removed INSTALL as requested by rpmlint
d17577
- Added a ld.so.conf.d fragment file listing libdir/varnish 
d17577
- Removed redundant doc/html/_sources
d17577
- systemd support from fedora 17
d17577
- Stopped using macros for make and install, according to 
d17577
  Fedora's packaging guidelines
d17577
- Changes merged from upstream:
d17577
  - Added suse_version macro
d17577
  - Added comments on building from a git checkout
d17577
  - mkpasswd -> uuidgen for fewer dependencies
d17577
  - Fixed missing quotes around cflags for pcre
d17577
  - Removed unnecessary 32/64 bit parallell build hack as this is fixed upstream
d17577
  - Fixed typo in configure call, disable -> without
d17577
  - Added lib/libvgz/.libs to LD_LIBRARY_PATH in make check
d17577
  - Added section 3 manpages
d17577
  - Configure with --without-rst2man --without-rst2html
d17577
  - changelog entries
d17577
- Removed unnecessary patch for system jemalloc, upstream now supports this
d17577
d17577
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.1.5-4
d17577
- Rebuild against PCRE 8.30
d17577
d17577
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-3
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d17577
d17577
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.5-2
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d17577
d17577
* Tue Feb 01 2011 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.5-1
d17577
- New upstream release
d17577
- New download location
d17577
- Moved varnish_reload_vcl to sbin
d17577
- Removed patches included upstream
d17577
- Use jemalloc as system installed library
d17577
d17577
* Mon Nov 15 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.0-0.svn20101115r5543
d17577
- Merged some changes from fedora
d17577
- Upped general version to 3.0 prerelease in trunk
d17577
d17577
* Thu Nov 04 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-4
d17577
- Added a patch fixing a missing echo in the init script that
d17577
  masked failure output from the script
d17577
- Added a patch from upstream, fixing a problem with Content-Length
d17577
  headers (upstream r5461, upstream bug #801)
d17577
- Added a patch from upstream, adding empty Default-Start and Default-Stop
d17577
  to initscripts for better lsb compliance
d17577
- Added varnish_reload_vcl from trunk
d17577
- Synced descriptions from release spec
d17577
d17577
* Thu Oct 28 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-3
d17577
- Fixed missing manpages because of no rst2man in rhel4 and 5
d17577
d17577
* Mon Oct 25 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-2
d17577
- Removed RHEL6/ppc64 specific patch that has been included upstream
d17577
d17577
* Mon Oct 25 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-1
d17577
- New upstream release
d17577
- New URL for source tarball and main website
d17577
- Prebuilt html docs now included, use that instead of running sphinx
d17577
- Putting sphinx generated doc in a separate subpackage
d17577
- Replaced specific include files with a wildcard glob
d17577
- Needs python-sphinx and deps to build sphinx documentation
d17577
d17577
* Tue Aug 24 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-2
d17577
- Added a RHEL6/ppc64 specific patch that changes the hard coded
d17577
  stack size in tests/c00031.vtc
d17577
d17577
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.4-0.svn20100824r5117
d17577
- Replaced specific include files with a wildcard glob
d17577
- Needs python-sphinx and deps to build sphinx documentation
d17577
- Builds html and latex documentation. Put that in a subpackage varnish-docs
d17577
d17577
* Thu Jul 29 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.3-1
d17577
- New upstream release
d17577
- Add a patch for jemalloc on s390 that lacks upstream
d17577
d17577
* Wed May 05 2010 Ingvar Hagelund <ingvar@redpill-linpro.com> - 2.1.2-1
d17577
- New upstream release
d17577
- Remove patches merged upstream
d17577
d17577
* Tue Apr 27 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.1-1
d17577
- New upstream release
d17577
- Added a fix for missing pkgconfig/libpcre.pc on rhel4
d17577
- Added a patch from trunk making the rpm buildable on lowspec
d17577
  build hosts (like Red Hat's ppc build farm nodes)
d17577
- Removed patches that are merged upstream
d17577
d17577
* Wed Apr 14 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-2
d17577
- Added a patch from svn that fixes changes-2.0.6-2.1.0.xml
d17577
d17577
* Tue Apr 06 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-1
d17577
- New upstream release; note: Configuration changes, see the README
d17577
- Removed unneeded patches 
d17577
- CVE-2009-2936: Added a patch from Debian that adds the -S option 
d17577
  to the varnisdh(1) manpage and to the sysconfig defaults, thus
d17577
  password-protecting the admin interface port (#579536,#579533)
d17577
- Generates that password in the post script, requires mkpasswd
d17577
- Added a patch from Robert Scheck for explicit linking to libm
d17577
- Requires pcre
d17577
d17577
* Wed Dec 23 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.6-2
d17577
- Added a test that enables jemalloc on ppc if the kernel is
d17577
  not a rhel5 kernel (as on redhat builders)
d17577
- Removed tests c00031.vtc and r00387on rhel4/ppc as they fail
d17577
  on the Red Hat ppc builders (but works on my rhel4 ppc instance)
d17577
- Added a patch that fixes broken changes-2.0.6.html in doc
d17577
d17577
* Mon Dec 14 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.6-1
d17577
- New upstream release
d17577
- Removed patches for libjemalloc, as they are added upstream
d17577
d17577
* Mon Nov 09 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.5-1
d17577
- New upstream release
d17577
d17577
* Thu Aug 13 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.4-4
d17577
- Added a sparc specific patch to libjemalloc.
d17577
d17577
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-3
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d17577
d17577
* Thu Jun 04 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.4-2
d17577
- Added a s390 specific patch to libjemalloc.
d17577
d17577
* Fri Mar 27 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.4-1
d17577
  New upstream release 2.0.4 
d17577
d17577
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.3-2
d17577
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d17577
d17577
* Wed Feb 11 2009 Ingvar Hagelund <ingvar@linpro.no> - 2.0.3-1
d17577
  New upstream release 2.0.3. A bugfix and feature enhancement release
d17577
d17577
* Fri Dec 12 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-2
d17577
  Added a fix for a timeout bug, backported from trunk
d17577
d17577
* Mon Nov 10 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-1
d17577
  New upstream release 2.0.2. A bugfix release
d17577
d17577
* Sun Nov 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-2
d17577
- Removed the requirement for kernel => 2.6.0. All supported
d17577
  platforms meets this, and it generates strange errors in EPEL
d17577
d17577
* Fri Oct 17 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-1
d17577
- 2.0.1 released, a bugfix release. New upstream sources
d17577
- Package now also available in EPEL
d17577
d17577
* Thu Oct 16 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-2
d17577
- Readded the debugflag patch. It's so practical
d17577
- Added a strange workaround for make check on ppc64
d17577
d17577
* Wed Oct 15 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-1
d17577
- 2.0 released. New upstream sources
d17577
- Disabled jemalloc on ppc and ppc64. Added a note in README.redhat
d17577
- Synced to upstream again. No more patches needed
d17577
d17577
* Wed Oct 08 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.11.rc1
d17577
- 2.0-rc1 released. New upstream sources
d17577
- Added a patch for pagesize to match redhat's rhel5 ppc64 koji build boxes
d17577
- Added a patch for test a00008, from r3269
d17577
- Removed condrestart in postscript at upgrade. We don't want that
d17577
d17577
* Fri Sep 26 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.10.beta2
d17577
- 2.0-beta2 released. New upstream sources
d17577
- Whitespace changes to make rpmlint more happy
d17577
d17577
* Fri Sep 12 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.9.20080912svn3184
d17577
- Added varnisncsa init script (Colin Hill)
d17577
- Corrected varnishlog init script (Colin Hill)
d17577
d17577
* Tue Sep 09 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.8.beta1
d17577
- Added a patch from r3171 that fixes an endian bug on ppc and ppc64
d17577
- Added a hack that changes the varnishtest ports for 64bits builds,
d17577
  so they can run in parallell with 32bits build on same build host
d17577
d17577
* Tue Sep 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.7.beta1
d17577
- Added a patch from r3156 and r3157, hiding a legit errno in make check
d17577
d17577
* Tue Sep 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.6.beta1
d17577
- Added a commented option for max coresize in the sysconfig script
d17577
- Added a comment in README.redhat about upgrading from 1.x to 2.0
d17577
d17577
* Fri Aug 29 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.5.beta1
d17577
- Bumped version numbers and source url for first beta release \o/
d17577
- Added a missing directory to the libs-devel package (Michael Schwendt)
d17577
- Added the LICENSE file to the libs-devel package
d17577
- Moved make check to its proper place
d17577
- Removed superfluous definition of lockfile in initscripts
d17577
d17577
* Wed Aug 27 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.4.20080827svn3136
d17577
- Fixed up init script for varnishlog too
d17577
d17577
* Mon Aug 25 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.3.20080825svn3125
d17577
- Fixing up init script according to newer Fedora standards
d17577
- The build now runs the test suite after compiling
d17577
- Requires initscripts
d17577
- Change default.vcl from nothing but comments to point to localhost:80,
d17577
d17577
* Mon Aug 18 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.2.tp2
d17577
- Changed source, version and release to match 2.0-tp2
d17577
d17577
* Thu Aug 14 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.1.20080814svn
d17577
- default.vcl has moved
d17577
- Added groff to build requirements
d17577
d17577
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.2-6
d17577
- Autorebuild for GCC 4.3
d17577
d17577
* Sat Dec 29 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.2-5
d17577
- Added missing configuration examples
d17577
- Corrected the license to "BSD"
d17577
d17577
* Fri Dec 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.2-4
d17577
- Build for fedora update
d17577
d17577
* Fri Dec 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.2-2
d17577
- Added missing changelog items
d17577
d17577
* Thu Dec 20 2007 Stig Sandbeck Mathisen <ssm@linpro.no> - 1.1.2-1
d17577
- Bumped the version number to 1.1.2.
d17577
- Addeed build dependency on libxslt
d17577
d17577
* Fri Sep 07 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.1-3
d17577
- Added a patch, changeset 1913 from svn trunk. This makes varnish
d17577
  more stable under specific loads. 
d17577
d17577
* Thu Sep 06 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.1-2
d17577
- Removed autogen call (only diff from relase tarball)
d17577
d17577
* Mon Aug 20 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.1-1
d17577
- Bumped the version number to 1.1.1.
d17577
d17577
* Tue Aug 14 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.1.svn
d17577
- Update for 1.1 branch
d17577
- Added the devel package for the header files and static library files
d17577
- Added a varnish user, and fixed the init script accordingly
d17577
d17577
* Thu Jul 05 2007 Dag-Erling Smørgrav <des@des.no> - 1.1-1
d17577
- Bump Version and Release for 1.1
d17577
d17577
* Mon May 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.4-3
d17577
- Fixed initrc-script bug only visible on el4 (fixes #107)
d17577
d17577
* Sun May 20 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.4-2
d17577
- Repack from unchanged 1.0.4 tarball
d17577
- Final review request and CVS request for Fedora Extras
d17577
- Repack with extra obsoletes for upgrading from older sf.net package
d17577
d17577
* Fri May 18 2007 Dag-Erling Smørgrav <des@des.no> - 1.0.4-1
d17577
- Bump Version and Release for 1.0.4
d17577
d17577
* Wed May 16 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070517
d17577
- Wrapping up for 1.0.4
d17577
- Changes in sysconfig and init scripts. Syncing with files in
d17577
  trunk/debian
d17577
d17577
* Fri May 11 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070511
d17577
- Threw latest changes into svn trunk
d17577
- Removed the conversion of manpages into utf8. They are all utf8 in trunk
d17577
d17577
* Wed May 09 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-7
d17577
- Simplified the references to the subpackage names
d17577
- Added init and logrotate scripts for varnishlog
d17577
d17577
* Mon Apr 23 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-6
d17577
- Removed unnecessary macro lib_name
d17577
- Fixed inconsistently use of brackets in macros
d17577
- Added a condrestart to the initscript
d17577
- All manfiles included, not just the compressed ones
d17577
- Removed explicit requirement for ncurses. rpmbuild figures out the 
d17577
  correct deps by itself.
d17577
- Added ulimit value to initskript and sysconfig file
d17577
- Many thanks to Matthias Saou for valuable input
d17577
d17577
* Mon Apr 16 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-5
d17577
- Added the dist tag
d17577
- Exchanged  RPM_BUILD_ROOT variable for buildroot macro
d17577
- Removed stripping of binaries to create a meaningful debug package
d17577
- Removed BuildRoot and URL from subpackages, they are picked from the
d17577
  main package
d17577
- Removed duplication of documentation files in the subpackages
d17577
- 'chkconfig --list' removed from post script
d17577
- Package now includes _sysconfdir/varnish/
d17577
- Trimmed package information
d17577
- Removed static libs and .so-symlinks. They can be added to a -devel package
d17577
  later if anybody misses them
d17577
d17577
* Wed Feb 28 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-4
d17577
- More small specfile fixes for Fedora Extras Package
d17577
  Review Request, see bugzilla ticket 230275
d17577
- Removed rpath (only visible on x86_64 and probably ppc64)
d17577
d17577
* Tue Feb 27 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-3
d17577
- Made post-1.0.3 changes into a patch to the upstream tarball
d17577
- First Fedora Extras Package Review Request
d17577
d17577
* Fri Feb 23 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-2
d17577
- A few other small changes to make rpmlint happy
d17577
d17577
* Thu Feb 22 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.3-1
d17577
- New release 1.0.3. See the general ChangeLog
d17577
- Splitted the package into varnish, libvarnish1 and
d17577
  libvarnish1-devel
d17577
d17577
* Thu Oct 19 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.2-7
d17577
- Added a Vendor tag
d17577
d17577
* Thu Oct 19 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.2-6
d17577
- Added redhat subdir to svn
d17577
- Removed default vcl config file. Used the new upstream variant instead.
d17577
- Based build on svn. Running autogen.sh as start of build. Also added
d17577
  libtool, autoconf and automake to BuildRequires.
d17577
- Removed rule to move varnishd to sbin. This is now fixed in upstream
d17577
- Changed the sysconfig script to include a lot more nice features.
d17577
  Most of these were ripped from the Debian package. Updated initscript
d17577
  to reflect this.
d17577
d17577
* Tue Oct 10 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.1-3
d17577
- Moved Red Hat specific files to its own subdirectory
d17577
d17577
* Tue Sep 26 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.1-2
d17577
- Added gcc requirement.
d17577
- Changed to an even simpler example vcl in to /etc/varnish (thanks, perbu)
d17577
- Added a sysconfig entry
d17577
d17577
* Fri Sep 22 2006 Ingvar Hagelund <ingvar@linpro.no> - 1.0.1-1
d17577
- Initial build.