strongswan-vl.spec 26 KB

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