vtun: update from 3.0.1 to 3.0.3
This commit is contained in:
parent
e3d6f3d595
commit
c514182fd4
|
@ -1,14 +1,16 @@
|
||||||
{stdenv, fetchurl, openssl, lzo, zlib, yacc, flex }:
|
{ stdenv, fetchurl, openssl, lzo, zlib, yacc, flex }:
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "vtun-3.0.1";
|
stdenv.mkDerivation rec {
|
||||||
|
name = "vtun-3.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/vtun/vtun-3.0.1.tar.gz;
|
url = "mirror://sourceforge/vtun/${name}.tar.gz";
|
||||||
sha256 = "1sxf9qq2wlfh1wnrlqkh801v1m9jlqpycxvr2nbyyl7nm2cp8l12";
|
sha256 = "1jxrxp3klhc8az54d5qn84cbc0vdafg319jh84dxkrswii7vxp39";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's/-m 755//' -e 's/-o root -g 0//' Makefile.in
|
sed -i -e 's/-m 755//' -e 's/-o root -g 0//' Makefile.in
|
||||||
|
sed -i '/strip/d' Makefile.in
|
||||||
'';
|
'';
|
||||||
buildInputs = [ lzo openssl zlib yacc flex ];
|
buildInputs = [ lzo openssl zlib yacc flex ];
|
||||||
|
|
||||||
|
@ -17,9 +19,11 @@ stdenv.mkDerivation {
|
||||||
--with-ssl-headers=${openssl}/include/openssl
|
--with-ssl-headers=${openssl}/include/openssl
|
||||||
--with-blowfish-headers=${openssl}/include/openssl'';
|
--with-blowfish-headers=${openssl}/include/openssl'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description="Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
|
description = "Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
|
||||||
homepage="http://vtun.sourceforge.net/";
|
homepage = http://vtun.sourceforge.net/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ pSub ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue