-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsmartmet-server.spec
802 lines (567 loc) · 30.3 KB
/
smartmet-server.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
%define DIRNAME server
%define SPECNAME smartmet-%{DIRNAME}
Summary: SmartMet HTTP server
Name: %{SPECNAME}
Version: 24.11.27
Release: 1%{?dist}.fmi
License: MIT
Group: System Environment/Daemons
URL: https://github.com/fmidev/smartmet-server
Source0: smartmet-server.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%define smartmetd_user smartmet-server
%if 0%{?rhel} && 0%{rhel} < 9
%define smartmet_boost boost169
%else
%define smartmet_boost boost
%endif
%define smartmet_fmt_min 11.0.0
%define smartmet_fmt_max 12.0.0
BuildRequires: rpm-build
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: %{smartmet_boost}-devel
BuildRequires: elfutils-devel
BuildRequires: fmt-devel >= %{smartmet_fmt_min}, fmt-devel < %{smartmet_fmt_max}
BuildRequires: openssl-devel
BuildRequires: jemalloc-devel
BuildRequires: systemd
BuildRequires: smartmet-library-macgyver-devel >= 24.11.27
BuildRequires: smartmet-library-spine-devel >= 24.11.8
Requires: %{smartmet_boost}-iostreams
Requires: %{smartmet_boost}-program-options
Requires: %{smartmet_boost}-regex
Requires: %{smartmet_boost}-system
Requires: %{smartmet_boost}-thread
Requires: fmt-libs >= %{smartmet_fmt_min}, fmt-libs < %{smartmet_fmt_max}
Requires: glibc
Requires: jemalloc
Requires: openssl-libs
Requires: smartmet-library-macgyver >= 24.11.27
Requires: smartmet-library-spine >= 24.11.8
Provides: smartmetd
Obsoletes: smartmet-brainstorm-server < 16.11.1
Obsoletes: smartmet-brainstorm-server-debuginfo < 16.11.1
Requires(pre): shadow-utils
#TestRequires: /bin/bash
#TestRequires: gcc-c++
#TestRequires: make
#TestRequires: smartmet-library-macgyver-devel >= 24.10.28
#TestRequires: curl >= 7.42.0
%description
SmartMet server
%prep
%setup -q -n %{SPECNAME}
%build
make %{_smp_mflags}
%install
%makeinstall
# Note: directory /brainstorm/cache currently needed for frontend os not created here
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if getent passwd %{smartmetd_user} >/dev/null; then
smartmetd_group=$(/bin/id -g -n %{smartmetd_user})
else
smartmetd_group=%{smartmetd_user}
getent group ${smartmetd_group} >/dev/null || groupadd -r ${smartmetd_group}
useradd -r -g ${smartmetd_group} -d / -s /sbin/nologin \
-c "SmartMet Server" %{smartmetd_user}
fi
%files
%defattr(0755,root,root,0755)
%caps(cap_net_bind_service=+eip) %{_sbindir}/smartmetd
%defattr(0644,root,root,0755)
%config(noreplace) %{_sysconfdir}/logrotate.d/smartmet-server
%{_sysconfdir}/smartmet
%post
mkdir -p /var/log/smartmet
mkdir -p /var/smartmet
# Ensure that directories have right group and owner
smartmetd_group=$(/bin/id -g -n %{smartmetd_user})
for dir in %{_localstatedir}/log/smartmet %{_localstatedir}/smartmet /brainstorm/cache; do
if test -d $dir ; then
if test "$(/bin/stat --format=%G:%U $dir)" != "${smartmetd_group}:%{smartmetd_user}" ; then
echo "### Changing group:owner of $dir to ${smartmetd_group}:%{smartmetd_user}"
chown -Rv %{smartmetd_user}:${smartmetd_group} $dir
fi
fi
done
if [ $1 -eq 1 ]; then
systemctl daemon-reload
systemctl enable smartmet-server
fi
%preun
if [ $1 -eq 0 ]; then
systemctl stop smartmet-server
systemctl disable smartmet-server
fi
%changelog
* Wed Nov 27 2024 Andris Pavēnis <[email protected]> 24.11.27-1.fmi
- Repackage due to smartmet-library-macgyver changes
* Fri Nov 8 2024 Andris Pavēnis <[email protected]> 24.11.8-1.fmi
- Repackage due to smartmet-library-spine ABI changes
* Wed Aug 7 2024 Andris Pavēnis <[email protected]> 24.8.7-1.fmi
- Update to gdal-3.8, geos-3.12, proj-94 and fmt-11
* Tue Jul 30 2024 Andris Pavēnis <[email protected]> 24.7.30-1.fmi
- Repackage due smartmet-library-macgyver changes
* Mon Jul 22 2024 Andris Pavēnis <[email protected]> 24.7.22-1.fmi
- Replace BOOST_FOREACH and boost::array
* Fri Jul 12 2024 Andris Pavēnis <[email protected]> 24.7.12-1.fmi
- Replace many boost library types with C++ standard library ones
* Thu May 16 2024 Andris Pavēnis <[email protected]> 24.5.16-1.fmi
- Clean up boost date-time uses
* Mon May 6 2024 Andris Pavēnis <[email protected]> 24.5.6-1.fmi
- Use Date library (https://github.com/HowardHinnant/date) instead of boost date_time
* Thu Feb 22 2024 Mika Heiskanen <[email protected]> - 24.2.22-1.fmi
- Do not use admin pool for frontends
* Mon Jan 29 2024 Mika Heiskanen <[email protected]> - 24.1.29-1.fmi
- Moved systemd files to backend/frontend plugins
* Tue Dec 5 2023 Mika Heiskanen <[email protected]> - 23.12.5-1.fmi
- Added a separate thread pool for admin queries
* Wed Aug 30 2023 Mika Heiskanen <[email protected]> - 23.8.30-1.fmi
- Fixed reportInfo() to actually print something
* Fri Jul 28 2023 Andris Pavēnis <[email protected]> 23.7.28-1.fmi
- Repackage due to bulk ABI changes in macgyver/newbase/spine
* Tue Jul 18 2023 Mika Heiskanen <[email protected]> - 23.7.18-1.fmi
- RHEL7/RHEL8 systemd does not support CoredumpFilter, commented out the setting
* Fri Jul 14 2023 Mika Heiskanen <[email protected]> - 23.7.14-1.fmi
- Improved coredump_filter handling
- Added more systemd settings for handling coredumps
* Thu Apr 27 2023 Andris Pavēnis <[email protected]> 23.4.27-1.fmi
- Repackage due to macgyver ABI changes (AsyncTask, AsyncTaskGroup)
* Tue Mar 21 2023 Mika Heiskanen <[email protected]> - 23.3.21-1.fmi
- Disable swapping in systemd settings
* Mon Mar 6 2023 Mika Heiskanen <[email protected]> - 23.3.6-1.fmi
- Silenced CodeChecker warnings
* Wed Feb 1 2023 Andris Pavēnis <[email protected]> 23.2.1-2.fmi
- Run smartmet-server as non-root user (iteration 2)
* Wed Feb 1 2023 Andris Pavēnis <[email protected]> 23.2.1-1.fmi
- Run smartmet-server as non-root user
* Tue Jan 10 2023 Mika Heiskanen <[email protected]> - 23.1.10-1.fmi
- Updated stack trace generation via Google's Backward header
* Mon Dec 5 2022 Andris Pavēnis <[email protected]> 22.12.5-1.fmi
- Pass OPTIONS requests to plugins (except OPTIONS *)
* Thu Dec 1 2022 Andris Pavēnis <[email protected]> 22.12.1-1.fmi
- Support passing of HTTP OPTIONS request to plugins when requested by plugin
* Mon Nov 28 2022 Mika Heiskanen <[email protected]> - 22.11.28-1.fmi
- Silenced compiler warnings
* Fri Nov 25 2022 Andris Pavēnis <[email protected]> 22.11.25-1.fmi
- Initial OPTIONS request support
* Mon Nov 7 2022 Mika Heiskanen <[email protected]> - 22.11.7-1.fmi
- Added option gzip=1 to force compression except for PNG, WEBP and PDF.
* Wed Oct 5 2022 Mika Heiskanen <[email protected]> - 22.10.5-2.fmi
- Do not use boost::noncopyable
* Wed Oct 5 2022 Mika Heiskanen <[email protected]> - 22.10.5-1.fmi
- Fixed admin queries to work in high load situations
* Fri Aug 19 2022 Mika Heiskanen <[email protected]> - 22.8.19-1.fmi
- Repackaged since Options struct defaults changed
* Wed Aug 17 2022 Mika Heiskanen <[email protected]> - 22.8.17-1.fmi
- Always use fast thread pool if slow pool is configured to size zero
* Mon Aug 8 2022 Mika Heiskanen <[email protected]> - 22.8.8-1.fmi
- New command line option --coredump_filter
* Fri Aug 5 2022 Andris Pavēnis <[email protected]> 22.8.5-1.fmi
- Repackage due to SmartMet::Spine::Reactor ABI changes
* Fri Jul 29 2022 Andris Pavēnis <[email protected]> 22.7.29-1.fmi
- Repackage due to SmartMet::Spine::Reactor ABI changes
* Thu Jul 28 2022 Andris Pavēnis <[email protected]> 22.7.28-1.fmi
- New version dues to SmartMet::Spine::Reactor changes
* Wed Jul 20 2022 Andris Pavēnis <[email protected]> 22.7.20-1.fmi
- Initialization task error handling update
* Fri Jun 17 2022 Andris Pavēnis <[email protected]> 22.6.17-1.fmi
- Add support for RHEL9. Update libpqxx to 7.7.0 (rhel8+) and fmt to 8.1.1
* Tue May 24 2022 Mika Heiskanen <[email protected]> - 22.5.24-1.fmi
- Repackaged due to NFmiArea ABI changes
* Mon May 16 2022 Andris Pavēnis <[email protected]> 22.5.16-1.fmi
- Added HTTPS support
* Thu Apr 28 2022 Andris Pavenis <[email protected]> 22.4.28-1.fmi
- Repackage due to SmartMet::Spine::Reactor ABI changes
* Thu Nov 25 2021 Mika Heiskanen <[email protected]> - 21.11.25-1.fmi
- Removed unnecessary empty lines from output when logrequests=true
* Tue Sep 7 2021 Andris Pavēnis <[email protected]> 21.9.7-1.fmi
- Rebuild due to dependence changes
* Fri Jul 9 2021 Andris Pavēnis <[email protected]> 21.7.9-1.fmi
- Try to stop gracefully on SIGINT
* Thu Jun 3 2021 Mika Heiskanen <[email protected]> - 21.6.3-1.fmi
- Repackaged with jemalloc 5.2
* Thu Jan 14 2021 Mika Heiskanen <[email protected]> - 21.1.14-1.fmi
- Repackaged smartmet to resolve debuginfo issues
* Tue Jan 5 2021 Mika Heiskanen <[email protected]> - 21.1.5-1.fmi
- Upgraded fmt dependency
* Wed Oct 28 2020 Andris Pavenis <[email protected]> - 20.10.28-1.fmi
- Rebuild due to fmt upgrade
* Wed Oct 21 2020 Andris Pavenis <[email protected]> - 20.10.21-1.fmi
- Rebuild due to part of changes missing in earlier 20.10.20-1.fmi
* Tue Oct 20 2020 Andris Pavenis <[email protected]> - 20.10.20-1.fmi
- Rebuild due to libconfig upgrade to version 1.7.2
* Mon Oct 12 2020 Mika Heiskanen <[email protected]> - 20.10.12-1.fmi
- Use lambdas instead of boost::bind to avoid memory leaks
- Silenced some clang analyzer warnings
* Thu Oct 8 2020 Andris Pavenis <[email protected]> - 20.10.8-1.fmi
- Start handling requests while engine and plugin initioalization is still ongoing
- Build update: use makefile.inc from smartmet-library-macgyver
* Wed Oct 7 2020 Mika Heiskanen <[email protected]> - 20.10.7-1.fmi
- Repackaged since Options ABI changed
* Wed Sep 23 2020 Mika Heiskanen <[email protected]> - 20.9.23-1.fmi
- Use Fmi::Exception instead of Spine::Exception
* Mon Sep 14 2020 Mika Heiskanen <[email protected]> - 20.9.14-1.fmi
- New option for running a script when active requests limit is broken
* Wed Sep 9 2020 Andris Pavenis <[email protected]> - 20.9.9-1.fmi
- Ensure reactor shutdown when SIGTERM received before creating AsyncServer object
* Tue Aug 25 2020 Andris Pavenis <[email protected]> - 20.8.25-1.fmi
- Adapt to SmartMet::Spine::Reactor changes (separate init method)
* Fri Aug 21 2020 Mika Heiskanen <[email protected]> - 20.8.21-1.fmi
- Upgrade to fmt 6.2
* Mon Aug 10 2020 Mika Heiskanen <[email protected]> - 20.8.10-1.fmi
- Repackaged since Spine::Options changed
- Allow /admin requests during high load
* Fri Jul 31 2020 Mika Heiskanen <[email protected]> - 20.7.31-1.fmi
- Repackaged due to libpqxx upgrade
* Sat Apr 18 2020 Mika Heiskanen <[email protected]> - 20.4.18-1.fmi
- Upgraded to Boost 1.69
* Thu Feb 13 2020 Mika Heiskanen <[email protected]> - 20.2.13-2.fmi
- Fixed dependency to be on jemalloc instead of jemalloc-debug
* Thu Feb 13 2020 Mika Heiskanen <[email protected]> - 20.2.13-1.fmi
- Rebuilt since Reactor object size changed
* Wed Jan 15 2020 Mika Heiskanen <[email protected]> - 20.1.15-1.fmi
- New command line options for throttling
* Tue Oct 1 2019 Mika Heiskanen <[email protected]> - 19.10.1-1.fmi
- Added option --stacktrace
* Thu Sep 26 2019 Mika Heiskanen <[email protected]> - 19.9.26-1.fmi
- Added support for ASAN and TSAN builds
* Tue Sep 17 2019 Mika Heiskanen <[email protected]> - 19.9.17-1.fmi
- Repackaged since Reactor object size changed
* Fri Aug 9 2019 Mika Heiskanen <[email protected]> - 19.8.9-1.fmi
- Use the system locale globally in the server for proper character conversions
* Thu Jun 20 2019 Mika Heiskanen <[email protected]> - 19.6.20-1.fmi
- Added smartmetd.env
* Tue Mar 19 2019 Mika Heiskanen <[email protected]> - 19.3.19-1.fmi
- Improved error handling if socket is already in use
* Fri Dec 14 2018 Mika Heiskanen <[email protected]> - 18.12.14-1.fmi
- Start server after /smartmet/data has been mounted - if it is present
* Thu Nov 8 2018 Mika Heiskanen <[email protected]> - 18.11.8-1.fmi
- Let admin requests pass despite a high load
* Mon Nov 5 2018 Mika Heiskanen <[email protected]> - 18.11.5-1.fmi
- Do not wait for queues if unable to schedule a request, return 503 instead
- Added shutdown calls for sockets about to be closed to avoid WAIT-states
- Fixed debuginfo package to include symbols
- Improved shutdown sequence to prevent segmentation faults
* Sat Sep 29 2018 Mika Heiskanen <[email protected]> - 18.9.29-1.fmi
- Upgraded to newer fmt
* Wed Sep 12 2018 Mika Heiskanen <[email protected]> - 18.9.12-1.fmi
- Added new_handler for OOM situations
* Tue Sep 11 2018 Mika Heiskanen <[email protected]> - 18.9.11-1.fmi
- Silenced CodeChecker warnings
* Wed Aug 22 2018 Mika Heiskanen <[email protected]> - 18.8.22-1.fmi
- Fixed systemd file not to be a configuration file
* Wed Aug 8 2018 Mika Heiskanen <[email protected]> - 18.8.8-1.fmi
- Removed several CodeChecker warnings
* Wed Aug 1 2018 Mika Heiskanen <[email protected]> - 18.8.1-1.fmi
- Print stack traces for async connection errors
* Mon Jul 30 2018 Mika Heiskanen <[email protected]> - 18.7.30-2.fmi
- Fixed the build system to detect modified files
* Mon Jul 30 2018 Mika Heiskanen <[email protected]> - 18.7.30-1.fmi
- Silenced CodeChecker warning by using std::move
* Wed Jul 25 2018 Mika Heiskanen <[email protected]> - 18.7.25-2.fmi
- Return high load HTTP response code 1234 if backend request queue is full
* Wed Jul 25 2018 Mika Heiskanen <[email protected]> - 18.7.25-1.fmi
- Prefer nullptr over NULL
* Wed Jun 6 2018 Mika Heiskanen <[email protected]> - 18.6.6-1.fmi
- Removed incorrect dependencies on devel-packages
* Tue May 15 2018 Mika Heiskanen <[email protected]> - 18.5.15-1.fmi
- Added option --maxrequestsize
* Mon May 14 2018 Mika Heiskanen <[email protected]> - 18.5.14-1.fmi
- Added handling for high load situations
* Wed May 9 2018 Mika Heiskanen <[email protected]> - 18.4.9-1.fmi
- Repackaged since Reactor ABI changed
* Sat Apr 7 2018 Mika Heiskanen <[email protected]> - 18.4.7-1.fmi
- Upgrade to boost 1.66
* Mon Aug 28 2017 Mika Heiskanen <[email protected]> - 17.8.28-1.fmi
- Upgrade to boost 1.65
* Sat Apr 8 2017 Mika Heiskanen <[email protected]> - 17.4.8-1.fmi
- Simplified error handling
* Fri Apr 7 2017 Mika Heiskanen <[email protected]> - 17.4.7-1.fmi
- Improved signal handling
* Wed Mar 15 2017 Mika Heiskanen <[email protected]> - 17.3.15-1.fmi
- Recompiled since Spine::Exception changed
* Tue Mar 14 2017 Mika Heiskanen <[email protected]> - 17.3.14-1.fmi
- Changed to use macgyver StringConversion.h
* Wed Jan 25 2017 Mika Heiskanen <[email protected]> - 17.1.25-1.fmi
- Fixed docker vs smartmet-server startup sequence
* Wed Jan 18 2017 Mika Heiskanen <[email protected]> - 17.1.18-1.fmi
- Upgrade from cppformat-library to fmt
* Wed Jan 4 2017 Mika Heiskanen <[email protected]> - 17.1.4-1.fmi
- Updated to using renamed newbase and macgyver libraries
* Mon Dec 19 2016 Mika Heiskanen <[email protected]> - 16.12.19-1.fmi
- Removed cache expiration headers added for load testing purposes
* Wed Nov 30 2016 Mika Heiskanen <[email protected]> - 16.11.30-1.fmi
- Removed installation of smartmet.conf
* Thu Nov 3 2016 Mika Heiskanen <[email protected]> - 16.11.1-2.fmi
- Renamed cross-section to cross_section
* Tue Nov 1 2016 Mika Heiskanen <[email protected]> - 16.11.1-1.fmi
- Namespace changed. Binary name changed: brainstorm -> smartmetd
* Fri Sep 30 2016 Mika Heiskanen <[email protected]> - 16.9.30-1.fmi
- Recompiled with a ThreadPool from macgyver which now catches also Brainstorm::Exception
* Wed Sep 28 2016 Mika Heiskanen <[email protected]> - 16.9.28-1.fmi
- Do not let exceptions lead to std::terminate
* Tue Sep 6 2016 Mika Heiskanen <[email protected]> - 16.9.6-1.fmi
- Added a new exeception handling mechanism. The idea is that the methods
- cannot let any exception passing through without a control. So, the methods
- must catch all exception and most of the cases they just throw their own
- "BrainStorm::Exception" instead. In this way get an exception hierarchy that works
- like a stack trace. Notice that it is very easy to add additional details and
- parameters related to the exception when using BrainStorm::Exception class.
- Ignore window resize signals
- Closing the server socket after the reactor shutdown.
* Tue Aug 30 2016 Mika Heiskanen <[email protected]> - 16.8.23-1.fmi
- Added stack trace generation when core is dumped
* Mon Aug 15 2016 Markku Koskela <[email protected]> - 16.8.15-1.fmi
- Added the server pointer into the Connection class. Connection obects
- can use this pointer for checking if the shutdown is requested.
- The server shutdown() method was modified
- Deletion of the Server object and the Reactor object were moved, because they
- were deleted too early.
* Tue Jun 28 2016 Mika Heiskanen <[email protected]> - 16.6.28-1.fmi
- Rewrote the signal handler
- Catch bus errors
* Tue Jun 14 2016 Mika Heiskanen <[email protected]> - 16.6.14-1.fmi
- Full recompile release
* Mon Jun 6 2016 Mika Heiskanen <[email protected]> - 16.6.2-1.fmi
- Store logs into /var/log/smartmet instead of /smartmet/logs/brainstorm
* Thu Jun 2 2016 Mika Heiskanen <[email protected]> - 16.6.2-1.fmi
- Full recompile
* Wed Jun 1 2016 Mika Heiskanen <[email protected]> - 16.6.1-1.fmi
- Added graceful shutdown
- Added jemalloc profiling
* Tue May 17 2016 Tuomo Lauri <[email protected]> - 16.5.17-1.fmi
- Removed docker-dependency. It does not apply to frontend servers.
* Mon May 9 2016 Tuomo Lauri <[email protected]> - 16.5.9-1.fmi
- Disabled HTTP caching headers for testing purposes
* Wed May 4 2016 Tuomo Lauri <[email protected]> - 16.5.4-1.fmi
- Added docker as systemd-dependency and fixed date-header
* Wed Apr 20 2016 Tuomo Lauri <[email protected]> - 16.4.20-1.fmi
- Added lazy linking parameter
* Mon Jan 18 2016 Mika Heiskanen <[email protected]> - 16.1.18-1.fmi
- newbase API changed, full recompile
* Wed Nov 18 2015 Tuomo Lauri <[email protected]> - 15.11.18-1.fmi
- Recompiled just in case, Spine HTTP API changed
* Tue Nov 10 2015 Mika Heiskanen <[email protected]> - 15.11.10-1.fmi
- Avoid string streams to avoid global std::locale locks
* Tue Aug 25 2015 Mika Heiskanen <[email protected]> - 15.8.25-1.fmi
- Use unique_ptr instead of shared_ptr when possible for speed
* Tue Aug 18 2015 Mika Heiskanen <[email protected]> - 15.8.18-1.fmi
- Recompile forced by HTTP API changes
* Mon Aug 17 2015 Mika Heiskanen <[email protected]> - 15.8.17-1.fmi
- Use -fno-omit-frame-pointer to improve perf use
* Tue Apr 21 2015 Tuomo Lauri <[email protected]> - 15.4.21-1.fmi
- Fixed problems with logrotation
* Thu Apr 9 2015 Mika Heiskanen <[email protected]> - 15.4.9-2.fmi
- Fixed brainstorm to start only once mounts are final (in multi-user mode)
* Thu Apr 9 2015 Mika Heiskanen <[email protected]> - 15.4.9-1.fmi
- newbase API changed
* Wed Apr 8 2015 Mika Heiskanen <[email protected]> - 15.4.8-1.fmi
- Dynamic linking of smartmet libraries
* Tue Mar 10 2015 Tuomo Lauri <[email protected]> - 15.3.10-1.fmi
- Rebuild agains the new spine
* Mon Feb 16 2015 Tuomo Lauri <[email protected]> - 15.2.16-1.fmi
- Added LimitCORE directive to brainstorm.service to enable coredumps
* Wed Jan 28 2015 Tuomo Lauri <[email protected]> - 15.1.28-1.fmi
- Migrated from init to systemd
* Wed Jan 7 2015 Mika Heiskanen <[email protected]> - 15.1.7-1.fmi
- Recompiled
* Thu Dec 18 2014 Mika Heiskanen <[email protected]> - 14.12.18-1.fmi
- Recompiled due to spine API changes
* Tue Oct 7 2014 Tuomo Lauri <[email protected]> - 14.10.7-1.fmi
- Failed bind of listening socket no longer causes uncaught exception
* Mon Jun 30 2014 Mika Heiskanen <[email protected]> - 14.6.30-1.fmi
- Recompiled due to spine API changes
* Wed May 14 2014 Mika Heiskanen <[email protected]> - 14.5.14-1.fmi
- Use shared macgyver and locus libraries
* Tue May 6 2014 Mika Heiskanen <[email protected]> - 14.5.7-1.fmi
- Timeparser hotfix
* Fri May 2 2014 Mika Heiskanen <[email protected]> - 14.5.2-1.fmi
- Removed /smartmet/logs/brainstorm/access_logs, replaced by a post-section mkdir
* Mon Apr 28 2014 Mika Heiskanen <[email protected]> - 14.4.28-1.fmi
- Full recompile of all packages due to large API changes
* Wed Apr 16 2014 Tuomo Lauri <[email protected]> - 14.4.16-1.fmi
- Recompile due to the new logging feature
* Wed Mar 19 2014 Mikko Visa <[email protected]> - 14.3.19-1.fmi
- Now returning 404 Not Found status if handler is not found
* Mon Jan 13 2014 Santeri Oksman <[email protected]> - 14.1.13-1.fmi
- Now sending Brainstorm headers also when request fails
- Updated to use the simplified HTTP API
* Tue Nov 5 2013 Tuomo Lauri <[email protected]> - 13.11.5-5.fmi
- Removed client connection status sniffing due to leaking sockets
* Tue Nov 5 2013 Tuomo Lauri <[email protected]> - 13.11.5-4.fmi
- Now reporting which client disconnected prematurely only in the backend case
* Tue Nov 5 2013 Tuomo Lauri <[email protected]> - 13.11.5-3.fmi
- Now reporting which client disconnected prematurely
* Tue Nov 5 2013 Tuomo Lauri <[email protected]> - 13.11.5-2.fmi
- Hotfixed segfault issue when handling frontend requests
* Tue Nov 5 2013 Mika Heiskanen <[email protected]> - 13.11.5-1.fmi
- Server no longer calls the plugin handler if client has disconnected while in queue
- Added process status dumping script for debugging purposes
- Added colour to the lauch message to spot it more easily
* Wed Oct 9 2013 Tuomo Lauri <[email protected]> - 13.10.9-1.fmi
- Rebuilt against the new Spine
- Removed threaded server type as unused
- Built against the new Spine
* Wed Sep 18 2013 Tuomo Lauri <[email protected]> - 13.9.18-1.fmi
- Streamer content calls can now be rescheduled for later if needed
* Mon Sep 9 2013 Mika Heiskanen <[email protected]> - 13.9.9-1.fmi
- Rewrote signal handling to properly block threads from handling signals
* Thu Aug 15 2013 Tuomo Lauri <[email protected]> - 13.8.15-1.fmi
- Added callback messaging with Reactor to Connection classes
* Thu Jul 25 2013 Mika Heiskanen <[email protected]> - 13.7.25-1.fmi
- Linked with jemalloc instead of tcmalloc, tests show it is more efficient
* Wed Jul 24 2013 Mika Heiskanen <[email protected]> - 13.7.24-1.fmi
- Linked with tcmalloc to improve efficiency
* Tue Jul 23 2013 Mika Heiskanen <[email protected]> - 13.7.23-1.fmi
- Recompiled due to thread safety fixes in newbase & macgyver
* Wed Jul 3 2013 mheiskan <[email protected]> - 13.7.3-1.fmi
- Update to boost 1.54
- Fixed option parsing
* Mon Jun 17 2013 lauri <[email protected]> - 13.6.17-1.fmi
- Fixed broken --logrequests - option
* Fri Jun 7 2013 lauri <[email protected]> - 13.6.7-1.fmi
- More verbose output in case of abnormal connection terminations
* Wed May 22 2013 tervo <[email protected]> - 13.5.22-1.fmi
- More gracefull shutdown
- Better error reporting
- Now reporting explicitly when server queue is full
* Wed May 15 2013 lauri <[email protected]> - 13.5.15-1.fmi
- Modifications to conform with the new Spine
* Tue Apr 30 2013 lauri <[email protected]> - 13.4.30-1.fmi
- Slightly better error reporting when something is wrong with the client socket
* Wed Apr 24 2013 lauri <[email protected]> - 13.4.24-1.fmi
- Fixed bug when obtaining IP address from an already closed remote endpoint
* Mon Apr 22 2013 mheiskan <[email protected]> - 13.4.22-1.fmi
- New Brainstorm API release
* Wed Apr 17 2013 tervo <[email protected]> - 13.4.17-1.fmi
- Added ulimit -n 999999 to brainstormloop
* Tue Apr 16 2013 lauri <[email protected]> - 13.4.16-1.fmi
- X-Forwarded-For - header now affects the reported client ip
* Fri Apr 12 2013 lauri <[email protected]> - 13.4.12-1.fmi
- Built against the new Spine release
* Wed Apr 3 2013 lauri <[email protected]> - 13.4.3-1.fmi
- Changed socket thread insertion sleep from 100 to 10 ms
- Increased number of socket threads to 6
* Wed Mar 20 2013 lauri <[email protected]> - 13.3.20-1.fmi
- Removed incoming IP reporting from server
* Wed Mar 6 2013 lauri <[email protected]> - 13.3.6-1.fmi
- Fixed bug in Date-header string
* Mon Mar 4 2013 lauri <[email protected]> - 13.3.4-1.fmi
- Server now automatically sets Date-header for all responses
* Thu Feb 28 2013 lauri <[email protected]> - 13.2.28-1.fmi
- Added LC_CTYPE environment variable to brainstormloop
* Fri Feb 15 2013 lauri <[email protected]> - 13.2.15-1.fmi
- Fixed EOF-related bug in AsyncConnection
- Removed strand from AsyncConnection as unnecessary
* Wed Feb 6 2013 lauri <[email protected]> - 13.2.6-1.fmi
- Switch to Synapse HTTP Server
* Wed Nov 7 2012 mheiskan <[email protected]> - 12.11.7-1.fmi
- Upgrade to boost 1.52
- Refactored common parts into spine library
- Using dynamic linking for brainstorm-spine library
* Fri Oct 19 2012 lauri <[email protected]> - 12.10.19-2.el6.fmi
- Added startup logging status config option. Defaults to true
* Fri Oct 19 2012 lauri <[email protected]> - 12.10.19-1.el6.fmi
- Added logging status reporting to ContentEngine
* Fri Oct 12 2012 lauri <[email protected]> - 12.10.12-1.el6.fmi
- Added last minute request tracking to ContentEngine
* Mon Sep 24 2012 mheiskan <[email protected]> - 12.9.24-1.el6.fmi
- Always add a Vary header with value Accept-Encoding
* Wed Aug 15 2012 lauri <[email protected]> - 12.8.15-1.el6.fmi
- Added optional request logging functionality to ContentEngine
* Mon Jul 23 2012 mheiskan <[email protected]> - 12.7.23-1.el6.fmi
- Added ApparentTemperature to common
* Mon Jul 9 2012 mheiskan <[email protected]> - 12.7.9-3.el6.fmi
- Improved diagnostics
* Mon Jul 9 2012 mheiskan <[email protected]> - 12.7.9-2.el6.fmi
- Fixed Reactor to be a global which is initialized only once
* Mon Jul 9 2012 mheiskan <[email protected]> - 12.7.9-1.el6.fmi
- Fixed ContentEngine to use a mutex
* Thu Jul 5 2012 mheiskan <[email protected]> - 12.7.5-1.el6.fmi
- Migration to boost 1.50
* Tue Jun 26 2012 mheiskan <[email protected]> - 12.6.26-1.el6.fmi
- Recompiled with latest brainstorm-common
* Tue Jun 19 2012 lauri <[email protected]> - 12.6.19-1.el6.fmi
- New API where Reactor is explicitly given to plugins
- Removed Dataengine as unused
- Added virtual handler function to BrainStormPlugin
* Wed Jun 6 2012 mheiskan <[email protected]> - 12.6.6-1.el6.fmi
- Added creation of static devel library for regression tests
* Wed Apr 4 2012 mheiskan <[email protected]> - 12.4.4-1.el6.fmi
- common lib changed
* Mon Apr 2 2012 mheiskan <[email protected]> - 12.4.2-1.el5.fmi
- macgyver change forced recompile
* Sat Mar 31 2012 mheiskan <[email protected]> - 12.3.31-1.el5.fmi
- Upgraded to boost 1.49
- Upgraded to newbase without NFmiRawData locking
* Thu Dec 29 2011 mheiskan <[email protected]> - 11.12.29-1.el5.fmi
- Added support for gzip compression
* Mon Dec 12 2011 mheiskan <[email protected]> - 11.12.21-1.el6.fmi
- New release since common changed significantly
* Tue Aug 16 2011 mheiskan <[email protected]> - 11.8.16-1.el5.fmi
- Upgrade to boost 1.47
* Tue Apr 26 2011 mheiskan <[email protected]> - 11.4.26-1.el5.fmi
- Added ulimit -n 2048 to the init.d script (doubles the default value)
* Fri Mar 25 2011 mheiskan <[email protected]> - 11.3.25-2.el5.fmi
- Fixed daemon startup
- Fixed shutdown to use -HUP signal
* Thu Mar 24 2011 mheiskan <[email protected]> - 11.3.24-1.el5.fmi
- Upgrade to boost 1.46
* Mon Feb 28 2011 mheiskan <[email protected]> - 11.2.28-1.el5.fmi
- Improved logging features
* Mon Feb 14 2011 mheiskan <[email protected]> - 11.2.14-1.el5.fmi
- Added mysql_library_init call for thread safety
* Thu Oct 28 2010 mheiskan <[email protected]> - 10.10.28-1.el5.fmi
- Added autocomplete regression tests
* Tue Sep 14 2010 mheiskan <[email protected]> - 10.9.14-1.el5.fmi
- Upgrade to boost 1.44
* Mon Jul 5 2010 mheiskan <[email protected]> - 10.7.5-1.el5.fmi
- Removed newbase linkage as unnecessary
* Tue May 11 2010 mheiskan <[email protected]> - 10.5.11-2.el5.fmi
- tapsa contained old boost 1.33 and 1.36 which messed up dependencies, fixed to use 1.41
* Tue May 11 2010 mheiskan <[email protected]> - 10.5.11-1.el5.fmi
- Release for RHEL 5.5
* Thu Apr 22 2010 westerba <[email protected]> - 10.4.22-1.el5.fmi
- Bug fixes
* Thu Apr 8 2010 westerba <[email protected]> - 10.4.8-1.el5.fmi
- New main loop now starts the server in a separate thread and goes into loop
* Tue Mar 23 2010 mheiskan <[email protected]> - 10.3.23-1.el5.fmi
- Updates to signal handling
* Fri Feb 12 2010 mheiskan <[email protected]> - 10.2.12-1.el5.fmi
- Log file will show the host name
* Fri Jan 15 2010 mheiskan <[email protected]> - 10.1.15-1.el5.fmi
- Upgrade to boost 1.41
* Fri Jan 1 2010 westerba <[email protected]> - 10.1.7-1.el5.fmi
- setuid/setgid implemented. Configuration and command line options parsing.
* Tue Aug 11 2009 mheiskan <[email protected]> - 9.8.11-2.el5.fmi
- SIGPIPE no longer crashes the program
* Tue Aug 11 2009 mheiskan <[email protected]> - 9.8.11-1.el5.fmi
- Added signal handling
* Tue Jul 14 2009 mheiskan <[email protected]> - 9.7.14-1.el5.fmi
- Upgrade to boost 1.39
* Thu Jun 11 2009 westerba <[email protected]> - 9.6.11-1.el5.fmi
- Build against new spserver
* Wed May 27 2009 westerba <[email protected]> - 9.5.27-1.el5.fmi
- Full Brainstorm recompile release
* Wed Mar 25 2009 mheiskan <[email protected]> - 9.3.25-1.el5.fmi
- Full Brainstorm recompile release
* Fri Dec 19 2008 mheiskan <[email protected]> - 8.12.19-1.el5.fmi
- common library update forced recompile
* Fri Dec 12 2008 mheiskan <[email protected]> - 8.12.12-1.el5.fmi
- Prevent server from hanging for invalid URIs
* Wed Nov 19 2008 westerba <[email protected]> - 8.10.1-1.el5.fmi
- Using new spserver and new API interface. Not backwards compatible.
* Wed Oct 01 2008 westerba <[email protected]> - 8.10.1-1.el5.fmi
- Removed library from the build. Nothing should link against the server.
* Thu Jul 31 2008 westerba <[email protected]> - 8.7.31-1.el5.fmi
- Single-binary platform merge known as BrainStorm core
* Wed Jun 11 2008 westerba <[email protected]> - 8.6.11-1.el5.fmi
- Numerous new improvements: frontend, backend and develop packages
* Mon Apr 14 2008 mheiskan <[email protected]> - 8.4.14-1.el5.fmi
- Numerous improvements
* Fri Nov 16 2007 mheiskan <[email protected]> - 1.0.1-1.el5.fmi
- Initial build