rebuilt without libwww [release 6.3-2mamba;Thu Oct 19 2023]
This commit is contained in:
parent
649c5031ff
commit
ac005151b0
28
squid.spec
28
squid.spec
@ -6,7 +6,7 @@
|
||||
|
||||
Name: squid
|
||||
Version: 6.3
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The Squid proxy caching server
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -42,7 +42,6 @@ BuildRequires: libperl
|
||||
BuildRequires: libsasl2-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
BuildRequires: libwww-devel
|
||||
BuildRequires: libxcrypt-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: perl-Crypt-OpenSSL-X509
|
||||
@ -50,9 +49,10 @@ BuildRequires: perl-DBI
|
||||
BuildRequires: perl-URI
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildConflicts: libwww-devel
|
||||
BuildRequires: openjade
|
||||
BuildRequires: linuxdoc-tools
|
||||
Obsoletes: squid-respawn
|
||||
Obsoletes: squid-respawn < 6.3-2mamba
|
||||
%systemd_requires
|
||||
|
||||
%description
|
||||
@ -79,7 +79,7 @@ mkdir tools/tests tools/squidclient/tests
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--bindir=%{_sbindir} \
|
||||
--sbindir=%{_bindir} \
|
||||
--libexecdir=%{_libdir}/squid \
|
||||
--sysconfdir=%{_sysconfdir}/squid \
|
||||
--datadir=%{_datadir}/squid \
|
||||
@ -124,7 +124,6 @@ mkdir tools/tests tools/squidclient/tests
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall \
|
||||
bindir=%{_sbindir} \
|
||||
sysconfdir=%{_sysconfdir}/squid
|
||||
|
||||
install -D -m0644 %{SOURCE6} %{buildroot}%{_unitdir}/squid.service
|
||||
@ -149,16 +148,16 @@ mv %{buildroot}%{_datadir}/squid/mib.txt \
|
||||
> %{buildroot}/var/log/squid/store.log
|
||||
|
||||
# remove unpackaged files
|
||||
rm -f %{buildroot}%{_sbindir}/RunCache
|
||||
rm -f %{buildroot}%{_bindir}/RunCache
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%pre
|
||||
/usr/sbin/groupadd squid -g %{groupid} 2>/dev/null
|
||||
/usr/sbin/useradd -u %{userid} -c 'Squid user' -d /dev/null -g squid \
|
||||
groupadd squid -g %{groupid} 2>/dev/null
|
||||
useradd -u %{userid} -c 'Squid user' -d /dev/null -g squid \
|
||||
-s /bin/false squid 2>/dev/null
|
||||
exit 0
|
||||
:
|
||||
|
||||
%post
|
||||
%systemd_post %{name}
|
||||
@ -168,7 +167,7 @@ exit 0
|
||||
%systemd_preun %{name}
|
||||
# erase
|
||||
if [ $1 -eq 0 ]; then
|
||||
/usr/sbin/userdel squid
|
||||
userdel squid
|
||||
fi
|
||||
:
|
||||
|
||||
@ -194,9 +193,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%config %{_sysconfdir}/squid/errorpage.css*
|
||||
%{_sysconfdir}/squid/squid.conf.documented
|
||||
%{_sysconfdir}/squid/*.conf.default
|
||||
%{_sbindir}/purge
|
||||
%{_sbindir}/squid
|
||||
%{_sbindir}/squidclient
|
||||
%{_bindir}/purge
|
||||
%{_bindir}/squid
|
||||
%{_bindir}/squidclient
|
||||
%{_unitdir}/squid.service
|
||||
#%{_initrddir}/squid
|
||||
%{_datadir}/squid/errors/*
|
||||
@ -254,6 +253,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
#%doc QUICKSTART README RELEASENOTES.html SPONSORS
|
||||
|
||||
%changelog
|
||||
* Thu Oct 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.3-2mamba
|
||||
- rebuilt without libwww
|
||||
|
||||
* Mon Sep 04 2023 Automatic Build System <autodist@mambasoft.it> 6.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user