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