37d6ccd26c432bd540c0992944477384658ddf6c
[hdw-linux/hdw-linux.git] / packages / net / ipsec-tools / ipsec-tools
1 # hdw-linux ipsec-tools extensions
2
3 # author: hackbard
4
5 # [S] 3-2
6 # [V] 0.3.3
7 # [D] ipsec-tools-0.3.3.tar.gz http://switch.dl.sourceforge.net/sourceforge/ipsec-tools/
8
9 CFLAGS="$CFLAGS -DEINTR=4 -DEINVAL=22 -DENOENT=2 -DENOBUFS=105"
10 CFLAGS="$CFLAGS -DEPROTONOSUPPORT=93 -DEAFNOSUPPORT=97"
11 export CFLAGS
12
13 post_install()  {
14         cat >> $root/etc/setkey.conf << EOF
15 flush;
16 spdflush;
17 EOF
18                 }