Merge staging-next into staging
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
{
|
||||
stdenv, fetchgit,
|
||||
autoconf, automake, cyrus_sasl, db, openssl, perl, pkgconfig, zlib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "isync-git-20170514";
|
||||
rev = "4b3768806278a70db696ba52645dc1b6eb8de58a";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.code.sf.net/p/isync/isync";
|
||||
inherit rev;
|
||||
sha256 = "1cv1isw01cfp7724z6f4pf6k4rx3k1lg0pc1xcq17zpikx9d10fb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake perl pkgconfig ];
|
||||
buildInputs = [ cyrus_sasl db openssl zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
touch ChangeLog
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://isync.sourceforge.net/;
|
||||
description = "Free IMAP and MailDir mailbox synchronizer";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ the-kenny ttuegel ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,19 +1,28 @@
|
||||
{stdenv, fetchurl}:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "netselect-0.3";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "netselect-${version}";
|
||||
version = "0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://alumnit.ca/~apenwarr/netselect/netselect-0.3.tar.gz;
|
||||
sha256 = "0y69z59vylj9x9nk5jqn6ihx7dkzg09gpv2w1q1rs8fmi4jr90gy";
|
||||
src = fetchFromGitHub {
|
||||
owner = "apenwarr";
|
||||
repo = "netselect";
|
||||
rev = name;
|
||||
sha256 = "1zncyvjzllrjbdvz7c50d1xjyhs9mwqfy92ndpfc5b3mxqslw4kx";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(PREFIX=$out)
|
||||
substituteInPlace Makefile \
|
||||
--replace "-o root" "" \
|
||||
--replace "-g root" "" \
|
||||
--replace "4755" "0755"
|
||||
postPatch = ''
|
||||
substituteInPlace netselect-apt \
|
||||
--replace "/usr/bin/" ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm555 -t $out/bin netselect netselect-apt
|
||||
install -Dm444 -t $out/share/man/man1 *.1
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libpcap, gnumake3, pcre }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, libpcap, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ngrep-${version}";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook gnumake3 ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ libpcap pcre ];
|
||||
|
||||
configureFlags = [
|
||||
|
||||
40
pkgs/tools/networking/openconnect_pa/default.nix
Normal file
40
pkgs/tools/networking/openconnect_pa/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, vpnc, openssl ? null, gnutls ? null, gmp, libxml2, stoken, zlib, autoreconfHook } :
|
||||
|
||||
assert (openssl != null) == (gnutls == null);
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "unstable-2018-10-08";
|
||||
name = "openconnect_pa-${version}";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dlenski";
|
||||
repo = "openconnect";
|
||||
rev = "e5fe063a087385c5b157ad7a9a3fa874181f6e3b";
|
||||
sha256 = "0ywacqs3nncr2gpjjcz2yc9c6v4ifjssh0vb07h0qff06whqhdax";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export PKG_CONFIG=${pkgconfig}/bin/pkg-config
|
||||
export LIBXML2_CFLAGS="-I ${libxml2.dev}/include/libxml2"
|
||||
export LIBXML2_LIBS="-L${libxml2.out}/lib -lxml2"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-vpnc-script=${vpnc}/etc/vpnc/vpnc-script"
|
||||
"--disable-nls"
|
||||
"--without-openssl-version-check"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
propagatedBuildInputs = [ vpnc openssl gnutls gmp libxml2 stoken zlib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OpenConnect client extended to support Palo Alto Networks' GlobalProtect VPN";
|
||||
homepage = https://github.com/dlenski/openconnect/;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ chessai ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,14 +1,15 @@
|
||||
{ stdenv, fetchgit, cmake }:
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pingtcp-${version}";
|
||||
version = "0.0.3";
|
||||
|
||||
# This project uses git submodules, which fetchFromGitHub doesn't support:
|
||||
src = fetchgit {
|
||||
src = fetchFromGitHub {
|
||||
owner = "LanetNetwork";
|
||||
repo = "pingtcp";
|
||||
sha256 = "1cv84n30y03s1b83apxxyn2jv5ss1pywsahrfrpkb6zcgzzrcqn8";
|
||||
rev = "refs/tags/v${version}";
|
||||
url = "https://github.com/LanetNetwork/pingtcp.git";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, cmake
|
||||
{ stdenv, fetchFromGitHub, cmake
|
||||
, libsodium, mbedtls, libev, c-ares, pcre
|
||||
, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, libxslt
|
||||
}:
|
||||
@@ -8,11 +8,12 @@ stdenv.mkDerivation rec {
|
||||
version = "3.2.0";
|
||||
|
||||
# Git tag includes CMake build files which are much more convenient.
|
||||
# fetchgit because submodules.
|
||||
src = fetchgit {
|
||||
url = "https://github.com/shadowsocks/shadowsocks-libev";
|
||||
src = fetchFromGitHub {
|
||||
owner = "shadowsocks";
|
||||
repo = "shadowsocks-libev";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "0i9vz5b2c2bkdl2k9kqzvqyrlpdl94lf7k7rzxds8hn2kk0jizhb";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
buildInputs = [ libsodium mbedtls libev c-ares pcre ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, python, libev}:
|
||||
{ stdenv, fetchgit, python, libev, wafHook }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "weighttp-${version}";
|
||||
version = "0.4";
|
||||
@@ -9,12 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "14yjmdx9p8g8c3zlrx5qid8k156lsagfwhl3ny54162nxjf7kzgr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wafHook ];
|
||||
buildInputs = [ python libev ];
|
||||
installPhase = ''
|
||||
python waf configure --prefix=$out
|
||||
python waf build
|
||||
python waf install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
|
||||
Reference in New Issue
Block a user