2016-06-17 22:59:58 +00:00
|
|
|
{ stdenv, fetchurl, ppp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pptpd";
|
|
|
|
version = "1.4.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/poptop/${pname}/${pname}-${version}/${pname}-${version}.tar.gz";
|
2016-06-17 22:59:58 +00:00
|
|
|
sha256 = "1h06gyxj51ba6kbbnf6hyivwjia0i6gsmjz8kyggaany8a58pkcg";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ppp ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace plugins/Makefile --replace "install -o root" "install"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://poptop.sourceforge.net/dox/";
|
2016-06-17 22:59:58 +00:00
|
|
|
description = "The PPTP Server for Linux";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ obadz ];
|
2018-09-10 19:44:15 +00:00
|
|
|
license = licenses.gpl2;
|
2016-06-17 22:59:58 +00:00
|
|
|
};
|
|
|
|
}
|