summaryrefslogtreecommitdiffstats
path: root/net/openswan/DEPENDS
blob: 5b0a16be34ab2c3ddded59ef9e813f6bbc55c66a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
depends gmp &&
depends iproute2 &&
depends iptables &&

local IPR2REV=$(installed_version iproute2 | cut -d. -f3) &&

if spell_ok iproute2 && [[ $IPR2REV -le 8 ]]; then
  force_depends iproute2
fi &&

. "$GRIMOIRE/FUNCTIONS" &&
local KREV=$(get_kernel_version | cut -d. -f3) &&

if [[ $KREV -le 9 ]]; then
  depends ipsec-tools
fi