burp: 1.4.40 -> 2.0.54
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
{ stdenv, fetchgit, acl, librsync, ncurses, openssl, zlib }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
, acl, librsync, ncurses, openssl, zlib, uthash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "burp-1.4.40";
|
||||
name = "burp-${version}";
|
||||
version = "2.0.54";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/grke/burp.git";
|
||||
rev = "1e8eebac420f2b0dc29102602b7e5e437d58d5b7";
|
||||
sha256 = "02gpgcyg1x0bjk8349019zp3m002lmdhil6g6n8xv0kzz54v6gaw";
|
||||
src = fetchFromGitHub {
|
||||
owner = "grke";
|
||||
repo = "burp";
|
||||
rev = version;
|
||||
sha256 = "1z1w013hqxbfjgri0fan2570qwhgwvm4k4ghajbzqg8kly4fgk5x";
|
||||
};
|
||||
|
||||
patches = [ ./burp_1.4.40.patch ];
|
||||
|
||||
buildInputs = [ librsync ncurses openssl zlib ]
|
||||
# next two lines copied from bacula, as burp needs acl as well
|
||||
# acl relies on attr, which I can't get to build on darwin
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ librsync ncurses openssl zlib uthash ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
|
||||
|
||||
configureFlags = [
|
||||
"--sbindir=$out/bin"
|
||||
];
|
||||
configureFlags = [ "--localstatedir=/var" ];
|
||||
|
||||
installFlags = [ "localstatedir=/tmp" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "BURP - BackUp and Restore Program";
|
||||
|
||||
Reference in New Issue
Block a user