File: ubuntu_16.04_lts_build.sh

package info (click to toggle)
openvpn-auth-ldap 2.0.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,440 kB
  • sloc: ansic: 8,366; objc: 3,799; sh: 2,718; cpp: 594; makefile: 189; xml: 36
file content (13 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

# git clone https://github.com/snowrider311/openvpn-auth-ldap
# cd openvpn-auth-ldap/
# source ubuntu_16.04_lts_build.sh
# source ubuntu_16.04_lts_package.sh

sudo apt-get update
sudo apt-get -y install openvpn autoconf re2c libtool libldap2-dev libssl-dev gobjc make
./regen.sh
./configure --with-openvpn=/usr/include/openvpn CFLAGS="-fPIC" OBJCFLAGS="-std=gnu11"
make
sudo make install