Mercurial > hg > freeDiameter
annotate INSTALL.pkgsrc @ 1260:4f6f61e67599
Store redirect information for ALL_SESSION and ALL_USER in a hash.
This is a speedup if many of these exist (compared to checking a
linked list for matches as before).
Refactor a bit while here.
Use the uthash code from Troy D. Hanson,
http://troydhanson.github.com/uthash/
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Mon, 24 Mar 2014 13:21:41 +0100 |
parents | edb5228bd753 |
children | b90f100f9de6 |
rev | line source |
---|---|
811
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
1 The simplest way to install on NetBSD, DragonFly, MirBSD or other |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
2 pkgsrc platforms is: |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
3 pkg_add freeDiameter |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
4 |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
5 If no binary package exists: |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
6 cd /usr/pkgsrc/net/freeDiameter |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
7 make install |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
8 |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
9 If you want to build and install freeDiameter from the repository, |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
10 you'll need to install: |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
11 pkg_add bison pkg-config libidn gnutls libgcrypt mercurial |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
12 and follow the usual installation note. |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
13 |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
14 NetBSD does not support SCTP, so you have to add |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
15 -DDISABLE_SCTP:BOOL=ON |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
16 to the cmake command line. |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
17 |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
18 For the optional extensions, you need mysql*-client, postgres*-client, |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
19 libxml2. For the debugging extensions, you also need swig and a |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
20 python -- install as usual. |
edb5228bd753
Added instructions for many *BSD systems, thanks to Thomas Klausner for the inputs
Sebastien Decugis <sdecugis@freediameter.net>
parents:
diff
changeset
|
21 |