SHA256
1
0
forked from pool/dhcp
Commit Graph

289 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
148d660241 Accepting request 619121 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/619121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=109
2018-07-04 21:49:11 +00:00
Ismail Dönmez
e6da93e899 Accepting request 614191 from home:scarabeus_iv:branches:network:dhcp
- Drop doc subpackage as we do not build on < SLE12 anyway so it
  evaluated always as true
- Do not condition flags settings for codestreams that we are no
  longer building for
- Use %license macro for license as mandated by new TW requirements

- Format with spec-cleaner (automatic, remove FIXMEs)
- Use getent to detect created user prior doing it again
- Drop ldapcasa as it evaluates as false on all current products
- Drop ldap conditional as it is always true

- Kill omc configs wrt fate#301838

OBS-URL: https://build.opensuse.org/request/show/614191
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=188
2018-06-26 09:02:03 +00:00
Dominique Leuenberger
0f7de727ac Accepting request 589263 from network:dhcp
- Update to dhcp-4.3.6-P1:
  * CVE-2018-5733, bsc#1083303: reference count overflow in dhcpd.
  * CVE-2018-5732, bsc#1083302: buffer overflow bug in dhclient.
  * Plugged a socket descriptor leak in OMAPI
  * The server now allows the client identifier (option 61) to own
    leases in more than one subnet concurrently [ISC-Bugs #41358].
  * When replying to a DHCPINFORM, the server will now include
    options specified at the pool scope, provided the ciaddr field
    of the DHCPINFORM is populated.
    [ISC-Bugs #43219] [ISC-Bugs #45051].
  * When memory allocation fails in a repeated way the process
    writes "Run out of memory." on the standard error and exists
    with status 1  [ISC-Bugs #32744].
  * The new lmdb (Lightning Memory DataBase) bind9 configure
    option is now disabled by default to avoid the presence of
    this library to be detected which can lead to a link failure.
    [ISC-Bugs #45069]
  * The linux interface discovery code has been modified to use
    getifaddrs() as is done for BSD and OS-X.
    [ISC-Bugs #28761] and others.
  * Fixed a bug in OMAPI that causes omshell to crash when a
    name-value pair with a zero length value is shipped in an
    object [ISC-Bugs #29108].
  * On 64-bit platforms, dhclient now generates the correct value
    for the script environment variable, "expiry", the lease
    expiry value exceeds 0x7FFFFFFF [ISC-Bugs #43326].
  * Common timer logic was modified to cap the maximum timeout
    values at 0x7FFFFFFF - 1 [ISC-Bugs #28038].
  * DHCP6 FQDN option unpacking code now correctly handles values
    that contain spaces, special, or non-printable characters.

OBS-URL: https://build.opensuse.org/request/show/589263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=108
2018-03-24 15:12:24 +00:00
Reinhard Max
e9398b14d9 - Update to dhcp-4.3.6-P1:
* CVE-2018-5733, bsc#1083303: reference count overflow in dhcpd.
  * CVE-2018-5732, bsc#1083302: buffer overflow bug in dhclient.
  * Plugged a socket descriptor leak in OMAPI
  * The server now allows the client identifier (option 61) to own
    leases in more than one subnet concurrently [ISC-Bugs #41358].
  * When replying to a DHCPINFORM, the server will now include
    options specified at the pool scope, provided the ciaddr field
    of the DHCPINFORM is populated.
    [ISC-Bugs #43219] [ISC-Bugs #45051].
  * When memory allocation fails in a repeated way the process
    writes "Run out of memory." on the standard error and exists
    with status 1  [ISC-Bugs #32744].
  * The new lmdb (Lightning Memory DataBase) bind9 configure
    option is now disabled by default to avoid the presence of
    this library to be detected which can lead to a link failure.
    [ISC-Bugs #45069]
  * The linux interface discovery code has been modified to use
    getifaddrs() as is done for BSD and OS-X.
    [ISC-Bugs #28761] and others.
  * Fixed a bug in OMAPI that causes omshell to crash when a
    name-value pair with a zero length value is shipped in an
    object [ISC-Bugs #29108].
  * On 64-bit platforms, dhclient now generates the correct value
    for the script environment variable, "expiry", the lease
    expiry value exceeds 0x7FFFFFFF [ISC-Bugs #43326].
  * Common timer logic was modified to cap the maximum timeout
    values at 0x7FFFFFFF - 1 [ISC-Bugs #28038].
  * DHCP6 FQDN option unpacking code now correctly handles values
    that contain spaces, special, or non-printable characters.

OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=186
2018-03-08 13:53:43 +00:00
Dominique Leuenberger
baa5bdd674 Accepting request 576978 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/576978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=107
2018-02-18 10:37:12 +00:00
Nirmoy Das
5a5d3d032e Accepting request 561794 from home:jsjhb:branches:network:dhcp
- add PIDFile= setting to dhcrelay.service, without this systemd
  stops the service immediately after starting

OBS-URL: https://build.opensuse.org/request/show/561794
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=184
2018-02-15 12:29:40 +00:00