mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
|
distributable:
|
||
|
url: https://swupdate.openvpn.org/community/releases/openvpn-{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
url: https://openvpn.net/community-downloads/
|
||
|
match: _/community/releases/openvpn-\d+\.\d+\.\d+\.tar\.gz/
|
||
|
strip:
|
||
|
- _/community/releases/openvpn-_
|
||
|
- /.tar.gz/
|
||
|
|
||
|
dependencies:
|
||
|
lz4.org: ^1.9
|
||
|
oberhumer.com/lzo: ^2.10
|
||
|
openssl.org: ^1.1
|
||
|
linux:
|
||
|
sourceforge.net/net-tools: '*'
|
||
|
github.com/thom311/libnl: '*'
|
||
|
# libnsl
|
||
|
# libprelude
|
||
|
# libtirpc
|
||
|
# libxcrypt
|
||
|
# pkcs11-helper
|
||
|
|
||
|
platforms:
|
||
|
- darwin
|
||
|
# FIXME: linux support will require the following additional packages:
|
||
|
# libnsl, libprelude, libtirpc, libxcrypt, pkcs11-helper
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
tea.xyz/gx/cc: c99
|
||
|
tea.xyz/gx/make: '*'
|
||
|
freedesktop.org/pkg-config: ^0.29
|
||
|
script: |
|
||
|
./configure $ARGS
|
||
|
make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --disable-debug
|
||
|
- --disable-dependency-tracking
|
||
|
- --disable-silent-rules
|
||
|
- --with-crypto-library=openssl
|
||
|
- --disable-pkcs11
|
||
|
|
||
|
provides:
|
||
|
- bin/openvpn
|
||
|
|
||
|
test: openvpn --show-ciphers
|