SHA256
1
0
forked from pool/dhcp
Commit Graph

324 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
eb7a8e4c90 Accepting request 571637 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/571637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=106
2018-02-02 21:20:07 +00:00
Nirmoy Das
fabf7e7364 Accepting request 571636 from home:ndas:branches:network:dhcp
[+0022-Optimized-if-and-when-DNS-client-context-and-ports.patch]

OBS-URL: https://build.opensuse.org/request/show/571636
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=182
2018-02-01 09:38:27 +00:00
Nirmoy Das
6e52066a8e Accepting request 567653 from home:ndas:branches:network:dhcp
- Optimized if and when DNS client context and ports
 are initted (bsc#1073935)
 [+ 0022-Optimized-if-and-when-DNS-client-context-and-.patch]

- Plugs a socket descriptor leak in OMAPI(bsc#1076119, CVE-2017-3144) 
  [ +0021-master-Plugs-a-socket-descriptor-leak-in-OMAPI.patch]

OBS-URL: https://build.opensuse.org/request/show/567653
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=181
2018-02-01 09:07:17 +00:00
Dominique Leuenberger
ecd4f4cbd0 Accepting request 557307 from network:dhcp
OBS-URL: https://build.opensuse.org/request/show/557307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=105
2017-12-23 11:16:32 +00:00
Markos Chandras
fe306dab60 Accepting request 556893 from home:markoschandras:branches:network:dhcp
- Drop old sysvinit support from the spec file. All the supported
  openSUSE distributions are systemd based so there isn't much point
  in keeping sysvinit support and files around.

OBS-URL: https://build.opensuse.org/request/show/556893
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=179
2017-12-15 11:00:06 +00:00
Nirmoy Das
917d150f5d Accepting request 544891 from home:RBrownSUSE:branches:network:dhcp
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544891
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=178
2017-11-24 10:37:35 +00:00
Nirmoy Das
8e9bc2bd04 Accepting request 532836 from home:dimstar:Factory
Sure.. I can keep on rebasing it.. I don't mind

OBS-URL: https://build.opensuse.org/request/show/532836
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=177
2017-10-18 09:10:44 +00:00
Nirmoy Das
c3ef98f4f3 Accepting request 510075 from home:bmwiedemann:branches:network:dhcp
use .gz year instead of current one to make build reproducible

OBS-URL: https://build.opensuse.org/request/show/510075
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=176
2017-10-09 08:22:17 +00:00
Dominique Leuenberger
7dc0fb2fde Accepting request 508605 from network:dhcp
1

OBS-URL: https://build.opensuse.org/request/show/508605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=104
2017-07-08 10:27:37 +00:00
Nirmoy Das
853382bddd Accepting request 508601 from home:ndas:branches:network:dhcp
- fixed a typo in nis-servers option name breaking the config file introduced 
  in previous change to workaround issues in NetworkManager parser.
- Update to dhcp-4.3.5
  - Corrected a bug which could cause the server to sporadically crash while
    loading lease files with the lease-id-format is set to "hex".  Our thanks
    to Jay Ford, University of Iowa for reporting the issue.
    [ISC-Bugs #43185]
  - Eliminated a noisy, but otherwise harmless debug log statment that may
    appear during server startup when building with --enable-binary-leases
    and configuring multiple pools in a shared network.  Thanks to Fernando
    Soto from BlueCat Networks for reporting the issue and supplying a patch.
    [ISC-Bugs #43262]
  - Fixed util/bindvar.sh error handling.
    [ISC-Bugs #41973]
  - Correct error message in relay to use remote id length instead
    of circuit id length.
    [ISC-Bugs #42556]
  - Add logic to test directory Makefiles to avoid copying Attfile(s)
    when building within the source tree.  This eliminates a noisy but
    otherwise harmless error message when running "make check".
    [ISC-Bugs #41883]
  - Leases are now scrubbed of certain prior use information when pool
    re-balancing reassigns them from one FO peer to the other.  This
    corrects an issue where leases that were offered but not used
    by the client retained the client hostname from the original
    client. Thanks to Pavel Polacek, Jan Evangelista Purkyne University
    for reporting the issue.
    [ISC-Bugs #42008]
  - In the LDAP code and schema add some missing '6' characters to use
    the v6 instead of the v4 versions.  Thanks to Denis Taranushin for

OBS-URL: https://build.opensuse.org/request/show/508601
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=174
2017-07-06 15:49:46 +00:00
Nirmoy Das
e4de661e19 Accepting request 507823 from home:Zaitor
Possible solution to issues with NM 1.8.0

OBS-URL: https://build.opensuse.org/request/show/507823
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=173
2017-07-06 13:11:18 +00:00
Dominique Leuenberger
33b15c28cc Accepting request 479952 from network:dhcp
1

OBS-URL: https://build.opensuse.org/request/show/479952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=103
2017-03-18 19:49:05 +00:00
Nirmoy Das
28d0dd7c50 Accepting request 479154 from home:ndas:branches:network:dhcp
- Relax permission of dhclient-script for libguestfs(bsc#987170)

OBS-URL: https://build.opensuse.org/request/show/479154
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=171
2017-03-16 10:00:54 +00:00
Dominique Leuenberger
2e86ec86da Accepting request 458654 from network:dhcp
1

OBS-URL: https://build.opensuse.org/request/show/458654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=102
2017-02-20 13:28:27 +00:00
Nirmoy Das
53e8b48477 Accepting request 456144 from home:kukuk:branches:network:dhcp
- Require insserv only if needed
- Fix requires of client subpackage

OBS-URL: https://build.opensuse.org/request/show/456144
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=169
2017-02-17 10:00:18 +00:00