diff options
author | jeschli <jeschli@gmail.com> | 2018-02-28 20:22:08 +0000 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-02-28 20:22:08 +0000 |
commit | e7ac3fc703929cd503bc6a01cad449a5b2c328f2 (patch) | |
tree | a03346a78c60212faa190f4d9ae146ef5a2d6324 /makefu/5pkgs/farpd | |
parent | a7e49dd5fc590ba2ccb26d559d672767c87a7692 (diff) | |
parent | 793742b9d1b2eab942e5d06ed27028c636cda583 (diff) |
Merge branch 'staging/jeschli' of prism.i:stockholm into staging/jeschli
Diffstat (limited to 'makefu/5pkgs/farpd')
-rw-r--r-- | makefu/5pkgs/farpd/default.nix | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/makefu/5pkgs/farpd/default.nix b/makefu/5pkgs/farpd/default.nix deleted file mode 100644 index 8dfcee90c..000000000 --- a/makefu/5pkgs/farpd/default.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ stdenv, lib, pkgs, fetchurl,fetchFromGitHub, - libpcap, libdnet, libevent, readline, autoconf, automake, libtool, zlib, pcre, - ... }: -stdenv.mkDerivation rec { - name = "farpd-${version}"; - - - version = "0.2"; - src = fetchurl { - url = https://launchpad.net/ubuntu/+archive/primary/+files/farpd_0.2.orig.tar.gz ; - sha256 = "1m3pynvynr4vgkwh7z5i0yqlang2y0ph32cys3vbi2hx2apk9abd"; - }; - - buildInputs = with pkgs;[ - automake - gnugrep - libpcap - libdnet - pcre - libevent.out # requires .so and .h - readline - autoconf - libtool - zlib - coreutils - python - pythonPackages.pysqlite - ]; - patches = [ - ( fetchurl { - url = https://launchpad.net/ubuntu/+archive/primary/+files/farpd_0.2-11.diff.gz; - sha256 = "2c246b37de8aab9c73f955fb77101adefd90637d03f582b9f8ffae2903af2f94"; - }) - ]; - # removes user install script from Makefile before automake - #patches = [ ./autoconf.patch ]; - preConfigure = '' - autoreconf -fi - - substituteInPlace configure \ - --replace "dumbnet" "dnet" \ - --replace "libpcap.a" "libpcap.so" \ - --replace "libevent.a" "libevent.so" \ - --replace "net/bpf.h" "pcap/bpf.h" - ''; - - makeFlags = [ "LIBS=-lz" ]; - configureFlags = [ - "--with-libpcap=${libpcap}" - "--with-libevent=${libevent}" - "--with-libdnet=${libdnet}" - ]; - postInstall = '' - mv $out/sbin/arpd $out/sbin/farpd - mv $out/share/man/man8/arpd.8 $out/share/man/man8/farpd.8 - ''; - - meta = { - homepage = https://launchpad.net/ubuntu/+source/farpd/ ; - description = "fake arp"; - license = lib.licenses.gpl2; - }; -} |