mirror of https://github.com/EdgeVPNio/tools.git
31 lines
1.0 KiB
Bash
Executable File
31 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script should be invoke with the current working directory set to TOOLS_DIR/debian-package.
|
|
|
|
if [ -z "$1" -o -z "$2" -o -z "$3" ]; then
|
|
echo deb-gen error: 3 input args expected
|
|
exit 1
|
|
fi
|
|
PkgVer=$3
|
|
PkgArch=$2
|
|
OutDir=$1
|
|
|
|
cat <<! > evio/DEBIAN/control
|
|
Package: evio
|
|
Name: EdgeVPNio
|
|
Version : $PkgVer
|
|
Maintainer: <ip.over.p2p@gmail.com>
|
|
Architecture: $PkgArch
|
|
Homepage: http://edgevpn.io
|
|
Depends: python3.8, python3.8-dev, python3.8-venv, python3-pip, python3-wheel, iproute2, openvswitch-switch, bridge-utils
|
|
Description: Virtualized Overlay Networks.
|
|
EdgeVPN is an open-source user-centric software virtual network allowing end users to define and create their own virtual private networks (VPNs). EdgeVPNio virtual networks provide end-to-end tunneling of IP or Ethernet over Tincan links setup and managed through a control API to create various software-defined VPN overlays.
|
|
Tag: P2P Edge Overlay Networking
|
|
!
|
|
if [ $? -ne 0 ]; then
|
|
rm -f evio/DEBIAN/control
|
|
exit 1
|
|
fi
|
|
dpkg-deb --build --root-owner-group evio $OutDir
|
|
rm -f evio/DEBIAN/control
|