Search
j0ke.net Open Build Service
>
Projects
>
ha
>
varnish2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 36
[-]
[+]
Changed
varnish.spec
@@ -1,8 +1,9 @@ # norootforbuild %define pversion 2.1.2 +%define varnish_backend_secret 2010#${RANDOM} Name: varnish Version: 2.1.2 -Release: 20 +Release: 25 # License: BSD Group: Productivity/Networking/Web/Proxy @@ -154,6 +155,7 @@ # config files %{__install} -D -m 0644 etc/default.vcl %{buildroot}%{_sysconfdir}/%{name}/default.vcl %{__install} -D -m 0644 etc/default.vcl %{buildroot}%{_sysconfdir}/%{name}/default.vcl.example +echo %{varnish_backend_secret} > %{buildroot}%{_sysconfdir}/%{name}/secret # directorys %{__install} -m 0755 -d %{buildroot}%{pkg_cachedir} %endif @@ -195,6 +197,7 @@ %config(noreplace) %{_sysconfdir}/init.d/%{name} # %dir %attr(750,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/ +%config(noreplace) %attr(640,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/secret %config(noreplace) %attr(640,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/default.vcl %config %attr(640,%{pkg_name},%{pkg_name}) %{_sysconfdir}/%{name}/default.vcl.example %dir %attr(750,%{pkg_name},%{pkg_name}) %{_var}/run/%{name}/ @@ -253,6 +256,9 @@ %{_libdir}/libvarnishcompat.so %changelog +* Sat May 22 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.2-25 +- added missing secret file + * Wed May 05 2010 Carsten Schoene <cs@linux-administrator.com> - 2.1.2-20 - update to release 2.1.2