source: doc/INSTALL @ 46df1bc

mei_rt2mei_rt2_fix_1
Last change on this file since 46df1bc was 46df1bc, checked in by Mei <mei@…>, 12 years ago

1) get ready for release 0.2.3
2) add forward function declaration in abac_pl_yap.c for

abac_credential_dup

3) tested against freebsd82 and freebsd91

  • Property mode set to 100644
File size: 2.2 KB
Line 
1For Java installation instructions, see doc/java_install.
2
3Prior to building libabac
4   you may need to install flex, bison, and GNU readline library
5   you must install YAP and libstrongswan
6   Please check doc/dependencies for other software dependencies
7
8Download yap-6.2.3 from www.dcc.fc.up.pt
9   http://www.dcc.fc.up.pt/~vsc/Yap/yap-6.2.3.tar.gz
10
11   $./configure --enable-dynamic-loading --enable-use-malloc=yes
12   $make
13   $make library
14   $sudo make install_library
15
16   (Note: If you ever run into the OOOPS message when installing Yap,
17   manually clear out all traces of Yap from your /usr/local especially
18   /usr/local/share)
19
20
21Download strongswan-4.6.4 from strongswan.org:
22   http://download.strongswan.org/strongswan-4.6.4.tar.bz2
23
24   FreeBSD users: add --enable-kernel-pfkey --enable-kernel-pfroute
25       --disable-kernel-netlink --disable-tools --disable-scripts
26       --disable-pluto --with-group=wheel to strongswan ./configure
27
28   Linux users: add --disable-gmp --enable-openssl to strongswan
29       ./configure to avoid long credential creation times. The entropy
30       sources libstrongswan uses by default gather entropy slowly on
31       Linux.  These flags allow it to gather entropy from the same
32       sources as openssl, which is noticeably faster. The internal
33       strongswan libraries and plugins are installed in
34       /usr/local/lib/ipsec by default unless
35       --with-ipseclibdir and --with-plugindir are set otherwise.
36
37   $ tar xjvf strongswan-4.6.4.tar.bz2
38   $ cd strongswan-4.6.4
39   $ # see note above about configure flags
40   $ ./configure --enable-monolithic
41   $ cd src/libstrongswan
42   $ make && sudo make install
43   
44   Be sure to make note of the directory into which you've untarred
45   strongswan-4.6.4.tar.bz2. You will use this in the next step.
46
47BUILDING LIBABAC
48
49   FreeBSD users will need to install flex-2.5.35 or greater from
50   ports and use
51   --with-flex=/usr/local/bin/flex --with-extra-includes=/usr/local/include
52   on ./configure in addition to --with-strongswan
53
54   $ STRONGSWAN_SRC_DIR=path/to/strongswan-4.6.4
55   $ STRONGSWAN_LIB_DIR=/usr/local/lib/ipsec
56   $ ./configure --with-strongswan=$STRONGSWAN_SRC_DIR
57                 --with-strongswan-ld-path=$STRONSWAN_LIB_DIR
58   $ make
59   $ sudo make install
60
61
Note: See TracBrowser for help on using the repository browser.