open5gs/support
Harald Welte ec91b9e8da Fix directory mix-up. @prefix@ vs. @sysconfdir@ vs @libdir@ vs @localstatedir@
Installing to @prefix@/etc is wrong, this will end up in /usr/etc
on most linux distributions, where /etc (@sysconfdir@) would be correct.

The same is true for /var (@localstatedir@), we don't want log files
suddenly to be in /usr/var/log rather than /var/log

However, this is further complicated by the fact that @libdir@ is not
recursively resolved but could expand to "${prefix}/lib" which
of course makes no sense inside a config file.  So instead, let's
introduce adl_RECURSIVE_EVAL and define @LIB_DIR@ and @SYSCONF_DIR@
with recursively-expanded versions of those variables.
2017-10-17 23:43:51 +02:00
..
docker rename docker directory name 2017-09-27 18:34:58 +09:00
freeDiameter Fix directory mix-up. @prefix@ vs. @sysconfdir@ vs @libdir@ vs @localstatedir@ 2017-10-17 23:43:51 +02:00
valgrind update suppression 2017-08-17 16:01:17 +09:00
INSTALL.OSX move INSTALL file and remove binary package 2017-09-29 23:33:01 +09:00
README.md update it 2017-08-05 16:21:07 +09:00
linux_netconfig.sh add cert and key for pgw/pcrf 2017-08-16 22:58:12 +09:00
mac_netconfig.sh PGW freeDiameter is added. more test is needed 2017-08-16 23:40:35 +09:00
make_certs.sh add cert and key for pgw/pcrf 2017-08-16 22:58:12 +09:00
nextepc.conf.in Fix directory mix-up. @prefix@ vs. @sysconfdir@ vs @libdir@ vs @localstatedir@ 2017-10-17 23:43:51 +02:00

README.md

  • Network Configuration user@host ~/Documents/git/nextepc/support$
    sudo ./linux_netconfig.sh

  • Generate Key & Cert for Diameter user@host ~/Documents/git/nextepc/support$
    ./make_certs.sh ./freeDiameter

  • Memory Leak Check user@host ~/Documents/git/nextepc$
    sudo valgrind --leak-check=full --show-leak-kinds=all
    --suppressions=support/valgrind/mongoc.suppressions
    --suppressions=support/valgrind/freeDiameter.suppressions
    ./epcd

  • Generate Suppression File user@host ~/Documents/git/nextepc$
    sudo valgrind --leak-check=full --show-reachable=yes --error-limit=no
    --gen-suppressions=all --log-file=support/valgrind/test.log
    --suppressions=support/valgrind/mongoc.suppressions
    ./epcd

user@host ~/Documents/git/nextepc/support/valgrind$
sudo chown user:user test.log

user@host ~/Documents/git/nextepc/support/valgrind$
cat ./test.log | ./parse_suppressions.sh > test.supp