strongswan-vl.spec 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. %bcond_with systemd
  2. %bcond_without tss
  3. %global _unpackaged_files_terminate_build 1
  4. %global _hardened_build 0
  5. #%%define prerelease dr1
  6. Name: strongswan
  7. Version: 5.9.14
  8. Release: 1%{?_dist_release}%{?with_systemd:.systemd}
  9. Summary: An OpenSource IPsec-based VPN and TNC solution
  10. Summary(ja): オープンソースのIPsec VPN/TNCソリューション
  11. Group: servers,security
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. License: GPLv2+
  15. URL: https://www.strongswan.org/
  16. Source0: https://download.strongswan.org/%{name}-%{version}%{?prerelease}.tar.bz2
  17. Source1: tmpfiles-strongswan.conf
  18. Source1000: strongswan.init
  19. Patch0: strongswan-5.8.4-runtime-dir.patch
  20. Patch1: strongswan-5.6.0-uintptr_t.patch
  21. # https://github.com/strongswan/strongswan/issues/1198
  22. Patch2: strongswan-5.9.7-error-no-format.patch
  23. # only needed for pre-release versions
  24. #BuildRequires: autoconf automake
  25. BuildRequires: gmp-devel
  26. BuildRequires: curl-devel
  27. BuildRequires: openldap-devel
  28. BuildRequires: openssl-devel
  29. BuildRequires: sqlite3-devel
  30. BuildRequires: gettext-devel
  31. BuildRequires: libxml2-devel
  32. BuildRequires: pam-devel
  33. BuildRequires: libgcrypt-devel
  34. BuildRequires: iptables-devel
  35. BuildRequires: libcap-devel
  36. %if %{with tss}
  37. BuildRequires: json-c-devel >= 0.14
  38. BuildRequires: tpm2-tss-devel
  39. Recommends: tpm2-tools
  40. Obsoletes: trousers < 0.3.16
  41. Obsoletes: trousers-lib < 0.3.16
  42. %endif
  43. %if "%{?_dist_release}" != "vl6"
  44. BuildRequires: NetworkManager-libnm-devel
  45. %endif
  46. %if %{with systemd}
  47. BuildRequires: systemd-devel
  48. Requires(post): systemd
  49. Requires(preun): systemd
  50. Requires(postun): systemd
  51. %else
  52. Requires(post): /sbin/chkconfig
  53. Requires(preun): /sbin/chkconfig
  54. Requires(postun): /sbin/chkconfig
  55. %endif
  56. %description
  57. The strongSwan IPsec implementation supports both the IKEv1 and IKEv2 key
  58. exchange protocols in conjunction with the native NETKEY IPsec stack of the
  59. Linux kernel.
  60. %package libipsec
  61. Summary: Strongswan's libipsec backend
  62. Group: servers,security
  63. %description libipsec
  64. The kernel-libipsec plugin provides an IPsec backend that works entirely
  65. in userland, using TUN devices and its own IPsec implementation libipsec.
  66. %package charon-nm
  67. Summary: NetworkManager plugin for Strongswan
  68. Group: servers,security
  69. Requires: dbus
  70. Obsoletes: %{name}-NetworkManager < 0:5.0.4-5
  71. Conflicts: %{name}-NetworkManger < 0:5.0.4-5
  72. %description charon-nm
  73. NetworkManager plugin integrates a subset of Strongswan capabilities
  74. to NetworkManager.
  75. %package sqlite
  76. Summary: SQLite support for strongSwan
  77. Group: servers,security
  78. Requires: strongswan = %{version}-%{release}
  79. %description sqlite
  80. The sqlite plugin adds an SQLite database backend to strongSwan.
  81. %if %{with tss}
  82. %package tnc-imcvs
  83. Summary: Trusted network connect (TNC)'s IMC/IMV functionality
  84. Group: servers,security
  85. Requires: strongswan = %{version}-%{release}
  86. %description tnc-imcvs
  87. This package provides Trusted Network Connect's (TNC) architecture support.
  88. It includes support for TNC client and server (IF-TNCCS), IMC and IMV message
  89. exchange (IF-M), interface between IMC/IMV and TNC client/server (IF-IMC
  90. and IF-IMV). It also includes PTS based IMC/IMV for TPM based remote
  91. attestation, SWID IMC/IMV, and OS IMC/IMV. It's IMC/IMV dynamic libraries
  92. modules can be used by any third party TNC Client/Server implementation
  93. possessing a standard IF-IMC/IMV interface. In addition, it implements
  94. PT-TLS to support TNC over TLS.
  95. %endif
  96. %debug_package
  97. %prep
  98. %setup -q -n %{name}-%{version}%{?prerelease}
  99. %patch0 -p1
  100. %patch1 -p1
  101. %patch2 -p1
  102. %build
  103. # only for snapshots
  104. #autoreconf
  105. export CFLAGS="%{optflags} -Wno-format-security"
  106. # --with-ipsecdir moves internal commands to /usr/libexec/strongswan
  107. # --bindir moves 'pki' command to /usr/libexec/strongswan
  108. # See: http://wiki.strongswan.org/issues/552
  109. # too broken to enable: --enable-sha3 --enable-rdrand --enable-connmark --enable-forecast
  110. %configure --disable-static \
  111. --with-ipsec-script=strongswan \
  112. --sysconfdir=%{_sysconfdir}/strongswan \
  113. --with-ipsecdir=%{_libexecdir}/strongswan \
  114. --bindir=%{_libexecdir}/strongswan \
  115. --with-ipseclibdir=%{_libdir}/strongswan \
  116. --with-piddir=%{_rundir}/strongswan \
  117. --with-nm-ca-dir=%{_sysconfdir}/strongswan/ipsec.d/cacerts/ \
  118. --enable-bypass-lan \
  119. --enable-tss-tss2 \
  120. --enable-nm \
  121. --enable-openssl \
  122. --enable-unity \
  123. --enable-ctr \
  124. --enable-ccm \
  125. --enable-gcm \
  126. --enable-chapoly \
  127. --enable-md4 \
  128. --enable-gcrypt \
  129. --enable-newhope \
  130. --enable-xauth-eap \
  131. --enable-xauth-pam \
  132. --enable-xauth-noauth \
  133. --enable-eap-identity \
  134. --enable-eap-md5 \
  135. --enable-eap-gtc \
  136. --enable-eap-tls \
  137. --enable-eap-ttls \
  138. --enable-eap-peap \
  139. --enable-eap-mschapv2 \
  140. --enable-eap-tnc \
  141. --enable-eap-sim \
  142. --enable-eap-sim-file \
  143. --enable-eap-aka \
  144. --enable-eap-aka-3gpp \
  145. --enable-eap-aka-3gpp2 \
  146. --enable-eap-dynamic \
  147. --enable-eap-radius \
  148. --enable-ext-auth \
  149. --enable-ipseckey \
  150. --enable-pkcs11 \
  151. --enable-tpm \
  152. --enable-farp \
  153. --enable-dhcp \
  154. --enable-ha \
  155. --enable-led \
  156. --enable-sql \
  157. --enable-sqlite \
  158. --enable-tnc-ifmap \
  159. --enable-tnc-pdp \
  160. --enable-tnc-imc \
  161. --enable-tnc-imv \
  162. --enable-tnccs-20 \
  163. --enable-tnccs-11 \
  164. --enable-tnccs-dynamic \
  165. --enable-curl \
  166. --enable-cmd \
  167. --enable-acert \
  168. --enable-vici \
  169. --enable-swanctl \
  170. --enable-duplicheck \
  171. %if %{with tss}
  172. --enable-imc-test \
  173. --enable-imv-test \
  174. --enable-imc-scanner \
  175. --enable-imv-scanner \
  176. --enable-imc-attestation \
  177. --enable-imv-attestation \
  178. --enable-imv-os \
  179. --enable-imc-os \
  180. --enable-imc-swid \
  181. --enable-imv-swid \
  182. --enable-imc-swima \
  183. --enable-imv-swima \
  184. --enable-imc-hcd \
  185. --enable-imv-hcd \
  186. %endif
  187. %ifarch x86_64 %{ix86}
  188. --enable-aesni \
  189. %endif
  190. %if %{with systemd}
  191. --enable-systemd \
  192. %endif
  193. --enable-kernel-libipsec \
  194. --with-capabilities=libcap \
  195. %{nil}
  196. make %{?_smp_mflags}
  197. %install
  198. rm -rf %{buildroot}
  199. make install DESTDIR=%{buildroot}
  200. # prefix man pages
  201. for i in %{buildroot}%{_mandir}/*/*; do
  202. if echo "$i" | grep -vq '/strongswan[^\/]*$'; then
  203. mv "$i" "`echo "$i" | sed -re 's|/([^/]+)$|/strongswan_\1|'`"
  204. fi
  205. done
  206. find %{buildroot} -type f -name '*.la' -delete
  207. # delete unwanted library files - no consumers, so no -devel package
  208. rm %{buildroot}%{_libdir}/strongswan/*.so
  209. # fix config permissions
  210. chmod 644 %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
  211. # Create ipsec.d directory tree.
  212. install -d -m 700 %{buildroot}%{_sysconfdir}/%{name}/ipsec.d
  213. for i in aacerts acerts certs cacerts crls ocspcerts private reqs; do
  214. install -d -m 700 %{buildroot}%{_sysconfdir}/%{name}/ipsec.d/${i}
  215. done
  216. %if %{with systemd}
  217. install -D -p -m 0644 %{SOURCE1} %{buildroot}/%{_tmpfilesdir}/strongswan.conf
  218. %else
  219. mkdir -p %{buildroot}%{_initdir}
  220. install -m755 %{SOURCE1000} %{buildroot}%{_initdir}/ipsec
  221. %endif
  222. %post
  223. %if %{with systemd}
  224. %systemd_post %{name}.service
  225. %else
  226. /sbin/chkconfig --add ipsec
  227. %endif
  228. %preun
  229. %if %{with systemd}
  230. %systemd_preun %{name}.service
  231. %else
  232. if [ $1 -eq 0 -o -x /bin/systemctl ]; then
  233. /sbin/service ipsec stop
  234. /sbin/chkconfig --del ipsec
  235. fi
  236. %endif
  237. %postun
  238. %if %{with systemd}
  239. %systemd_postun_with_restart %{name}.service
  240. %else
  241. if [ $1 -gt 0 ]; then
  242. /sbin/service ipsec condrestart
  243. fi
  244. %endif
  245. %files
  246. %doc README NEWS TODO ChangeLog
  247. %{!?_licensedir:%global license %%doc}
  248. %license COPYING
  249. %dir %attr(0700,root,root) %{_sysconfdir}/strongswan
  250. %config(noreplace) %{_sysconfdir}/strongswan/*
  251. %dir %{_libdir}/strongswan
  252. %dir %{_libdir}/strongswan/plugins
  253. %dir %{_libexecdir}/strongswan
  254. %{_sbindir}/charon-cmd
  255. %{_sbindir}/strongswan
  256. %{_sbindir}/swanctl
  257. %{_libdir}/strongswan/*.so.*
  258. %exclude %{_libdir}/strongswan/libipsec.so.*
  259. %{_libdir}/strongswan/plugins/*.so
  260. %exclude %{_libdir}/strongswan/plugins/libstrongswan-kernel-libipsec.so
  261. %{_libexecdir}/strongswan/*
  262. %if "%{?_dist_release}" != "vl6"
  263. %exclude %{_libexecdir}/strongswan/charon-nm
  264. %endif
  265. %{_mandir}/man?/*.gz
  266. %{_datadir}/strongswan/templates/config/
  267. %if %{with tss}
  268. %exclude %{_libdir}/strongswan/imcvs
  269. %exclude %{_libdir}/strongswan/libimcv.so.*
  270. %exclude %{_libdir}/strongswan/libtnccs.so.*
  271. %exclude %{_libdir}/strongswan/libradius.so.*
  272. %exclude %{_libdir}/strongswan/plugins/libstrongswan-pkcs7.so
  273. %exclude %{_libdir}/strongswan/plugins/libstrongswan-sqlite.so
  274. %exclude %{_libdir}/strongswan/plugins/libstrongswan-*tnc*.so
  275. %exclude %{_libdir}/strongswan/plugins/libstrongswan-eap-radius.so
  276. %exclude %{_libexecdir}/strongswan/attest
  277. %exclude %{_libexecdir}/strongswan/pt-tls-client
  278. %{_datadir}/strongswan/templates/database/
  279. %exclude %dir %{_datadir}/strongswan/swidtag
  280. %endif
  281. %if %{with systemd}
  282. %{_sbindir}/charon-systemd
  283. %{_unitdir}/strongswan.service
  284. %{_unitdir}/strongswan-starter.service
  285. %{_tmpfilesdir}/strongswan.conf
  286. %else
  287. %{_initdir}/ipsec
  288. %endif
  289. %files sqlite
  290. %{_libdir}/strongswan/plugins/libstrongswan-sqlite.so
  291. %if %{with tss}
  292. %files tnc-imcvs
  293. %{_sbindir}/sw-collector
  294. %{_sbindir}/sec-updater
  295. %dir %{_libdir}/strongswan/imcvs
  296. %dir %{_libdir}/strongswan/plugins
  297. %{_libdir}/strongswan/libimcv.so.*
  298. %{_libdir}/strongswan/libtnccs.so.*
  299. %{_libdir}/strongswan/libradius.so.*
  300. %{_libdir}/strongswan/plugins/libstrongswan-pkcs7.so
  301. %{_libdir}/strongswan/plugins/libstrongswan-*tnc*.so
  302. %{_libdir}/strongswan/plugins/libstrongswan-eap-radius.so
  303. %{_libexecdir}/strongswan/attest
  304. %{_libexecdir}/strongswan/pt-tls-client
  305. %dir %{_datadir}/strongswan/swidtag
  306. %{_datadir}/strongswan/swidtag/*.swidtag
  307. %endif
  308. %files libipsec
  309. %{_libdir}/strongswan/libipsec.so.*
  310. %{_libdir}/strongswan/plugins/libstrongswan-kernel-libipsec.so
  311. %if "%{?_dist_release}" != "vl6"
  312. %files charon-nm
  313. %license COPYING
  314. %{_datadir}/dbus-1/system.d/nm-strongswan-service.conf
  315. %{_libexecdir}/strongswan/charon-nm
  316. %endif
  317. %changelog
  318. * Sat Jun 29 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.14-1
  319. - new upstream release.
  320. * Sat Feb 04 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.9-1
  321. - new upstream release.
  322. * Thu Nov 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.8-1
  323. - new upstream release.
  324. * Tue Feb 08 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.5-1
  325. - new upstream release.
  326. * Fri Oct 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.4-1
  327. - new upstream release.
  328. - dropped Patch100: fixed in upstream.
  329. * Sun Oct 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.3-1
  330. - new upstream release.
  331. - built with openssl-3.0.0.
  332. - imported Patch100 from upstream.
  333. * Mon May 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.2-1
  334. - new upstream release.
  335. * Mon Feb 22 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.1-1
  336. - new upstream release.
  337. * Tue Aug 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.9.0-1
  338. - new upstream release.
  339. * Sat May 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.8.4-1
  340. - new upstream release.
  341. - imported Patch0 from rawhide.
  342. - fixed systemd stuff.
  343. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.8.2-1
  344. - new upstream release.
  345. * Wed Nov 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.8.1-1
  346. - new upstream release.
  347. * Tue Jan 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.7.2-1
  348. - new upstream release.
  349. * Wed Nov 07 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.7.1-1
  350. - new upstream release.
  351. - imported Patch3 from rawhide.
  352. * Mon Mar 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.6.2-2
  353. - initial build for Vine Linux.
  354. * Wed Feb 21 2018 Lubomir Rintel <lkundrak@v3.sk> - 5.6.2-1
  355. - Updated to 5.6.2 (Dropped libnm-glib use in charon-nm)
  356. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.1-2
  357. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  358. * Fri Dec 22 2017 Paul Wouters <pwouters@redhat.com> - 5.6.1-1
  359. - Updated to 5.6.1 (RSA-PSS support)
  360. * Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 5.6.0-3
  361. - Rebuilt for libjson-c.so.3
  362. * Fri Dec 01 2017 Lubomir Rintel <lkundrak@v3.sk> - 5.6.0-2
  363. - Fix the placement of charon-nm D-Bus policy
  364. * Sat Sep 09 2017 Paul Wouters <pwouters@redhat.com> - 5.6.0-1
  365. - Updated to 5.6.0
  366. - Fixup configure arguments, enabled a bunch of new features
  367. - Added new BuildRequires:
  368. - Fixup Obsolete/Conflicts, use license macro
  369. - Don't require autoconf/autotools for non-snapshots
  370. - Remove macro overuse, remove fedora/rhel checks and sysvinit support
  371. - Make listings/grouping of all plugins/libs to reduce file listing
  372. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.3-3
  373. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  374. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.3-2
  375. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  376. * Mon Jun 12 2017 Paul Wouters <pwouters@redhat.com> - 5.5.3-1
  377. - Updated to 5.5.3
  378. * Sat May 27 2017 Paul Wouters <pwouters@redhat.com> - 5.5.2-1
  379. - Updated to 5.5.2
  380. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.0-3
  381. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  382. * Thu Sep 15 2016 Pavel Šimerda <psimerda@redhat.com> - 5.5.0-2
  383. - Resolves: #1367796 - Enable the unity plugin
  384. * Mon Aug 08 2016 Pavel Šimerda <psimerda@redhat.com> - 5.5.0-1
  385. - New version 5.5.0
  386. * Wed Jun 22 2016 Pavel Šimerda <psimerda@redhat.com>
  387. - Enable IKEv2 GCM (requires gcrypt module as well) - merged from f22 by Paul Wouters
  388. * Wed Jun 22 2016 Pavel Šimerda <psimerda@redhat.com> - 5.4.0-1
  389. - New version 5.4.0
  390. * Thu Mar 03 2016 Pavel Šimerda <psimerda@redhat.com> - 5.3.5-1
  391. - New version 5.3.5
  392. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-3
  393. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  394. * Fri Jan 15 2016 Paul Wouters <pwouters@redhat.com> - 5.3.3-2
  395. - Enable IKEv2 GCM (requires gcrypt module as well)
  396. * Tue Sep 29 2015 Pavel Šimerda <psimerda@redhat.com> - 5.3.3-1
  397. - new version 5.3.3
  398. * Thu Sep 24 2015 Pavel Šimerda <psimerda@redhat.com> - 5.3.2-3
  399. - Resolves: #1264598 - strongswan: many configuration files are not protected
  400. * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.2-2
  401. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  402. * Tue Jun 09 2015 Pavel Šimerda <psimerda@redhat.com>
  403. - new version 5.3.2
  404. * Fri Jun 05 2015 Pavel Šimerda <psimerda@redhat.com> - 5.3.1-1
  405. - new version 5.3.1
  406. * Tue Mar 31 2015 Pavel Šimerda <psimerda@redhat.com> - 5.3.0-1
  407. - new version 5.3.0
  408. * Fri Feb 20 2015 Avesh Agarwal <avagarwa@redhat.com> - 5.2.2-2
  409. - Fixes strongswan swanctl service issue rhbz#1193106
  410. * Tue Jan 06 2015 Pavel Šimerda <psimerda@redhat.com> - 5.2.2-1
  411. - new version 5.2.2
  412. * Thu Dec 18 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.2-0.2.dr1
  413. - Enabled ccm, and ctr plugins as it seems enabling just openssl does
  414. not work for using ccm and ctr algos.
  415. * Mon Dec 8 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.2-0.1.dr1
  416. - New strongswan developer release 5.2.2dr1
  417. * Mon Nov 24 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.1-2
  418. - 1167331: Enabled native systemd support.
  419. - Does not disable old systemd, starter, ipsec.conf support yet.
  420. * Thu Oct 30 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.1-1
  421. - New upstream release 5.2.1
  422. * Thu Oct 16 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.1-0.2.rc1
  423. - New upstream release candidate 5.2.1rc1
  424. * Fri Oct 10 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.1-1
  425. - new version 5.2.1dr1
  426. * Thu Sep 25 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-7
  427. - use upstream patch for json/json-c dependency
  428. * Thu Sep 25 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-6
  429. - Resolves: #1146145 - Strongswan is compiled without xauth-noauth plugin
  430. * Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2.0-5
  431. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  432. * Tue Aug 05 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-4
  433. - Resolves: #1081804 - enable Kernel IPSec support
  434. * Wed Jul 30 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-3
  435. - rebuilt
  436. * Tue Jul 29 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-2
  437. - fix json-c dependency
  438. * Tue Jul 15 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.0-1
  439. - New upstream release 5.2.0
  440. - The Attestation IMC/IMV pair supports the IMA-NG
  441. measurement format
  442. - Aikgen tool to generate an Attestation Identity Key bound
  443. to a TPM
  444. - Swanctl tool to provide a portable, complete IKE
  445. configuration and control interface for the command
  446. line using vici interface with libvici library
  447. - PT-EAP transport protocol (RFC 7171) for TNC
  448. - Enabled support for acert for checking X509 attribute certificate
  449. - Updated patches, removed selinux patch as upstream has fixed it
  450. in this release.
  451. - Updated spec file with minor cleanups
  452. * Thu Jun 26 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-0.4.dr6
  453. - improve prerelease macro
  454. * Thu Jun 26 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-0.3
  455. - Resolves: #1111895 - bump to 5.2.0dr6
  456. * Thu Jun 12 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-0.2
  457. - Related: #1087437 - remove or upstream all patches not specific to fedora/epel
  458. * Thu Jun 12 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0-0.1.dr5
  459. - fix the pre-release version according to guidelines before it gets branched
  460. * Fri Jun 06 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0dr5-1
  461. - new version 5.2.0dr5
  462. - add json-c-devel to build deps
  463. * Mon May 26 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0dr4-3
  464. - merge two related patches
  465. * Mon May 26 2014 Pavel Šimerda <psimerda@redhat.com> - 5.2.0dr4-2
  466. - clean up the patches a bit
  467. * Thu May 22 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.2.0dr4-1
  468. - New upstream developer release 5.2.0dr4
  469. - Attestation IMV/IMC supports IMA-NG measurement format now
  470. - Aikgen tool to generate an Attestation Identity Key bound
  471. to a TPM
  472. - PT-EAP transport protocol (RFC 7171) for TNC
  473. - vici plugin provides IKE Configuration Interface for charon
  474. - Enabled support for acert for checking X509 attribute certificate
  475. - Updated patches
  476. - Updated spec file with minor cleanups
  477. * Tue Apr 15 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.3-1
  478. - new version 5.1.3
  479. * Mon Apr 14 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.3rc1-1
  480. - new version 5.1.3rc1
  481. * Mon Mar 24 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.2-4
  482. - #1069928 - updated libexec patch.
  483. * Tue Mar 18 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.2-3
  484. - fixed el6 initscript
  485. - fixed pki directory location
  486. * Fri Mar 14 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.2-2
  487. - clean up the specfile a bit
  488. - replace the initscript patch with an individual initscript
  489. - patch to build for epel6
  490. * Mon Mar 03 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.2-1
  491. - #1071353 - bump to 5.1.2
  492. - #1071338 - strongswan is compiled without xauth-pam plugin
  493. - remove obsolete patches
  494. - sent all patches upstream
  495. - added comments to all patches
  496. - don't touch the config with sed
  497. * Thu Feb 20 2014 Avesh Agarwal <avagarwa@redhat.com> - 5.1.1-6
  498. - Fixed full hardening for strongswan (full relro and PIE).
  499. The previous macros had a typo and did not work
  500. (see bz#1067119).
  501. - Fixed tnc package description to reflect the current state of
  502. the package.
  503. - Fixed pki binary and moved it to /usr/libexece/strongswan as
  504. others binaries are there too.
  505. * Wed Feb 19 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.1-5
  506. - #903638 - SELinux is preventing /usr/sbin/xtables-multi from 'read' accesses on the chr_file /dev/random
  507. * Thu Jan 09 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.1-4
  508. - Removed redundant patches and *.spec commands caused by branch merging
  509. * Wed Jan 08 2014 Pavel Šimerda <psimerda@redhat.com> - 5.1.1-3
  510. - rebuilt
  511. * Mon Dec 2 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.1.1-2
  512. - Resolves: 973315
  513. - Resolves: 1036844
  514. * Fri Nov 1 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.1.1-1
  515. - Support for PT-TLS (RFC 6876)
  516. - Support for SWID IMC/IMV
  517. - Support for command line IKE client charon-cmd
  518. - Changed location of pki to /usr/bin
  519. - Added swid tags files
  520. - Added man pages for pki and charon-cmd
  521. - Renamed pki to strongswan-pki to avoid conflict with
  522. pki-core/pki-tools package.
  523. - Update local patches
  524. - Fixes CVE-2013-6075
  525. - Fixes CVE-2013-6076
  526. - Fixed autoconf/automake issue as configure.ac got changed
  527. and it required running autoreconf during the build process.
  528. - added strongswan signature file to the sources.
  529. * Thu Sep 12 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.1.0-3
  530. - Fixed initialization crash of IMV and IMC particularly
  531. attestation imv/imc as libstrongswas was not getting
  532. initialized.
  533. * Fri Aug 30 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.1.0-2
  534. - Enabled fips support
  535. - Enabled TNC's ifmap support
  536. - Enabled TNC's pdp support
  537. - Fixed hardocded package name in this spec file
  538. * Wed Aug 7 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.1.0-1
  539. - rhbz#981429: New upstream release
  540. - Fixes CVE-2013-5018: rhbz#991216, rhbz#991215
  541. - Fixes rhbz#991859 failed to build in rawhide
  542. - Updated local patches and removed which are not needed
  543. - Fixed errors around charon-nm
  544. - Added plugins libstrongswan-pkcs12.so, libstrongswan-rc2.so,
  545. libstrongswan-sshkey.so
  546. - Added utility imv_policy_manager
  547. * Thu Jul 25 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 5.0.4-5
  548. - rename strongswan-NetworkManager to strongswan-charon-nm
  549. - fix enable_nm macro
  550. * Mon Jul 15 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 5.0.4-4
  551. - %%files tries to package some of the shared objects as directories (#984437)
  552. - fix broken systemd unit file (#984300)
  553. - fix rpmlint error: description-line-too-long
  554. - fix rpmlint error: macro-in-comment
  555. - fix rpmlint error: spelling-error Summary(en_US) fuctionality
  556. - depend on 'systemd' instead of 'systemd-units'
  557. - use new systemd scriptlet macros
  558. - NetworkManager subpackage should have a copy of the license (#984490)
  559. - enable hardened_build as this package meets the PIE criteria (#984429)
  560. - invocation of "ipsec _updown iptables" is broken as ipsec is renamed
  561. to strongswan in this package (#948306)
  562. - invocation of "ipsec scepclient" is broken as ipsec is renamed
  563. to strongswan in this package
  564. - add /etc/strongswan/ipsec.d and missing subdirectories
  565. - conditionalize building of strongswan-NetworkManager subpackage as the
  566. version of NetworkManager in EL6 is too old (#984497)
  567. * Fri Jun 28 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.4-3
  568. - Patch to fix a major crash issue when Freeradius loads
  569. attestatiom-imv and does not initialize libstrongswan which
  570. causes crash due to calls to PTS algorithms probing APIs.
  571. So this patch fixes the order of initialization. This issues
  572. does not occur with charon because libstrongswan gets
  573. initialized earlier.
  574. - Patch that allows to outputs errors when there are permission
  575. issues when accessing strongswan.conf.
  576. - Patch to make loading of modules configurable when libimcv
  577. is used in stand alone mode without charon with freeradius
  578. and wpa_supplicant.
  579. * Tue Jun 11 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.4-2
  580. - Enabled TNCCS 1.1 protocol
  581. - Fixed libxm2-devel build dependency
  582. - Patch to fix the issue with loading of plugins
  583. * Wed May 1 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.4-1
  584. - New upstream release
  585. - Fixes for CVE-2013-2944
  586. - Enabled support for OS IMV/IMC
  587. - Created and applied a patch to disable ECP in fedora, because
  588. Openssl in Fedora does not allow ECP_256 and ECP_384. It makes
  589. it non-compliant to TCG's PTS standard, but there is no choice
  590. right now. see redhat bz # 319901.
  591. - Enabled Trousers support for TPM based operations.
  592. * Sat Apr 20 2013 Pavel Šimerda <psimerda@redhat.com> - 5.0.3-2
  593. - Rebuilt for a single specfile for rawhide/f19/f18/el6
  594. * Fri Apr 19 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.3-1
  595. - New upstream release
  596. - Enabled curl and eap-identity plugins
  597. - Enabled support for eap-radius plugin.
  598. * Thu Apr 18 2013 Pavel Šimerda <psimerda@redhat.com> - 5.0.2-3
  599. - Add gettext-devel to BuildRequires because of epel6
  600. - Remove unnecessary comments
  601. * Tue Mar 19 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.2-2
  602. - Enabled support for eap-radius plugin.
  603. * Mon Mar 11 2013 Avesh Agarwal <avagarwa@redhat.com> - 5.0.2-1
  604. - Update to upstream release 5.0.2
  605. - Created sub package strongswan-tnc-imcvs that provides trusted network
  606. connect's IMC and IMV funtionality. Specifically it includes PTS
  607. based IMC/IMV for TPM based remote attestation and scanner and test
  608. IMCs and IMVs. The Strongswan's IMC/IMV dynamic libraries can be used
  609. by any third party TNC Client/Server implementation possessing a
  610. standard IF-IMC/IMV interface.
  611. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-2
  612. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  613. * Thu Oct 04 2012 Pavel Šimerda <psimerda@redhat.com> - 5.0.1-1
  614. - Update to release 5.0.1
  615. * Thu Oct 04 2012 Pavel Šimerda <psimerda@redhat.com> - 5.0.0-4.git20120619
  616. - Add plugins to interoperate with Windows 7 and Android (#862472)
  617. (contributed by Haim Gelfenbeyn)
  618. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.0-3.git20120619
  619. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  620. * Sun Jul 08 2012 Pavel Šimerda <pavlix@pavlix.net> - 5.0.0-2.git20120619
  621. - Fix configure substitutions in initscripts
  622. * Wed Jul 04 2012 Pavel Šimerda <psimerda@redhat.com> - 5.0.0-1.git20120619
  623. - Update to current upstream release
  624. - Comment out all stuff that is only needed for git builds
  625. - Remove renaming patch from git
  626. - Improve init patch used for EPEL
  627. * Thu Jun 21 2012 Pavel Šimerda <psimerda@redhat.com> - 5.0.0-0.3.git20120619
  628. - Build with openssl plugin enabled
  629. * Wed Jun 20 2012 Pavel Šimerda <psimerda@redhat.com> - 5.0.0-0.2.git20120619
  630. - Add README.Fedora with link to 4.6 to 5.0 migration information
  631. * Tue Jun 19 2012 Pavel Šimerda - 5.0.0-0.1.git20120619
  632. - Snapshot of upcoming major release
  633. - Move patches and renaming upstream
  634. http://wiki.strongswan.org/issues/194
  635. http://wiki.strongswan.org/issues/195
  636. - Notified upstream about manpage issues
  637. * Tue Jun 19 2012 Pavel Šimerda - 4.6.4-2
  638. - Make initscript patch more distro-neutral
  639. - Add links to bugreports for patches
  640. * Fri Jun 01 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.4-1
  641. - New upstream version (CVE-2012-2388)
  642. * Sat May 26 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.3-2
  643. - Add --enable-nm to configure
  644. - Add NetworkManager-devel to BuildRequires
  645. - Add NetworkManager-glib-devel to BuildRequires
  646. - Add strongswan-NetworkManager package
  647. * Sat May 26 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.3-1
  648. - New version of Strongswan
  649. - Support for RFC 3110 DNSKEY (see upstream changelog)
  650. - Fix corrupt scriptlets
  651. * Fri Mar 30 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.2-2
  652. - #808612 - strongswan binary renaming side-effect
  653. * Sun Feb 26 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.2-1
  654. - New upstream version
  655. - Changed from .tar.gz to .tar.bz2
  656. - Added libstrongswan-pkcs8.so
  657. * Wed Feb 15 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-8
  658. - Fix initscript's status function
  659. * Wed Feb 15 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-7
  660. - Expand tabs in config files for better readability
  661. - Add sysvinit script for epel6
  662. * Wed Feb 15 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-6
  663. - Fix program name in systemd unit file
  664. * Tue Feb 14 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-5
  665. - Improve fedora/epel conditionals
  666. * Sat Jan 21 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-4
  667. - Protect configuration directory from ordinary users
  668. - Add still missing directory /etc/strongswan
  669. * Fri Jan 20 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-3
  670. - Change directory structure to avoid clashes with Openswan
  671. - Prefixed all manpages with 'strongswan_'
  672. - Every file now includes 'strongswan' somewhere in its path
  673. - Removed conflict with Openswan
  674. - Finally fix permissions on strongswan.conf
  675. * Fri Jan 20 2012 Pavel Šimerda <pavlix@pavlix.net> - 4.6.1-2
  676. - Change license tag from GPL to GPLv2+
  677. - Change permissions on /etc/strongswan.conf to 644
  678. - Rename ipsec.8 manpage to strongswan.8
  679. - Fix empty scriptlets for non-fedora builds
  680. - Add ldconfig scriptlet
  681. - Add missing directories and files
  682. * Sun Jan 01 2012 Pavel Šimerda <pavlix@pavlix.net - 4.6.1-1
  683. - Bump to version 4.6.1
  684. * Sun Jan 01 2012 Pavel Šimerda <pavlix@pavlix.net - 4.6.0-3
  685. - Add systemd scriptlets
  686. - Add conditions to also support EPEL6
  687. * Sat Dec 10 2011 Pavel Šimerda <pavlix@pavlix.net> - 4.6.0-2
  688. - Experimental build for development