burp: 1.4.40 -> 2.0.54
This commit is contained in:
parent
3156263876
commit
356bac704a
@ -1,12 +0,0 @@
|
|||||||
diff -Naur burp~/Makefile.in burp/Makefile.in
|
|
||||||
--- burp~/Makefile.in 2015-11-01 21:14:52.621376413 +0000
|
|
||||||
+++ burp/Makefile.in 2015-11-01 22:09:25.098997115 +0000
|
|
||||||
@@ -90,8 +90,6 @@
|
|
||||||
$(MKDIR) $(DESTDIR)$(sbindir)
|
|
||||||
$(MKDIR) $(DESTDIR)$(sysconfdir)
|
|
||||||
$(MKDIR) $(DESTDIR)$(sysconfdir)/CA-client
|
|
||||||
- $(MKDIR) $(DESTDIR)/var/run
|
|
||||||
- $(MKDIR) $(DESTDIR)/var/spool/burp
|
|
||||||
@if [ ! -d $(DESTDIR)$(sysconfdir)/clientconfdir ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/clientconfdir ; cp configs/server/clientconfdir/testclient $(DESTDIR)$(sysconfdir)/clientconfdir/testclient ; fi
|
|
||||||
@if [ ! -d $(DESTDIR)$(sysconfdir)/clientconfdir/incexc ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/clientconfdir/incexc ; cp configs/server/clientconfdir/incexc $(DESTDIR)$(sysconfdir)/clientconfdir/incexc/example ; fi
|
|
||||||
@if [ ! -d $(DESTDIR)$(sysconfdir)/autoupgrade/client ] ; then $(MKDIR) $(DESTDIR)$(sysconfdir)/autoupgrade/client ; fi
|
|
@ -1,24 +1,24 @@
|
|||||||
{ stdenv, fetchgit, acl, librsync, ncurses, openssl, zlib }:
|
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||||
|
, acl, librsync, ncurses, openssl, zlib, uthash }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "burp-1.4.40";
|
name = "burp-${version}";
|
||||||
|
version = "2.0.54";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/grke/burp.git";
|
owner = "grke";
|
||||||
rev = "1e8eebac420f2b0dc29102602b7e5e437d58d5b7";
|
repo = "burp";
|
||||||
sha256 = "02gpgcyg1x0bjk8349019zp3m002lmdhil6g6n8xv0kzz54v6gaw";
|
rev = version;
|
||||||
|
sha256 = "1z1w013hqxbfjgri0fan2570qwhgwvm4k4ghajbzqg8kly4fgk5x";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./burp_1.4.40.patch ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
buildInputs = [ librsync ncurses openssl zlib uthash ]
|
||||||
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
|
|
||||||
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
|
++ stdenv.lib.optional (!stdenv.isDarwin) acl;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [ "--localstatedir=/var" ];
|
||||||
"--sbindir=$out/bin"
|
|
||||||
];
|
installFlags = [ "localstatedir=/tmp" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "BURP - BackUp and Restore Program";
|
description = "BURP - BackUp and Restore Program";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user