@@ -0,0 +1,25 @@
1+{ stdenv, fetchurl, ppp }:
2+
3+stdenv.mkDerivation rec {
4+ name = "${pname}-${version}";
5+ pname = "pptpd";
6+ version = "1.4.0";
7+
8+ src = fetchurl {
9+ url = "mirror://sourceforge/poptop/${pname}/${name}/${name}.tar.gz";
10+ sha256 = "1h06gyxj51ba6kbbnf6hyivwjia0i6gsmjz8kyggaany8a58pkcg";
11+ };
12+
13+ buildInputs = [ ppp ];
14+
15+ postPatch = ''
16+ substituteInPlace plugins/Makefile --replace "install -o root" "install"
17+ '';
18+
19+ meta = with stdenv.lib; {
20+ homepage = http://poptop.sourceforge.net/dox/;
21+ description = "The PPTP Server for Linux";
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ obadz ];
24+ };
25+}