diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-12-21 11:16:55 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-12-21 11:17:26 +0100 |
commit | 47409fa1f2fc3172cfa82d8e672cbac94a884b09 (patch) | |
tree | a36750c478f080efe4cfa07144cc4130d9204ce3 | |
parent | 56b975aead390826d486e9f04c54428d962e2149 (diff) | |
download | gnunet-47409fa1f2fc3172cfa82d8e672cbac94a884b09.tar.gz gnunet-47409fa1f2fc3172cfa82d8e672cbac94a884b09.zip |
GNS: Fix openssl.cnf for GNS proxy and meson install of files.
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | src/cli/gns/meson.build | 3 | ||||
-rw-r--r-- | src/cli/gns/openssl.cnf | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 0101d43dd..54250ce8f 100644 --- a/meson.build +++ b/meson.build | |||
@@ -64,8 +64,8 @@ endif | |||
64 | # FIXME | 64 | # FIXME |
65 | cdata.set('extractor', 0) | 65 | cdata.set('extractor', 0) |
66 | 66 | ||
67 | cdata.set('PKGDATADIRECTORY', get_option('datadir')/'gnunet') | 67 | cdata.set('PKGDATADIRECTORY', get_option('prefix')/get_option('datadir')/'gnunet') |
68 | cdata.set('SYSCONFDIR', get_option('sysconfdir')) | 68 | cdata.set('SYSCONFDIR', get_option('prefix')/get_option('sysconfdir')) |
69 | # Various checks | 69 | # Various checks |
70 | if cc.has_member ('struct sockaddr_in', 'sin_len', prefix : ['#include <sys/types.h>', '#include <sys/socket.h>', '#include <netinet/in.h>']) | 70 | if cc.has_member ('struct sockaddr_in', 'sin_len', prefix : ['#include <sys/types.h>', '#include <sys/socket.h>', '#include <netinet/in.h>']) |
71 | add_project_arguments('-DHAVE_SOCKADDR_IN_SIN_LEN', language: 'c') | 71 | add_project_arguments('-DHAVE_SOCKADDR_IN_SIN_LEN', language: 'c') |
diff --git a/src/cli/gns/meson.build b/src/cli/gns/meson.build index e770d104c..bb6bfc477 100644 --- a/src/cli/gns/meson.build +++ b/src/cli/gns/meson.build | |||
@@ -2,10 +2,13 @@ configure_file(input : 'gnunet-gns-proxy-setup-ca.in', | |||
2 | output : 'gnunet-gns-proxy-setup-ca', | 2 | output : 'gnunet-gns-proxy-setup-ca', |
3 | configuration : cdata, | 3 | configuration : cdata, |
4 | install: true, | 4 | install: true, |
5 | install_mode: 'rwxr-xr-x', | ||
5 | install_dir: get_option('bindir')) | 6 | install_dir: get_option('bindir')) |
6 | 7 | ||
7 | install_data('gnunet-gns-proxy-ca.template', | 8 | install_data('gnunet-gns-proxy-ca.template', |
8 | install_dir: get_option('datadir')/'gnunet') | 9 | install_dir: get_option('datadir')/'gnunet') |
10 | install_data('openssl.cnf', | ||
11 | install_dir: get_option('datadir')/'gnunet') | ||
9 | 12 | ||
10 | executable ('gnunet-gns', | 13 | executable ('gnunet-gns', |
11 | 'gnunet-gns.c', | 14 | 'gnunet-gns.c', |
diff --git a/src/cli/gns/openssl.cnf b/src/cli/gns/openssl.cnf index a2561b9b2..5dce35388 100644 --- a/src/cli/gns/openssl.cnf +++ b/src/cli/gns/openssl.cnf | |||
@@ -6,7 +6,7 @@ | |||
6 | # This definition stops the following lines choking if HOME isn't | 6 | # This definition stops the following lines choking if HOME isn't |
7 | # defined. | 7 | # defined. |
8 | HOME = . | 8 | HOME = . |
9 | RANDFILE = $ENV::HOME/.rnd | 9 | #RANDFILE = $ENV::HOME/.rnd |
10 | 10 | ||
11 | # Extra OBJECT IDENTIFIER info: | 11 | # Extra OBJECT IDENTIFIER info: |
12 | #oid_file = $ENV::HOME/.oid | 12 | #oid_file = $ENV::HOME/.oid |