Commit Graph

42 Commits

Author SHA1 Message Date
Jussi Kuokkanen
ce3f586775 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
figsoda
251d2cbfc2 pkgs/tools/networking: remove dead code 2023-07-25 11:36:57 -04:00
Peter Hoeg
ef42b97547 ppp: specify statedir for .pid file 2023-05-08 21:44:42 +08:00
Yureka
b65e9775fb ppp: 2.4.9 -> 2.5.0 2023-04-25 18:00:12 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Yureka
91cfaa255c ppp: add ppp_defs.h shim for musl 2023-02-20 08:20:30 +01:00
Alyssa Ross
ed5afe8b9d
ppp: disable IPX on musl
As noted in the comment, this will be removed entirely in the next
release anyway.
2023-01-31 11:41:14 +00:00
Martin Weinelt
728c97f88a
pppd: inherit nixos test into passthru.tests 2022-10-09 18:10:33 +02:00
Martin Weinelt
43327d2957
pppd: fix build with libxcrypt 2022-10-09 18:10:33 +02:00
Alyssa Ross
fd78240ac8
treewide: use lib.getLib for OpenSSL libraries
At some point, I'd like to make another attempt at
71f1f4884b ("openssl: stop static binaries referencing libs"), which
was reverted in 195c7da07d.  One problem with my previous attempt is
that I moved OpenSSL's libraries to a lib output, but many dependent
packages were hardcoding the out output as the location of the
libraries.  This patch fixes every such case I could find in the tree.
It won't have any effect immediately, but will mean these packages
will automatically use an OpenSSL lib output if it is reintroduced in
future.

This patch should cause very few rebuilds, because it shouldn't make
any change at all to most packages I'm touching.  The few rebuilds
that are introduced come from when I've changed a package builder not
to use variable names like openssl.out in scripts / substitution
patterns, which would be confusing since they don't hardcode the
output any more.

I started by making the following global replacements:

    ${pkgs.openssl.out}/lib -> ${lib.getLib pkgs.openssl}/lib
    ${openssl.out}/lib -> ${lib.getLib openssl}/lib

Then I removed the ".out" suffix when part of the argument to
lib.makeLibraryPath, since that function uses lib.getLib internally.

Then I fixed up cases where openssl was part of the -L flag to the
compiler/linker, since that unambigously is referring to libraries.

Then I manually investigated and fixed the following packages:

 - pycurl
 - citrix-workspace
 - ppp
 - wraith
 - unbound
 - gambit
 - acl2

I'm reasonably confindent in my fixes for all of them.

For acl2, since the openssl library paths are manually provided above
anyway, I don't think openssl is required separately as a build input
at all.  Removing it doesn't make a difference to the output size, the
file list, or the closure.

I've tested evaluation with the OfBorg meta checks, to protect against
introducing evaluation failures.
2022-03-30 15:10:00 +00:00
Rick van Schijndel
5bb850a5b9 ppp: support cross-compilation, cleanup old code 2021-10-11 19:36:18 +02:00
Martin Weinelt
b37087603e
ppp: 2.4.8 -> 2.4.9 2021-07-21 15:20:44 +02: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
Andreas Rammhold
142c3153f7
ppp: apply patch for CVE-2020-8597
This fixes a potential buffer overflow in the eap_{request,response}
functions.
2020-03-06 23:35:18 +01:00
Andreas Rammhold
caffd51048
ppp: 2.4.7 -> 2.4.8 2020-03-06 23:33:43 +01:00
Luka Blaskovic
dcd9031572 ppp: fix build with glibc>=2.28 2020-01-14 09:06:23 +00:00
Vladimír Čunát
9e0c8f0cbe
ppp: remove falsifian from meta.maintainers
https://github.com/NixOS/nixpkgs/pull/66528#issuecomment-572762705
2020-01-09 22:52:11 +01:00
Linus Heckemann
91ceb6b997 treewide: fix dead anonscm.debian.org links 2019-10-04 12:42:21 +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
Matthieu Coudron
d574780365 ppp: add eap-tls patch
else NetworkManager-l2tp fails with:
checking whether EAP-TLS patch has been applied to pppd... no
configure: error: EAP-TLS patch has not been applied to pppd

This check has been added in 56e82afe1f,
i.e. l2tp version 1.7.0.
2019-04-06 22:18:21 +09:00
Markus Kowalewski
406dee31c4
ppp: add licenses 2018-08-18 00:18:17 +02:00
Piotr Bogdan
da9b564bed ppp: fix build with newer kernel headers
The package would build but with some components missing, see
https://github.com/NixOS/nixpkgs/issues/37926 and
https://hydra.nixos.org/build/70939248/nixlog/1 -> CTRL-F error:
2018-03-28 23:50:42 +01:00
Will Dietz
08e70f7a0c ppp: grab alpine patch, fix build on musl 2018-02-13 09:44:47 -06:00
Thomas Tuegel
baad413416
ppp: fix invalid use of substituteInPlace
substituteInPlace was invoked with multiple targets on the command line, which
is not supported.
2017-07-21 15:45:24 -05:00
Franz Pletz
9ac6297b79
ppp: add patch to fix CVE-2015-3310 2017-01-25 20:53:43 -05:00
Vladimír Čunát
ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Tim Steinbach
a4d741ef9d ppp: Include convenience scripts 2016-03-24 19:26:00 +00:00
Thomas Tuegel
1fae9a36aa ppp: fix evaluation error on Darwin 2016-03-11 09:12:39 -06:00
Vladimír Čunát
bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
James Cook
3baf1c0772 Merge remote-tracking branch 'official/master' into ppp_2.4.7_squash
Conflicts:
	pkgs/tools/networking/ppp/default.nix
2015-02-10 09:24:38 -08:00
Edward Tjörnhammar
33a8a51657 fetchurl: collate samba project urls into a mirror 2015-02-08 22:29:27 +01:00
James Cook
5522aad3ec ppp: Change maintainer to falsifian. 2015-02-08 11:29:14 -08:00
James Cook
3df42c6499 PPP: Update to 2.4.7.
Fixes CVE-2014-3158.

Also remove postPatch and postInstall that don't seem to be needed (any
more?).
2015-02-07 17:43:49 -08:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Mathijs Kwik
34bd1110b1 ppp: fix purity patch on :multiple-outputs: 2013-08-21 17:35:54 +02:00
Jonas Hoersch
b39a6ef532 ppp: enable ipv6 support
networkmanager requires pppd to have ipv6 support for managing mobile
connections since version 0.9.5.95, ref. to commit 7575f4d.
2013-06-11 01:07:06 +02:00
Eelco Dolstra
961ad6a314 * rp-pppoe requires a version attribute in ppp.
svn path=/nixpkgs/trunk/; revision=31295
2012-01-04 19:04:09 +00:00
Yury G. Kudryashov
3ca6582874 ppp-2.4.5, a few patches
svn path=/nixpkgs/trunk/; revision=31279
2012-01-04 15:10:27 +00:00
Marc Weber
f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
2009-05-24 10:57:41 +00:00
Marc Weber
52647ea3b0 FullDepEntry -> fullDepEntry, PackEntry -> packEntry
svn path=/nixpkgs/trunk/; revision=15662
2009-05-19 23:25:58 +00:00
Michael Raskin
cdf5d243a0 Adding ppp and rp-pppoe for different point-to-point connectivity situations. Not tested for trivial reasons, but built OK
svn path=/nixpkgs/trunk/; revision=13925
2009-02-01 13:54:20 +00:00