summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorobadz <obadz-git@obadz.com>2016-06-17 23:59:58 +0100
committerobadz <obadz-git@obadz.com>2016-06-18 02:08:07 +0100
commit6b02ae3893dda3e22fe375694bfb8d5ff317be0c (patch)
tree211b315b93985c8781c0f3de4af52f8762ebfe57 /pkgs
parented46b468b09dd0a44450b7df348e6a572a424529 (diff)
downloadnixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.tar
nixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.tar.gz
nixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.tar.bz2
nixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.tar.lz
nixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.tar.xz
nixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.tar.zst
nixpkgs-6b02ae3893dda3e22fe375694bfb8d5ff317be0c.zip
pptpd: init at 1.4.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/pptpd/default.nix25
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/networking/pptpd/default.nix b/pkgs/tools/networking/pptpd/default.nix
new file mode 100644
index 00000000000..d5464b97a33
--- /dev/null
+++ b/pkgs/tools/networking/pptpd/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, ppp }:
+
+stdenv.mkDerivation rec {
+  name    = "${pname}-${version}";
+  pname   = "pptpd";
+  version = "1.4.0";
+
+  src = fetchurl {
+    url    = "mirror://sourceforge/poptop/${pname}/${name}/${name}.tar.gz";
+    sha256 = "1h06gyxj51ba6kbbnf6hyivwjia0i6gsmjz8kyggaany8a58pkcg";
+  };
+
+  buildInputs = [ ppp ];
+
+  postPatch = ''
+    substituteInPlace plugins/Makefile --replace "install -o root" "install"
+  '';
+
+  meta = with stdenv.lib; {
+    homepage    = http://poptop.sourceforge.net/dox/;
+    description = "The PPTP Server for Linux";
+    platforms   = platforms.linux;
+    maintainers = with maintainers; [ obadz ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index cf8d4e52d15..4228ffaee05 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3003,6 +3003,8 @@ in
 
   pptp = callPackage ../tools/networking/pptp {};
 
+  pptpd = callPackage ../tools/networking/pptpd {};
+
   prey-bash-client = callPackage ../tools/security/prey { };
 
   profile-cleaner = callPackage ../tools/misc/profile-cleaner { };