File: ubuntu_16.04_lts_package.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 603 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

sudo apt-get install -y ruby ruby-dev rubygems build-essential
sudo gem install --no-ri --no-rdoc fpm

mkdir -p /tmp/openvpn-auth-ldap-build/usr/lib/openvpn
sudo mv /usr/local/lib/openvpn-auth-ldap.so /tmp/openvpn-auth-ldap-build/usr/lib/openvpn
fpm -s dir -C /tmp/openvpn-auth-ldap-build -t deb --name openvpn-auth-ldap-snowrider311 \
  --version 2.0.3 --iteration 1 --depends openvpn --depends gnustep-base-runtime \
  --depends libc6 --depends libgnustep-base1.24 --depends libldap-2.4-2 --depends libobjc4

# To install:
# sudo dpkg -i openvpn-auth-ldap-snowrider311_2.0.3-1_amd64.deb