|
|
fa84285 |
#
|
|
|
fa84285 |
# spec file for package wide-dhcpv6
|
|
|
fa84285 |
#
|
|
|
fa84285 |
|
|
|
068952c |
%global ubuntu_release 23
|
|
David Beveridge |
5afb165 |
%global my_release 2
|
|
|
fa84285 |
%global _hardened_build 1
|
|
|
fa84285 |
|
|
|
fa84285 |
Name: wide-dhcpv6
|
|
Igor Gnatenko |
3a729e9 |
BuildRequires: gcc
|
|
David Beveridge |
5afb165 |
BuildRequires: bison flex libfl-static systemd
|
|
|
fa84285 |
# The entire source code is BSD except the bison parser code which is GPL
|
|
|
fa84285 |
License: BSD and GPLv2+
|
|
|
fa84285 |
Summary: DHCP Client and Server for IPv6
|
|
|
fa84285 |
Version: 20080615
|
|
|
fa84285 |
Url: https://launchpad.net/ubuntu/+source/%{name}/%{version}-%{ubuntu_release}
|
|
|
53a8209 |
Release: %{ubuntu_release}.%{my_release}%{dist}.2
|
|
|
fa84285 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
fa84285 |
Source1: CHANGELOG-LINUX
|
|
|
fa84285 |
Source2: COPYRIGHT
|
|
|
fa84285 |
Source3: dhcp6c-script
|
|
|
fa84285 |
Source4: dhcp6c.service
|
|
|
fa84285 |
Source5: dhcp6r.service
|
|
|
fa84285 |
Source6: dhcp6s.service
|
|
|
fa84285 |
Source7: RELEASENOTES
|
|
|
159c7fe |
Source8: dhcp6c@.service
|
|
|
068952c |
Patch1: wide-dhcpv6-0001-Fix-manpages.patch
|
|
|
068952c |
Patch2: wide-dhcpv6-0002-Don-t-strip-binaries.patch
|
|
|
068952c |
Patch3: wide-dhcpv6-0003-Close-inherited-file-descriptors.patch
|
|
|
068952c |
Patch4: wide-dhcpv6-0004-GNU-libc6-fixes.patch
|
|
|
068952c |
Patch5: wide-dhcpv6-0005-Update-ifid-on-interface-restart.patch
|
|
|
068952c |
Patch6: wide-dhcpv6-0006-Add-new-feature-dhcp6c-profiles.patch
|
|
|
068952c |
Patch7: wide-dhcpv6-0007-Adding-ifid-option-to-the-dhcp6c.conf-prefix-interfa.patch
|
|
|
068952c |
Patch8: wide-dhcpv6-0008-Close-file-descriptors-on-exec.patch
|
|
|
068952c |
Patch9: wide-dhcpv6-0009-Fix-renewal-of-IA-NA.patch
|
|
|
068952c |
Patch10: wide-dhcpv6-0010-Call-client-script-after-interfaces-have-been-update.patch
|
|
|
068952c |
Patch11: wide-dhcpv6-0011-resolv-warnings-so-as-to-make-blhc-and-gcc-both-happ.patch
|
|
|
068952c |
Patch12: wide-dhcpv6-0012-fix-a-redefined-YYDEBUG-warning-of-gcc-for-the-code-.patch
|
|
|
068952c |
Patch13: wide-dhcpv6-0013-added-several-comments-examples-by-Stefan-Sperling.patch
|
|
|
068952c |
Patch14: wide-dhcpv6-0014-Support-to-build-on-kFreeBSD-n-GNU-Hurd-platform.patch
|
|
|
068952c |
Patch15: wide-dhcpv6-0015-a-bit-info-to-logger-when-get-OPTION_RECONF_ACCEPT.patch
|
|
|
068952c |
Patch16: wide-dhcpv6-0016-fix-typo-in-dhcp6c.8-manpage.patch
|
|
|
068952c |
Patch17: wide-dhcpv6-0017-Remove-unused-linking-with-libfl.patch
|
|
|
068952c |
Patch18: wide-dhcpv6-0018-dhcpv6-ignore-advertise-messages-with-none-of-reques.patch
|
|
|
068952c |
Patch19: wide-dhcpv6-0019-Server-should-not-bind-control-port-if-there-is-no-s.patch
|
|
|
068952c |
Patch20: wide-dhcpv6-0020-Adding-option-to-randomize-interface-id.patch
|
|
|
068952c |
Patch21: wide-dhcpv6-0021-Make-sla-len-config-optional.patch
|
|
|
068952c |
Patch22: wide-dhcpv6-0022-Make-sla-id-config-optional.patch
|
|
|
f16e564 |
Patch23: wide-dhcpv6-0023-fix-the-parallel-build-fix.patch
|
|
|
fa84285 |
Requires(preun): systemd
|
|
|
fa84285 |
Requires(postun): systemd
|
|
|
fa84285 |
|
|
|
fa84285 |
%description
|
|
|
fa84285 |
This is the DHCPv6 package from WIDE project. For more information visit the
|
|
|
fa84285 |
project web site at http://wide-dhcpv6.sourceforge.net/
|
|
|
fa84285 |
|
|
|
fa84285 |
DHCPv6 allows prefix delegation and host configuration for the IPv6 network
|
|
|
fa84285 |
protocol.
|
|
|
fa84285 |
|
|
|
fa84285 |
Multiple network interfaces are supported by this DHCPv6 package.
|
|
|
fa84285 |
|
|
|
fa84285 |
This package contains the server, relay and client.
|
|
|
fa84285 |
|
|
|
fa84285 |
|
|
|
fa84285 |
%prep
|
|
|
fa84285 |
%setup -q
|
|
|
fa84285 |
%patch1 -p1
|
|
|
fa84285 |
%patch2 -p1
|
|
|
fa84285 |
%patch3 -p1
|
|
|
fa84285 |
%patch4 -p1
|
|
|
fa84285 |
%patch5 -p1
|
|
|
fa84285 |
%patch6 -p1
|
|
|
fa84285 |
%patch7 -p1
|
|
|
fa84285 |
%patch8 -p1
|
|
|
fa84285 |
%patch9 -p1
|
|
|
fa84285 |
%patch10 -p1
|
|
|
fa84285 |
%patch11 -p1
|
|
|
fa84285 |
%patch12 -p1
|
|
|
fa84285 |
%patch13 -p1
|
|
|
068952c |
%patch14 -p1
|
|
|
068952c |
%patch15 -p1
|
|
|
068952c |
%patch16 -p1
|
|
|
068952c |
%patch17 -p1
|
|
|
068952c |
%patch18 -p1
|
|
|
068952c |
%patch19 -p1
|
|
|
068952c |
%patch20 -p1
|
|
|
068952c |
%patch21 -p1
|
|
|
068952c |
%patch22 -p1
|
|
|
068952c |
%patch23 -p1
|
|
|
fa84285 |
|
|
|
fa84285 |
|
|
|
fa84285 |
%build
|
|
|
fa84285 |
%configure --sysconfdir=%{_sysconfdir}/%{name} --enable-libdhcp=no
|
|
|
fa84285 |
make %{?_smp_mflags}
|
|
|
fa84285 |
|
|
|
fa84285 |
%install
|
|
|
fa84285 |
mkdir -p %{buildroot}%{_sbindir}
|
|
|
fa84285 |
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
|
|
|
fa84285 |
mkdir -p %{buildroot}%{_mandir}/man{8,5}
|
|
|
fa84285 |
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
159c7fe |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
fa84285 |
install -p -m 755 dhcp6c dhcp6s dhcp6relay dhcp6ctl %{buildroot}%{_sbindir}
|
|
|
fa84285 |
install -p -m 644 dhcp6c.8 dhcp6s.8 dhcp6relay.8 dhcp6ctl.8 %{buildroot}/%{_mandir}/man8
|
|
|
fa84285 |
install -p -m 644 dhcp6c.conf.5 dhcp6s.conf.5 %{buildroot}/%{_mandir}/man5
|
|
|
fa84285 |
install -p -m 644 %{SOURCE1} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 %{SOURCE2} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 %{SOURCE3} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 %{SOURCE4} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 %{SOURCE5} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 %{SOURCE6} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 %{SOURCE7} %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
159c7fe |
install -p -m 644 %{SOURCE8} %{buildroot}%{_unitdir}
|
|
|
fa84285 |
install -p -m 644 README CHANGES %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 dhcp6c.conf.sample %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
install -p -m 644 dhcp6s.conf.sample %{buildroot}%{_defaultdocdir}/%{name}
|
|
|
fa84285 |
|
|
|
fa84285 |
%preun
|
|
|
159c7fe |
if [ $1 -lt 1 ] ; then
|
|
|
159c7fe |
%systemd_preun dhcp6c@.service
|
|
|
159c7fe |
fi
|
|
|
fa84285 |
%systemd_preun dhcp6c.service
|
|
|
fa84285 |
%systemd_preun dhcp6r.service
|
|
|
fa84285 |
%systemd_preun dhcp6s.service
|
|
|
fa84285 |
|
|
|
fa84285 |
%postun
|
|
|
fa84285 |
%systemd_postun_with_restart dhcp6c.service
|
|
|
fa84285 |
%systemd_postun_with_restart dhcp6r.service
|
|
|
fa84285 |
%systemd_postun_with_restart dhcp6s.service
|
|
|
fa84285 |
|
|
|
fa84285 |
%files
|
|
|
fa84285 |
%dir %{_sysconfdir}/%{name}
|
|
|
fa84285 |
%{_defaultdocdir}/%{name}/*
|
|
|
fa84285 |
%{_sbindir}/*
|
|
|
fa84285 |
%{_mandir}/man?/*
|
|
|
159c7fe |
%{_unitdir}/*
|
|
|
fa84285 |
|
|
|
fa84285 |
%changelog
|
|
|
53a8209 |
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-23.2.2
|
|
|
53a8209 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
53a8209 |
|
|
|
b598bee |
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-23.2.1
|
|
|
b598bee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
b598bee |
|
|
David Beveridge |
5afb165 |
* Sun May 15 2022 dave@bevhost.com - 20080615-23.2
|
|
David Beveridge |
5afb165 |
- Change Build Dependancy from flex-devel to libfl-static
|
|
David Beveridge |
5afb165 |
|
|
|
25e41b4 |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-23.1.2
|
|
|
25e41b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
25e41b4 |
|
|
|
8638237 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-23.1.1
|
|
|
8638237 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
8638237 |
|
|
|
068952c |
* Sun Jan 03 2021 dave@bevhost.com 20080615-23.1
|
|
|
068952c |
- Update upstream from 13 to 23 including
|
|
|
068952c |
- bugfix close file descriptions on exec
|
|
|
068952c |
- bugfix warning suppression for YYDEBUG
|
|
|
068952c |
- better logging for Option 20
|
|
|
068952c |
- added more examples in documentation
|
|
|
068952c |
- enhancement now able to randomize interface IP
|
|
|
cf7be96 |
|
|
|
159c7fe |
* Fri Aug 14 2020 dave@bevhost.com 20080615-13.2
|
|
|
159c7fe |
- Added parameterized systemd unit file for client
|
|
|
159c7fe |
- Added more complete usage example to RELEASENOTES
|
|
|
159c7fe |
|
|
|
dc97d87 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.11
|
|
|
dc97d87 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
dc97d87 |
|
|
|
713e041 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.10
|
|
|
713e041 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
713e041 |
|
|
|
3b881b2 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.9
|
|
|
3b881b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3b881b2 |
|
|
|
23e6e06 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.8
|
|
|
23e6e06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
23e6e06 |
|
|
|
5eaa794 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.7
|
|
|
5eaa794 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5eaa794 |
|
|
|
36e82e8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.6
|
|
|
36e82e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
36e82e8 |
|
|
|
d4ada3e |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.5
|
|
|
d4ada3e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
d4ada3e |
|
|
|
3d9b990 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.4
|
|
|
3d9b990 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
3d9b990 |
|
|
|
90d649b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.3
|
|
|
90d649b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
90d649b |
|
|
|
552455f |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20080615-13.1.2
|
|
|
552455f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
552455f |
|
|
|
4f0234e |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080615-13.1.1
|
|
|
4f0234e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
4f0234e |
|
|
|
fa84285 |
* Sat Feb 7 2015 dave@bevhost.com 20080615-13.1
|
|
|
fa84285 |
- Added patch 12 from ubuntu version
|
|
|
fa84285 |
- Added patch 13 so we can use parallel make
|
|
|
fa84285 |
|
|
|
fa84285 |
* Tue Jan 14 2014 dave@bevhost.com 20080615-11.1.5
|
|
|
fa84285 |
- Added patch 11 provided by Scott Shambarger
|
|
|
fa84285 |
- Documentation directory now has no version number
|
|
|
fa84285 |
|
|
|
fa84285 |
* Thu May 16 2013 dave@bevhost.com 20080615-11.1.4
|
|
|
fa84285 |
- Added patches 8 and 9, which simplify configuration
|
|
|
fa84285 |
- Added patch 10 which moves client script execution to after IP addr are added.
|
|
|
fa84285 |
- Added RELEASENOTES
|
|
|
fa84285 |
|
|
|
fa84285 |
* Tue May 7 2013 dave@bevhost.com 20080615-11.1.3
|
|
|
fa84285 |
- make the build specific to fedora rawhide
|
|
|
fa84285 |
|
|
|
fa84285 |
* Mon May 6 2013 dave@bevhost.com 20080615-11.1.2
|
|
|
fa84285 |
- use macros in spec file wherever possible
|
|
|
fa84285 |
- add support for systemd
|
|
|
fa84285 |
|
|
|
fa84285 |
* Wed Apr 24 2013 dave@bevhost.com 20080615-11.1.1
|
|
|
fa84285 |
- Move sysconfdir from /etc to /etc/wide-dhcpv6 to match man pages
|
|
|
fa84285 |
|
|
|
fa84285 |
* Tue Apr 02 2013 dave@bevhost.com
|
|
|
fa84285 |
- converted from debian package
|
|
|
fa84285 |
|
|
|
fa84285 |
|