Commit Graph

72 Commits

Author SHA1 Message Date
Louis Bettens
7eb824334d dhcpcd: avoid crash
Fixes #199200
2023-01-22 19:35:49 +01:00
Franz Pletz
c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
pennae
800151e6af dhcpcd: fix privsep enabling, passthru enablePrivSep
dhcpcd automatically enables privsep if it can find a suitably named
user on the system, which makes it impossible to build dhcpcd without
privsep on a system that's currently running dhcpcd with privsep
enabled.

also passthru whether privsep is enabled so that the module can check
it.
2021-12-22 18:21:36 +01:00
Franz Pletz
0cb8669638
dhcpcd: use dhcpcd as privsep user 2021-12-17 19:23:00 +01:00
pennae
8072ee22f2 dhcpcd, nixos/dhcpcd: enable privsep
dhdpcd 9 support privilege separation with a dedicated user and seccomp
filtering. this has been enabled for a while in other distributions as
well.

if the dhcpcd module is not used and the _dhcpcd user/group isn't
definied otherwise dhcpcd will fall back to not using privsep.
2021-11-30 19:51:45 +01:00
pennae
5269674a6d dhcpcd: 8.1.4 -> 9.4.1
by @erictapen:

- Removed note about testing and moved it to passthru.tests
- Removed patch, as it is probably the same as
  56b2bb17d2ec67e1f93950944211f6cf8c40e0fb, wich landed in upstream.

other changes:

- changed PIDFile in the module, since dhcpcd 9 changed the location
2021-11-30 19:51:45 +01:00
Sebastián Mancilla
8f94a33b38 treewide: ensure pre/post phase hooks are strings
Some derivations use lib.optional or lib.optionals when setting pre/post
phase hooks. Ensure the proper lib.optionalString is used.
2021-08-20 19:08:42 -04:00
Dmytro Shkyra
54c1e44240
dhcpcd: Fix patch url (#118264)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2021-04-02 02:58:33 +02:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Anders Kaseorg
e474db24b1 dhcpcd: fix RA time unit confusion
Fixes #76710.  Submitted upstream as rsmarples/dhcpcd#12.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-01 15:31:05 -08:00
R. RyanTM
0bc45ecba1 dhcpcd: 8.1.2 -> 8.1.4 2019-12-22 22:32:49 -08:00
R. RyanTM
ddab7e5cc5 dhcpcd: 8.0.6 -> 8.1.2 2019-11-25 10:11:43 -08:00
Franz Pletz
23f3abda4d
Revert "dhcpcd: 8.0.6 -> 8.1.1"
This reverts commit 1c620943abcdd1c3da710dc8f09be95092a8ab6e.

See discussion in #71365.
2019-10-30 14:43:27 +01:00
Sam Hug
552e55ac2b dhcpcd: 8.0.6 -> 8.1.1
https://roy.marples.name/blog/dhcpcd-8-1-1-released
2019-10-19 00:35:54 -07:00
Will Dietz
0d287a2786
dhcpcd: 8.0.3 -> 8.0.6
https://roy.marples.name/blog/dhcpcd-8-0-6-released
2019-09-13 21:41:47 -05:00
Will Dietz
7d839bd26e
dhcpcd: 8.0.2 -> 8.0.3
https://roy.marples.name/blog/dhcpcd-8-0-3-released
2019-08-22 13:19:51 -05:00
Will Dietz
a8e9dc728b
dhcpcd: 8.0.1 -> 8.0.2
https://roy.marples.name/blog/dhcpcd-8-0-2-released

> I don't anticipate any more releases for a while as this is looking
really good now!
2019-07-30 17:36:39 -05:00
Will Dietz
55bbc807eb
dhcpcd: 7.2.3 -> 8.0.1
https://roy.marples.name/blog/dhcpcd-8-0-0-released
https://roy.marples.name/blog/dhcpcd-8-0-1-released
2019-07-25 23:35:05 -05:00
R. RyanTM
b9ac8efcc3 dhcpcd: 7.2.2 -> 7.2.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dhcpcd/versions
2019-07-02 20:09:31 +02:00
Will Dietz
76ac8a30ed dhcpcd: 7.2.1 -> 7.2.2
https://roy.marples.name/archives/dhcpcd-discuss/0002428.html
2019-05-05 23:00:05 -05:00
Will Dietz
ee5f4636b0 dhcpcd: 7.2.0 -> 7.2.1
Includes security fixes!

https://roy.marples.name/blog/dhcpcd-7-2-1-released
2019-04-27 07:35:23 +02:00
Will Dietz
a7ac961366 dhcpcd: 7.1.1 -> 7.2.0
https://roy.marples.name/blog/dhcpcd-7-2-0-released
2019-04-17 21:39:44 -05:00
Will Dietz
683dcb8e8a dhcpcd: 7.0.8 -> 7.1.1 2019-02-11 17:34:55 -06:00
Travis Athougies
c116de9411 Use runtimeShell for dhcpcd 2018-11-22 19:57:01 -08:00
John Ericson
7319013ea1 Merge remote-tracking branch 'upstream/master' into staging 2018-09-18 16:55:42 -04:00
John Ericson
c64d76d0e6 dhcpcd: No need to hack around broken patchShebangs anymore 2018-09-11 16:15:10 -04:00
Markus Kowalewski
4dcdb693af
dhcpd: add license 2018-09-10 22:16:18 +02:00
Uli Baum
8938eede28 dhcpcd: 6.11.5 -> 7.0.8 2018-09-01 20:07:11 +02:00
Vladimír Čunát
cb196f490e
dhcpcd: fix /bin/sh impurity
The usual error during configuration:
syntax error: you disabled math support for $((arith)) syntax
2018-03-30 18:18:19 +02:00
Tuomas Tynkkynen
1e107443ad Merge commit '618ac29687a650d854c8bea7efd4490387589ce2' into staging 2018-03-03 22:40:32 +02:00
Robin Gloster
a8d3aa58dc
Revert "dhcpcd: 6.11.5 -> 7.0.1"
This reverts commit 7cc74d6dc5.

See discussion in https://github.com/NixOS/nixpkgs/pull/35622

cc @vcunat @Mic92 @fpletz
2018-03-02 13:20:56 +01:00
Shea Levy
600b08cf9b
dhcpcd: Add TODO to cleanup after patchShebangs fix 2018-03-01 16:11:51 -05:00
Shea Levy
c3bba10ae8
dhcpcd: Fix cross-compilation.
This should almost certainly go into patchShebangs...
2018-03-01 14:52:04 -05:00
Ryan Mulligan
7cc74d6dc5 dhcpcd: 6.11.5 -> 7.0.1
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/04mp6n1v5sgc62qwxpz1gfxv589cn76k-dhcpcd-7.0.1/bin/dhcpcd --help` got 0 exit code
- ran `/nix/store/04mp6n1v5sgc62qwxpz1gfxv589cn76k-dhcpcd-7.0.1/bin/dhcpcd --version` and found version 7.0.1
- found 7.0.1 with grep in /nix/store/04mp6n1v5sgc62qwxpz1gfxv589cn76k-dhcpcd-7.0.1
- found 7.0.1 in filename of file in /nix/store/04mp6n1v5sgc62qwxpz1gfxv589cn76k-dhcpcd-7.0.1
2018-02-25 20:01:18 -08:00
Franz Pletz
33a4de2941
Revert "dhcpcd: 6.11.5 -> 7.0.0"
This reverts commit 0e73580026.

Blocks channel releases. See #33527.
2018-01-08 17:00:30 +01:00
Franz Pletz
0e73580026
dhcpcd: 6.11.5 -> 7.0.0 2018-01-01 23:49:36 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Franz Pletz
e3d54be387
dhcpcd: 6.11.3 -> 6.11.5 2016-12-04 01:40:26 +01:00
Franz Pletz
62c72e9af7 dhcpcd: 6.10.1 -> 6.11.3 2016-08-25 01:43:54 +02:00
Franz Pletz
5aa986fba2 dhcpcd: 6.9.4 -> 6.10.1 (security)
Fixes CVE-2016-1503 & CVE-2016-1504.

Changelog:
  - http://roy.marples.name/archives/dhcpcd-discuss/2016/1143.html
  - http://roy.marples.name/archives/dhcpcd-discuss/2016/1146.html
2016-03-30 06:57:59 +02:00
Robin Gloster
a219778acc dhcpcd: 6.9.3 -> 6.9.4 2015-12-27 21:40:09 +00:00
William A. Kennington III
379dd0af7a dhcpcd: 6.9.2 -> 6.9.3 2015-09-04 11:42:42 -07:00
Eelco Dolstra
6a54ca7990 dhcpcd: Update to 6.9.2
Upstream recommends this as an important upgrade to 6.9.1 because it
fixes a race that could cause an empty resolv.conf to be created.
2015-08-21 17:03:51 +02:00
William A. Kennington III
ac36ed18eb dhcpcd: 6.9.0 -> 6.9.1 2015-07-22 14:33:06 -07:00
Rob Vermaas
49b5acc3d9 Upgrade dhcpcd to 6.9.0. Version 6.8.1 caused issues on GCE, making the instances unavailable. 2015-05-27 11:43:14 +00:00
William A. Kennington III
c612a25666 dhcpcd: 6.8.0 -> 6.8.1 2015-03-27 16:01:42 -07:00