mirror of https://github.com/OpenIPC/wiki.git
Update package-vtun
parent
626c4ab8b8
commit
25796e217d
|
@ -141,3 +141,19 @@ E60BFB000001 {
|
|||
}
|
||||
#
|
||||
```
|
||||
|
||||
### Alternative
|
||||
|
||||
```
|
||||
#!/bin/sh -x
|
||||
|
||||
curl -L -o vtun_3.0.4.orig.tar.gz http://archive.ubuntu.com/ubuntu/pool/universe/v/vtun/vtun_3.0.4.orig.tar.gz
|
||||
tar xvfz vtun_3.0.4.orig.tar.gz
|
||||
curl -L -o vtun_3.0.4-2build1.debian.tar.xz http://archive.ubuntu.com/ubuntu/pool/universe/v/vtun/vtun_3.0.4-2build1.debian.tar.xz
|
||||
tar xvfJ vtun_3.0.4-2build1.debian.tar.xz
|
||||
cd vtun-3.0.4
|
||||
cat ../debian/patches/*.patch | patch -p 1
|
||||
./configure --build=x86_64-linux-gnu --disable-lzo --disable-zlib --disable-ssl --prefix=''
|
||||
make && strip vtund && cp vtund ../ && cd -
|
||||
rm -rf vtun_3.0.4.orig.tar.gz vtun_3.0.4-2build1.debian.tar.xz debian vtun-3.0.4
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue