3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

44 commits

Author SHA1 Message Date
Franz Pletz f0f14f1db5
dropbear: fix build with libxcrypt 2022-10-09 18:10:41 +02:00
zseri cb49b92659 dropbear: expose optional scp support (fixes #135849) 2022-06-09 22:50:26 +02:00
Felix Buehler f95d9678a9 tools/networking: replace name with pname&version 2021-08-01 22:48:53 +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
John Ericson f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
R. RyanTM 2d9968f1ae dropbear: 2020.80 -> 2020.81 2020-11-03 08:49:08 -08:00
Patrick Hilhorst f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
R. RyanTM fd09f09f85 dropbear: 2019.78 -> 2020.80 2020-07-03 08:28:19 +00:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM dc418e71c6 dropbear: 2018.76 -> 2019.78
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dropbear/versions
2019-04-01 02:36:30 -07:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01: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
Shea Levy 4237842f92
Revert "Revert "dropbear: 2017.75 -> 2018.76""
This was for local testing, never meant to commit it...

This reverts commit 4953a006f5.
2018-03-01 21:36:20 -05:00
Shea Levy 4953a006f5
Revert "dropbear: 2017.75 -> 2018.76"
This reverts commit db913f8445.
2018-03-01 21:27:25 -05:00
volth db913f8445
dropbear: 2017.75 -> 2018.76 2018-02-27 20:28:01 +00:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Nikolay Amiantov a90fb0f550 dropbear: 2016.74 -> 2017.75 2017-07-27 17:07:45 +03:00
John Ericson 38b2bd2f28 dropbear: Remove now-unneeded crossAttrs 2017-06-22 17:53:52 -04:00
Nikolay Amiantov 3507da085f dropbear: fix static build
Fixes #24839. Also change default sftp-server path to a more canonical.
2017-04-16 12:58:27 +03:00
Tobias Geerinckx-Rice 7c84bd121a
dropbear: 2016.73 -> 2016.74
Security fixes:
- Message printout was vulnerable to format string injection
- dropbearconvert import of OpenSSH keys could run arbitrary code
  as the local dropbearconvert user when parsing malicious key
  files
- dbclient could run arbitrary code as the local dbclient user if
  particular -m or -c arguments are provided
- dbclient or dropbear server could expose process memory to the
  running user if compiled with DEBUG_TRACE and running with -v

Fixes:
- Fix port forwarding failure when connecting to domains that have
  both IPv4 and IPv6 addresses. The bug was introduced in 2015.68
- Fix 100% CPU use while waiting for rekey to complete
2016-07-23 21:29:51 +02:00
Nikolay Amiantov 659bea9dda dropbear: disable on Darwin 2016-06-11 03:38:57 +03:00
Nikolay Amiantov 938d64f1f3 quote URLs in my packages to ease opening them from urxvt 2016-04-30 03:12:32 +03:00
Tobias Geerinckx-Rice a685456213 dropbear: 2016.72 -> 2016.73
Changes: https://matt.ucc.asn.au/dropbear/CHANGES.
2016-03-20 23:20:56 +01:00
Tobias Geerinckx-Rice e834a7c05b dropbear: 2015.71 -> 2016.72
Bugfix release:
- Validate X11 forwarding input. Could allow bypass of
  authorized_keys command= restrictions.
2016-03-11 03:08:02 +01:00
Eelco Dolstra a5d5736692 Typo 2016-02-02 19:59:27 +01:00
Tobias Geerinckx-Rice 889944af2c dropbear 2015.70 -> 2015.71
Another bugfix release.
2015-12-04 17:07:05 +01:00
Tobias Geerinckx-Rice d118e51943 dropbear 2015.69 -> 2015.70
Fix server password authentication on Linux, broken in 2015.69.
2015-11-27 01:45:53 +01:00
Tobias Geerinckx-Rice da29db5d41 dropbear 2015.68 -> 2015.69
Known changes:
- Fix crash when forwarded TCP connections fail to connect
  (bug introduced in 2015.68)
- Avoid hang on session close when multiple sessions are started,
  affects Qt Creator
- Reduce per-channel memory consumption in common case, increase default
  channel limit from 100 to 1000 which should improve SOCKS forwarding
  for modern webpages
- Handle multiple command line arguments in a single flag
- Manpage improvements
- Build fixes for Android
- Don't display the MOTD when an explicit command is run
- Check curve25519 shared secret isn't zero
2015-11-26 08:00:02 +01:00
Nikolay Amiantov cdc7e23e38 dropbear: pass LD_LIBRARY_PATH through 2015-10-18 18:41:11 +03:00
Nikolay Amiantov 919762e4bd dropbear: adopt 2015-10-18 18:41:03 +03:00
Tobias Geerinckx-Rice 3059362c74 dropbear: 2015.67 -> 2015.68
Changes: https://matt.ucc.asn.au/dropbear/CHANGES
2015-08-13 03:05:53 +02:00
Tobias Geerinckx-Rice 32bd963427 dropbear 2014.66 -> 2015.67 2015-04-17 00:57:25 +02: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
Mateusz Kowalczyk f4c350d26e dropbear: update from 2013.62 to 2014.66 2014-11-17 18:09:30 +00:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Nixpkgs Monitor 08a3ef19cd dropbear: update from 2013.60 to 2013.62 2013-12-10 01:07:30 +02:00
Nixpkgs Monitor 92de25cb55 dropbear: update from 2013.58 to 2013.60, potentially fixes CVE-2013-4421, CVE-2013-4434 2013-12-04 05:55:20 +02:00
Lluís Batlle i Rossell 83dee22f4a Fixing a crash bug in dropbear. 2013-06-18 23:35:53 +02:00
Lluís Batlle i Rossell ae98b61850 dropbear: update to 2013.58, and build dynamically
I had to do a trick with GNU make, to allow it to find libs.
2013-06-18 23:35:53 +02:00
Lluís Batlle i Rossell 06c5e48804 Now yes allowing the sftp server path in dropbear. I commit too early, clearly.
svn path=/nixpkgs/trunk/; revision=26970
2011-04-25 15:04:56 +00:00
Lluís Batlle i Rossell a5923a2e13 Allow overriding the sftp server path.
svn path=/nixpkgs/trunk/; revision=26969
2011-04-25 15:03:13 +00:00
Lluís Batlle i Rossell 43c4e65c66 Now I patch dropbear properly for it to inherit the PATH.
svn path=/nixpkgs/trunk/; revision=26968
2011-04-25 14:57:46 +00:00
Lluís Batlle i Rossell e1a78aa1a0 Making dropbear sessions inherit the PATH
svn path=/nixpkgs/trunk/; revision=26967
2011-04-25 14:40:10 +00:00
Lluís Batlle i Rossell 12e960f592 Adding dropbear, a small implementation of ssh2 client and server.
I made it statically build by default

I had to fix the zlib static cross-build, because the native stripping corrupted the target
static library. It is not the first time I see this.

I add drobear to the cross-built packages for hydra.


svn path=/nixpkgs/trunk/; revision=20518
2010-03-09 23:11:12 +00:00