rebuilt with debug package [release 4.4.2-2mamba;Tue Apr 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:45:41 +01:00
parent f046a5dd3f
commit 04d0cc8aea

View File

@ -1,8 +1,8 @@
%define patchver %(echo %version | cut -d. -f4) %define patchver %(echo %version | cut -d. -f4)
%define releasever %(echo %version | cut -d. -f1-3) %define releasever %(echo %version | cut -d. -f1-3)
Name: dhcp Name: dhcp
Version: 4.4.1 Version: 4.4.2
Release: 1mamba Release: 2mamba
Summary: The ISC DHCP (Dynamic Host Configuration Protocol) client Summary: The ISC DHCP (Dynamic Host Configuration Protocol) client
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -26,7 +26,7 @@ License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: idutils #BuildRequires: idutils
BuildRequires: net-tools BuildRequires: net-tools
Requires: net-tools Requires: net-tools
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -75,9 +75,12 @@ The dhcp package includes the DHCP server and a DHCP relay agent.
This package contains the DHCP server. This package contains the DHCP server.
%debug_package
%prep %prep
#%setup -q -n %{name}-%{releasever}%{?patchver:-%patchver} #% setup -q -n %{name}-%{releasever}%{?patchver:-%patchver}
%setup -q -n %{name}-%{releasever} %setup -q -n %{name}-%{releasever}
#-D -T
#%patch0 -p1 #%patch0 -p1
#%patch1 -p1 #%patch1 -p1
#%patch2 -p1 #%patch2 -p1
@ -105,6 +108,7 @@ ac_cv_file__dev_random=yes
_EOF _EOF
%endif %endif
%configure \ %configure \
CFLAGS="%{optflags} -fcommon" \
--sbindir=/sbin \ --sbindir=/sbin \
--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \
--with-cli-lease-file=/var/lib/dhclient/dhclient.leases \ --with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
@ -114,6 +118,9 @@ _EOF
--with-cli6-pid-file=/run/dhclient6.pid \ --with-cli6-pid-file=/run/dhclient6.pid \
--with-relay-pid-file=/run/dhcrelay.pid \ --with-relay-pid-file=/run/dhcrelay.pid \
--with-relay6-pid-file=/run/dhcrelay6.pid \ --with-relay6-pid-file=/run/dhcrelay6.pid \
%ifarch arm
--with-bind-extra-config="--enable-atomic CFLAGS=\"%{optflags} -march=armv7-a\" LDFLAGS=\"-latomic\"" \
%endif
%if "%{_host}" != "%{_build}" %if "%{_host}" != "%{_build}"
--cache-file=config.cache --cache-file=config.cache
%endif %endif
@ -209,6 +216,12 @@ grep "^send host-name" %{_sysconfdir}/dhclient.conf >/dev/null || {
%doc RELNOTES doc %doc RELNOTES doc
%changelog %changelog
* Tue Apr 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.2-2mamba
- rebuilt with debug package
* Wed Jan 22 2020 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
- automatic version update by autodist
* Wed Feb 28 2018 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba * Wed Feb 28 2018 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
- automatic version update by autodist - automatic version update by autodist
@ -357,7 +370,7 @@ grep "^send host-name" %{_sysconfdir}/dhclient.conf >/dev/null || {
* Thu Nov 03 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.2-2qilnx * Thu Nov 03 2005 Davide Madrisan <davide.madrisan@qilinux.it> 3.0.2-2qilnx
- p#2: do not overwrite /etc/resolv.conf when locked - p#2: do not overwrite /etc/resolv.conf when locked
* Mon May 05 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1qilnx * Thu May 05 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1qilnx
- make dhclient-script create /etc/resolv.conf even if domain name was not - make dhclient-script create /etc/resolv.conf even if domain name was not
passed from DHCP server passed from DHCP server
- make dhclient log less annoying when a interface is looking for a dhcp - make dhclient log less annoying when a interface is looking for a dhcp
@ -369,13 +382,13 @@ grep "^send host-name" %{_sysconfdir}/dhclient.conf >/dev/null || {
* Sun Jul 18 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1qilnx * Sun Jul 18 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1qilnx
- new version build - new version build
* Mon Dec 02 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0pl2-7qilnx * Tue Dec 02 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0pl2-7qilnx
- removed initscript reload (not supported by dhcpd) - removed initscript reload (not supported by dhcpd)
* Wed Oct 08 2003 Davide Madrisan <davide.madrisan@qilinuc.it> 3.0p12-6qilnx * Wed Oct 08 2003 Davide Madrisan <davide.madrisan@qilinuc.it> 3.0p12-6qilnx
- new policies for chkconfig and automatic start/restart of the dhcp service - new policies for chkconfig and automatic start/restart of the dhcp service
* Mon Jul 02 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.0pl2-5qilnx * Wed Jul 02 2003 Silvan Calarco <silvan.calarco@qinet.it> 3.0pl2-5qilnx
- fixed dhclient.conf send host-name (a ; was missing) - fixed dhclient.conf send host-name (a ; was missing)
- fixed initscript [ OK ] alignment - fixed initscript [ OK ] alignment