git.iko.soy/typeable/nixpkgs
on master help sign in
vtun: update from 3.0.1 to 3.0.3
commitc514182fd4eab1da4de44209540e15cfa0901af0 authorPascal Wittmann <mail@pascal-wittmann.de> dateThu 22 Jan 2015, 19:30 (12 years ago) parente3d6f3d
1 file changed+14−10
pkgs/tools/networking/vtun/default.nix+14−10
pkgs/tools/networking/vtun/default.nix+14−10
@@ -1,14 +1,16 @@
1−{stdenv, fetchurl, openssl, lzo, zlib, yacc, flex }:
2−stdenv.mkDerivation {
3− name = "vtun-3.0.1";
1+{ stdenv, fetchurl, openssl, lzo, zlib, yacc, flex }:
2+
3+stdenv.mkDerivation rec {
4+ name = "vtun-3.0.3";
45
56 src = fetchurl {
6− url = mirror://sourceforge/vtun/vtun-3.0.1.tar.gz;
7− sha256 = "1sxf9qq2wlfh1wnrlqkh801v1m9jlqpycxvr2nbyyl7nm2cp8l12";
7+ url = "mirror://sourceforge/vtun/${name}.tar.gz";
8+ sha256 = "1jxrxp3klhc8az54d5qn84cbc0vdafg319jh84dxkrswii7vxp39";
89 };
910
1011 patchPhase = ''
11− sed -i -e 's/-m 755//' -e 's/-o root -g 0//' Makefile.in
12+ sed -i -e 's/-m 755//' -e 's/-o root -g 0//' Makefile.in
13+ sed -i '/strip/d' Makefile.in
1214 '';
1315 buildInputs = [ lzo openssl zlib yacc flex ];
1416
@@ -17,9 +19,11 @@ stdenv.mkDerivation {
1719 --with-ssl-headers=${openssl}/include/openssl
1820 --with-blowfish-headers=${openssl}/include/openssl'';
1921
20− meta = {
21− description="Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
22− homepage="http://vtun.sourceforge.net/";
23− license = stdenv.lib.licenses.gpl2;
22+ meta = with stdenv.lib; {
23+ description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
24+ homepage = http://vtun.sourceforge.net/;
25+ license = licenses.gpl2;
26+ platforms = platforms.linux;
27+ maintainers = with maintainers; [ pSub ];
2428 };
2529}