SHA256
1
0
forked from pool/dhcp

295 Commits

Author SHA256 Message Date
Dominique Leuenberger
95502ab5d2 Accepting request 945908 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/945908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=128
2022-01-14 22:12:48 +00:00
Reinhard Max
6cacf40c5a Accepting request 918938 from home:jsegitz:branches:systemdhardening:network:dhcp
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/918938
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=237
2022-01-12 17:50:48 +00:00
Dominique Leuenberger
64d9155a32 Accepting request 928834 from network:dhcp
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/928834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=127
2021-11-08 16:24:06 +00:00
Reinhard Max
59be18d135 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=234 2021-10-26 16:24:06 +00:00
Reinhard Max
e3cdf90ee1 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=233 2021-10-26 16:18:08 +00:00
Reinhard Max
63aa52ad28 - Add a fallback definition for %make_build to fix build on SLE-12.
- Handle sysusers with a bcond to improve readability and simplify
  removal once we don't have to support SLE-12 anymore.
- bsc#1192020: Drop the obsolete dependency on "group(nogroup)".

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=232
2021-10-26 12:49:46 +00:00
Richard Brown
cf03d8ab97 Accepting request 911811 from network:dhcp
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/911811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=126
2021-08-16 08:08:58 +00:00
Reinhard Max
afefe9a9cc - bsc#1186249: Remove remaining references to /etc/init.d from
dhclient-script and if-up.d.dhcpd-restart-hook .
- Use , instead of - or / as a separator in sed when dealing with
  path names.

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=230
2021-08-05 12:00:14 +00:00
Dominique Leuenberger
6ccf60ea2d Accepting request 896316 from network:dhcp
- Add -fno-strict-aliasing to CFLAGS to avoid a segfault in dhcpd
  (boo#1186631).

- Update to 4.4.2-P1:
  * CVE-2021-25217, bsc#1186382: A buffer overrun in lease file
    parsing code can be used to exploit a common vulnerability
    shared by dhcpd and dhclient.
- Error out, if %version and %isc_version are not in sync.

OBS-URL: https://build.opensuse.org/request/show/896316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=125
2021-05-31 09:43:40 +00:00
Reinhard Max
5402a85a16 - Add -fno-strict-aliasing to CFLAGS to avoid a segfault in dhcpd
(boo#1186631).

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=228
2021-05-31 09:27:00 +00:00
Reinhard Max
2fe0803578 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=227 2021-05-27 15:39:36 +00:00
Reinhard Max
0b90b6e2e8 - Update to 4.4.2-P1:
* CVE-2021-25217, bsc#1186382, dhcp-CVE-2021-25217.patch: A
    buffer overrun in lease file parsing code can be used to
    exploit a common vulnerability shared by dhcpd and dhclient.
- Error out, if %version and %isc_version are not in sync.

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=226
2021-05-27 12:05:59 +00:00
Dominique Leuenberger
1a215237ca Accepting request 870911 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/870911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=124
2021-02-16 21:35:47 +00:00
Reinhard Max
9f2ff0f90b Accepting request 866365 from home:dirkmueller:branches:network:dhcp
- update to 4.4.2:
  * Please note that that ISC DHCP is now licensed under the Mozilla Public
  License, MPL 2.0.
  In general, the areas of focus for ISC DHCP 4.4 were:
  1. Dynamic DNS additions
  2. dhclient improvements
  3. Support for dynamic shared libraries
  * Added the interface name to socket initialization failure log messages.
    Prior to this the log messages stated only the error reason without
    stating the target interface.
  * Corrected buffer pointer logic in dhcrelay functions that manipulate
    agent relay options. Thanks to Thomas Imbert of MSRC Vulnerabilities
    & Mitigations for reporting the issue.
  * Corrected unresolved symbol errors building relay_unittests when
    configured to build using libtool.
  * A new configuration parameter, ping-cltt-secs (v4 operation only), has
    been added to allow the user to specify the number of seconds that must
    elapse since CLTT before a ping check is conducted.  Prior to this, the
    value was hard coded at 60 seconds.  Please see the server man pages for
    a more detailed discussion.
  * A new configuration parameter, ping-timeout-ms (v4 operation only),
    has been added that allows the user to specify the amount of time
    the server waits for a ping-check response in milliseconds rather
    than in seconds (via ping-timeout). When greater than zero, the value
    of ping-timeout-ms will override the value of ping-timeout.  Thanks
    to Jay Doran from Bluecat Networks for suggesting this feature.
  * An experimental tool called, Keama (KEA Migration Assistant), which helps
    translate ISC DHCP configurations to Kea configurations, is now included
    in the distribution.
  * Corrected a misuse of the BIND9 DDNS API which caused DDNS updates to be

OBS-URL: https://build.opensuse.org/request/show/866365
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=224
2021-02-10 14:21:23 +00:00
Dominique Leuenberger
e60b6c1b0b Accepting request 861551 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/861551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=123
2021-01-11 16:09:56 +00:00
Reinhard Max
5153edeabd Accepting request 855790 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/855790
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=222
2021-01-08 08:56:27 +00:00
Dominique Leuenberger
47ca882a3b Accepting request 843259 from network:dhcp
- Complete the /var/run -> /run migration by renaming
  /var/lib/dhcp/var/run accordingly (boo#1177951).

OBS-URL: https://build.opensuse.org/request/show/843259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=122
2020-10-26 15:07:47 +00:00
Reinhard Max
cc6f1f08c7 OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=220 2020-10-21 17:19:59 +00:00
Reinhard Max
9b32283a56 - Complete tha /var/run -> /run migration by renaming
/var/lib/dhcp/var/run accordingly (boo#1177951).

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=219
2020-10-21 17:18:54 +00:00
Dominique Leuenberger
014174f825 Accepting request 835242 from network:dhcp
- Don't create dhclient.leases in %post. It affects transactional
  updates and the files don't need to pre-exist (boo#1129951).

- Drop dependency on insserv-compat
  It was required to call the rc_status helpers from the sysvinit
  scripts. These scripts are supposed to be called by systemd, which
  has its own mechanism to report service status.
  Please note that this package still needs to be converted to ship
  proper systemd units.

- /var/run is legacy -> /run should be used instead

OBS-URL: https://build.opensuse.org/request/show/835242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=121
2020-09-23 16:37:56 +00:00
Reinhard Max
d3639fe556 typo
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=217
2020-09-17 15:19:15 +00:00
Reinhard Max
e9c2ed32e7 - Don't create dhclient.leases in %post. It affects transactional
updates and the files don't need to pre-exist (boo#1129951).

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=216
2020-09-17 15:03:05 +00:00
Reinhard Max
1f0e368f81 Accepting request 831695 from home:fbui:branches:network:dhcp
- Drop dependency on insser-compat

- /var/run is legacy -> /run should be used instead

OBS-URL: https://build.opensuse.org/request/show/831695
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=215
2020-09-14 09:47:24 +00:00
Dominique Leuenberger
8191c9022b Accepting request 817623 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/817623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=120
2020-06-29 19:17:10 +00:00
Reinhard Max
d26badb1f0 Accepting request 817621 from home:dimstar:Factory
- The server package still requires insserv-compat: the .service
  files only call out to legacy sysv init scripts that are still
  sourcing /etc/rc.status (boo#1173440).

- insserv is not required anymore

OBS-URL: https://build.opensuse.org/request/show/817621
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=213
2020-06-29 07:31:47 +00:00
Dominique Leuenberger
77100858ba Accepting request 817030 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/817030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=119
2020-06-26 19:46:33 +00:00
Reinhard Max
07538a3393 Accepting request 817028 from home:gmbr3:branches:Base:System3
- Fixes for %_libexecdir changing to /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/817028
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=211
2020-06-25 10:27:29 +00:00
Reinhard Max
ed443ff263 Accepting request 816619 from home:elvigia:branches:network:dhcp
- insserv is not required anymore

OBS-URL: https://build.opensuse.org/request/show/816619
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=210
2020-06-25 05:41:10 +00:00
Dominique Leuenberger
958d7aad96 Accepting request 798663 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/798663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=118
2020-04-29 18:44:09 +00:00
Reinhard Max
9298e1cb90 Accepting request 794048 from home:kukuk:container
- Use sysusers.d instead of shadow

OBS-URL: https://build.opensuse.org/request/show/794048
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=208
2020-04-28 12:18:44 +00:00
Dominique Leuenberger
56d7362579 Accepting request 781033 from network:dhcp
- Add -fcommon to CFLAGS to fix build with gcc10 (boo#1160262).

OBS-URL: https://build.opensuse.org/request/show/781033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=117
2020-03-05 22:17:29 +00:00
Reinhard Max
2699eb18c7 - Add -fcommon to CFLAGS to fix build with gcc10 (boo#1160262).
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=206
2020-03-02 17:33:34 +00:00
Dominique Leuenberger
fadaa5df96 Accepting request 766216 from network:dhcp
- Change remaining systemd requires to weak dependencies, too.
- Don't require net-tools with SLE15 or newer, it does not contain
  anything anymore we need
- Get ride of coreutils dependency (forwarded request 766200 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/766216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=116
2020-01-30 08:30:25 +00:00
Reinhard Max
b66b30fd53 Accepting request 766200 from home:kukuk:container
- Change remaining systemd requires to weak dependencies, too.
- Don't require net-tools with SLE15 or newer, it does not contain
  anything anymore we need
- Get ride of coreutils dependency

OBS-URL: https://build.opensuse.org/request/show/766200
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=204
2020-01-22 08:01:33 +00:00
Dominique Leuenberger
a0cb00844c Accepting request 741877 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/741877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=115
2019-10-25 16:40:07 +00:00
Reinhard Max
fb531fa37a Accepting request 734636 from home:kukuk:container
- Make systemd a weak dependency as we don't want that in a container

OBS-URL: https://build.opensuse.org/request/show/734636
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=202
2019-10-22 13:55:46 +00:00
Reinhard Max
2ec1fec7eb - bsc#1134078, CVE-2019-6470, dhcp-CVE-2019-6470.patch:
DHCPv6 server crashes regularly.
- Add compile option --enable-secs-byteorder to avoid duplicate
  lease warnings [bsc#1089524].
- bsc#1136572: Use IPv6 when called as dhclient6, dhcpd6, and
  dhcrelay6 (0021-dhcp-ip-family-symlinks.patch).

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=201
2019-10-15 15:56:51 +00:00
Dominique Leuenberger
e785e5d0b7 Accepting request 726481 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/726481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=114
2019-09-05 10:33:27 +00:00
Reinhard Max
8ac6ae2920 Accepting request 722585 from home:dirkmueller:branches:network:dhcp
- dhclient-script: replace host(1) with getent, which is more
  lightweight (part of glibc and does not pull in bind-utils)

OBS-URL: https://build.opensuse.org/request/show/722585
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=199
2019-08-27 12:02:07 +00:00
Reinhard Max
b264d424ef Accepting request 720441 from home:marxin:static
Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720441
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=198
2019-08-07 13:53:08 +00:00
Dominique Leuenberger
313a8d2f6e Accepting request 717531 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/717531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=113
2019-07-29 15:23:17 +00:00
Reinhard Max
12116240fb Accepting request 714701 from home:1Antoine1:branches:network:dhcp
- Remove SuSEfirewall2 services since SuSEfirewall2 has been
  replaced by firewalld (which already provides a service for
  dhcp).

See also https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html.

OBS-URL: https://build.opensuse.org/request/show/714701
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=196
2019-07-22 10:30:41 +00:00
Dominique Leuenberger
eb2c0d71d6 Accepting request 703667 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/703667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=112
2019-05-17 21:35:46 +00:00
OBS User buildservice-autocommit
1507a05c01 Accepting request 703667 from network:dhcp
auto commit by copy to link target

OBS-URL: https://build.opensuse.org/request/show/703667
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=195
2019-05-17 21:35:46 +00:00
OBS User buildservice-autocommit
4525b4ac0b Updating link to change in openSUSE:Factory/dhcp revision 112.0
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=63b33523b42bf5f2e7717a1332a8a8bd
2019-05-17 21:35:46 +00:00
Reinhard Max
511df30c1d Accepting request 701948 from home:dimstar:Factory
- Add workaround to require insserv-compat until the package is
  converted to full systemd units (boo#1133632).

OBS-URL: https://build.opensuse.org/request/show/701948
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=194
2019-05-17 08:41:13 +00:00
Dominique Leuenberger
fb59624bdf Accepting request 681845 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/681845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=111
2019-03-13 08:05:48 +00:00
Reinhard Max
7d34fc9234 Accepting request 678162 from home:fbui:branches:network:dhcp
- Drop use of $FIRST_ARG in .spec
  The use of $FIRST_ARG was probably required because of the
  %service_* rpm macros were playing tricks with the shell positional
  parameters. This is bad practice and error prones so let's assume
  that no macros should do that anymore and hence it's safe to assume
  that positional parameters remains unchanged after any rpm macro
  call.

OBS-URL: https://build.opensuse.org/request/show/678162
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=192
2019-03-05 16:24:38 +00:00
Dominique Leuenberger
0dbc6f8210 Accepting request 667664 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/667664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=110
2019-01-29 13:39:59 +00:00
Reinhard Max
1ba334be32 Accepting request 667634 from home:jbrielmaier:branches:network:dhcp
- Remove wrong path to documentation in the description of the
  server package

OBS-URL: https://build.opensuse.org/request/show/667634
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=190
2019-01-21 17:51:49 +00:00