From c93ec7b6b75ce6c7aebe11a18f25f1831d0620a6 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 28 Nov 2016 13:54:57 +0100 Subject: [PATCH] bftpd: init at 4.4 --- pkgs/servers/ftp/bftpd/default.nix | 24 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/servers/ftp/bftpd/default.nix diff --git a/pkgs/servers/ftp/bftpd/default.nix b/pkgs/servers/ftp/bftpd/default.nix new file mode 100644 index 000000000000..ceabce82c712 --- /dev/null +++ b/pkgs/servers/ftp/bftpd/default.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl}: +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + pname = "bftpd"; + version = "4.4"; + # or fetchFromGitHub(owner,repo,rev) or fetchgit(rev) + src = fetchurl { + url = "mirror://sourceforge/project/${pname}/${pname}/${name}/${name}.tar.gz"; + sha256 = "0hgpqwv7mj1yln8ps9bbcjhl5hvs02nxjfkk9nhkr6fysfyyn1dq"; + }; + buildInputs = []; + preConfigure = '' + sed -re 's/-[og] 0//g' -i Makefile* + ''; + meta = { + inherit version; + description = ''A minimal ftp server''; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + homepage = "http://bftpd.sf.net/"; + downloadPage = "http://bftpd.sf.net/download.html"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd390e1d245b..816fa30d4c32 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10016,6 +10016,8 @@ in sabnzbd = callPackage ../servers/sabnzbd { }; + bftpd = callPackage ../servers/ftp/bftpd {}; + bind = callPackage ../servers/dns/bind { }; dnsutils = bind.dnsutils;