Accepting request 266863 from server:proxy:Test
factory fixes OBS-URL: https://build.opensuse.org/request/show/266863 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=63
This commit is contained in:
parent
08d4caed07
commit
a26a7b04bb
@ -2,4 +2,4 @@ addFilter("no-manual-page-for-binary")
|
|||||||
addFilter("zero-length")
|
addFilter("zero-length")
|
||||||
addFilter("incorrect-fsf-address")
|
addFilter("incorrect-fsf-address")
|
||||||
# Temporary solution untill it is moved into factory
|
# Temporary solution untill it is moved into factory
|
||||||
setBadness('permissions-unauthorized-file', 333)
|
#setBadness('permissions-unauthorized-file', 333)
|
||||||
|
@ -1,9 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 9 12:42:48 UTC 2014 - boris@steki.net
|
||||||
|
|
||||||
|
- remove setBadness in rpmlintrc as it should be already in Factory
|
||||||
|
permissions package handled
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 8 15:28:42 UTC 2014 - meissner@suse.com
|
||||||
|
|
||||||
|
- %verifyscript is its own section, move out of the %postun section
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 2 10:27:49 UTC 2014 - dimstar@opensuse.org
|
Tue Dec 2 10:27:49 UTC 2014 - dimstar@opensuse.org
|
||||||
|
|
||||||
- Use URLs to paths that the source validator actually understands
|
- Use URLs to paths that the source validator actually understands
|
||||||
and make this acceptable for Tumbleweed.
|
and make this acceptable for Tumbleweed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 27 21:18:35 UTC 2014 - chris@computersalat.de
|
||||||
|
|
||||||
|
- fix for boo#894636 (squid's logrotate snippet runs init script)
|
||||||
|
* modify squid.logrotate to work on both systemd and SysVinit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 27 13:16:58 UTC 2014 - lmuelle@suse.com
|
Thu Nov 27 13:16:58 UTC 2014 - lmuelle@suse.com
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/var/log/squid/access.log /var/log/squid/store.log {
|
/var/log/squid/access.log /var/log/squid/store.log /var/log/squid/cache.log {
|
||||||
compress
|
compress
|
||||||
dateext
|
dateext
|
||||||
maxage 365
|
maxage 365
|
||||||
@ -9,20 +9,6 @@
|
|||||||
create 640 squid root
|
create 640 squid root
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
/usr/bin/systemctl reload squid.service
|
/usr/bin/systemctl -q is-active squid.service && /usr/sbin/squid -k rotate
|
||||||
endscript
|
|
||||||
}
|
|
||||||
|
|
||||||
/var/log/squid/cache.log {
|
|
||||||
compress
|
|
||||||
dateext
|
|
||||||
maxage 365
|
|
||||||
rotate 99
|
|
||||||
size=+1024k
|
|
||||||
notifempty
|
|
||||||
missingok
|
|
||||||
create 640 squid root
|
|
||||||
postrotate
|
|
||||||
/usr/bin/systemctl reload squid.service
|
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
44
squid.spec
44
squid.spec
@ -35,12 +35,12 @@ Source4: squid.sysconfig
|
|||||||
Source5: pam.squid
|
Source5: pam.squid
|
||||||
Source6: unsquid.pl
|
Source6: unsquid.pl
|
||||||
Source7: %{name}.logrotate
|
Source7: %{name}.logrotate
|
||||||
Source9: %{name}.permissions.easy
|
###Source9: %%{name}.permissions.easy
|
||||||
Source10: README.kerberos
|
Source10: README.kerberos
|
||||||
Source11: %{name}.service
|
Source11: %{name}.service
|
||||||
Source13: %{name}.keyring
|
Source13: %{name}.keyring
|
||||||
Source14: squid.init.rh
|
Source14: squid.init.rh
|
||||||
Source15: %{name}.permissions.paranoid
|
###Source15: %%{name}.permissions.paranoid
|
||||||
|
|
||||||
#
|
#
|
||||||
# the following patches are downloaded directly from the webserver
|
# the following patches are downloaded directly from the webserver
|
||||||
@ -226,20 +226,22 @@ make install DESTDIR=%{buildroot} SAMBAPREFIX=/usr
|
|||||||
mv %{buildroot}{/etc/%{name}/,/usr/share/%{name}/}mime.conf.default
|
mv %{buildroot}{/etc/%{name}/,/usr/share/%{name}/}mime.conf.default
|
||||||
ln -s /etc/%{name}/mime.conf %{buildroot}%{_datadir}/%{name} # backward compatible
|
ln -s /etc/%{name}/mime.conf %{buildroot}%{_datadir}/%{name} # backward compatible
|
||||||
|
|
||||||
# install permissions files
|
#### install permissions files
|
||||||
cp -a %{SOURCE9} %{name}.easy
|
###%%if 0%%{?suse_version} <= 1320
|
||||||
cp -a %{SOURCE9} %{name}.secure
|
###cp -a %%{SOURCE9} %%{name}.easy
|
||||||
cp -a %{SOURCE15} %{name}.paranoid
|
###cp -a %%{SOURCE9} %%{name}.secure
|
||||||
%if !0%{?has_systemd}
|
###cp -a %%{SOURCE15} %%{name}.paranoid
|
||||||
sed -i -re '/capabilities/d;s@^(/usr/sbin/pinger.*)750@\12750@g' %{name}.easy
|
###%if !0%%{?has_systemd}
|
||||||
sed -i -re '/capabilities/d;s@^(/usr/sbin/pinger.*)750@\12750@g' %{name}.secure
|
###sed -i -re '/capabilities/d;s@^(/usr/sbin/pinger.*)750@\12750@g' %%{name}.easy
|
||||||
sed -i -re '/capabilities/d;s@^(/usr/sbin/pinger.*)750@\1750@g' %{name}.paranoid
|
###sed -i -re '/capabilities/d;s@^(/usr/sbin/pinger.*)750@\12750@g' %%{name}.secure
|
||||||
%endif
|
###sed -i -re '/capabilities/d;s@^(/usr/sbin/pinger.*)750@\1750@g' %%{name}.paranoid
|
||||||
|
###%%endif
|
||||||
|
|
||||||
install -D -m 644 %{name}.easy %{buildroot}%{_sysconfdir}/permissions.d/%{name}.easy
|
###install -D -m 644 %%{name}.easy %%{buildroot}%%{_sysconfdir}/permissions.d/%%{name}.easy
|
||||||
# pinger should be secure "enough" anyway paranoid will strip everything :)
|
#### pinger should be secure "enough" anyway paranoid will strip everything :)
|
||||||
install -m 644 %{name}.secure %{buildroot}%{_sysconfdir}/permissions.d/%{name}.secure
|
###install -m 644 %%{name}.secure %%{buildroot}%%{_sysconfdir}/permissions.d/%%{name}.secure
|
||||||
install -m 644 %{name}.paranoid %{buildroot}%{_sysconfdir}/permissions.d/%{name}.paranoid
|
###install -m 644 %%{name}.paranoid %%{buildroot}%%{_sysconfdir}/permissions.d/%%{name}.paranoid
|
||||||
|
###%%endif
|
||||||
|
|
||||||
# install logrotate file
|
# install logrotate file
|
||||||
install -D -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
install -D -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
||||||
@ -363,7 +365,6 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%verifyscript
|
%verifyscript
|
||||||
%verify_permissions -e /usr/sbin/basic_pam_auth
|
%verify_permissions -e /usr/sbin/basic_pam_auth
|
||||||
@ -372,6 +373,7 @@ fi
|
|||||||
%verify_permissions -e /var/log/squid/
|
%verify_permissions -e /var/log/squid/
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%postun
|
||||||
%if 0%{?has_systemd}
|
%if 0%{?has_systemd}
|
||||||
%service_del_postun squid.service
|
%service_del_postun squid.service
|
||||||
%else
|
%else
|
||||||
@ -414,9 +416,11 @@ fi
|
|||||||
%config %{squidconfdir}/%{name}.conf.default
|
%config %{squidconfdir}/%{name}.conf.default
|
||||||
%config %{squidconfdir}/%{name}.conf.documented
|
%config %{squidconfdir}/%{name}.conf.documented
|
||||||
%config %{_sysconfdir}/pam.d/%{name}
|
%config %{_sysconfdir}/pam.d/%{name}
|
||||||
%config %{_sysconfdir}/permissions.d/%{name}.easy
|
###%%if 0%%{?suse_version} <= 1320
|
||||||
%config %{_sysconfdir}/permissions.d/%{name}.secure
|
###%%config %%{_sysconfdir}/permissions.d/%%{name}.easy
|
||||||
%config %{_sysconfdir}/permissions.d/%{name}.paranoid
|
###%%config %%{_sysconfdir}/permissions.d/%%{name}.secure
|
||||||
|
###%%config %%{_sysconfdir}/permissions.d/%%{name}.paranoid
|
||||||
|
###%%endif
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/errors
|
%{_datadir}/%{name}/errors
|
||||||
%{_datadir}/%{name}/icons
|
%{_datadir}/%{name}/icons
|
||||||
@ -433,7 +437,7 @@ fi
|
|||||||
%{_sbindir}/basic_msnt_multi_domain_auth
|
%{_sbindir}/basic_msnt_multi_domain_auth
|
||||||
%{_sbindir}/basic_ncsa_auth
|
%{_sbindir}/basic_ncsa_auth
|
||||||
%{_sbindir}/basic_nis_auth
|
%{_sbindir}/basic_nis_auth
|
||||||
%verify(not user group mode) %attr(2750,root,shadow) %{_sbindir}/basic_pam_auth
|
%verify(not mode) %attr(2750,root,shadow) %{_sbindir}/basic_pam_auth
|
||||||
#{_sbindir}/basic_pam_auth
|
#{_sbindir}/basic_pam_auth
|
||||||
%{_sbindir}/basic_pop3_auth
|
%{_sbindir}/basic_pop3_auth
|
||||||
%{_sbindir}/basic_radius_auth
|
%{_sbindir}/basic_radius_auth
|
||||||
|
Loading…
Reference in New Issue
Block a user