-
Notifications
You must be signed in to change notification settings - Fork 0
/
smartmet-engine-authentication.spec
259 lines (188 loc) · 8.5 KB
/
smartmet-engine-authentication.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
%define DIRNAME authentication
%define LIBNAME smartmet-%{DIRNAME}
%define SPECNAME smartmet-engine-%{DIRNAME}
Summary: SmartMet Apikey Authorization engine
Name: %{SPECNAME}
Version: 24.11.8
Release: 1%{?dist}.fmi
License: MIT
Group: SmartMet/Engines
URL: https://github.com/fmidev/smartmet-engine-authentication
Source0: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?rhel} && 0%{rhel} < 9
%define smartmet_boost boost169
%else
%define smartmet_boost boost
%endif
BuildRequires: %{smartmet_boost}-devel
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: rpm-build
BuildRequires: smartmet-library-spine-devel >= 24.11.8
Requires: %{smartmet_boost}-system
Requires: %{smartmet_boost}-thread
Requires: smartmet-library-spine >= 24.11.8
Requires: smartmet-server >= 24.11.8
Provides: %{SPECNAME}
Obsoletes: smartmet-brainstorm-authengine < 16.11.1
Obsoletes: smartmet-brainstorm-authengine-debuginfo < 16.11.1
#TestRequires: bzip2-devel
#TestRequires: gcc-c++
#TestRequires: make
#TestRequires: smartmet-library-regression
#TestRequires: smartmet-library-spine-plugin-test >= 24.11.8
#TestRequires: smartmet-utils-devel
#TestRequires: zlib-devel
%if 0%{?rhel} && 0%{rhel} == 8
Requires: libpqxx >= 7.7.0 libpqxx < 1:7.8.0
BuildRequires: libpqxx-devel >= 7.7.0 libpqxx-devel < 1:7.8.0
%else
%if 0%{?rhel} && 0%{rhel} >= 9
Requires: libpqxx >= 7.9.0 libpqxx < 1:8.0.0
BuildRequires: libpqxx-devel >= 7.9.0 libpqxx-devel < 1:7.10.0
%else
Requires: libpqxx
BuildRequires: libpqxx-devel
%endif
%endif
%description
SmartMet Apikey Authorization engine
%package -n %{SPECNAME}-devel
Summary: SmartMet %{SPECNAME} development headers
Group: SmartMet/Development
Provides: %{SPECNAME}-devel
Requires: %{SPECNAME} = %{version}-%{release}
Obsoletes: smartmet-brainstorm-authengine-devel < 16.11.1
%description -n %{SPECNAME}-devel
SmartMet %{SPECNAME} development headers.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{SPECNAME}
%build -q -n %{SPECNAME}
make %{_smp_mflags}
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files -n %{SPECNAME}
%defattr(0755,root,root,0775)
%{_datadir}/smartmet/engines/%{DIRNAME}.so
%files -n %{SPECNAME}-devel
%defattr(0664,root,root,0775)
%{_includedir}/smartmet/engines/%{DIRNAME}
%changelog
* Fri Nov 8 2024 Andris Pavēnis <[email protected]> 24.11.8-1.fmi
- Repackage due to smartmet-library-spine ABI changes
* Sat Sep 28 2024 Mika Heiskanen <[email protected]> - 24.9.28-1.fmi
- Repackaged due to PostgreSQLConnection ABI change
* Wed Aug 7 2024 Andris Pavēnis <[email protected]> 24.8.7-2.fmi
- Fix RPM requires (RHEL9, libpqxx)
* 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
* 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
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> 24.2.23-2.fmi
- Full repackaging
* Fri Feb 23 2024 Mika Heiskanen <[email protected]> 24.2.23-1.fmi
- Full repackaging
* Fri Jul 28 2023 Andris Pavēnis <[email protected]> 23.7.28-1.fmi
- Repackage due to bulk ABI changes in macgyver/newbase/spine
* Mon Jul 10 2023 Mika Heiskanen <[email protected]> - 23.7.10-1.fmi
- Silenced compiler warnings
* 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 Andris Pavēnis <[email protected]> 23.3.21-1.fmi
- Refactor and allow disabling engine
* Wed Jan 25 2023 Mika Heiskanen <[email protected]> - 23.1.25-1.fmi
- Silenced CodeChecker warnings
* Fri Dec 16 2022 Mika Heiskanen <[email protected]> - 22.12.16-1.fmi
- Repackaged since PostgreSQLConnection ABI changed
* 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
* Fri Jan 21 2022 Andris Pavēnis <[email protected]> 22.1.21-1.fmi
- Repackage due to upgrade of packages from PGDG repo: gdal-3.4, geos-3.10, proj-8.2
* Tue Dec 7 2021 Andris Pavēnis <[email protected]> 21.12.7-1.fmi
- Update to postgresql 13 and gdal 3.3
* Tue Sep 28 2021 Andris Pavēnis <[email protected]> 21.9.28-1.fmi
- Repackage due to dependency change: moving libconfig files to differentr directory
* Thu Sep 9 2021 Andris Pavenis <[email protected]> 21.9.9-1.fmi
- Repackage due to dependency change (libconfig->libconfig17)
* Tue Aug 31 2021 Mika Heiskanen <[email protected]> - 21.8.31-1.fmi
- Repackaged due to Spine ABI changes
* Tue Aug 17 2021 Mika Heiskanen <[email protected]> - 21.8.17-1.fmi
- Use latest interface for shutting downg
* Mon Jul 19 2021 Andris Pavēnis <[email protected]> 21.7.19-1.fmi
- Use Fmi::Database::PostgreSQLConnection
* Thu Jul 8 2021 Andris Pavēnis <[email protected]> 21.7.8-1.fmi
- Use libpqxx7 for RHEL8
* Thu Jan 14 2021 Mika Heiskanen <[email protected]> - 21.1.14-1.fmi
- Repackaged smartmet to resolve debuginfo issues
* Tue Dec 15 2020 Mika Heiskanen <[email protected]> - 20.12.15-1.fmi
- Upgrade to pgdg12
* Tue Oct 20 2020 Andris Pavenis <[email protected]> - 20.10.20-1.fmi
- Rebuild due to libconfig upgrade to version 1.7.2
* Wed Sep 23 2020 Mika Heiskanen <[email protected]> - 20.9.23-1.fmi
- Use Fmi::Exception instead of Spine::Exception
* Fri Aug 21 2020 Mika Heiskanen <[email protected]> - 20.8.21-1.fmi
- Upgrade to fmt 6.2
* Mon Jun 8 2020 Mika Heiskanen <[email protected]> - 20.6.8-1.fmi
- Upgraded libpqxx dependencies
* Sat Apr 18 2020 Mika Heiskanen <[email protected]> - 20.4.18-1.fmi
- Upgrade to Boost 1.69
* Fri Feb 14 2020 Mika Heiskanen <[email protected]> - 20.2.14-1.fmi
- Upgrade to pgdg12
* Thu Sep 26 2019 Mika Heiskanen <[email protected]> - 19.9.26-1.fmi
- Added support for ASAN & TSAN builds
* Mon Sep 10 2018 Mika Heiskanen <[email protected]> - 18.9.10-1.fmi
- Silenced the last CodeChecker warning
* Tue Aug 21 2018 Mika Heiskanen <[email protected]> - 18.8.21-1.fmi
- Silenced CodeChecker warnings
* Wed Jul 25 2018 Mika Heiskanen <[email protected]> - 18.7.25-1.fmi
- Prefer nullptr over NULL
* Sat Apr 7 2018 Mika Heiskanen <[email protected]> - 18.4.7-1.fmi
- Upgrade to boost 1.66
* Tue Mar 20 2018 Mika Heiskanen <[email protected]> - 18.3.20-1.fmi
- Full repackaging of the server
* Fri Feb 9 2018 Mika Heiskanen <[email protected]> - 18.2.9-1.fmi
- Repackaged since base class SmartMetEngine size changed
* Mon Jan 15 2018 Mika Heiskanen <[email protected]> - 18.1.15-1.fmi
- Updated pqxx dependency
* Wed Sep 13 2017 Mika Heiskanen <[email protected]> - 17.9.13-1.fmi
- Changed license to MIT
* 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 reporting
* 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
- Switched to use macgyver StringConversion tools
* Thu Jan 5 2017 Mika Heiskanen <[email protected]> - 17.1.5-1.fmi
- Added new authorize() parameter to require existence of token value (SOL-4614)
* Wed Jan 4 2017 Mika Heiskanen <[email protected]> - 17.1.4-1.fmi
- Updated to use renamed SmartMet base libraries
* Wed Nov 30 2016 Mika Heiskanen <[email protected]> - 16.11.30-1.fmi
- Using test database in sample and test configuration
- No installation for configuration
* Tue Nov 1 2016 Mika Heiskanen <[email protected]> - 16.11.1-1.fmi
- Namespace changed
* Tue Sep 6 2016 Mika Heiskanen <[email protected]> - 16.9.6-1.fmi
- New exception handler
* Mon Aug 15 2016 Mika Heiskanen <[email protected]> - 16.8.15-1.fmi
- Full recompile
* Tue Jun 14 2016 Mika Heiskanen <[email protected]> - 16.6.14-1.fmi
- Full recompile
* 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 wildcard token for granting global access
* Tue May 3 2016 Tuomo Lauri <[email protected]> - 16.5.3-1.fmi
- Fixed bug in token mapping
* Wed Apr 20 2016 Tuomo Lauri <[email protected]> - 16.4.20-1.fmi
- First release of Authengine