blob: 4b28c494865ad25df9a891702d2c78854f772138 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Description: VPN (Virtual Private Network) daemon
# URL: https://www.tinc-vpn.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: lzo openssl zlib
name=tinc
version=1.0.36
release=1
source=("https://www.tinc-vpn.org/packages/tinc-$version.tar.gz" "graph.patch")
build() {
cd ${name}-${version}
patch -p1 -i ../graph.patch
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin
make
make DESTDIR=$PKG install
install -dm755 "$PKG"/usr/share/tinc/examples
cp -a doc/sample-config/. "$PKG"/usr/share/tinc/examples/
find "$PKG"/usr/share/tinc/examples -type f -exec chmod 644 {} +
find "$PKG"/usr/share/tinc/examples -type d -exec chmod 755 {} +
}
|