New package: vpn-ws-0.2
This commit is contained in:
parent
c552a1a995
commit
e3c5e256b9
2 changed files with 46 additions and 0 deletions
20
srcpkgs/vpn-ws/patches/fixprototypes.patch
Normal file
20
srcpkgs/vpn-ws/patches/fixprototypes.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- src/ssl.c 2014-11-21 09:48:57.000000000 -0500
|
||||||
|
+++ src/ssl.c.fixed 2017-09-27 01:46:07.908463177 -0400
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
#include "vpn-ws.h"
|
||||||
|
|
||||||
|
#ifndef __WIN32__
|
||||||
|
-static int _vpn_ws_ssl_wait_read(fd) {
|
||||||
|
+static int _vpn_ws_ssl_wait_read(int fd) {
|
||||||
|
fd_set rset;
|
||||||
|
FD_ZERO(&rset);
|
||||||
|
FD_SET(fd, &rset);
|
||||||
|
@@ -12,7 +12,7 @@
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
-static int _vpn_ws_ssl_wait_write(fd) {
|
||||||
|
+static int _vpn_ws_ssl_wait_write(int fd) {
|
||||||
|
fd_set wset;
|
||||||
|
FD_ZERO(&wset);
|
||||||
|
FD_SET(fd, &wset);
|
26
srcpkgs/vpn-ws/template
Normal file
26
srcpkgs/vpn-ws/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'vpn-ws'
|
||||||
|
pkgname=vpn-ws
|
||||||
|
version=0.2
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_use_env=yes
|
||||||
|
makedepends="libressl-devel"
|
||||||
|
short_desc="VPN system over webhooks"
|
||||||
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/unbit/vpn-ws"
|
||||||
|
distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz"
|
||||||
|
checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a
|
||||||
|
|
||||||
|
# no install target in the Makefile
|
||||||
|
do_install() {
|
||||||
|
vbin vpn-ws
|
||||||
|
vbin vpn-ws-client
|
||||||
|
vdoc README.md
|
||||||
|
vdoc tutorials/ubuntu_trusty_nginx_bridge_client_certificates.md
|
||||||
|
# not example config, but close enough
|
||||||
|
vsconf clients/vpn.pl
|
||||||
|
vsconf clients/vpn_linux_tornado.py
|
||||||
|
vlicense LICENSE
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue