30 Commits

Author SHA1 Message Date
geos_one
d471ba7178 Bump 2025-08-08 12:42:01 +02:00
geos_one
98a358f0a1 Update upstream source from tag 'upstream/5.2.5188'
Update to upstream version '5.2.5188'
with Debian dir a922a50ac1
2025-08-08 12:40:17 +02:00
geos_one
9188d6465e Update upstream source from tag 'upstream/4.44-9807'
Update to upstream version '4.44-9807'
with Debian dir a922a50ac1
2025-08-08 12:20:09 +02:00
geos_one
682c6d6d08 Bump 2025-08-08 12:15:03 +02:00
geos_one
43fc056a50 Update upstream source from tag 'upstream/4.44-9807-rtm'
Update to upstream version '4.44-9807-rtm'
with Debian dir 91d6ab76ae
2025-08-08 12:10:49 +02:00
Mario Fetka
8bf7619e83 Bump 2019-08-06 17:48:33 +02:00
Mario Fetka
78395fff92 Merge tag 'upstream/4.29.9680'
Upstream version 4.29.9680
2019-08-06 17:46:22 +02:00
Mario Fetka
e2164b858b Merge tag 'upstream/4.29.9680-rtm'
Upstream version 4.29.9680-rtm
2019-08-06 17:43:57 +02:00
Mario Fetka
36905fcc27 use latest ssl 2018-03-13 18:56:46 +01:00
Mario Fetka
5d515b03b2 Bump 2018-03-13 18:43:23 +01:00
Mario Fetka
11a71728dc readd updated ssl patch from freebsd 2018-03-13 18:35:29 +01:00
Mario Fetka
4eaa335ea3 readd updated ssl patch from freebsd 2018-03-13 18:31:59 +01:00
Mario Fetka
2c2919e3d6 add missing lib 2018-03-13 17:51:41 +01:00
Mario Fetka
d3a1dd7864 Merge tag 'upstream/4.25.9656'
Upstream version 4.25.9656
2018-03-13 17:42:59 +01:00
Mario Fetka
57631fc661 Merge tag 'upstream/4.25.9656-rtm'
Upstream version 4.25.9656-rtm
2018-03-13 17:33:01 +01:00
Mario Fetka
07de817ab3 Bump 2018-03-13 17:30:43 +01:00
Mario Fetka
4a107b38aa Merge tag 'upstream/4.25.9656-rtm'
Upstream version 4.25.9656-rtm
2018-03-13 17:27:27 +01:00
Mario Fetka
265a6a062c Bump 2018-03-13 17:17:28 +01:00
Mario Fetka
135c129931 Bump 2018-03-13 17:16:16 +01:00
Mario Fetka
39a01e0bb6 Merge tag 'upstream/4.25.9656-rtm'
Upstream version 4.25.9656-rtm
2018-03-13 17:12:23 +01:00
Mario Fetka
8be15c5e83 activate patch via dh quilt 2017-04-19 13:11:38 +02:00
Mario Fetka
1e1546aa10 activate patch via dh quilt 2017-04-19 13:10:54 +02:00
Mario Fetka
ed0ee04dc2 activate patch via dh quilt 2017-04-19 12:28:43 +02:00
Mario Fetka
ae45875dc6 update patch to rtm relase 2017-04-19 12:21:17 +02:00
Mario Fetka
9d14f83fa4 use quilt for patching 2017-04-19 12:12:51 +02:00
Mario Fetka
1fc2c0ee08 disable sslv3 2017-04-19 11:31:30 +02:00
Mario Fetka
bd943701e8 on stretch also the deep on libz ist needed 2017-04-19 10:49:54 +02:00
Mario Fetka
ca17e9314a on stretch use openssl 1.0 2017-04-19 10:38:43 +02:00
Mario Fetka
9aa5dc3871 Merge tag 'upstream/4.20.9608'
Upstream version 4.20.9608
2016-07-12 13:45:55 +02:00
Mario Fetka
e2304ce307 Bump 2016-07-12 13:35:23 +02:00
20 changed files with 343 additions and 0 deletions

14
debian/README.TXT vendored Normal file
View File

@@ -0,0 +1,14 @@
The contents of the "debian" directory were written
by Dmitry Orlov (https://github.com/mosquito) and has been contributed
to the SoftEther VPN Project main source-tree.
Note that SoftEther VPN Project has not tested this debian package.
Please try it at your own risk.
See also:
Add simple debian packaging #20
https://github.com/SoftEtherVPN/SoftEtherVPN/pull/20
February 5, 2004
Daiyuu Nobori
SoftEther VPN Project

3
debian/bin/vpnbridge vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
/opt/vpnbridge/vpnbridge "$@"
exit $?

3
debian/bin/vpnclient vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
/opt/vpnclient/vpnclient "$@"
exit $?

3
debian/bin/vpncmd vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
/opt/vpncmd/vpncmd "$@"
exit $?

3
debian/bin/vpnserver vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
/opt/vpnserver/vpnserver "$@"
exit $?

23
debian/changelog vendored Normal file
View File

@@ -0,0 +1,23 @@
softether-vpn (5.2.5188) unstable; urgency=medium
[ geos_one ]
* New upstream version 4.44-9807
* New upstream version 5.2.5188
-- root <mario.fetka@disconnected-by-peer.at> Fri, 08 Aug 2025 12:40:51 +0200
softether-vpn (4.44-9807-rtm) unstable; urgency=medium
[ Mario Fetka ]
* Bump
[ geos_one ]
* New upstream version 4.44-9807-rtm
-- root <mario.fetka@disconnected-by-peer.at> Fri, 08 Aug 2025 12:14:30 +0200
softether-vpn (0:4.04.9412-rtm) unstable; urgency=low
* Testing debianization
-- Dmitry Orlov <me@mosquito.su> Tue, 4 Feb 2014 20:24:43 +0000

1
debian/compat vendored Normal file
View File

@@ -0,0 +1 @@
9

80
debian/control vendored Normal file
View File

@@ -0,0 +1,80 @@
Source: softether-vpn
Section: net
Priority: optional
Maintainer: Dmitry Orlov <me@mosquito.su>
Build-Depends: debhelper (>= 7.0.50~), libncurses-dev, linux-libc-dev, libssl-dev , libreadline-dev, build-essential, dh-exec, zlib1g-dev
Standards-Version: 3.9.1
Homepage: http://www.softether.org/
Package: softether-vpnbridge
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, softether-vpncmd
Section: net
Description: VPN Bridge daemon
An Open-Source Free Cross-platform Multi-protocol VPN Program, as an academic project from University of Tsukuba.
SoftEther VPN ("SoftEther" means "Software Ethernet") is one of the world's most
powerful and easy-to-use multi-protocol VPN software.
It runs on Windows, Linux, Mac, FreeBSD and Solaris.
SoftEther VPN is open source. You can use SoftEther for any
personal or commercial use for free charge.
SoftEther VPN is an optimum alternative to
OpenVPN and Microsoft's VPN servers. SoftEther VPN
has a clone-function of OpenVPN Server.
You can integrate from OpenVPN to SoftEther VPN smoothly.
SoftEther VPN is faster than OpenVPN.
SoftEther VPN also supports Microsoft SSTP VPN for Windows Vista / 7 / 8.
Package: softether-vpnclient
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, softether-vpncmd
Section: net
Description: VPN Client daemon
An Open-Source Free Cross-platform Multi-protocol VPN Program, as an academic project from University of Tsukuba.
SoftEther VPN ("SoftEther" means "Software Ethernet") is one of the world's most
powerful and easy-to-use multi-protocol VPN software.
It runs on Windows, Linux, Mac, FreeBSD and Solaris.
SoftEther VPN is open source. You can use SoftEther for any
personal or commercial use for free charge.
SoftEther VPN is an optimum alternative to
OpenVPN and Microsoft's VPN servers. SoftEther VPN
has a clone-function of OpenVPN Server.
You can integrate from OpenVPN to SoftEther VPN smoothly.
SoftEther VPN is faster than OpenVPN.
SoftEther VPN also supports Microsoft SSTP VPN for Windows Vista / 7 / 8.
Package: softether-vpncmd
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Section: net
Description: Command line utils
An Open-Source Free Cross-platform Multi-protocol VPN Program, as an academic project from University of Tsukuba.
SoftEther VPN ("SoftEther" means "Software Ethernet") is one of the world's most
powerful and easy-to-use multi-protocol VPN software.
It runs on Windows, Linux, Mac, FreeBSD and Solaris.
SoftEther VPN is open source. You can use SoftEther for any
personal or commercial use for free charge.
SoftEther VPN is an optimum alternative to
OpenVPN and Microsoft's VPN servers. SoftEther VPN
has a clone-function of OpenVPN Server.
You can integrate from OpenVPN to SoftEther VPN smoothly.
SoftEther VPN is faster than OpenVPN.
SoftEther VPN also supports Microsoft SSTP VPN for Windows Vista / 7 / 8.
Package: softether-vpnserver
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, softether-vpncmd
Section: net
Description: VPN Server daemon
An Open-Source Free Cross-platform Multi-protocol VPN Program, as an academic project from University of Tsukuba.
SoftEther VPN ("SoftEther" means "Software Ethernet") is one of the world's most
powerful and easy-to-use multi-protocol VPN software.
It runs on Windows, Linux, Mac, FreeBSD and Solaris.
SoftEther VPN is open source. You can use SoftEther for any
personal or commercial use for free charge.
SoftEther VPN is an optimum alternative to
OpenVPN and Microsoft's VPN servers. SoftEther VPN
has a clone-function of OpenVPN Server.
You can integrate from OpenVPN to SoftEther VPN smoothly.
SoftEther VPN is faster than OpenVPN.
SoftEther VPN also supports Microsoft SSTP VPN for Windows Vista / 7 / 8.

68
debian/dch-generate.sh vendored Executable file
View File

@@ -0,0 +1,68 @@
#!/bin/bash
# use: ./debian/dch-generate.sh > ./debian/changelog
# desc: quick and dirty (emphasis on dirty) debian changelog generator for SoftEtherVPN
#
# Copyright (c) 2014 Sahal Ansari (github@sahal.info)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
# warning: the following file has CRLF line endings (Windows)
# the location of the following file is relative to this script
cbuild="../src/CurrentBuild.txt"
# required for debian packaging
package="softether-vpn"
status="UNRELEASED"
# timezone in +hh:mm from UTC (+9 UTC)
tzone="+09:00"
# static changelog entry
entry="* See: http://www.softether.org/5-download/history"
# are you a debian maintainer?
if [ -z "$DEBFULLNAME" ]; then
DEBFULLNAME="John Q. Sample"
fi
if [ -z "$DEBEMAIL" ]; then
DEBEMAIL="tamade@example.org"
fi
# where am i located? in $DIR, of course!
DIR="$( cd "$( dirname "$0" )" && pwd )"
cd "$DIR"
# check if debian/changelog exists, check if $cbuild exists
if [ ! -e ./changelog ]; then
echo "Am I in debian/? I can't find changelog"
exit 1
fi
if [ ! -e "$cbuild" ]; then
echo "This doesn't look like the SoftEtherVPN source tree. I can't find ""$cbuild"
exit 1
fi
# version and date info from $cbuild are put into array ${cbuildarray[@]}
# build "${cbuildarray[0]}", major version "${cbuildarray[1]}",
# release type "${cbuildarray[2]}", and date "${cbuildarray[3]}"
while IFS=$'\r\n' read -r line_data; do
cbuildarray[i]="${line_data##*[A-Z]\ }"
((++i))
done < "$cbuild"
# "${cbuildarray[1]}" is converted from "406" to "4.06" using GNU awk
majorversion="$(echo "${cbuildarray[1]}" | awk '{sub(/[0-9]/,"&.",$0);print $0}')"
# "${cbuildarray[3]}" is split and the second half is converted from
# from "131655" to "13:16:55" using GNU awk then it's put back together
# (like humpty dumpty) and sent to GNU date for conversion to UTC
time="$(echo "${cbuildarray[3]#*_}" | awk '{gsub(/[0-9][0-9]/,"&:",$0);print $0}')"
date="$(date -R --date="$(echo "${cbuildarray[3]%_*}"" ""${time%?}""$tzone")")"
# print the new debian changelog
echo "$package"" (""$majorversion"".""${cbuildarray[0]}""-""${cbuildarray[2]}"") ""$status""; urgency=low"
echo
echo " ""$entry"
echo
echo " --"" ""$DEBFULLNAME"" <""$DEBEMAIL""> ""$date"
exit 0

19
debian/makefile.patch vendored Normal file
View File

@@ -0,0 +1,19 @@
--- Makefile 2014-02-04 21:20:33.422762017 +0000
+++ Makefile.old 2014-02-04 21:20:10.298761727 +0000
@@ -32,11 +32,11 @@
OPTIONS_LINK_RELEASE=-O2 -fsigned-char -m64 -lm -ldl -lrt -lpthread -lssl -lcrypto -lreadline -lncurses -lz
-INSTALL_BINDIR=/usr/bin/
-INSTALL_VPNSERVER_DIR=/usr/vpnserver/
-INSTALL_VPNBRIDGE_DIR=/usr/vpnbridge/
-INSTALL_VPNCLIENT_DIR=/usr/vpnclient/
-INSTALL_VPNCMD_DIR=/usr/vpncmd/
+INSTALL_BINDIR=usr/bin/
+INSTALL_VPNSERVER_DIR=usr/vpnserver/
+INSTALL_VPNBRIDGE_DIR=usr/vpnbridge/
+INSTALL_VPNCLIENT_DIR=usr/vpnclient/
+INSTALL_VPNCMD_DIR=usr/vpncmd/
ifeq ($(DEBUG),YES)
OPTIONS_COMPILE=$(OPTIONS_COMPILE_DEBUG)

27
debian/rules vendored Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
%:
dh $@
override_dh_auto_configure: configure_config
override_dh_auto_clean:
rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles
override_dh_auto_install:
patch -f < debian/makefile.patch
mkdir -p usr/bin
make install
configure_config:
if [ $(shell uname -m) = 'x86_64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ $(shell uname -m) = 'i686' ]; then echo -e "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'armv6l' ]; then echo -e "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'armv5tel' ]; then echo -e "1\n1\n" | ./configure; fi
if [ $(shell uname -m) = 'aarch64' ]; then echo -e "1\n2\n" | ./configure; fi
if [ $(shell uname -m) = 'armv7l' ]; then echo -e "1\n1\n" | ./configure; fi

3
debian/softether-vpnbridge.install vendored Executable file
View File

@@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
debian/bin/vpnbridge usr/bin/
usr/vpnbridge opt/

1
debian/softether-vpnbridge.service vendored Symbolic link
View File

@@ -0,0 +1 @@
../systemd/softether-vpnbridge.service

3
debian/softether-vpnclient.install vendored Executable file
View File

@@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
debian/bin/vpnclient usr/bin/
usr/vpnclient opt/

1
debian/softether-vpnclient.service vendored Symbolic link
View File

@@ -0,0 +1 @@
../systemd/softether-vpnclient.service

3
debian/softether-vpncmd.install vendored Executable file
View File

@@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
debian/bin/vpncmd usr/bin/
usr/vpncmd opt/

83
debian/softether-vpnserver.init vendored Normal file
View File

@@ -0,0 +1,83 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: softether-vpnserver
# Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog
# Should-Start: network-manager
# Should-Stop: network-manager
# X-Start-Before: $x-display-manager gdm kdm xdm wdm ldm sdm nodm
# X-Interactive: true
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: SoftEther VPN service
### END INIT INFO
#
# Author: Dmitry Orlov <me@mosquito.su>
# From Debian skeleton (Tom deLombarde)
#
set -e
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/qmsys/bin
DAEMON=/usr/bin/vpnserver
NAME=vpnserver
DESC="SoftEtherVPN Server"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
# Gracefully exit if the package has been removed.
test -x $DAEMON || exit 0
# Read config file if it is present.
#if [ -r /etc/default/$NAME ]
#then
# . /etc/default/$NAME
#fi
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
$DAEMON start
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
$DAEMON stop
echo "."
;;
#reload)
#
# If the daemon can reload its config files on the fly
# for example by sending it SIGHUP, do it here.
#
# If the daemon responds to changes in its config file
# directly anyway, make this a do-nothing entry.
#
# echo -n "Reloading $DESC configuration..."
# start-stop-daemon --stop --signal 1 --quiet --pidfile \
# $PIDFILE --exec $DAEMON
# echo "done."
#;;
restart|force-reload)
#
# If the "reload" option is implemented, move the "force-reload"
# option to the "reload" entry above. If not, "force-reload" is
# just the same as "restart".
#
echo -n "Restarting $DESC: $NAME"
$DAEMON stop
sleep 1
$DAEMON start
echo "."
;;
*)
# echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0

3
debian/softether-vpnserver.install vendored Executable file
View File

@@ -0,0 +1,3 @@
#! /usr/bin/dh-exec
debian/bin/vpnserver usr/bin/
usr/vpnserver opt/

1
debian/softether-vpnserver.service vendored Symbolic link
View File

@@ -0,0 +1 @@
../systemd/softether-vpnserver.service

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)