Commit Graph

167533 Commits

Author SHA1 Message Date
aszlig
16ecd0d5ca
xkbvalidate: Rename output binary to xkbvalidate
So far, the output binary has been just "validate", which is quite a
very generic name and doesn't match the package name.

Even though I highly doubt that this program will ever be used outside
of NixOS modules, it's nevertheless less confusing to have a consistent
naming.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-15 01:11:32 +02:00
aszlig
1964b0c1b1
xkbvalidate: Don't rely on GNU extensions
The only reason why I was using _GNU_SOURCE was because of vasprintf(),
so getting rid of that extension should make the source way more
portable.

When using vsnprintf() with a null pointer for the output buffer and a
size of 0, I wasn't quite sure whether this would be undefined
behaviour, so I looked it up in the C11 standard.

In section 7.21.6.5, it explicitly mentions this case, so we're lucky:

  If n is zero, nothing is written, and s may be a null pointer.

Additionally, section 7.21.6.12 writes the following about vsnprintf():

  The vsnprintf function does not invoke the va_end macro.

So to be sure to avoid undefined behaviour I subsequently added the
corresponding va_end() calls.

With this, the platforms attribute is now "unix", because the program
should now even run on OS X, even though it usually wouldn't be needed.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-15 00:59:58 +02:00
aszlig
77e8a12755
xkbvalidate: Use $CC instead of hardcoded gcc
I initially didn't use $CC because I thought this would be GCC specific,
but it turns out that Clang actually accepts -std=gnu11.

So using $CC here might not work on compilers other than Clang or GCC,
but at the moment those are the compilers we typically use in nixpkgs,
so even if we'd use some other compiler it *might* even work there.

I've tested this by compiling against clangStdenv with both $CC and
clang hardcoded and it works.

This was reported by @dkudriavtsev on IRC.

Signed-off-by: aszlig <aszlig@nix.build>
2019-08-14 23:57:20 +02:00
aszlig
3e78331d96
Merge pull request #66582 (nginx security updates)
This addresses CVE-2019-9511, CVE-2019-9513 and CVE-2019-9516. Details
about these vulnerabilities can be found at:

216433296d/advisories/third-party/2019-002.md

Version 1.16.1 only includes the security fixes, however version 1.17.3
has two additional bugfixes:

  * "zero size buf" alerts might appear in logs when using gzipping; the
    bug had appeared in 1.17.2.
  * a segmentation fault might occur in a worker process if the
    "resolver" directive was used in SMTP proxy.

I haven't extensively tested this, but from a quick test, nginx is still
working and the NixOS tests also succeed.

Thanks to @Izorkin for the pull request.
2019-08-14 18:17:45 +02:00
Matthew Bauer
e9b7085ff8 cups: add myself as maintainer 2019-08-14 11:47:48 -04:00
worldofpeace
dd49cf711e
Merge pull request #66338 from worldofpeace/installer/no-root
installer: Don't run as root
2019-08-14 11:20:54 -04:00
Joachim F
8f156698bf
Merge pull request #54425 from eadwu/init/srhtPackages
sourcehut: init
2019-08-14 14:50:59 +00:00
Vincent Laporte
6bb07c80bf smtube: use qt5’s mkDerivation
See #65399
2019-08-14 14:43:11 +00:00
Vincent Laporte
95ec53813a smplayer: use qt5’s mkDerivation
See #65399
2019-08-14 14:43:11 +00:00
Matthew Bauer
81bddd62ca
Merge pull request #62953 from asymmetric/wasmtime-update
wasmtime: 0.1.0 -> 20190521
2019-08-14 10:26:54 -04:00
Robert Winslow
e91d400dff darwin.adv_cmds: Fix fetchzip call by using https not http (#64546) 2019-08-14 10:24:34 -04:00
Matthew Bauer
4202715c58
Merge pull request #63835 from luaduck/rpi4-firmware
raspberrypi-firmware: Update version to 1.20190620+1
2019-08-14 10:22:22 -04:00
Matthew Bauer
166905cb31
Merge pull request #65484 from arcnmx/pr-stdenv-cmake-cross
stdenv: correct cross CMAKE_SYSTEM_NAME
2019-08-14 10:17:12 -04:00
Matthew Bauer
579168b537
Merge pull request #65483 from arcnmx/pr-llvm-baremetal
llvm8 bare metal fixes
2019-08-14 10:16:57 -04:00
Marek Mahut
930659b10b
Merge pull request #66608 from saschagrunert/cri-tools
cri-tools: 1.14.0 -> 1.15.0
2019-08-14 12:50:01 +02:00
Marek Mahut
dd87e37a8e
Merge pull request #66590 from jonringer/bump-bdsync
bdsync: 0.10.1 -> 0.11.1
2019-08-14 12:28:36 +02:00
Marek Mahut
d09eb635b3
Merge pull request #66609 from prusnak/runwayml
runwayml: 0.8.1 -> 0.9.0
2019-08-14 12:28:01 +02:00
symphorien
757ac88383 utsushi: init at 3.57.0 (#65223) 2019-08-14 08:37:19 +00:00
Sascha Grunert
3efc04c41d
cri-tools: 1.14.0 -> 1.15.0
- Fix go build process to include critest as well.
- Fix GitHub repo location to be `kubernetes-sigs`
- Add me as maintainer

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-14 09:16:31 +02:00
Marek Mahut
90f6578ef2
Merge pull request #66602 from jonringer/bump-axel
axel: 2.17.3 -> 2.17.5
2019-08-14 08:52:42 +02:00
Peter Hoeg
d7fc23a0a6
Merge pull request #66420 from peterhoeg/p/maestral
maestral: init at 0.2.6
2019-08-14 14:29:36 +08:00
Jörg Thalheim
453d108417
youtube-dl: 2019.08.02 -> 2019.08.13 (#66603)
youtube-dl: 2019.08.02 -> 2019.08.13
2019-08-14 07:22:29 +01:00
Jörg Thalheim
4f835fb2de
Merge pull request #66538 from singron/config-whitespace
kernel generate-config.pl: Allow whitespace in values
2019-08-14 07:21:59 +01:00
Marek Mahut
8fa1bb84e8 ptex: 2.3.0 -> 2.3.2 2019-08-14 15:16:22 +09:00
Jörg Thalheim
cf5f02b4bb
zsh/pth/zsync: cross fixes (#65780)
zsh/pth/zsync: cross fixes
2019-08-14 07:15:01 +01:00
Tadeo Kondrak
b5facab048 qMasterPassword: use qt mkDerivation 2019-08-14 15:12:02 +09:00
Peter Hoeg
a67aec1746 maestral: init at 0.2.6 2019-08-14 14:07:12 +08:00
xrelkd
0ab733a9e1 youtube-dl: 2019.08.02 -> 2019.08.13 2019-08-14 11:37:33 +08:00
Jonathan Ringer
cbed276a69 axel: 2.17.3 -> 2.17.5 2019-08-13 19:55:13 -07:00
Matthew Bauer
d9eeb35588
Merge pull request #65490 from lopsided98/zfs-cross
zfs: fix kernel module cross-compile
2019-08-13 21:54:31 -04:00
Matthew Bauer
326f40e97c
Merge pull request #66386 from typetetris/bacula-crosscompile-fix
bacula: fix cross compiling for armv7l
2019-08-13 21:51:15 -04:00
worldofpeace
24870b40d6
Merge pull request #66469 from emilazy/update-blackmagic
blackmagic: 1.6.1 -> unstable-2019-08-13
2019-08-13 20:17:36 -04:00
Emily
d792c84f35 blackmagic: 1.6.1 -> unstable-2019-08-13 2019-08-13 17:10:02 -07:00
worldofpeace
a41873dbc9
Merge pull request #66422 from stefano-m/icedtea_web-1.8.3
icedtea_web: 1.7.1 -> 1.8.3 (fixes CVE-2019-10185, CVE-2019-10181, CVE-2019-10182)
2019-08-13 18:54:35 -04:00
Jan Tojnar
ad135f0518
libwnck3: 3.30.0 → 3.32.0 (#66586)
libwnck3: 3.30.0 → 3.32.0
2019-08-14 00:17:30 +02:00
Jonathan Ringer
65b64ae301 bdsync: 0.10.1 -> 0.11.1 2019-08-13 15:00:05 -07:00
Stefano Mazzucco
2d4bdb8733 icedtea_web: use glib rather than gtk2 in buildInputs
The dependency on GTK was removed in
c7aae0e400

Also, remove that pesky commented-out line from `preConfigure` too!
2019-08-13 22:45:25 +01:00
Jan Tojnar
3e47ef9790
libwnck3: 3.30.0 → 3.32.0
https://gitlab.gnome.org/GNOME/libwnck/blob/3.32.0/NEWS#L1-33
2019-08-13 23:11:25 +02:00
Pavol Rusnak
b79ed3f1f4
runwayml: 0.8.1 -> 0.9.0 2019-08-13 22:05:33 +02:00
Tim Otten
dae42566db mysql80: init at 8.0.17 (#65221)
MySQL 8.0 is a significant iteration after MySQL 5.7.  This patch adds it as
a parallel build alongside mysql57 (similar to mysql56 and mysql55 before).
2019-08-13 19:50:51 +00:00
Wael Nasreddine
a3bf0c2e40
vimPlugins: turn filetype and syntax before sourcing the plugins (#66536)
Vim Terraform expects the `filetypedetect` group to exist. However, since we were enabling the filetype and the syntax *after* loading the plugins, it was exiting with an error preventing us from generating the remote plugins manifest with the plugin enabled. See #65894 for context.
2019-08-13 12:25:06 -07:00
worldofpeace
a5b77b8cae
Merge pull request #65724 from doronbehar/improve-sequoia
Improve sequoia package expression
2019-08-13 14:44:35 -04:00
Doron Behar
701c788c3f sequoia: improve expression, rename from sequoia-tool
- Add the package to the pythonPackages' attribute set.

- Make the python support overrideable
  We use the pythonSupport argument.

- Rename sequoia-tool -> sequoia
  We provide the whole ecosystem which includes:
    * ffi bindings to Python and C
    * zsh and bash completion for `sq` and `sqv` executables.

- Meta:
  * Use a string as the homepage URL (plain URLs are deprecated).
  * Change description of package to fit upstream and the files we
    actually install.
  * Add @doronbehar as maintainer.
2019-08-13 14:42:27 -04:00
Izorkin
83381bec9c nginxMainline: 1.17.2 -> 1.17.3 2019-08-13 21:31:57 +03:00
Michael Raskin
6490f9c740
Merge pull request #65853 from wahjava/add/sagittarius-scheme
sagittarius-scheme: init at 0.9.6
2019-08-13 18:31:17 +00:00
Izorkin
aec55db737 nginxStable: 1.16.0 -> 1.16.1 2019-08-13 21:30:08 +03:00
Peter Simons
705b5cd05d darcs: fix build 2019-08-13 20:01:38 +02:00
Marek Mahut
72c55dda97
Merge pull request #64492 from dtzWill/update/evdi-1.6.2
evdi: 1.6.1 -> 1.6.2
2019-08-13 19:50:53 +02:00
worldofpeace
36e567fc08
Merge pull request #66395 from catern/simpfix
pythonPackages.simplefix: init at 1.0.12
2019-08-13 12:48:13 -04:00
Matthew Bauer
554a789403
Merge pull request #65537 from Holo-Host/201907/extend-static
pkgsStatic: override libunwind
2019-08-13 12:47:03 -04:00