Merge branch 'master' into staging-next

This commit is contained in:
Vladimír Čunát
2018-11-26 10:28:00 +01:00
198 changed files with 2486 additions and 1200 deletions

View File

@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
version = "111";
src = fetchurl {
url = "http://launchpad.net/ecryptfs/trunk/${version}/+download/ecryptfs-utils_${version}.orig.tar.gz";
url = "https://launchpad.net/ecryptfs/trunk/${version}/+download/ecryptfs-utils_${version}.orig.tar.gz";
sha256 = "0zwq19siiwf09h7lwa7n7mgmrr8cxifp45lmwgcfr8c1gviv6b0i";
};

View File

@@ -2,7 +2,7 @@
buildGoPackage rec {
name = "kbfs-${version}";
version = "2.6.0";
version = "2.10.1";
goPackagePath = "github.com/keybase/kbfs";
subPackages = [ "kbfsfuse" "kbfsgit/git-remote-keybase" ];
@@ -13,7 +13,7 @@ buildGoPackage rec {
owner = "keybase";
repo = "kbfs";
rev = "v${version}";
sha256 = "0i4f1bc0gcnax572s749m7zcpy53a0f9yzi4lwc312zzxi7krz2f";
sha256 = "0c03jm4pxqh4cfg1d7c833hdl8l57f1sbfqxwdq16y5s2cac1yss";
};
buildFlags = [ "-tags production" ];

View File

@@ -5,7 +5,7 @@
buildGoPackage rec {
name = "keybase-${version}";
version = "2.7.3";
version = "2.10.1";
goPackagePath = "github.com/keybase/client";
subPackages = [ "go/keybase" ];
@@ -16,7 +16,7 @@ buildGoPackage rec {
owner = "keybase";
repo = "client";
rev = "v${version}";
sha256 = "1sw6v3vf544vp8grw8p287cx078mr9v0v1wffcj6f9p9shlwj7ic";
sha256 = "1gfxnqzs8msxmykg1zrhrrl2slmb29gl7b8s4m2g44zxaj91gfi9";
};
buildInputs = lib.optionals stdenv.isDarwin [

View File

@@ -1,9 +1,26 @@
{ stdenv, fetchurl, alsaLib, atk, cairo, cups
, dbus, expat, fontconfig, freetype, gcc, gdk_pixbuf, glib, gnome2, gtk3
, libnotify, nspr, nss, pango, systemd, xorg }:
{ stdenv, fetchurl, alsaLib, atk, cairo, cups, udev, hicolor-icon-theme
, dbus, expat, fontconfig, freetype, gdk_pixbuf, glib, gnome2, gtk3, gnome3
, libnotify, nspr, nss, pango, systemd, xorg, autoPatchelfHook, wrapGAppsHook }:
let
libPath = stdenv.lib.makeLibraryPath [
versionSuffix = "20181121195344.99751ac04f";
in
stdenv.mkDerivation rec {
name = "keybase-gui-${version}";
version = "2.11.0"; # Find latest version from https://prerelease.keybase.io/deb/dists/stable/main/binary-amd64/Packages
src = fetchurl {
url = "https://s3.amazonaws.com/prerelease.keybase.io/linux_binaries/deb/keybase_${version + "-" + versionSuffix}_amd64.deb";
sha256 = "1gh7brdw2p4xfdgc43vrmv0lvki2f3691mfh6lvksy1dv43yb8zl";
};
nativeBuildInputs = [
autoPatchelfHook
wrapGAppsHook
];
buildInputs = [
alsaLib
atk
cairo
@@ -12,10 +29,10 @@ let
expat
fontconfig
freetype
gcc.cc
gdk_pixbuf
glib
gnome2.GConf
gnome3.gsettings-desktop-schemas
gtk3
libnotify
nspr
@@ -23,7 +40,7 @@ let
pango
systemd
xorg.libX11
xorg.libxcb
xorg.libXScrnSaver
xorg.libXcomposite
xorg.libXcursor
xorg.libXdamage
@@ -32,22 +49,23 @@ let
xorg.libXi
xorg.libXrandr
xorg.libXrender
xorg.libXScrnSaver
xorg.libXtst
xorg.libxcb
];
in
stdenv.mkDerivation rec {
name = "keybase-gui-${version}";
version = "2.7.0-20180926133747.0d62c866fc";
src = fetchurl {
url = "https://s3.amazonaws.com/prerelease.keybase.io/linux_binaries/deb/keybase_${version}_amd64.deb";
sha256 = "0a0ax3skfw398vcjl7822qp7160lbll1snwdqsa13dy8qrjl1byp";
};
phases = ["unpackPhase" "installPhase" "fixupPhase"];
runtimeDependencies = [
udev.lib
];
dontBuild = true;
dontConfigure = true;
dontPatchElf = true;
unpackPhase = ''
ar xf $src
tar xf data.tar.xz
'';
installPhase = ''
mkdir -p $out/bin
mv usr/share $out/share
@@ -83,13 +101,10 @@ stdenv.mkDerivation rec {
substituteInPlace $out/share/applications/keybase.desktop \
--replace run_keybase $out/bin/keybase-gui
'';
postFixup = ''
patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) --set-rpath "${libPath}:\$ORIGIN" "$out/share/keybase/Keybase"
'';
meta = with stdenv.lib; {
homepage = https://www.keybase.io/;
description = "The Keybase official GUI.";
description = "The Keybase official GUI";
platforms = platforms.linux;
maintainers = with maintainers; [ puffnfresh np ];
license = licenses.bsd3;

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
'';
patches = [
(fetchpatch { url = http://anonscm.debian.org/cgit/users/robert/super.git/plain/debian/patches/14-Fix-unchecked-setuid-call.patch;
(fetchpatch { url = https://salsa.debian.org/debian/super/raw/debian/3.30.0-7/debian/patches/14-Fix-unchecked-setuid-call.patch;
sha256 = "08m9hw4kyfjv0kqns1cqha4v5hkgp4s4z0q1rgif1fnk14xh7wqh";
})
];
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
installFlags = "sysconfdir=$(out)/etc localstatedir=$(TMPDIR)";
meta = {
homepage = http://www.ucolick.org/~will/;
homepage = "https://www.ucolick.org/~will/#super";
description = "Allows users to execute scripts as if they were root";
longDescription =
''

View File

@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'wpscan', '= 3.4.0'

View File

@@ -0,0 +1,55 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
cms_scanner (0.0.41.0)
activesupport (~> 5.2)
addressable (~> 2.5)
nokogiri (~> 1.8.0)
opt_parse_validator (~> 0.0.16.4)
public_suffix (~> 3.0.0)
ruby-progressbar (~> 1.10.0)
typhoeus (~> 1.3.0)
xmlrpc (~> 0.3)
yajl-ruby (~> 1.4.1)
concurrent-ruby (1.1.3)
ethon (0.11.0)
ffi (>= 1.3.0)
ffi (1.9.25)
i18n (1.1.1)
concurrent-ruby (~> 1.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
nokogiri (1.8.5)
mini_portile2 (~> 2.3.0)
opt_parse_validator (0.0.16.4)
activesupport (~> 5.2.1)
addressable (~> 2.5.0)
public_suffix (3.0.3)
ruby-progressbar (1.10.0)
thread_safe (0.3.6)
typhoeus (1.3.1)
ethon (>= 0.9.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
wpscan (3.4.0)
activesupport (~> 5.2)
cms_scanner (~> 0.0.41.0)
yajl-ruby (~> 1.3)
xmlrpc (0.3.0)
yajl-ruby (1.4.1)
PLATFORMS
ruby
DEPENDENCIES
wpscan (= 3.4.0)
BUNDLED WITH
1.16.3

View File

@@ -0,0 +1,21 @@
{ bundlerApp, lib, makeWrapper, curl }:
bundlerApp {
pname = "wpscan";
gemdir = ./.;
exes = [ "wpscan" ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/wpscan" \
--prefix PATH : ${lib.makeBinPath [ curl ]}
'';
meta = with lib; {
description = "Black box WordPress vulnerability scanner";
homepage = https://wpscan.org/;
license = licenses.unfreeRedistributable;
maintainers = [ maintainers.nyanloutre ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,164 @@
{
activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0ziy6xk31k4fs115cdkba1ys4i8nzcyri7a2jig7nx7k5h7li6l2";
type = "gem";
};
version = "5.2.1";
};
addressable = {
dependencies = ["public_suffix"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk";
type = "gem";
};
version = "2.5.2";
};
cms_scanner = {
dependencies = ["activesupport" "addressable" "nokogiri" "opt_parse_validator" "public_suffix" "ruby-progressbar" "typhoeus" "xmlrpc" "yajl-ruby"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1azsvgg070dng2jaz44zaqkvqyhf3pj131nqa7wdv3bsqp8y7kap";
type = "gem";
};
version = "0.0.41.0";
};
concurrent-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "18q9skp5pfq4jwbxzmw8q2rn4cpw6mf4561i2hsjcl1nxdag2jvb";
type = "gem";
};
version = "1.1.3";
};
ethon = {
dependencies = ["ffi"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0y70szwm2p0b9qfvpqrzjrgm3jz0ig65vlbfr6ppc3z0m1h7kv48";
type = "gem";
};
version = "0.11.0";
};
ffi = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0jpm2dis1j7zvvy3lg7axz9jml316zrn7s0j59vyq3qr127z0m7q";
type = "gem";
};
version = "1.9.25";
};
i18n = {
dependencies = ["concurrent-ruby"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1gcp1m1p6dpasycfz2sj82ci9ggz7lsskz9c9q6gvfwxrl8y9dx7";
type = "gem";
};
version = "1.1.1";
};
mini_portile2 = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "13d32jjadpjj6d2wdhkfpsmy68zjx90p49bgf8f7nkpz86r1fr11";
type = "gem";
};
version = "2.3.0";
};
minitest = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0icglrhghgwdlnzzp4jf76b0mbc71s80njn5afyfjn4wqji8mqbq";
type = "gem";
};
version = "5.11.3";
};
nokogiri = {
dependencies = ["mini_portile2"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0byyxrazkfm29ypcx5q4syrv126nvjnf7z6bqi01sqkv4llsi4qz";
type = "gem";
};
version = "1.8.5";
};
opt_parse_validator = {
dependencies = ["activesupport" "addressable"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1m3flpg1d7la1frip3vn0hgm6d91f0ys1jq2bhxr5va1vjbfvgbs";
type = "gem";
};
version = "0.0.16.4";
};
public_suffix = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
type = "gem";
};
version = "3.0.3";
};
ruby-progressbar = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1cv2ym3rl09svw8940ny67bav7b2db4ms39i4raaqzkf59jmhglk";
type = "gem";
};
version = "1.10.0";
};
thread_safe = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
type = "gem";
};
version = "0.3.6";
};
typhoeus = {
dependencies = ["ethon"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0cni8b1idcp0dk8kybmxydadhfpaj3lbs99w5kjibv8bsmip2zi5";
type = "gem";
};
version = "1.3.1";
};
tzinfo = {
dependencies = ["thread_safe"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1fjx9j327xpkkdlxwmkl3a8wqj7i4l4jwlrv3z13mg95z9wl253z";
type = "gem";
};
version = "1.2.5";
};
wpscan = {
dependencies = ["activesupport" "cms_scanner" "yajl-ruby"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "17mqqaiawp3apdfw4l6r2wp0a4f0rp8wdqd2426xkna7vsxgh8gs";
type = "gem";
};
version = "3.4.0";
};
xmlrpc = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1s744iwblw262gj357pky3d9fcx9hisvla7rnw29ysn5zsb6i683";
type = "gem";
};
version = "0.3.0";
};
yajl-ruby = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "16v0w5749qjp13xhjgr2gcsvjv6mf35br7iqwycix1n2h7kfcckf";
type = "gem";
};
version = "1.4.1";
};
}