Accepting request 229070 from server:proxy

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/229070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/squid?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2014-04-05 14:48:23 +00:00 committed by Git OBS Bridge
commit 82ec796f4b
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 28 18:46:44 UTC 2014 - chris@computersalat.de
- fix pidfile dir
* systemd -> /run/squid.pid
* SysVinit -> /var/run/squid.pid
-------------------------------------------------------------------
Sun Mar 16 08:54:50 UTC 2014 - boris@steki.net

View File

@ -10,7 +10,7 @@ ExecStart=/usr/sbin/squid -F $SQUID_START_OPTIONS -f /etc/squid/squid.conf
ExecReload=/usr/sbin/squid -F $SQUID_START_OPTIONS -f /etc/squid/squid.conf -k reconfigure
ExecStop=/usr/sbin/squid -F -f /etc/squid/squid.conf -k shutdown
LimitNOFILE=4096
PIDFile=/var/run/squid.pid
PIDFile=/run/squid.pid
[Install]
WantedBy=multi-user.target

View File

@ -92,7 +92,7 @@ BuildRequires: libxml2-devel
BuildRequires: pkgconfig(libxml-2.0)
%endif
%if 0%{?suse_version} > 1140
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%{?systemd_requires}
%define has_systemd 1
@ -151,7 +151,11 @@ export LDFLAGS='-Wl,-z,relro,-z,now -pie'
--datadir=/usr/share/squid \
--sharedstatedir=/var/squid \
--with-logdir=/var/log/squid \
%if 0%{?has_systemd}
--with-pidfile=/run/squid.pid \
%else
--with-pidfile=/var/run/squid.pid \
%endif
--with-dl \
--enable-disk-io \
--enable-storeio \