Skip to content

Commit 085384d

Browse files
authored
Merge pull request #130 from cgzones/release
Build system related weaks
2 parents ca76343 + 60f9729 commit 085384d

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

meson.build

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('systemd-netlogd', 'c',
2-
version : '1.4.1',
2+
version : '1.4.2',
33
license : 'LGPL-2.1-or-later',
44
default_options: [
55
'c_std=gnu11',
@@ -13,11 +13,8 @@ project('systemd-netlogd', 'c',
1313
conf = configuration_data()
1414
conf.set_quoted('PACKAGE_VERSION', meson.project_version())
1515
conf.set_quoted('PACKAGE_STRING', meson.project_name() + ' ' + meson.project_version())
16-
17-
substs = configuration_data()
18-
substs.set('PACKAGE_URL', 'https://github.com/systemd/systemd-netlogd')
19-
substs.set('PACKAGE_VERSION', meson.project_version())
20-
substs.set('PKGPREFIX', get_option('prefix'))
16+
conf.set('PACKAGE_URL', 'https://github.com/systemd/systemd-netlogd')
17+
conf.set('PKGPREFIX', get_option('prefix'))
2118
conf.set_quoted('PKGSYSCONFDIR', get_option('sysconfdir'))
2219

2320
#####################################################################
@@ -159,7 +156,7 @@ endif
159156
systemd_netlogd_conf = configure_file(
160157
input : 'conf/netlogd.conf.in',
161158
output : 'netlogd.conf',
162-
configuration : substs)
159+
configuration : conf)
163160
install_data(systemd_netlogd_conf,
164161
install_dir : get_option('sysconfdir'))
165162

src/netlog/systemd-netlogd.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,11 @@ static int parse_argv(int argc, char *argv[]) {
105105

106106
case ARG_VERSION:
107107
puts(PACKAGE_STRING);
108-
puts(SYSTEMD_FEATURES);
108+
#ifdef HAVE_OPENSSL
109+
puts("+OPENSSL");
110+
#else
111+
puts("-OPENSSL");
112+
#endif
109113
return 0;
110114

111115
case ARG_CURSOR:

units/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
systemd_netlogd_conf = configure_file(
22
input : 'systemd-netlogd.service.in',
33
output : 'systemd-netlogd.service',
4-
configuration : substs)
4+
configuration : conf)
55
install_data(systemd_netlogd_conf,
66
install_dir : get_option('prefix') / 'system')

0 commit comments

Comments
 (0)