Commit Graph

56 Commits

Author SHA1 Message Date
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07: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
luc65r
f6fceb321b Remove trailing whitespaces and fix indentation 2020-12-28 08:43:32 +01:00
luc65r
5a25e3e7e9 dhcp: fix build with gcc10 2020-12-28 08:43:31 +01:00
R. RyanTM
e75b7ed17e dhcp: 4.4.1 -> 4.4.2 2020-02-05 10:43:09 +01:00
Will Dietz
2e33f671bf dhcp: fix homepage, quote 2020-01-11 12:57:32 -08:00
Robin Gloster
e9c27ed5f9
treewide: configureFlags is a flat list 2019-12-31 01:34:39 +01:00
Robin Gloster
981ae25113
treewide: NIX_*_COMPILE -> string 2019-12-31 00:07:21 +01:00
Franz Pletz
3f4d1a1ea8
dhcp: fix build with gcc9 2019-11-03 00:52:54 +01:00
Frederik Rietdijk
e68505e735 Merge remote-tracking branch 'upstream/gcc8' into staging-next 2019-09-06 23:25:18 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Michael Eden
d888baa517 dhcp: cross compile 2019-04-16 19:00:52 +02:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Patrick Hilhorst
5c225ca10c dhcp: fix compilation on gcc8 (#40605) 2018-05-16 23:36:32 +02:00
R. RyanTM
80cd26375e dhcp: 4.3.6-P1 -> 4.4.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/dhcp/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/.dhclient-script-wrapped -h’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/.dhclient-script-wrapped --help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/.dhclient-script-wrapped help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhclient -h’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhclient --help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhclient --version’ and found version 4.4.1
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhclient-script -h’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhclient-script --help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhclient-script help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhcpd -h’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhcpd --help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhcpd --version’ and found version 4.4.1
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhcrelay -h’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhcrelay --help’ got 0 exit code
- ran ‘/nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1/bin/dhcrelay --version’ and found version 4.4.1
- found 4.4.1 with grep in /nix/store/b2fh17aq0cjj7yrwxs1vgjpas8v3pr9s-dhcp-4.4.1
- directory tree listing: https://gist.github.com/3f68e1eba2f701473b249d35042cc502
2018-04-07 18:39:32 -07:00
Will Dietz
b59df6ba04 dhcp: 4.3.6 -> 4.3.6-P1
https://kb.isc.org/article/AA-01570/82/DHCP-4.3.6-P1-Release-Notes.html
2018-03-01 08:50:30 -06:00
Will Dietz
559c79d7b7 dhcp: 4.3.4 -> 4.3.6 2018-03-01 08:40:30 -06:00
Vladimír Čunát
c65c1f6434
dhcp: fixup build with gcc-7 (ignore warning)
Upgrade to latest release wouldn't solve this one,
and it would conflict with both of our patches,
so I decided not to spend much time on this for now.
2017-11-12 12:16:47 +01:00
Franz Pletz
d5adf2cc0b
dhcp: 4.3.3 -> 4.3.4
Uses shipped version of libbind now.

Fix CVE-2016-2774 & CVE-2015-8605.

cc #18856
2016-09-28 10:50:29 +02:00
Tuomas Tynkkynen
dba79aa395 treewide: Make explicit that 'dev' output of bind is used 2016-08-23 03:45:22 +03:00
William A. Kennington III
6b47c27e67 dhcp: 4.3.2 -> 4.3.3 2015-09-17 14:12:38 -07:00
William A. Kennington III
580032914f dhcp: Add proper bind dependency 2015-05-24 15:05:25 -07:00
William A. Kennington III
4364645181 dhcp: 4.3.1 -> 4.3.2 2015-03-26 12:27:59 -07:00
William A. Kennington III
cd9619f871 dhcp: 4.3.0 -> 4.3.1 2014-11-14 22:44:13 -08:00
William A. Kennington III
5337b16435 dhcp: Update meta information and add maintainership 2014-08-13 15:10:04 -05:00
William A. Kennington III
05976a2b5a dhcpd: Update 4.1-ESV-R6 -> 4.3.0
Additionally add the ability to run as a non-root user / group by including
paranoia patches in the build.
2014-08-13 15:08:08 -05:00
Eelco Dolstra
4e7df1423f dhcp: Update to 4.1-ESV-R6
Fixes several security problems.
2012-07-26 11:44:34 -04:00
Eelco Dolstra
601aeb1aa8 * Make sure that dhclient properly sets the hostname after reboots.
svn path=/nixpkgs/branches/modular-python/; revision=26659
2011-04-01 15:04:20 +00:00
Eelco Dolstra
7cbb426eae * dhclient: don't flush IPv6 addresses/routes.
svn path=/nixpkgs/trunk/; revision=26455
2011-03-22 12:55:55 +00:00
Eelco Dolstra
dd3d477d74 * DHCP 4.1.2.
svn path=/nixpkgs/trunk/; revision=25897
2011-02-11 12:24:24 +00:00
Eelco Dolstra
a1e834e85a * Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages
  from earlier bootstrap phases.
* Don't rely on the existence of attributes such as
  `stdenv.coreutils'.

svn path=/nixpkgs/trunk/; revision=22991
2010-08-06 10:34:34 +00:00
Eelco Dolstra
5a028270aa * dhcp 4.1.1.
svn path=/nixpkgs/trunk/; revision=22606
2010-07-15 11:06:30 +00:00
Lluís Batlle i Rossell
c0d379f69a Made dhcp build (removing its -Werror). gcc 4.4 complained on uninitializated
variables.


svn path=/nixpkgs/branches/stdenv-updates/; revision=19079
2009-12-23 08:55:32 +00:00
Eelco Dolstra
0a7708ff56 * dhcp: don't bring down an interface to delete old addresses / route
/ ARP cache information, but just flush those using the ip command.
  Bringing down wireless interfaces causes wpa_supplicant to fail and
  never recover ("wpa_supplicant: l2_packet_receive - recvfrom:
  Network is down").  This made associating with a wireless network
  rather unreliable and timing-dependant.  It seems to work a lot
  better now.

svn path=/nixpkgs/trunk/; revision=17514
2009-09-29 16:14:33 +00:00
Michael Raskin
b0e71363d1 Make dhclient work again
svn path=/nixpkgs/trunk/; revision=16517
2009-07-30 10:04:48 +00:00
Eelco Dolstra
869c2efec0 * dhcp updated to 4.1.0p1. This seems to fix my problems with
wpa_supplicant (i.e. the dhclient-script no longer brings down the
  wlan0 interface).  The patches no longer seem needed.

svn path=/nixpkgs/trunk/; revision=16449
2009-07-23 23:57:11 +00:00
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Ludovic Courtès
8b838d3cb2 dhcp: Fix path of dhclient-script' used in dhclient', fix dependencies of `dhclient-script'.
svn path=/nixpkgs/trunk/; revision=11788
2008-05-08 22:08:58 +00:00
Ludovic Courtès
c02aea1925 ISC DHCP: Add a proper wrapper for dhclient-script' so that it finds hostname'
and friends; add a patch so that "make install" doesn't try to
"mkdir /var/run"; add `meta' attribute.

svn path=/nixpkgs/trunk/; revision=11123
2008-03-14 13:40:32 +00:00
Eelco Dolstra
8f4d8573c0 * Fix a bunch of URLs.
svn path=/nixpkgs/trunk/; revision=9292
2007-09-11 10:15:07 +00:00
Michael Raskin
9dc9c364bc Changed DHCP expression not to fail on global /var/state installation.
svn path=/nixpkgs/trunk/; revision=8904
2007-06-20 12:45:02 +00:00
Eelco Dolstra
d89c825ec0 * Oops.
svn path=/nixpkgs/trunk/; revision=8300
2007-03-16 13:04:28 +00:00
Eelco Dolstra
500a3647ab * Don't put stuff in $out/usr.
svn path=/nixpkgs/trunk/; revision=8298
2007-03-16 11:55:21 +00:00
Eelco Dolstra
f69d866898 * Hackery to get dhclient to pass PATH to dhclient-script.
svn path=/nixpkgs/trunk/; revision=7924
2007-02-20 14:59:11 +00:00
Eelco Dolstra
7f1a438ca8 * Latest dhcp.
* Dhcp client script: create resolv.conf even if the DHCP server
  doesn't provide a domain name, only a list of name servers.  (The
  QEMU DHCP server does this.)

svn path=/nixpkgs/trunk/; revision=7920
2007-02-20 14:20:16 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
7154adfa34 new version of ISC dhcpd
svn path=/nixpkgs/trunk/; revision=6074
2006-08-08 17:50:16 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00