How to build an actual bullseye-package

OpenVPN tutorials ranging from configuration to hacks to compilation will be posted here.
Post Reply
abyss02
Posts: 0
Joined: Mon Jan 03, 2022 11:26 am

How to build an actual bullseye-package

Post by abyss02 » Fri Apr 29, 2022 2:08 pm

Mhhh, still no actual package for bullseye, so i built my own one - works great ... if anyone is interested:

### How-to ###

## Install build system
apt install build-essential autoconf automake autotools-dev intltool
apt install liblzo2-2 libssl-dev liblzo2-dev libpam0g-dev net-tools openssl iproute2

# edit /etc/apt/sources.list to get latest from debian sid
# Additional line for source packages
deb-src http://deb.debian.org/debian sid main

# get source package
apt update
apt source openvpn

# install dependencies
apt install debhelper libp11-kit-dev libpkcs11-helper1-dev libsystemd-dev pkg-config python3-docutils

# build package
cd /root/openvpn-2.5.X
dpkg-buildpackage -b -uc -us

# install package
dpkg -i packagename
apt install -f

Post Reply