Blame SPECS/varnish.spec

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