File dsvpn.spec of Package dsvpn

# spec file for package dsvpn
# Copyright (c) 2020, Martin Hauke <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           dsvpn
Version:        0.1.4
Release:        0
Summary:        A Dead Simple VPN
License:        MIT
Group:          Productivity/Networking/Security
Requires:       iproute2
Requires:       iptables

DSVPN is a Dead Simple VPN, designed to address the most common
use case for using a VPN:

[client device] -- (untrusted network) -- [vpn server] -- [the Internet]

 * Runs on TCP. Works pretty much everywhere, including on public WiFi
   where only TCP/443 is open or reliable.
 * Uses only modern cryptography, with formally verified implementations.
 * Small and constant memory footprint. Doesn't perform any heap memory
 * Small (~25 KB), with an equally small and readable code base.
 * Works out of the box. No lousy documentation to read. No configuration
   file. No post-configuration. Run a single-line command on the server,
   a similar one on the client and you're done.
   No firewall and routing rules to manually mess with.
 * Doesn't leak between reconnects if the network doesn't change.
   Blocks IPv6 on the client to prevent IPv6 leaks.

%setup -q

echo %{optflags} > .cflags

install -Dpm 0755 dsvpn %{buildroot}/%{_sbindir}/dsvpn

%license LICENSE

openSUSE Build Service is sponsored by