git.iko.soy/typeable/nixpkgs
on master help sign in
pptpd: init at 1.4.0
commit6b02ae3893dda3e22fe375694bfb8d5ff317be0c authorobadz <obadz-git@obadz.com> dateFri 17 Jun 2016, 23:59 (10 years ago) parented46b46
2 files changed+27
pkgs/tools/networking/pptpd/default.nix+25 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/pptpd/default.nixnew file+25
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -3003,6 +3003,8 @@ in
30033003
30043004 pptp = callPackage ../tools/networking/pptp {};
30053005
3006+ pptpd = callPackage ../tools/networking/pptpd {};
3007+
30063008 prey-bash-client = callPackage ../tools/security/prey { };
30073009
30083010 profile-cleaner = callPackage ../tools/misc/profile-cleaner { };