libblockdev-vl.spec 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096
  1. %bcond_with systemd
  2. %define with_python2 0
  3. %define with_python3 1
  4. %define with_gtk_doc 1
  5. %define with_bcache 0
  6. %define with_btrfs 1
  7. %define with_crypto 1
  8. %define with_dm 1
  9. %define with_loop 1
  10. %define with_lvm 1
  11. %if %{with systemd}
  12. %define with_lvm_dbus 1
  13. %else
  14. %define with_lvm_dbus 0
  15. %endif
  16. %define with_mdraid 1
  17. %define with_mpath 1
  18. %define with_swap 1
  19. %define with_kbd 1
  20. %define with_part 1
  21. %define with_fs 1
  22. %define with_nvdimm 0
  23. %define with_vdo 1
  24. %define with_gi 1
  25. %define with_escrow 0
  26. %define with_dmraid 1
  27. %if %{with_python2} == 0
  28. %define python2_copts --without-python2
  29. %endif
  30. %if %{with_python3} == 0
  31. %define python3_copts --without-python3
  32. %endif
  33. %if %{with_bcache} == 0
  34. %define bcache_copts --without-bcache
  35. %endif
  36. %if %{with_lvm_dbus} == 0
  37. %define lvm_dbus_copts --without-lvm-dbus
  38. %endif
  39. # vdo is not available on non-x86_64 on older RHEL
  40. %if (0%{?rhel} && 0%{?rhel} <= 7)
  41. %ifnarch x86_64
  42. %define with_vdo 0
  43. %define vdo_copts --without-vdo
  44. %endif
  45. %endif
  46. %if %{with_btrfs} == 0
  47. %define btrfs_copts --without-btrfs
  48. %endif
  49. %if %{with_btrfs} != 1
  50. %define btrfs_copts --without-btrfs
  51. %endif
  52. %if %{with_crypto} != 1
  53. %define crypto_copts --without-crypto
  54. %else
  55. %if %{with_escrow} != 1
  56. %define crypto_copts --without-escrow
  57. %endif
  58. %endif
  59. %if %{with_dm} != 1
  60. %define dm_copts --without-dm
  61. %else
  62. %if %{with_dmraid} != 1
  63. %define dm_copts --without-dmraid
  64. %endif
  65. %endif
  66. %if %{with_loop} != 1
  67. %define loop_copts --without-loop
  68. %endif
  69. %if %{with_lvm} != 1
  70. %define lvm_copts --without-lvm
  71. %endif
  72. %if %{with_lvm_dbus} != 1
  73. %define lvm_dbus_copts --without-lvm_dbus
  74. %endif
  75. %if %{with_mdraid} != 1
  76. %define mdraid_copts --without-mdraid
  77. %endif
  78. %if %{with_mpath} != 1
  79. %define mpath_copts --without-mpath
  80. %endif
  81. %if %{with_swap} != 1
  82. %define swap_copts --without-swap
  83. %endif
  84. %if %{with_kbd} != 1
  85. %define kbd_copts --without-kbd
  86. %endif
  87. %if %{with_part} != 1
  88. %define part_copts --without-part
  89. %endif
  90. %if %{with_fs} != 1
  91. %define fs_copts --without-fs
  92. %endif
  93. %if %{with_nvdimm} != 1
  94. %define nvdimm_copts --without-nvdimm
  95. %endif
  96. %if %{with_vdo} != 1
  97. %define vdo_copts --without-vdo
  98. %endif
  99. %if %{with_gi} != 1
  100. %define gi_copts --disable-introspection
  101. %endif
  102. %define configure_opts %{?python2_copts} %{?python3_copts} %{?bcache_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?kbd_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{?vdo_copts} %{?gi_copts}
  103. Summary: A library for low-level manipulation with block devices
  104. Name: libblockdev
  105. Version: 2.24
  106. Release: 2%{?_dist_release}%{?with_systemd:.systemd}
  107. Group: system
  108. Vendor: Project Vine
  109. Distribution: Vine Linux
  110. License: LGPLv2+
  111. URL: https://github.com/storaged-project/libblockdev
  112. Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-1/%{name}-%{version}.tar.gz
  113. BuildRequires: glib2-devel
  114. %if %{with systemd}
  115. BuildRequires: systemd-devel
  116. %else
  117. BuildRequires: libudev-devel
  118. %endif
  119. %if %{with_gi}
  120. BuildRequires: gobject-introspection-devel
  121. %endif
  122. %if %{with_python2}
  123. BuildRequires: python-devel
  124. %endif
  125. %if %{with_python3}
  126. BuildRequires: python3-devel
  127. %endif
  128. %if %{with_gtk_doc}
  129. BuildRequires: gtk-doc
  130. %endif
  131. #BuildRequires: glib2-doc
  132. # Needed for the escrow tests in tests/crypto_test.py, but not used to build
  133. # BuildRequires: volume_key
  134. # BuildRequires: nss-tools
  135. # Needed for python 2 vs. 3 compatibility in the tests, but not used to build
  136. # BuildRequires: python2-six
  137. # BuildRequires: python3-six
  138. %if %{with_dm}
  139. Requires: %{name}-dm%{?_isa} = %{version}-%{release}
  140. %endif
  141. %if %{with_fs}
  142. Requires: %{name}-fs%{?_isa} = %{version}-%{release}
  143. %endif
  144. %if %{with_loop}
  145. Requires: %{name}-loop%{?_isa} = %{version}-%{release}
  146. %endif
  147. %if %{with_lvm}
  148. Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
  149. %endif
  150. %if %{with_mdraid}
  151. Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
  152. %endif
  153. %if %{with_part}
  154. Requires: %{name}-part%{?_isa} = %{version}-%{release}
  155. %endif
  156. %description
  157. The libblockdev is a C library with GObject introspection support that can be
  158. used for doing low-level operations with block devices like setting up LVM,
  159. BTRFS, LUKS or MD RAID. The library uses plugins (LVM, BTRFS,...) and serves as
  160. a thin wrapper around its plugins' functionality. All the plugins, however, can
  161. be used as standalone libraries. One of the core principles of libblockdev is
  162. that it is stateless from the storage configuration's perspective (e.g. it has
  163. no information about VGs when creating an LV).
  164. %package devel
  165. Summary: Development files for libblockdev
  166. Group: programming
  167. Requires: %{name}%{?_isa} = %{version}-%{release}
  168. Requires: glib2-devel
  169. %description devel
  170. This package contains header files and pkg-config files needed for development
  171. with the libblockdev library.
  172. %if %{with_python2}
  173. %package -n python-blockdev
  174. Summary: Python gobject-introspection bindings for libblockdev
  175. Group: programming
  176. BuildRequires: python-devel python-rpm-macros
  177. Requires: %{name}%{?_isa} = %{version}-%{release}
  178. Requires: pygobject
  179. %{?python_provide:%python_provide python2-blockdev}
  180. %description -n python-blockdev
  181. This package contains enhancements to the gobject-introspection bindings for
  182. libblockdev in Python2.
  183. %endif
  184. %if %{with_python3}
  185. %package -n python3-blockdev
  186. Summary: Python3 gobject-introspection bindings for libblockdev
  187. Group: programming
  188. BuildRequires: python3-devel python3-rpm-macros
  189. Requires: %{name}%{?_isa} = %{version}-%{release}
  190. Requires: python3-pygobject
  191. %{?python_provide:%python_provide python3-blockdev}
  192. %description -n python3-blockdev
  193. This package contains enhancements to the gobject-introspection bindings for
  194. libblockdev in Python3.
  195. %endif
  196. %package utils
  197. BuildRequires: kmod-devel
  198. Summary: A library with utility functions for the libblockdev library
  199. Group: admin-tools
  200. %description utils
  201. The libblockdev-utils is a library providing utility functions used by the
  202. libblockdev library and its plugins.
  203. %package utils-devel
  204. Summary: Development files for libblockdev-utils
  205. Group: programming
  206. Requires: %{name}-utils%{?_isa} = %{version}-%{release}
  207. Requires: glib2-devel
  208. %description utils-devel
  209. This package contains header files and pkg-config files needed for development
  210. with the libblockdev-utils library.
  211. %if %{with_btrfs}
  212. %package btrfs
  213. BuildRequires: libbytesize-devel
  214. Summary: The BTRFS plugin for the libblockdev library
  215. Group: system
  216. Requires: %{name}-utils%{?_isa} >= 0.11
  217. Requires: btrfs-progs
  218. %description btrfs
  219. The libblockdev library plugin (and in the same time a standalone library)
  220. providing the BTRFS-related functionality.
  221. %package btrfs-devel
  222. Summary: Development files for the libblockdev-btrfs plugin/library
  223. Group: programming
  224. Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
  225. Requires: glib2-devel
  226. Requires: %{name}-utils-devel%{?_isa}
  227. %description btrfs-devel
  228. This package contains header files and pkg-config files needed for development
  229. with the libblockdev-btrfs plugin/library.
  230. %endif
  231. %if %{with_crypto}
  232. %package crypto
  233. Summary: The crypto plugin for the libblockdev library
  234. Group: system
  235. BuildRequires: cryptsetup-devel
  236. BuildRequires: libblkid-devel
  237. %if %{with_escrow}
  238. BuildRequires: volume_key-devel >= 0.3.9-7
  239. BuildRequires: nss-devel
  240. %endif
  241. %description crypto
  242. The libblockdev library plugin (and in the same time a standalone library)
  243. providing the functionality related to encrypted devices (LUKS).
  244. %package crypto-devel
  245. Summary: Development files for the libblockdev-crypto plugin/library
  246. Group: programming
  247. Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
  248. Requires: glib2-devel
  249. %description crypto-devel
  250. This package contains header files and pkg-config files needed for development
  251. with the libblockdev-crypto plugin/library.
  252. %endif
  253. %if %{with_dm}
  254. %package dm
  255. Summary: The Device Mapper plugin for the libblockdev library
  256. Group: system
  257. BuildRequires: device-mapper-devel
  258. %if %{with_dmraid}
  259. BuildRequires: dmraid
  260. BuildRequires: dmraid-devel
  261. %endif
  262. Requires: %{name}-utils%{?_isa} >= 0.11
  263. Requires: device-mapper
  264. %if %{with_dmraid}
  265. Requires: dmraid
  266. %endif
  267. %description dm
  268. The libblockdev library plugin (and in the same time a standalone library)
  269. providing the functionality related to Device Mapper.
  270. %package dm-devel
  271. Summary: Development files for the libblockdev-dm plugin/library
  272. Group: programming
  273. Requires: %{name}-dm%{?_isa} = %{version}-%{release}
  274. Requires: glib2-devel
  275. Requires: device-mapper-devel
  276. %if %{with systemd}
  277. Requires: systemd-devel
  278. %endif
  279. %if %{with_dmraid}
  280. Requires: dmraid-devel
  281. %endif
  282. Requires: %{name}-utils-devel%{?_isa}
  283. %description dm-devel
  284. This package contains header files and pkg-config files needed for development
  285. with the libblockdev-dm plugin/library.
  286. %endif
  287. %if %{with_fs}
  288. %package fs
  289. Summary: The FS plugin for the libblockdev library
  290. Group: system
  291. BuildRequires: parted-devel
  292. BuildRequires: libblkid-devel
  293. BuildRequires: libmount-devel
  294. Requires: %{name}-utils%{?_isa} >= 0.11
  295. #Requires: device-mapper-multipath
  296. %description fs
  297. The libblockdev library plugin (and in the same time a standalone library)
  298. providing the functionality related to operations with file systems.
  299. %package fs-devel
  300. Summary: Development files for the libblockdev-fs plugin/library
  301. Group: programming
  302. Requires: %{name}-fs%{?_isa} = %{version}-%{release}
  303. Requires: %{name}-utils-devel%{?_isa}
  304. Requires: glib2-devel
  305. Requires: xfsprogs
  306. Requires: dosfstools
  307. %description fs-devel
  308. This package contains header files and pkg-config files needed for development
  309. with the libblockdev-fs plugin/library.
  310. %endif
  311. %if %{with_kbd}
  312. %package kbd
  313. Summary: The KBD plugin for the libblockdev library
  314. Group: system
  315. BuildRequires: libbytesize-devel
  316. Requires: %{name}-utils%{?_isa} >= 0.11
  317. %if %{with_bcache}
  318. Requires: bcache-tools >= 1.0.8
  319. %endif
  320. %description kbd
  321. The libblockdev library plugin (and in the same time a standalone library)
  322. providing the functionality related to kernel block devices (namely zRAM and
  323. Bcache).
  324. %package kbd-devel
  325. Summary: Development files for the libblockdev-kbd plugin/library
  326. Group: programming
  327. Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
  328. Requires: %{name}-utils-devel%{?_isa}
  329. Requires: glib2-devel
  330. %description kbd-devel
  331. This package contains header files and pkg-config files needed for development
  332. with the libblockdev-kbd plugin/library.
  333. %endif
  334. %if %{with_loop}
  335. %package loop
  336. Summary: The loop plugin for the libblockdev library
  337. Group: system
  338. Requires: %{name}-utils%{?_isa} >= 0.11
  339. %description loop
  340. The libblockdev library plugin (and in the same time a standalone library)
  341. providing the functionality related to loop devices.
  342. %package loop-devel
  343. Summary: Development files for the libblockdev-loop plugin/library
  344. Group: programming
  345. Requires: %{name}-loop%{?_isa} = %{version}-%{release}
  346. Requires: %{name}-utils-devel%{?_isa}
  347. Requires: glib2-devel
  348. %description loop-devel
  349. This package contains header files and pkg-config files needed for development
  350. with the libblockdev-loop plugin/library.
  351. %endif
  352. %if %{with_lvm}
  353. %package lvm
  354. BuildRequires: device-mapper-devel
  355. Summary: The LVM plugin for the libblockdev library
  356. Group: system
  357. Provides: %{name}-tools = %{version}-%{release}
  358. Requires: %{name}-utils%{?_isa} >= 0.11
  359. Requires: lvm2
  360. # for thin_metadata_size
  361. Requires: device-mapper-persistent-data
  362. %description lvm
  363. The libblockdev library plugin (and in the same time a standalone library)
  364. providing the LVM-related functionality.
  365. %package lvm-devel
  366. Summary: Development files for the libblockdev-lvm plugin/library
  367. Group: programming
  368. Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
  369. Requires: %{name}-utils-devel%{?_isa}
  370. Requires: glib2-devel
  371. %description lvm-devel
  372. This package contains header files and pkg-config files needed for development
  373. with the libblockdev-lvm plugin/library.
  374. %endif
  375. %if %{with_lvm_dbus}
  376. %package lvm-dbus
  377. BuildRequires: device-mapper-devel
  378. Summary: The LVM plugin for the libblockdev library
  379. Group: system
  380. Requires: %{name}-utils%{?_isa} >= 1.4
  381. Requires: lvm2-dbusd >= 2.02.156
  382. # for thin_metadata_size
  383. Requires: device-mapper-persistent-data
  384. %description lvm-dbus
  385. The libblockdev library plugin (and in the same time a standalone library)
  386. providing the LVM-related functionality utilizing the LVM DBus API.
  387. %package lvm-dbus-devel
  388. Summary: Development files for the libblockdev-lvm-dbus plugin/library
  389. Group: programming
  390. Requires: %{name}-lvm-dbus%{?_isa} = %{version}-%{release}
  391. Requires: %{name}-utils-devel%{?_isa} >= 1.4
  392. Requires: glib2-devel
  393. %description lvm-dbus-devel
  394. This package contains header files and pkg-config files needed for development
  395. with the libblockdev-lvm-dbus plugin/library.
  396. %endif
  397. %if %{with_mdraid}
  398. %package mdraid
  399. BuildRequires: libbytesize-devel
  400. Summary: The MD RAID plugin for the libblockdev library
  401. Group: system
  402. Requires: %{name}-utils%{?_isa} >= 0.11
  403. Requires: mdadm
  404. %description mdraid
  405. The libblockdev library plugin (and in the same time a standalone library)
  406. providing the functionality related to MD RAID.
  407. %package mdraid-devel
  408. Summary: Development files for the libblockdev-mdraid plugin/library
  409. Group: programming
  410. Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
  411. Requires: %{name}-utils-devel%{?_isa}
  412. Requires: glib2-devel
  413. %description mdraid-devel
  414. This package contains header files and pkg-config files needed for development
  415. with the libblockdev-mdraid plugin/library.
  416. %endif
  417. %if %{with_mpath}
  418. %package mpath
  419. Summary: The multipath plugin for the libblockdev library
  420. Group: system
  421. BuildRequires: device-mapper-devel
  422. Requires: %{name}-utils%{?_isa} >= 0.11
  423. Requires: device-mapper-multipath
  424. %description mpath
  425. The libblockdev library plugin (and in the same time a standalone library)
  426. providing the functionality related to multipath devices.
  427. %package mpath-devel
  428. Summary: Development files for the libblockdev-mpath plugin/library
  429. Group: programming
  430. Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
  431. Requires: %{name}-utils-devel%{?_isa}
  432. Requires: glib2-devel
  433. %description mpath-devel
  434. This package contains header files and pkg-config files needed for development
  435. with the libblockdev-mpath plugin/library.
  436. %endif
  437. %if %{with_nvdimm}
  438. %package nvdimm
  439. Summary: The NVDIMM plugin for the libblockdev library
  440. Group: system
  441. BuildRequires: ndctl-devel
  442. BuildRequires: libuuid-devel
  443. Requires: %{name}-utils%{?_isa} >= 0.11
  444. Requires: ndctl
  445. %description nvdimm
  446. The libblockdev library plugin (and in the same time a standalone library)
  447. providing the functionality related to operations with NVDIMM devices.
  448. %package nvdimm-devel
  449. Summary: Development files for the libblockdev-nvdimm plugin/library
  450. Group: programming
  451. Requires: %{name}-nvdimm%{?_isa} = %{version}-%{release}
  452. Requires: %{name}-utils-devel%{?_isa}
  453. Requires: glib2-devel
  454. %description nvdimm-devel
  455. This package contains header files and pkg-config files needed for development
  456. with the libblockdev-nvdimm plugin/library.
  457. %endif
  458. %if %{with_part}
  459. %package part
  460. Summary: The partitioning plugin for the libblockdev library
  461. Group: system
  462. BuildRequires: parted-devel
  463. Requires: %{name}-utils%{?_isa} >= 0.11
  464. #Requires: device-mapper-multipath
  465. Requires: gdisk
  466. Requires: util-linux
  467. %description part
  468. The libblockdev library plugin (and in the same time a standalone library)
  469. providing the functionality related to partitioning.
  470. %package part-devel
  471. Summary: Development files for the libblockdev-part plugin/library
  472. Group: programming
  473. Requires: %{name}-part%{?_isa} = %{version}-%{release}
  474. Requires: %{name}-utils-devel%{?_isa}
  475. Requires: glib2-devel
  476. %description part-devel
  477. This package contains header files and pkg-config files needed for development
  478. with the libblockdev-part plugin/library.
  479. %endif
  480. %if %{with_swap}
  481. %package swap
  482. Summary: The swap plugin for the libblockdev library
  483. Group: system
  484. Requires: %{name}-utils%{?_isa} >= 0.11
  485. Requires: util-linux
  486. %description swap
  487. The libblockdev library plugin (and in the same time a standalone library)
  488. providing the functionality related to swap devices.
  489. %package swap-devel
  490. Summary: Development files for the libblockdev-swap plugin/library
  491. Group: programming
  492. Requires: %{name}-swap%{?_isa} = %{version}-%{release}
  493. Requires: %{name}-utils-devel%{?_isa}
  494. Requires: glib2-devel
  495. %description swap-devel
  496. This package contains header files and pkg-config files needed for development
  497. with the libblockdev-swap plugin/library.
  498. %endif
  499. %if %{with_vdo}
  500. %package vdo
  501. Summary: The vdo plugin for the libblockdev library
  502. Group: system
  503. BuildRequires: libbytesize-devel
  504. BuildRequires: libyaml-devel
  505. Requires: %{name}-utils%{?_isa} >= 0.11
  506. # weak dependencies doesn't work on older RHEL
  507. %if (0%{?rhel} && 0%{?rhel} <= 7)
  508. Requires: vdo
  509. Requires: kmod-kvdo
  510. %else
  511. # we want to build the plugin everywhere but the dependencies might not be
  512. # available so just use weak dependency
  513. Recommends: vdo
  514. Recommends: kmod-kvdo
  515. %endif
  516. %description vdo
  517. The libblockdev library plugin (and in the same time a standalone library)
  518. providing the functionality related to VDO devices.
  519. %package vdo-devel
  520. Summary: Development files for the libblockdev-vdo plugin/library
  521. Group: programming
  522. Requires: %{name}-vdo%{?_isa} = %{version}-%{release}
  523. Requires: %{name}-utils-devel%{?_isa}
  524. Requires: glib2-devel
  525. %description vdo-devel
  526. This package contains header files and pkg-config files needed for development
  527. with the libblockdev-vdo plugin/library.
  528. %endif
  529. %package plugins-all
  530. Summary: Meta-package that pulls all the libblockdev plugins as dependencies
  531. Group: system,collections
  532. Requires: %{name}%{?_isa} = %{version}-%{release}
  533. %if %{with_btrfs}
  534. Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
  535. %endif
  536. %if %{with_crypto}
  537. Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
  538. %endif
  539. %if %{with_dm}
  540. Requires: %{name}-dm%{?_isa} = %{version}-%{release}
  541. %endif
  542. %if %{with_fs}
  543. Requires: %{name}-fs%{?_isa} = %{version}-%{release}
  544. %endif
  545. %if %{with_kbd}
  546. Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
  547. %endif
  548. %if %{with_loop}
  549. Requires: %{name}-loop%{?_isa} = %{version}-%{release}
  550. %endif
  551. %if %{with_lvm}
  552. Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
  553. %endif
  554. %if %{with_mdraid}
  555. Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
  556. %endif
  557. %if %{with_mpath}
  558. Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
  559. %endif
  560. %if %{with_nvdimm}
  561. Requires: %{name}-nvdimm%{?_isa} = %{version}-%{release}
  562. %endif
  563. %if %{with_part}
  564. Requires: %{name}-part%{?_isa} = %{version}-%{release}
  565. %endif
  566. %if %{with_swap}
  567. Requires: %{name}-swap%{?_isa} = %{version}-%{release}
  568. %endif
  569. %if %{with_vdo}
  570. Requires: %{name}-vdo%{?_isa} = %{version}-%{release}
  571. %endif
  572. %description plugins-all
  573. A meta-package that pulls all the libblockdev plugins as dependencies.
  574. %prep
  575. %setup -q -n %{name}-%{version}
  576. %build
  577. autoreconf -ivf
  578. %configure %{?configure_opts}
  579. %{__make} %{?_smp_mflags}
  580. %install
  581. %{make_install}
  582. find %{buildroot} -type f -name "*.la" | xargs %{__rm}
  583. %post -p /sbin/ldconfig
  584. %postun -p /sbin/ldconfig
  585. %post utils -p /sbin/ldconfig
  586. %postun utils -p /sbin/ldconfig
  587. %if %{with_btrfs}
  588. %post btrfs -p /sbin/ldconfig
  589. %postun btrfs -p /sbin/ldconfig
  590. %endif
  591. %if %{with_crypto}
  592. %post crypto -p /sbin/ldconfig
  593. %postun crypto -p /sbin/ldconfig
  594. %endif
  595. %if %{with_dm}
  596. %post dm -p /sbin/ldconfig
  597. %postun dm -p /sbin/ldconfig
  598. %endif
  599. %if %{with_fs}
  600. %post fs -p /sbin/ldconfig
  601. %postun fs -p /sbin/ldconfig
  602. %endif
  603. %if %{with_loop}
  604. %post loop -p /sbin/ldconfig
  605. %postun loop -p /sbin/ldconfig
  606. %endif
  607. %if %{with_lvm}
  608. %post lvm -p /sbin/ldconfig
  609. %postun lvm -p /sbin/ldconfig
  610. %endif
  611. %if %{with_lvm_dbus}
  612. %post lvm-dbus -p /sbin/ldconfig
  613. %postun lvm-dbus -p /sbin/ldconfig
  614. %endif
  615. %if %{with_mdraid}
  616. %post mdraid -p /sbin/ldconfig
  617. %postun mdraid -p /sbin/ldconfig
  618. %endif
  619. %if %{with_mpath}
  620. %postun mpath -p /sbin/ldconfig
  621. %post mpath -p /sbin/ldconfig
  622. %endif
  623. %if %{with_nvdimm}
  624. %post nvdimm -p /sbin/ldconfig
  625. %postun nvdimm -p /sbin/ldconfig
  626. %endif
  627. %if %{with_part}
  628. %post part -p /sbin/ldconfig
  629. %postun part -p /sbin/ldconfig
  630. %endif
  631. %if %{with_swap}
  632. %post swap -p /sbin/ldconfig
  633. %postun swap -p /sbin/ldconfig
  634. %endif
  635. %if %{with_vdo}
  636. %post vdo -p /sbin/ldconfig
  637. %postun vdo -p /sbin/ldconfig
  638. %endif
  639. %ifarch s390 s390x
  640. %post s390
  641. %postun s390
  642. %endif
  643. %if %{with_kbd}
  644. %post kbd -p /sbin/ldconfig
  645. %postun kbd -p /sbin/ldconfig
  646. %endif
  647. %files
  648. %{!?_licensedir:%global license %%doc}
  649. %license LICENSE
  650. %{_libdir}/libblockdev.so.*
  651. %if %{with_gi}
  652. %{_libdir}/girepository*/BlockDev*.typelib
  653. %endif
  654. %dir %{_sysconfdir}/libblockdev
  655. %dir %{_sysconfdir}/libblockdev/conf.d
  656. %config %{_sysconfdir}/libblockdev/conf.d/00-default.cfg
  657. %files devel
  658. %doc features.rst specs.rst
  659. %{_libdir}/libblockdev.so
  660. %dir %{_includedir}/blockdev
  661. %{_includedir}/blockdev/blockdev.h
  662. %{_includedir}/blockdev/plugins.h
  663. %{_libdir}/pkgconfig/blockdev.pc
  664. %if %{with_gtk_doc}
  665. %{_datadir}/gtk-doc/html/libblockdev
  666. %endif
  667. %if %{with_gi}
  668. %{_datadir}/gir*/BlockDev*.gir
  669. %endif
  670. %if %{with_python2}
  671. %files -n python-blockdev
  672. %{python_sitearch}/gi/overrides/*
  673. %endif
  674. %if %{with_python3}
  675. %files -n python3-blockdev
  676. %{python3_sitearch}/gi/overrides/BlockDev*
  677. #%{python3_sitearch}/gi/overrides/__pycache__/BlockDev*
  678. %endif
  679. %files utils
  680. %{_libdir}/libbd_utils.so.*
  681. %{_libdir}/libbd_part_err.so.*
  682. %files utils-devel
  683. %{_libdir}/libbd_utils.so
  684. %{_libdir}/libbd_part_err.so
  685. %{_libdir}/pkgconfig/blockdev-utils.pc
  686. %dir %{_includedir}/blockdev
  687. %{_includedir}/blockdev/utils.h
  688. %{_includedir}/blockdev/sizes.h
  689. %{_includedir}/blockdev/exec.h
  690. %{_includedir}/blockdev/extra_arg.h
  691. %{_includedir}/blockdev/dev_utils.h
  692. %{_includedir}/blockdev/module.h
  693. %{_includedir}/blockdev/dbus.h
  694. %if %{with_btrfs}
  695. %files btrfs
  696. %{_libdir}/libbd_btrfs.so.*
  697. %files btrfs-devel
  698. %{_libdir}/libbd_btrfs.so
  699. %dir %{_includedir}/blockdev
  700. %{_includedir}/blockdev/btrfs.h
  701. %endif
  702. %if %{with_crypto}
  703. %files crypto
  704. %{_libdir}/libbd_crypto.so.*
  705. %files crypto-devel
  706. %{_libdir}/libbd_crypto.so
  707. %dir %{_includedir}/blockdev
  708. %{_includedir}/blockdev/crypto.h
  709. %endif
  710. %if %{with_dm}
  711. %files dm
  712. %{_libdir}/libbd_dm.so.*
  713. %files dm-devel
  714. %{_libdir}/libbd_dm.so
  715. %dir %{_includedir}/blockdev
  716. %{_includedir}/blockdev/dm.h
  717. %endif
  718. %if %{with_fs}
  719. %files fs
  720. %{_libdir}/libbd_fs.so.*
  721. %files fs-devel
  722. %{_libdir}/libbd_fs.so
  723. %dir %{_includedir}/blockdev
  724. %dir %{_includedir}/blockdev/fs
  725. %{_includedir}/blockdev/fs.h
  726. %{_includedir}/blockdev/fs/*.h
  727. %endif
  728. %if %{with_kbd}
  729. %files kbd
  730. %{_libdir}/libbd_kbd.so.*
  731. %files kbd-devel
  732. %{_libdir}/libbd_kbd.so
  733. %dir %{_includedir}/blockdev
  734. %{_includedir}/blockdev/kbd.h
  735. %endif
  736. %if %{with_loop}
  737. %files loop
  738. %{_libdir}/libbd_loop.so.*
  739. %files loop-devel
  740. %{_libdir}/libbd_loop.so
  741. %dir %{_includedir}/blockdev
  742. %{_includedir}/blockdev/loop.h
  743. %endif
  744. %if %{with_lvm}
  745. %files lvm
  746. %{_bindir}/lvm-cache-stats
  747. %{_libdir}/libbd_lvm.so.*
  748. %files lvm-devel
  749. %{_libdir}/libbd_lvm.so
  750. %dir %{_includedir}/blockdev
  751. %{_includedir}/blockdev/lvm.h
  752. %endif
  753. %if %{with_lvm_dbus}
  754. %files lvm-dbus
  755. %{_libdir}/libbd_lvm-dbus.so.*
  756. %config %{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg
  757. %files lvm-dbus-devel
  758. %{_libdir}/libbd_lvm-dbus.so
  759. %dir %{_includedir}/blockdev
  760. %{_includedir}/blockdev/lvm.h
  761. %endif
  762. %if %{with_mdraid}
  763. %files mdraid
  764. %{_libdir}/libbd_mdraid.so.*
  765. %files mdraid-devel
  766. %{_libdir}/libbd_mdraid.so
  767. %dir %{_includedir}/blockdev
  768. %{_includedir}/blockdev/mdraid.h
  769. %endif
  770. %if %{with_mpath}
  771. %files mpath
  772. %{_libdir}/libbd_mpath.so.*
  773. %files mpath-devel
  774. %{_libdir}/libbd_mpath.so
  775. %dir %{_includedir}/blockdev
  776. %{_includedir}/blockdev/mpath.h
  777. %endif
  778. %if %{with_nvdimm}
  779. %files nvdimm
  780. %{_libdir}/libbd_nvdimm.so.*
  781. %files nvdimm-devel
  782. %{_libdir}/libbd_nvdimm.so
  783. %dir %{_includedir}/blockdev
  784. %{_includedir}/blockdev/nvdimm.h
  785. %endif
  786. %if %{with_part}
  787. %files part
  788. %{_libdir}/libbd_part.so.*
  789. %files part-devel
  790. %{_libdir}/libbd_part.so
  791. %dir %{_includedir}/blockdev
  792. %{_includedir}/blockdev/part.h
  793. %endif
  794. %if %{with_swap}
  795. %files swap
  796. %{_libdir}/libbd_swap.so.*
  797. %files swap-devel
  798. %{_libdir}/libbd_swap.so
  799. %dir %{_includedir}/blockdev
  800. %{_includedir}/blockdev/swap.h
  801. %endif
  802. %if %{with_vdo}
  803. %files vdo
  804. %{_libdir}/libbd_vdo.so.*
  805. %files vdo-devel
  806. %{_libdir}/libbd_vdo.so
  807. %dir %{_includedir}/blockdev
  808. %{_includedir}/blockdev/vdo.h
  809. %endif
  810. %ifarch s390 s390x
  811. %files s390
  812. %{_libdir}/libbd_s390.so.*
  813. %files s390-devel
  814. %{_libdir}/libbd_s390.so
  815. %dir %{_includedir}/blockdev
  816. %{_includedir}/blockdev/s390.h
  817. %endif
  818. %files plugins-all
  819. %changelog
  820. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.24-2
  821. - rebuilt with python3.
  822. * Tue Aug 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.24-1
  823. - new upstream release.
  824. - added systemd support (disabled as default).
  825. * Mon Mar 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.23-1
  826. - new upstream release.
  827. - dropped Patch0: fixed in upstream.
  828. * Thu Feb 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.20-5
  829. - removed R:device-mapper-multipath from libblockdev-{fs,part}.
  830. * Mon Jan 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.20-4
  831. - disabled lvmdbusd.
  832. - added R:libblockdev-{dm,fs,loop,lvm,mdraid,part}.
  833. * Mon Dec 17 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.20-3
  834. - initial build for Vine Linux.
  835. - disabled bcache, escrow and nvdimm.
  836. * Mon Oct 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.20-2
  837. - Use libblkid to check swap status before swapon (vtrefny)
  838. - Add error codes and Python exceptions for swapon fails (vtrefny)
  839. * Wed Sep 26 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.20-1
  840. - Use unsafe caching for storage for devel/testing VMs (v.podzimek)
  841. - Require newer version of cryptsetup for LUKS2 tests (vtrefny)
  842. - Skip nvdimm tests on systems without ndctl (vtrefny)
  843. - Add Ubuntu 18.04 VM configuration to the vagrant template (vtrefny)
  844. - Add some missing test dependencies to the vagrant template (vtrefny)
  845. - Fix how/where the bcache tests are skipped (v.podzimek)
  846. - Document what the 'misc' directory contains (v.podzimek)
  847. - Add a Vagrantfile template (v.podzimek)
  848. - Fix the error message when deleting partition fails (vpodzime)
  849. - Fix build of plugins by changing linking order (devurandom)
  850. - Fix how we check zram stats from /sys/block/zram0/stat (vtrefny)
  851. - lvm-dbus: Fix parsing extra arguments for LVM methods calls (vtrefny)
  852. - Skip MDTestAddRemove on Debian (vtrefny)
  853. - Skip NTFS mount test on Debian testing (vtrefny)
  854. - Skip bcache tests on Debian testing (vtrefny)
  855. - tests: Try harder to get distribution version (vtrefny)
  856. - Mark the function stubs as static (v.podzimek)
  857. - Build the dm plugin without dmraid support on newer RHEL (vtrefny)
  858. - Fix skipping zram tests on Fedora 27 (vtrefny)
  859. - kbd: Check for zram module availability in 'bd_kbd_is_tech_avail' (vtrefny)
  860. - Always build the VDO plugin (vtrefny)
  861. - Do not require 'dmraid' package if built without dmraid support (vtrefny)
  862. - Fix licence header in dbus.c (vtrefny)
  863. - Fix spacing in NEWS.rst (vtrefny)
  864. * Fri Aug 10 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.19-1
  865. - Use python interpreter explicitly when running boilerplate_generator.py (vtrefny)
  866. - vdo: Implement bd_vdo_get_stats() (tbzatek)
  867. - Add test for is_tech_available with multiple dependencies (vtrefny)
  868. - lvm-dbus.c: Check for 'lvmdbus' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
  869. - lvm.c: Check for 'lvm' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
  870. - Fix licence headers in sources (vtrefny)
  871. - Fix three memory leaks in lvm-dbus.c (vtrefny)
  872. - Ignore "bad-super-call" pylint warning in BlockDev.py (vtrefny)
  873. - Fix running pylint in tests (vtrefny)
  874. - Fix vdo configuration options definition in spec file (vtrefny)
  875. - Fix calling BlockDev.reinit in swap tests (vtrefny)
  876. - Fix how we check zram stats from /sys/block/zram0/mm_stat (vtrefny)
  877. - Skip VDO tests also when the 'kvdo' module is not available (vtrefny)
  878. - Add version to tests that should be skipped on CentOS/RHEL 7 (vtrefny)
  879. - Skip btrfs tests if btrfs module is not available (vtrefny)
  880. - Do not build KBD plugin with bcache support on RHEL (vtrefny)
  881. - Do not build btrfs plugin on newer RHEL (vtrefny)
  882. - fs: Properly close both ends of the pipe (tbzatek)
  883. - Make sure library_test works after fixing -Wstrict-prototypes (vtrefny)
  884. - Make sure library tests properly clean after themselves (vtrefny)
  885. - pkg-config: add -L${libdir} and -I${includedir} (max.kellermann)
  886. - plugins/kbd: make wait_for_file() static (max.kellermann)
  887. - plugins/lvm{,-dbus}: get_lv_type_from_flags() returns const string (max.kellermann)
  888. - plugins/dm: add explicit cast to work around -Wdiscarded-qualifiers (max.kellermann)
  889. - plugins/crypto: work around -Wdiscarded-qualifiers (max.kellermann)
  890. - plugins/check_deps: make all strings and `UtilDep` instances `const` (max.kellermann)
  891. - exec: make `msg` parameters const (max.kellermann)
  892. - fix -Wstrict-prototypes (max.kellermann)
  893. - module.c: Accept kernel modules if they are built-in (marco.guerri.dev)
  894. - BlockDev.py Convert dictionary keys to set before using them (vtrefny)
  895. - Skip 'test_cache_pool_create_remove' on CentOS 7 (vtrefny)
  896. - Re-order libbd_crypto_la_LIBADD to fix libtool issue (tom)
  897. - acinclude.m4: Use AS_EXIT to fail in LIBBLOCKDEV_FAILURES (vtrefny)
  898. - configure.ac: Fix missing parenthesis in blkid version check (vtrefny)
  899. - Allow specifying extra options for PBKDF when creating LUKS2 (vtrefny)
  900. - Reintroduce python2 support for Fedora 29 (vtrefny)
  901. - Use versioned command for Python 2 (vtrefny)
  902. - Fix few wrong names in doc strings (vtrefny)
  903. - Make sure all our free and copy functions work with NULL (vtrefny)
  904. - Use libblkid in bd_crypto_is_luks (vtrefny)
  905. - vdo: Properly destroy the yaml parser (tbzatek)
  906. - Add a simple test case for bd_crypto_tc_open (vtrefny)
  907. - Add Python override for bd_crypto_tc_open_full (vtrefny)
  908. - Show simple summary after configure (vtrefny)
  909. - Do not build VDO plugin on non-x86_64 architectures (vtrefny)
  910. - Sync spec with downstream (vtrefny)
  911. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-4
  912. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  913. * Mon Jul 09 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.18-3
  914. - Reitroduce python2 support for Fedora 29
  915. * Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.18-2
  916. - Rebuilt for Python 3.7
  917. * Wed Jun 20 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.18-1
  918. - Add VDO to features.rst (vtrefny)
  919. - Remove roadmap.rst (vtrefny)
  920. - vdo: Add tests for bd_vdo_grow_physical() (tbzatek)
  921. - Do not try to build VDO plugin on Fedora (vtrefny)
  922. - Introduce reporting function per thread (kailueke)
  923. - vdo: Implement bd_vdo_grow_physical() (tbzatek)
  924. - Correct arguments for ext4 repair with progress (kailueke)
  925. - Clarify that checking an RW-mounted XFS file system is impossible (v.podzimek)
  926. - vdo: Resolve real device file path (tbzatek)
  927. - Adjust to new NVDIMM namespace modes (vtrefny)
  928. - Use xfs_repair instead of xfs_db in bd_fs_xfs_check() (v.podzimek)
  929. - Allow compiling libblockdev without libdmraid (vtrefny)
  930. - Only require plugins we really need in LVM dbus tests (vtrefny)
  931. - Add tests for VDO plugin (vtrefny)
  932. - Add decimal units definition to utils/sizes.h (vtrefny)
  933. - Add basic VDO plugin functionality (vtrefny)
  934. - Add the VDO plugin (vtrefny)
  935. - Always check for error when (un)mounting (vtrefny)
  936. - Fix off-by-one error when counting TCRYPT keyfiles (segfault)
  937. - Add 'bd_dm_is_tech_avail' to header file (vtrefny)
  938. - Fix release number in NEWS.rst (vtrefny)
  939. - Update specs.rst and features.rst (vtrefny)
  940. * Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.17-2
  941. - Rebuilt for Python 3.7
  942. * Tue Apr 24 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.17-1
  943. - Redirect cryptsetup log to libblockdev log (vtrefny)
  944. - Add a generic logging function for libblockdev (vtrefny)
  945. - Add functions to resize LUKS 2 (vtrefny)
  946. - Add function to get information about LUKS 2 integrity devices (vtrefny)
  947. - Add function to get information about a LUKS device (vtrefny)
  948. - Add a basic test for creating LUKS 2 format (vtrefny)
  949. - Use libblockdev function to create LUKS 2 in tests (vtrefny)
  950. - Add support for creating LUKS 2 format (vtrefny)
  951. - Skip bcache tests on Rawhide (vtrefny)
  952. - Allow building libblockdev without Python 2 support (vtrefny)
  953. - Allow compiling libblockdev crypto plugin without escrow support (vtrefny)
  954. - Require at least libndctl 58.4 (vtrefny)
  955. - New function for luks metadata size (japokorn)
  956. - Add functions to backup and restore LUKS header (vtrefny)
  957. - Add function for killing keyslot on a LUKS device (vtrefny)
  958. - Add functions to suspend and resume a LUKS device (vtrefny)
  959. - Use '=' instead of '==' to compare using 'test' (v.podzimek)
  960. - lvm-dbus: Check returned job object for error (vtrefny)
  961. - Get sector size for non-block NVDIMM namespaces too (vtrefny)
  962. - Fix memory leaks discovered by clang (vtrefny)
  963. - Add new functions to docs/libblockdev-sections.txt (segfault)
  964. - Make a link point to the relevant section (segfault)
  965. - Don't use VeraCrypt PIM if compiled against libcryptsetup < 2.0 (segfault)
  966. - Make keyfiles parameter to bd_crypto_tc_open_full zero terminated (segfault)
  967. - Add function bd_crypto_device_seems_encrypted (segfault)
  968. - Support VeraCrypt PIM (segfault)
  969. - Support TCRYPT system volumes (segfault)
  970. - Support TCRYPT hidden containers (segfault)
  971. - Support TCRYPT keyfiles (segfault)
  972. - Support unlocking VeraCrypt volumes (segfault)
  973. - Enforce ZERO_INIT gcc backwards compatibility (bjornpagen)
  974. - Add function for getting NVDIMM namespace name from devname or path (vtrefny)
  975. - Add --without-xyz to DISTCHECK_CONFIGURE_FLAGS for disabled plugins (vtrefny)
  976. - Add tests for the NVDIMM plugin (vtrefny)
  977. - Add the NVDIMM plugin (vtrefny)
  978. - Fix build with clang (bjornpagen)
  979. - s390: don't hardcode paths, search PATH (flokli)
  980. - Fix build against musl libc (bjornpagen)
  981. - Fix python2-gobject-base dependency on Fedora 26 and older (vtrefny)
  982. - Sync the spec file with downstream (vtrefny)
  983. * Wed Apr 11 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.16-3
  984. - Add the NVDIMM plugin (vtrefny)
  985. - Add tests for the NVDIMM plugin (vtrefny)
  986. - Add --without-xyz to DISTCHECK_CONFIGURE_FLAGS for disabled plugins (vtrefny)
  987. - Add function for getting NVDIMM namespace name from devname or path (vtrefny)
  988. * Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.16-2
  989. - Escape macros in %%changelog
  990. * Thu Feb 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.16-1
  991. - Add tests for progress report (jtulak)
  992. - Add e2fsck progress (jtulak)
  993. - Add progress reporting infrastructure for Ext fsck (jtulak)
  994. - Add a function to test if prog. reporting was initialized (jtulak)
  995. - Add support for LUKS 2 opening and key management (vtrefny)
  996. - Fix few more links for project and documentation website (vtrefny)
  997. - Sync the spec file with downstream (vpodzime)
  998. - Check if 'journalctl' is available before trying to use it in tests (vtrefny)
  999. - Update 'Testing libblockdev' section in documentation (vtrefny)
  1000. - Fix link to online documentation (vtrefny)
  1001. - Fix how the new kernel module functions are added to docs (vpodzime)
  1002. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.15-4
  1003. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  1004. * Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.15-3
  1005. - Update Python 2 dependency declarations to new packaging standards
  1006. (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
  1007. * Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.15-2
  1008. - Switch to %%ldconfig_scriptlets
  1009. * Fri Dec 01 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.15-1
  1010. - Do not use the 'btrfs' plugin in overrides tests (vpodzime)
  1011. - Do not use the btrfs plugin in library tests (vpodzime)
  1012. - Check for btrfs module availability in btrfs module (vtrefny)
  1013. - Move kernel modules (un)loading and checking into utils (vtrefny)
  1014. - Free locale struct in kbd plugin (vtrefny)
  1015. - Add test for setting partition flags on GPT (vtrefny)
  1016. - Use only sgdisk to set flags on GPT (vtrefny)
  1017. - Move the fs.h file to its original place (vpodzime)
  1018. - Add a HACKING.rst file (vpodzime)
  1019. - Mark bcache tests as unstable (vpodzime)
  1020. - Fix memory leaks in bd_fs_vfat_get_info() (vpodzime)
  1021. - Revert the behaviour of bd_fs_check_deps() (vpodzime)
  1022. - Split the bd_fs_is_tech_avail() implementation (vpodzime)
  1023. - Split the FS plugin source into multiple files (vpodzime)
  1024. - Fix bd_s390_dasd_format (vponcova)
  1025. - Mark unstable tests as such (vpodzime)
  1026. - bd_s390_dasd_is_ldl should be true only for LDL DADSs (vponcova)
  1027. - Do not lie about tag creation (vpodzime)
  1028. * Wed Nov 08 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.14-2
  1029. - Rebuild for cryptsetup-2.0.0
  1030. * Tue Oct 31 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.14-1
  1031. - Support the legacy boot GPT flag (intrigeri)
  1032. - Respect the version in the blockdev.pc file (vpodzime)
  1033. - Add pkgconfig definitions for the utils library (vpodzime)
  1034. - fs.c: Fix potential NULL pointer dereference (vtrefny)
  1035. - dm.c: Fix uninitialized values in various dm plugin functions (vtrefny)
  1036. - dm.c: Check return values of dm_task_set_name/run/get_info functions (vtrefny)
  1037. - fs.c: Fix multiple "forward NULL" warnings in 'bd_fs_ntfs_get_info' (vtrefny)
  1038. - lvm-dbus.c: Fix multiple "use after free" coverity warnings (vtrefny)
  1039. - Fix duplicate 'const' in generated functions (vtrefny)
  1040. - Add some test cases for NTFS (kailueke)
  1041. - Add function wrappers for NTFS tools (kailueke)
  1042. - exec.c: Fix error message in 'bd_utils_exec_and_report_progress' (vtrefny)
  1043. - crypto.c: Fix waiting for enough entropy (vtrefny)
  1044. - Ignore some coverity false positive errors (vtrefny)
  1045. - exec.c: Ignore errors from 'g_io_channel_shutdown' (vtrefny)
  1046. - part.c: Check if we've found a place to put new logical partitions (vtrefny)
  1047. - kbd.c: Fix potential string overflow in 'bd_kbd_bcache_create' (vtrefny)
  1048. - exec.c: Fix resource leaks in 'bd_utils_exec_and_report_progress' (vtrefny)
  1049. - fs.c: Fix "forward null" in 'do_mount' and 'bd_fs_xfs_get_info' (vtrefny)
  1050. - part.c: Fix possible NULL pointer dereference (vtrefny)
  1051. - crypto.c: Use right key buffer in 'bd_crypto_luks_add_key' (vtrefny)
  1052. - exec.c: Fix "use after free" in 'bd_utils_check_util_version' (vtrefny)
  1053. - kbd.c: Fix double free in 'bd_kbd_zram_get_stats' (vtrefny)
  1054. - part.c: Check if file discriptor is >= 0 before closing it (vtrefny)
  1055. - mdraid.c: Fix resource leaks (vtrefny)
  1056. - lvm.c: Fix "use after free" in 'bd_lvm_get_thpool_meta_size' (vtrefny)
  1057. - fs.c: Fix for loop condition in 'bd_fs_get_fstype' (vtrefny)
  1058. - fs.c: Check sscanf return value in 'bd_fs_vfat_get_info' (vtrefny)
  1059. - fs.c: Fix resource leaks in 'bd_fs_get_fstype' (vtrefny)
  1060. - blockdev.c.in: Fix unused variables (vtrefny)
  1061. - Use libbytesize to parse bcache block size (vtrefny)
  1062. - Use system values in KbdTestBcacheStatusTest (vtrefny)
  1063. - Fix BSSize memory leaks in btrfs and mdraid plugins (vtrefny)
  1064. - Skip btrfs subvolume tests with btrfs-progs 4.13.2 (vtrefny)
  1065. - Added function to get DM device subsystem (japokorn)
  1066. - Sync spec with downstream (vpodzime)
  1067. * Fri Sep 29 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.13-1
  1068. - Fix the rpmlog and shortlog targets (vpodzime)
  1069. - Add a function for enabling/disabling plugins' init checks (vpodzime)
  1070. - Assign functions to tech-mode categories (vpodzime)
  1071. - Add missing items to particular sections in the documentation (vpodzime)
  1072. - Add a basic test for the runtime dependency checking (vpodzime)
  1073. - Simplify what WITH_BD_BCACHE changes in the KBD plugin (vpodzime)
  1074. - Add functions for querying available technologies (vpodzime)
  1075. - Dynamically check for the required utilities (vpodzime)
  1076. - Use shorter prefix for tempfiles (vtrefny)
  1077. - Try harder when waiting for lio device to show up (vtrefny)
  1078. - Better handle old and new zram sysfs api in tests (vtrefny)
  1079. - Skip btrfs tests on CentOS 7 aarch64 (vtrefny)
  1080. - Add new function for setting swap label (vtrefny)
  1081. - Use only one git tag for new releases (vtrefny)
  1082. - Fix source URL in spec file (vtrefny)
  1083. - Add NEWS.rst file (vtrefny)
  1084. - Do not include s390utils/vtoc.h in s390 plugin (vtrefny)
  1085. - Use "AC_CANONICAL_BUILD" to check architecture instead of "uname" (vtrefny)
  1086. - Bypass error proxy in s390 test (vtrefny)
  1087. - Fix zFCP LUN max length (vtrefny)
  1088. - Do not run g_clear_error after setting it (vtrefny)
  1089. - Allow compiling libblockdev without s390 plugin (vtrefny)
  1090. - Add a function for getting plugin name (vpodzime)
  1091. * Thu Sep 28 2017 Troy Dawson <tdawson@redhat.com> - 2.12-3
  1092. - Cleanup spec file conditionals correctly
  1093. * Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.12-2
  1094. - Cleanup spec file conditionals
  1095. * Wed Aug 30 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.12-1
  1096. - Own directories /etc/libblockdev and /etc/libblockdev/conf.d (vtrefny)
  1097. - Wait for resized partition (kailueke)
  1098. - Make sure the device is opened for libparted (vpodzime)
  1099. - Fix label check in swap_test (vtrefny)
  1100. - Use "run_tests" script for running tests from Makefile (vtrefny)
  1101. - Add a script for running tests (vtrefny)
  1102. - Tests: Move library initialization to setUpClass method (vtrefny)
  1103. - Stop skipping FAT resize tests on rawhide (vtrefny)
  1104. - Close filesystem before closing the partition during FAT resize (vtrefny)
  1105. - Use mountpoint for "xfs_info" calls (vtrefny)
  1106. - Use libmount cache when parsing /proc/mounts (vtrefny)
  1107. - Add some space for the CI status (vpodzime)
  1108. - Confirm the force when creating PVs in FS tests (vpodzime)
  1109. - Skip vgremove tests on 32bit Debian (vtrefny)
  1110. - Fix names of backing files in tests (vtrefny)
  1111. - Fix checking for available locales (vtrefny)
  1112. - Skip dependency checking in mpath tests on Debian (vtrefny)
  1113. - Skip zRAM tests on Debian (vtrefny)
  1114. - Skip the test for device escrow on Debian too (vtrefny)
  1115. - Skip free region tests on Debian too (vtrefny)
  1116. - Fix redirecting command output to /dev/null in tests (vtrefny)
  1117. - Try harder to unmount devices in test cleanup (vtrefny)
  1118. - Require only plugins that are needed for given test (vtrefny)
  1119. - Try to get distribution info from "PrettyName" if "CPEName" isn't available (vtrefny)
  1120. - Use -ff when creating PVs in FS tests (vpodzime)
  1121. - Sync spec with downstream (vpodzime)
  1122. * Mon Jul 31 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.11-1
  1123. - Make the KbdZRAMDevicesTestCase inherit from KbdZRAMTestCase (vpodzime)
  1124. - Allow non-source directory builds (kailueke)
  1125. - Add a way to disable runtime dependency checks (vpodzime)
  1126. - Link to GObject even if no plugin is activated (kailueke)
  1127. - Skip zram tests on Rawhide (vpodzime)
  1128. - Keep most utilities available for tests (vpodzime)
  1129. - Use new libmount function to get (un)mount error message (vtrefny)
  1130. - Update the documentation URL (vpodzime)
  1131. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
  1132. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  1133. * Wed Jul 05 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.10-1
  1134. - Only enable partition size tolerance with alignment (vpodzime)
  1135. - Limit the requested partition size to maximum possible (vpodzime)
  1136. - Do not verify vfat FS' size after generic resize (vpodzime)
  1137. - Specify tolerance for partition size (kailueke)
  1138. - Only use the exact constraint if not using any other (vpodzime)
  1139. - Check resulting FS size in tests for generic FS resize (vpodzime)
  1140. - Query setting FS label support and generic relabeling (kailueke)
  1141. - Do not strictly require all FS utilities (vpodzime)
  1142. - Compile everything with the C99 standard (vpodzime)
  1143. - Add partition resize function (kailueke)
  1144. - Generic Check and Repair Functions (kailueke)
  1145. - Query functions for FS resize and repair support (kailueke)
  1146. - Update the project/source URL in the spec file (vpodzime)
  1147. - Add functions for opening/closing TrueCrypt/VeraCrypt volumes (vpodzime)
  1148. - Adapt to a change in behaviour in new libmount (vpodzime)
  1149. - Try RO mount also if we get EACCES (vpodzime)
  1150. - Size in bytes for xfs_resize_device (kailueke)
  1151. - src/plugins/Makefile.am: Remove hard coded include path in /usr prefix (tristan.vanberkom)
  1152. - Fixed include for libvolume_key.h (tristan.vanberkom)
  1153. - Ignore parted warnings if possible (squimrel)
  1154. - bcache tests: Remove FEELINGLUCKY checks (tasleson)
  1155. - kbd.c: Code review corrections (tasleson)
  1156. - kbd.c: Make bd_kbd_bcache_create work without abort (tasleson)
  1157. * Tue Jun 13 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.9-1
  1158. - Fix hardcoded reference to gcc (timo.gurr)
  1159. - Catch and ignore partial failures in LVM tests' cleanups (vpodzime)
  1160. - Fix hardcoded reference to pkg-config (timo.gurr)
  1161. - Make GObject introspection optional (vpodzime)
  1162. - Do not link libraries required by plugins to the GI files (vpodzime)
  1163. - Make sure the whole build status image is shown (vpodzime)
  1164. - Show CI status in README (at the GH repo's front page) (vpodzime)
  1165. - Always require the libudev pkg (tgurr)
  1166. - Make sure we give kernel time to fully setup zram device(s) (vpodzime)
  1167. - fs_test.py: Close FDs when calling utilities (tasleson)
  1168. - crypto.c: Correct segmentation fault (tasleson)
  1169. * Tue Jun 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.8-1
  1170. - Temporarily skip vfat generic resize test on rawhide (vtrefny)
  1171. - Use "safeprobe" in "bd_fs_wipe" (vtrefny)
  1172. - Add a generic filesystem resize function (vtrefny)
  1173. - Add a function to get mountpoint for a device (vtrefny)
  1174. - Add a function to get filesystem type for a device (vtrefny)
  1175. - Only include the LVM DBus config when shipping LVM DBus (vpodzime)
  1176. - Skip the LVM DBus vgreduce tests on Rawhide (vpodzime)
  1177. - Do not build the lvm-dbus plugin on RHEL/CentOS (vpodzime)
  1178. - Give zRAM more time to settle before trying to remove a device (vpodzime)
  1179. - Put zram tests adding/removing devices into a separate class (vpodzime)
  1180. - Skip LVM cache and RAID tests on Rawhide (vpodzime)
  1181. - Fix the skip_on decorator factory for tests (vpodzime)
  1182. - Use 'blkid -p' instead of lsblk to get device's FS type (vpodzime)
  1183. - Improve the lvm_set_global_config test (vpodzime)
  1184. - Pass '-y' to pvresize (vpodzime)
  1185. - Create a copy of os.environ for a child process (vpodzime)
  1186. - Revert "Use the "C.UTF-8" locale instead of just "C"" (vpodzime)
  1187. - Fix how we create vfat FS in tests (vpodzime)
  1188. - Skip the test if requiring unavailable locales (vpodzime)
  1189. - Use the "C.UTF-8" locale instead of just "C" (vpodzime)
  1190. - Add functions for working with ext2 and ext3 filesystems (vtrefny)
  1191. - Link to gobject when lvm or btrfs is enabled (andreas)
  1192. - Link to libm where needed (andreas)
  1193. - Add a function for cleaning a device (vtrefny)
  1194. - Add few code exaples to documentation (vtrefny)
  1195. - Use a special exception for no fs signature when doing wipe (vpodzime)
  1196. - One more incompatible os.symlink() call (vpodzime)
  1197. - Do not use pass-by-name in the os.symlink() call (vpodzime)
  1198. - Ignore previous errors when falling back to using ioctl() (vpodzime)
  1199. - Use ioctl() call to teardown loop devices (vpodzime)
  1200. - Resolve the device to remove for mdadm (vpodzime)
  1201. - Add a function for getting device symlinks (vpodzime)
  1202. - Use the new resolve_device() function where appropriate (vpodzime)
  1203. - Add the resolve_device() function to the utils library (vpodzime)
  1204. - First try to read the 'autoclear' flag from /sys/ (vpodzime)
  1205. * Wed Apr 26 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.7-1
  1206. - Skip btrfs min size tests on Fedora 25 (vtrefny)
  1207. - Make sure the loop device doesn't disappear during tests (vpodzime)
  1208. - Close the loop device when autoclear is (un)set (vpodzime)
  1209. - Do not enforce Python 3 for running tests in CI (vpodzime)
  1210. - Revert "Use different BTRFS_MIN_MEMBER_SIZE on aarch64" (vtrefny)
  1211. - Use both 'old' and 'new' sysfs files to read zRAM stats (vtrefny)
  1212. - Check if libparted-fs-resize pkgconfig is available (vpodzime)
  1213. - Do not try to get name for inactive partitions (vtrefny)
  1214. - Skip tests for getting free regions on CentOS/RHEL (vpodzime)
  1215. - Free the container holding the specs of free regions (vpodzime)
  1216. - Open loop devices as O_RDONLY when getting flags (vpodzime)
  1217. - Resolve maximum partition size when we know its start (vpodzime)
  1218. - Use --id instead of --part-type when setting partition id (vpodzime)
  1219. - Fix mdadm command for removing failed device from an array (vtrefny)
  1220. - Skip bcache tests on CentOS/RHEL 7 (vpodzime)
  1221. - Use six.assertRaisesRegex in the FS tests (vpodzime)
  1222. - Use mkdtemp() instead of TemporaryDirectory() (vpodzime)
  1223. - Fix installation without specifying --exec-prefix (vpodzime)
  1224. - Add options to force mkfs.ext4/vfat to create a FS on the whole device (vpodzime)
  1225. - Skip the test for device escrow on CentOS/RHEL (vpodzime)
  1226. - Define DEVNULL on our own if not in subprocess (vpodzime)
  1227. - Remove the patches from the spec file (vpodzime)
  1228. - Sync the spec file with downstream (vpodzime)
  1229. - Stop skipping zRAM stats tests (vtrefny)
  1230. - Add more tests for zRAM stats (vtrefny)
  1231. - Fix reading zRAM properties from sysfs (vtrefny)
  1232. * Wed Apr 12 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-3
  1233. - Do not try to parse 'raid_spec' for 'bd_md_activate' (vtrefny)
  1234. Resolves: rhbz#1439111
  1235. * Tue Apr 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-2
  1236. - Make sure the returned thpool MD size is valid (vpodzime)
  1237. * Wed Mar 15 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-1
  1238. - Move the part_err library before part and fs (vtrefny)
  1239. - Fix BuildRequires for crypto and dm packages (vtrefny)
  1240. - Fix mounting read-only devices (vtrefny)
  1241. - Fix the bd_s390_dasd_is_ldl function. (vponcova)
  1242. - Add the bd_s390_dasd_is_fba function to check if DASD is FBA (vponcova)
  1243. - Disable MD RAID tests on 32bit systems (vpodzime)
  1244. - Fix error message when mounting with a wrong fs type (vtrefny)
  1245. - Only create RPMs for requested/configured plugins (vpodzime)
  1246. - Only check dependencies of plugins to be built (vpodzime)
  1247. - Only build and distribute plugins if configured so (vpodzime)
  1248. - Fix format-security and unused-result compiler warnings (vtrefny)
  1249. - Add an AC macro for modular builds (vpodzime)
  1250. - Add functions for mounting and unmounting filesystems (vtrefny)
  1251. * Mon Mar 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.5-1
  1252. - Do not try to get GVariant after not adding anything to its builder (vpodzime)
  1253. - Replace NULL with "" when building ExtraArg (vpodzime)
  1254. - Replace NULL with "" when adding it as a 's' GVariant (vpodzime)
  1255. - Make sure we don't try to add NULL as GVariant to DBus params (vpodzime)
  1256. - Add function for getting recommended thpool metadata size (vpodzime)
  1257. - Make udev settle after we create a LIO device (vpodzime)
  1258. - Always use '--yes' for lvremove (vpodzime)
  1259. * Tue Feb 21 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.4-1
  1260. - Update specs.rst to use present-tense and current API (agrover)
  1261. - Add functions using BLOBs as LUKS passphrases (vpodzime)
  1262. - Make sure the _error_quark() functions are in the library (vtrefny)
  1263. - Return a special error when trying to wipe empty device (vtrefny)
  1264. - Adapt tests to use LIO devices instead of loop devices (vpodzime)
  1265. - Add functions for creating and deleting LIO devices (vpodzime)
  1266. - MDRAID: Allow path as input for functions that work with sysfs (vtrefny)
  1267. * Wed Feb 15 2017 Vratislav Podzimek <vtrefny@redhat.com> - 2.3-3
  1268. - Rebuild with changelog fixed up
  1269. * Tue Feb 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.3-1
  1270. - Allow specifying raid 'name' in multiple way when calling md functions (vtrefny)
  1271. - Allow using both path and raid name in bd_md_set_bitmap_location (vtrefny)
  1272. - Fix potential memory issues in s390 sanitizate functions (vpodzime)
  1273. - Try multiple times when probing device for wiping (vpodzime)
  1274. - Check for libvolume_key.h and dmraid.h in configure.ac (vpodzime)
  1275. - Define our own macro for testing required header files (vpodzime)
  1276. - Include blockdev/utils.h in mdraid.h (vtrefny)
  1277. - Fix misspelling (agrover)
  1278. - Skip the bcache tests even on x86_64 (vpodzime)
  1279. - Take a break between bcache creation tests (vpodzime)
  1280. - Make sure ./configure fails if there are some soft failures (vpodzime)
  1281. - Improve the error message on missing GI support (vpodzime)
  1282. - Only require bcache-tools if supporting bcache (vpodzime)
  1283. - Skip bcache tests on non-x86_64 architectures (vpodzime)
  1284. - Try harder to register a new bcache device (vpodzime)
  1285. - Reimplement swapon/swapoff functions by using syscalls (vpodzime)
  1286. - Make sure bcache functions are correctly provided or not (vpodzime)
  1287. - Changelog fixup (vpodzime)
  1288. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
  1289. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  1290. * Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.2-2
  1291. - Rebuild with changelog fixed up
  1292. * Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.2-1
  1293. - Use the .in file as source when bumping version (vpodzime)
  1294. - Run pylint based on the python version and make it optional (vpodzime)
  1295. - Disable python3 and bcache on RHEL (vpodzime)
  1296. - Make bcache support optional (vpodzime)
  1297. - Teach boileplate_generator.py to skip things based on patterns (vpodzime)
  1298. - Require lower versions of some utilities (vpodzime)
  1299. - Do not require python3 for the boilerplate generation script (vpodzime)
  1300. - Use a proper initialization value for 'GPollFD fds[2]' (vpodzime)
  1301. - Deal with older parted and libblkid (vpodzime)
  1302. - Make python3 and gtk-doc optional (vpodzime)
  1303. - Bump the version of the utils library (vpodzime)
  1304. - Fix docstring for 'bd_md_node_from_name' (vtrefny)
  1305. - Add tests for added mdraid methods (vtrefny)
  1306. - Skip 'MDTestNominateDenominateActive' unless feeling lucky (vtrefny)
  1307. - MDRaid tests: change 'wait_for_resync' to wait for given action (vtrefny)
  1308. - Add functionality need by storaged to mdraid plugin (vtrefny)
  1309. - Move 'echo_str_to_file' method to utils (vtrefny)
  1310. - Add a function to setup a loop device from a file descriptor (vpodzime)
  1311. - Add functions to get/set the autoclear flag on a loop device (vpodzime)
  1312. - Fix checking /proc/mdstat for resync action (vtrefny)
  1313. - Adapt the test config files to version 2.x (vpodzime)
  1314. * Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
  1315. - Rebuild for Python 3.6
  1316. * Tue Nov 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 2.1-2
  1317. - Rebuild for a chain-build with storaged (vpodzime)
  1318. * Thu Nov 10 2016 Vratislav Podzimek <vpodzime@redhat.com> - 2.1-1
  1319. - Do not require an exclusive lock on the device to commit part stuff (vpodzime)
  1320. - Prevent failure if there are no btrfs subvolumes (vpodzime)
  1321. - Fix the test for getting version of a failing utility (vpodzime)
  1322. - Also run the utils tests (vpodzime)
  1323. - Bump the version of the pkgconfig module (vpodzime)
  1324. - Include utils.h in plugins that need it (vpodzime)
  1325. - Fix dependency check in fs plugin (vtrefny)
  1326. - Add support for setting part id (part type) on msdos part tables (vtrefny)
  1327. - Trim the extra info for MD RAID's name (vpodzime)
  1328. - Add xfsprogs and dosfstools as dependencies of the fs plugin (vpodzime)
  1329. - Fix md_name_from_node to work with the "/dev/" prefix (vpodzime)
  1330. - New major upstream release
  1331. * Wed Nov 9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-8
  1332. - Revert "Prevent issues between libparted and udev" (vpodzime)
  1333. - Revert "Open the device file as RDWR when committing parts" (vpodzime)
  1334. * Thu Oct 27 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-7
  1335. - Open the device file as RDWR when committing parts (vpodzime)
  1336. - Handle mdadm --examine output during migration (adamw)
  1337. Resolves: rhbz#1381996
  1338. * Mon Oct 24 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-6
  1339. - Prevent issues between libparted and udev (vpodzime)
  1340. * Mon Oct 10 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-5
  1341. - Make sure all object paths are passed and extracted as such (vpodzime)
  1342. Resolves: rhbz#1374973
  1343. * Tue Oct 4 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-4
  1344. - Do not report volume name for FW RAID container device (vpodzime)
  1345. Related: rhbz#1379865
  1346. - Search for just "UUID" in mdadm --examine output (vpodzime)
  1347. Related: rhbz#1379865
  1348. - Use 'mdadm --examine --export' to get MD RAID level (vpodzime)
  1349. Related: rhbz#1379865
  1350. * Mon Oct 3 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-3
  1351. - Try to search for "RAID Level" in mdadm's output (vpodzime)
  1352. Resolves: rhbz#1379865
  1353. - Fix the number passed to LVM DBus as a job-creation timeout (vpodzime)
  1354. Resolves: rhbz#1378970
  1355. * Mon Aug 29 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-2
  1356. - Explicitly cast number constants for GVariants (vpodzime)
  1357. * Wed Jul 27 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-1
  1358. - Add functions for creating thin/cache pools from existing LVs (vpodzime)
  1359. - Add the new mpath_get_members() function to the docs (vpodzime)
  1360. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
  1361. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  1362. * Wed Jun 29 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.8-1
  1363. - Add a function to get all mpath member devices (vpodzime)
  1364. - Fix backport issues in the zfcp-related functionality (#1348442) (vpodzime)
  1365. - Revert "Fix a few const params in the s390 plugin." (vpodzime)
  1366. - Fix creation of the version-only tags (vpodzime)
  1367. * Wed Jun 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.7-1
  1368. - Include the LV roles in the LVdata (vpodzime)
  1369. - Add a few missing items to the documentation (vpodzime)
  1370. - Document fields of the structures (vpodzime)
  1371. - Report (meta)data LV name properly for cache pools in lvm-dbus (vpodzime)
  1372. - Add information about related LVs to LVMLVdata (vpodzime)
  1373. - Remove unused code for getting supported functions (vpodzime)
  1374. - Add zFCP functionality to s390 plugin (sbueno+anaconda)
  1375. - Fix a few const params in the s390 plugin. (sbueno+anaconda)
  1376. * Wed Jun 01 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.6-1
  1377. - Ignore merge commits when creating changelog (vpodzime)
  1378. - Only take the number of the first %%changelog line found (vpodzime)
  1379. - Add some more detailed description to the part plugin (vpodzime)
  1380. - Fix a few extra issues with the const types (vpodzime)
  1381. - Add function for getting best free region (vpodzime)
  1382. - Add function for getting free regions (vpodzime)
  1383. - Fix the error message when setting part flag fails (vpodzime)
  1384. - Add function for setting disk flags (vpodzime)
  1385. - Add function for getting information about disk(s) (vpodzime)
  1386. - Do not set nonsense partition paths (vpodzime)
  1387. - Add function for getting partition by position (vpodzime)
  1388. - Indicate if there was error from parted or not in set_parted_error() (vpodzime)
  1389. - Minor fixes for the bd_part_get_part_spec() function (vpodzime)
  1390. - Add support for extra GPT flags (vpodzime)
  1391. - Add functionality for partition types (GUIDs) (vpodzime)
  1392. - Add functionality for partition names (vpodzime)
  1393. - Do not destroy disk objects we didn't get (vpodzime)
  1394. - Add a function for setting multiple partition flags at once (vpodzime)
  1395. - Remove the unused definition USE_PYTHON3 from configure.ac (vpodzime)
  1396. - Use different BTRFS_MIN_MEMBER_SIZE on aarch64 (vpodzime)
  1397. - Better release memory from parted objects on failures (vpodzime)
  1398. - Rework how we do optimal alignment (vpodzime)
  1399. - Do not try to destroy object we didn't get (vpodzime)
  1400. - Don't pass sizes in bytes to LVM (#1317373) (vpodzime)
  1401. - Add the libbytesize-devel build requires (vpodzime)
  1402. - Search for the LVM DBus service in both active and activatable names (vpodzime)
  1403. - Adapt to another stupid change in btrfs-progs (vpodzime)
  1404. - Add the XFS-related functions to the documentation (vpodzime)
  1405. - Add tests for the XFS-related functions (vpodzime)
  1406. - Add support for the XFS file system to the FS plugin (vpodzime)
  1407. - Add chunk_size to BDMDExamineData (vtrefny)
  1408. - Add the subpackage for the FS plugin (vpodzime)
  1409. - Add the FS plugin to the docs (vpodzime)
  1410. - Add tests for the ext4 functionality in the fs plugin (vpodzime)
  1411. - Add the FS plugin and the ext4 support (vpodzime)
  1412. - Add a function for running utility reporting error and exit code (vpodzime)
  1413. - Add the subpackage for the part plugin (vpodzime)
  1414. - Add a missing BuildRequires for parted-devel (vpodzime)
  1415. - Tag as both libblockdev-$version and just $version (vpodzime)
  1416. - Add the 'part' plugin to documentation (vpodzime)
  1417. - Add tests for the newly added part plugin (vpodzime)
  1418. - Add the part plugin with storaged-required functionality (vpodzime)
  1419. * Mon Mar 21 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.5-1
  1420. - Merge pull request #72 from vpodzime/master-faster_tests (vpodzime)
  1421. - Ignore all .bak files (vpodzime)
  1422. - Use python3-pylint and skip Python 2 tests (vpodzime)
  1423. - Try a bit harder when deactivating MD arrays in tests (vpodzime)
  1424. - Recompile only the LVM plugin in tests (vpodzime)
  1425. - Merge pull request #65 from vpodzime/master-loc_indep_error (vpodzime)
  1426. - Merge pull request #70 from vojtechtrefny/master-chunk_size (vpodzime)
  1427. - Add bd_md_create_with_chunk_size() function (vtrefny)
  1428. - Merge pull request #68 from vpodzime/master-no_intro_data (vpodzime)
  1429. - Merge pull request #71 from vpodzime/master-ipython3 (vpodzime)
  1430. - Run coverage with the right config directories (vpodzime)
  1431. - Merge pull request #67 from phatina/master (vpodzime)
  1432. - Merge pull request #69 from vpodzime/master-lvm_dbus_autostart (vpodzime)
  1433. - Use ipython3 for debugging and testing sessions (vpodzime)
  1434. - Don't expect to always get introspection data from DBus (vpodzime)
  1435. - Make invocation of tests configurable (phatina)
  1436. - Make error messages locale agnostic (vpodzime)
  1437. * Tue Mar 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-5
  1438. - Search for the LVM DBus service in activatable names (vpodzime)
  1439. - Better check for the LVM DBus API (vpodzime)
  1440. * Wed Mar 9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-4
  1441. - Do not try to get object path of NULL in vgreduce (vpodzime)
  1442. * Tue Mar 1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-3
  1443. - Depend on python3-gobject-base not python3-gobject so as to not pull in X components
  1444. * Thu Feb 25 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-2
  1445. - Add/fix the requirement for the LVM DBus daemon
  1446. * Thu Feb 25 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-1
  1447. - Merge pull request #62 from vpodzime/master-clean_up (vpodzime)
  1448. - Use addCleanup() instead of tearDown() in tests (vpodzime)
  1449. - Merge pull request #58 from vpodzime/master-lvm_dbus_pr (vpodzime)
  1450. - Add the VG renaming functionality (vpodzime)
  1451. - Packaging of the lvm-dbus plugin (vpodzime)
  1452. - The LVM DBus plugin (vpodzime)
  1453. - Add more generic functions for logging (vpodzime)
  1454. - Use MAX(a, b) instead of CLAMP(b, a, b) (vpodzime)
  1455. - Merge pull request #59 from vpodzime/master-vgrename (vpodzime)
  1456. - Add a function for renaming VGs (vpodzime)
  1457. - Merge pull request #57 from clumens/master (vpodzime)
  1458. - Fix error reporting when running "make test". (clumens)
  1459. - Merge pull request #54 from vojtechtrefny/master-pvsize (vpodzime)
  1460. - Do not try to create a PV with 4KiB metadata space (vpodzime)
  1461. - Add pv_info to BDLVMPVdata (vtrefny)
  1462. - btrfs now requires at least 128MiB device(s) (vpodzime)
  1463. - Merge pull request #52 from vpodzime/master (vpodzime)
  1464. - Round size in thpoolcreate() to KiB (vpodzime)
  1465. - Sync the %%changelog in spec with downstream (vpodzime)
  1466. * Wed Nov 25 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-4
  1467. - Create the cache pool before the to-be-cached LV (vpodzime)
  1468. * Thu Nov 05 2015 Robert Kuska <rkuska@redhat.com> - 1.3-3
  1469. - Rebuilt for Python3.5 rebuild
  1470. * Wed Nov 04 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-2
  1471. - Fix the annotation of bd_try_init in blockdev.c (vpodzime)
  1472. * Mon Oct 26 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-1
  1473. - Add missing python GI requires (vpodzime)
  1474. - Merge pull request #49 from dashea/libblockdev-python (vpodzime)
  1475. - Merge pull request #50 from vpodzime/master-fix_striped_lv (vpodzime)
  1476. - Merge pull request #46 from vpodzime/master-bcache_destroy (vpodzime)
  1477. - Merge pull request #39 from vpodzime/master-lvm_physical_space (vpodzime)
  1478. - Add a missing ldconfig that rpmlint found. (dshea)
  1479. - Move python files to separate packages (#1256758) (dshea)
  1480. - Fix lvcreate calls for striped LVs (vpodzime)
  1481. - Merge pull request #48 from vojtechtrefny/master_pvfree (vpodzime)
  1482. - Add pv_free to BDLVMPVdata (vtrefny)
  1483. - Merge pull request #47 from atodorov/add_coverage_report (vpodzime)
  1484. - Produce coverage report in CI (atodorov)
  1485. - Check bcache device's state before trying to detach the cache in destroy() (vpodzime)
  1486. - Fix URLs in the spec (vpodzime)
  1487. - Fix the int-float less-than comparison (vpodzime)
  1488. - Fix the calculation of physical space taken by an LV (vpodzime)
  1489. * Wed Sep 23 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.2-1
  1490. - Merge pull request #40 from vpodzime/master-config_support (vpodzime)
  1491. - Add tests for configuration support (vpodzime)
  1492. - Add a function for getting the loaded soname for a plugin (vpodzime)
  1493. - Add the default configuration (vpodzime)
  1494. - Load and respect configuration files when loading plugins (vpodzime)
  1495. - Add functions for finding and processing configuration files (vpodzime)
  1496. - Merge pull request #38 from vpodzime/master-md_superblock_size (vpodzime)
  1497. - Better document how MD RAID superblock size should be calculated (vpodzime)
  1498. - Merge pull request #36 from phatina/master (vpodzime)
  1499. - BTRFS: allow an arbitrary label to be set for a btrfs volume (phatina)
  1500. - Merge pull request #32 from phatina/master (vpodzime)
  1501. - BTRFS: fix parsing empty partition label (phatina)
  1502. - Merge pull request #35 from vpodzime/master (vpodzime)
  1503. - Define env variables for sudo via the env utility (vpodzime)
  1504. - Merge pull request #34 from dashea/python3-tests (vpodzime)
  1505. - Use unittest.addCleanup to simplify crypto_test. (dshea)
  1506. - Run tests with both python2 and python3 in the ci target. (dshea)
  1507. - Fix python3 issues in the unittests. (dshea)
  1508. - Do not run all tests in the 'ci' target (vpodzime)
  1509. - Merge pull request #33 from clumens/master (vpodzime)
  1510. - Add a new makefile target that does everything needed for jenkins. (clumens)
  1511. - Synchronize the .spec file with downstream (vpodzime)
  1512. * Fri Jul 24 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-2
  1513. - Explicitly specify the type of the cert_data parameter (#1246096) (vpodzime)
  1514. * Fri Jun 19 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-1
  1515. - Clean generated boilerplate code on 'make clean' (vpodzime)
  1516. - Merge pull request #31 from atodorov/use_lang_c (vpodzime)
  1517. - tests: use LANG=C in test_backup_passphrase() (atodorov)
  1518. - Merge pull request #30 from atodorov/makefile_updates (vpodzime)
  1519. - Makefile.am: - add separate check target - add coverage targets - make it possible to test with Python3 (atodorov)
  1520. - Merge pull request #29 from atodorov/fix_issue_28 (vpodzime)
  1521. - Merge pull request #27 from atodorov/fix_docs_url (vpodzime)
  1522. - Merge pull request #26 from atodorov/test_docs (vpodzime)
  1523. - Change the modified sources back in tearDown() method as well. Closes #28. (atodorov)
  1524. - update URL to on-line documentation (atodorov)
  1525. - add test documentation (atodorov)
  1526. - Merge pull request #22 from dashea/escrow-tests (vpodzime)
  1527. - Merge pull request #25 from dashea/python-dep (vpodzime)
  1528. - Filter the python files from automatic rpm requires (dshea)
  1529. - Added tests for escrow packets and backup passphrases (dshea)
  1530. - Free leaked contexts from crypto_init (dshea)
  1531. - Cooperate with volume_key's memory management (dshea)
  1532. - Fix inheritance in the LVM tests to prevent multiple runs of some tests (vpodzime)
  1533. - Make the regexp for testing crypto_generate_backup_passphrase() stricter (vpodzime)
  1534. - Leave room in the backup passphrase for a trailing 0 (dshea)
  1535. - Add functions to get names of data/metadata internal LVs (vpodzime)
  1536. - Allow getting info for an internal LV (vpodzime)
  1537. - Gather information about all LVs (vpodzime)
  1538. - Round requested size to KBs in lvresize() (#1221247) (vpodzime)
  1539. - Add overrides for the ensure_init() function (vpodzime)
  1540. - Change the default value of the 'reload' parameter of try_reinit() (vpodzime)
  1541. - Merge pull request #21 from vpodzime/master-thpool_size_discard (vpodzime)
  1542. - Add overrides for the lvm_is_valid_thpool_chunk_size() function (vpodzime)
  1543. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
  1544. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  1545. * Thu May 21 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.0-1
  1546. - Adapt the release helper targets to autotools (vpodzime)
  1547. - Fixes of paths in Makefile.am's inspired by build failures on s390 (vpodzime)
  1548. - Add an s390-specific BuildRequires (vpodzime)
  1549. - Distribute also the boilerplate_generator.py script (vpodzime)
  1550. - Fix path to the generated blockdev.pc file (vpodzime)
  1551. - Adapt tests that compile stuff to autotools (vpodzime)
  1552. - Merge pull request #18 from vpodzime/master-autotools (vpodzime)
  1553. - Merge pull request #20 from dashea/gtkdoc-sections (vpodzime)
  1554. - Use the autotools building system instead of scons (vpodzime)
  1555. - Add the two new functions to the 'blockdev' docs section (vpodzime)
  1556. - Fix the line defining the docs file for the s390 section (vpodzime)
  1557. - Add a missing #include to the kbd.api file (vpodzime)
  1558. - Prevent s390-specific stuff from being used on other architectures (vpodzime)
  1559. - Update the documentation of the is_initialized() function (vpodzime)
  1560. - Merge pull request #19 from vpodzime/master-ensure_init (vpodzime)
  1561. - Remove private macros from the gtkdoc sections file. (dshea)
  1562. - Terminate ifdef statements for arch check. (sbueno+anaconda)
  1563. - Return early from the init functions if setting up logging fails (vpodzime)
  1564. - Add tests for the new and modified init functions (vpodzime)
  1565. - Add new try_init() and try_reinit() functions (vpodzime)
  1566. - Fix for adding number of loaded plugins (vpodzime)
  1567. - Fix for ensure_init() (vpodzime)
  1568. - Rename the try_init() function to ensure_init() and improve it (vpodzime)
  1569. - Check number of loaded plugins and library initialization state (vpodzime)
  1570. - Make 'reload' default to True instead of False in overrides (vpodzime)
  1571. - Add the s390 plugin test file. (sbueno+anaconda)
  1572. - Add the s390 plugin functions. (sbueno+anaconda)
  1573. - Add the s390 plugin. (sbueno+anaconda)
  1574. - Fix a typo in the spec file. (sbueno+anaconda)
  1575. - Require the kmod-devel package for the build process (vpodzime)
  1576. - Merge pull request #16 from dashea/escrow-encoding (vpodzime)
  1577. - Merge pull request #13 from vpodzime/master-lvm_cache (vpodzime)
  1578. - Merge pull request #12 from vpodzime/master-kbd_plugin (vpodzime)
  1579. - Merge pull request #14 from vpodzime/master-better_is_multipath (vpodzime)
  1580. - Use g_strdup() instead of g_strdup_printf() to just dup a string (vpodzime)
  1581. - Fix the spelling of "escrow" (dshea)
  1582. - Make the crypto plugin string parameters const (dshea)
  1583. - Set encoding to NULL before writing the escrow packet. (dshea)
  1584. - Get cache stats directly from the device mapper (vpodzime)
  1585. - Reimplement the is_mpath_member() function using device mapper (vpodzime)
  1586. - Add the LVM cache related symbols to the LVM section in the documentation (vpodzime)
  1587. - Update the list of LVM cache related functions in features.rst (vpodzime)
  1588. - Add tests for functions related to the LVM cache technology (vpodzime)
  1589. - Implement the lvm_cache_stats() function (vpodzime)
  1590. - Implement the lvm_cache_pool_name function (vpodzime)
  1591. - Implement the lvm_cache_create_cached_lv() function (vpodzime)
  1592. - Implement lvm_cache_attach/detach() functions (vpodzime)
  1593. - Implement the lvm_cache_create_pool() function plus two support functions (vpodzime)
  1594. - Implement the lvm_cache_get_default_md_size() function (vpodzime)
  1595. - Add the 'type' parameter to the lvm_lvcreate function (vpodzime)
  1596. - Teach boilerplate_generator to work with enum return types (vpodzime)
  1597. - Teach boilerplate_generator to work with 'const' return types (vpodzime)
  1598. - Add subpackages for the KBD plugin and its devel files (vpodzime)
  1599. - Add provided symbols to the documentation section of the KBD plugin (vpodzime)
  1600. - Implement the bcache_get_backing/cache_device functions (vpodzime)
  1601. - Exclude bcache tests from the normal 'test' target (vpodzime)
  1602. - Add some more and prolong some of the waits in KBD tests (vpodzime)
  1603. - Zero all newly allocated structures (vpodzime)
  1604. - Implement the bcache_status function and all it wants (vpodzime)
  1605. - Fix for the zram stats (vpodzime)
  1606. - Add bcache_get_mode and bcache_set_mode functions (vpodzime)
  1607. - Teach boilerplate_generator to work with enum return types (vpodzime)
  1608. - Teach boilerplate_generator to work with 'const' return types (vpodzime)
  1609. - Add the zram_get_stats function (vpodzime)
  1610. - Add the check() function for the KBD plugin (vpodzime)
  1611. - Add ErrorProxy instance for the KBD plugin (vpodzime)
  1612. - Add tests for bcache_create/attach/detach/destroy functions (vpodzime)
  1613. - Add the 'rebuild' Makefile target (vpodzime)
  1614. - Add bcache_create, bcache_attach, bcache_detach and bcache_destroy functions (vpodzime)
  1615. - Implement a helper function to echo string into a file (vpodzime)
  1616. - Add tests for zram_create_devices and zram_destroy_devices functions (vpodzime)
  1617. - Add the zram_destroy_devices function to the KBD plugin (vpodzime)
  1618. - Add first function to the KBD plugin: zram_create_devices (vpodzime)
  1619. - Add the KernelBlockDevices plugin (vpodzime)
  1620. * Wed May 13 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.13-1
  1621. - Prevent a leaky test from running in Jenkins (vpodzime)
  1622. - Try harder when cleaning up after MD RAID tests (vpodzime)
  1623. - Improve the MD RAID activate/deactivate test (vpodzime)
  1624. - One more @contextmanager that needs try-finally (vpodzime)
  1625. - Do not require metadata version to be reported by 'mdadm --examine' (#1217900) (vpodzime)
  1626. - Make sure we always set things back in context managers (vpodzime)
  1627. - Make the release date for version 1.0 more realistic (vpodzime)
  1628. - Merge pull request #11 from vpodzime/master (vpodzime)
  1629. - Run utilities with LC_ALL=C (vpodzime) (#1219033)
  1630. - Free GMatchInfo instance even in case of no match (vpodzime)
  1631. - Resolve /dev/md/ symlinks when checking swap status. (dlehman)
  1632. * Fri Apr 24 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.12-1
  1633. - Require minimum version of libblockdev-utils in some plugins (vpodzime)
  1634. - Report both stdout and stderr if exit code != 0 (vpodzime)
  1635. * Fri Apr 17 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.11-1
  1636. - Fix issues with using overriden functions over ErrorProxy (vpodzime)
  1637. - Update the roadmap.rst and features.rst with new stuff (vpodzime)
  1638. - Fix two minor issues with docs generation (vpodzime)
  1639. * Thu Apr 16 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.10-1
  1640. - Fix return type of the unload_plugins() function (vpodzime)
  1641. - Close the DL handle when check() or init() fail (vpodzime)
  1642. - Add one more check to the reload test (vpodzime)
  1643. - Drop reference to check() and init() functions (vpodzime)
  1644. - Add more cats to tests (vpodzime)
  1645. - Make regexp for getting btrfs version more generic (vpodzime)
  1646. - Merge pull request #8 from vpodzime/master-check_functions (vpodzime)
  1647. - Fix parameters passed to unoverridden swapon function (vpodzime)
  1648. - Implement and test swap plugin's check function (vpodzime)
  1649. - Implement and test MD RAID plugin's check function (vpodzime)
  1650. - Implement and test mpath plugin's check function (vpodzime)
  1651. - Try harder to get util's version (vpodzime)
  1652. - Implement and test loop plugin's check function (vpodzime)
  1653. - Implement and test DM plugin's check function (vpodzime)
  1654. - Implement and test BTRFS plugin's check function (vpodzime)
  1655. - Implement and test LVM plugin's check function (vpodzime)
  1656. - Init logging before loading plugins (vpodzime)
  1657. - Add function for utility availability checking (vpodzime)
  1658. - Fix default value for the fake_utils' path argument (vpodzime)
  1659. - Add ErrorProxy instance for the utils functions (vpodzime)
  1660. - Add function for version comparison (vpodzime)
  1661. - Merge pull request #9 from clumens/master (vpodzime)
  1662. - Disable pylint checking on the new exception proxy. (clumens)
  1663. - Fix XRules application and add a test for it (vpodzime)
  1664. - Raise NotImplementedError when an unavailable function is called (vpodzime)
  1665. - Merge pull request #4 from vpodzime/master-error_proxy (vpodzime)
  1666. - Merge branch 'master' into master-error_proxy (vpodzime)
  1667. - Merge pull request #5 from vpodzime/master-not_implemented_error (vpodzime)
  1668. - Add a simple test for unloaded/unavailable functions (vpodzime)
  1669. - Unload the plugins properly when reinit() is called (vpodzime)
  1670. - Raise error/exception when an unimplemented function is called (#1201475) (vpodzime)
  1671. - Do an ugly but necessary hack to make local GI overrides work (vpodzime)
  1672. - Add the __dir__ method to ErrorProxy (vpodzime)
  1673. - Add a rationale for the ErrorProxy to the overrides' docstring (vpodzime)
  1674. - Add some basic info about GI overrides to the documentation (vpodzime)
  1675. - Use pylint to check for errors in python overrides (vpodzime)
  1676. - Add the first small test for the ErrorProxy (vpodzime)
  1677. - Put the GI overrides in a special dir so that they are preferred (vpodzime)
  1678. - Add a cache for attributes already resolved by ErrorProxy (vpodzime)
  1679. - Implement the ErrorProxy python class and use it (vpodzime)
  1680. * Tue Apr 07 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.9-1
  1681. - Merge pull request #7 from vpodzime/master-fw_raid_fixes (vpodzime)
  1682. - Try a bit harder when trying to determine MD RAID name (#1207317) (vpodzime)
  1683. - Don't be naïve about mdadm --detail telling us what we want (#1207317) (vpodzime)
  1684. - Ignore libblockdev tarballs (vpodzime)
  1685. - Implement a test of btrfs_list_subvolumes on data from bug report (vpodzime)
  1686. - Implement a context manager for running tests with fake utils (vpodzime)
  1687. - Do not try to cannonicalize MD UUIDs if we didn't get them (#1207317) (vpodzime)
  1688. - Fix the table in roadmap.rst (vpodzime)
  1689. - Enrich the roadmap.rst file and add info about new plans (vpodzime)
  1690. - Sync spec file with downstream (vpodzime)
  1691. * Fri Mar 27 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.8-1
  1692. - Merge pull request #6 from vpodzime/master-sort_btrfs_subvolumes (vpodzime)
  1693. - Don't be naïve about mdadm providing us data we would like (#1206394) (vpodzime)
  1694. - Sort BTRFS subvolumes in a way that child never appears before parent (#1201120) (vpodzime)
  1695. - Let libcryptsetup handle LUKSname->/dev/mapper/LUKSname for us (vpodzime)
  1696. - Fix the crypto_luks_resize and create a test for it (vpodzime)
  1697. - Add targets to create the SRPM and RPM files easily (vpodzime)
  1698. - Don't round up to multiple of PE size bigger than max value of the rtype (vpodzime)
  1699. - Mark majority of MD RAID tests as slow (vpodzime)
  1700. - Merge pull request #1 from dashea/file-paths (vpodzime)
  1701. - Don't report error for no loop device associated with given file (vpodzime)
  1702. - Skip the detail_data.clean check when running tests in Jenkins (vpodzime)
  1703. - Make package file paths more specific (dshea)
  1704. - Implement and use MD RAID-specific wait for tests (vpodzime)
  1705. - Try to give MD RAID time to sync things before querying them (vpodzime)
  1706. - Fix the default value of the BDMDDetailData.clean field (vpodzime)
  1707. - Do cleanup after every single MD RAID tests (vpodzime)
  1708. - Do cleanup after every single LVM test (vpodzime)
  1709. - Do cleanup after every single BTRFS test (vpodzime)
  1710. - Make sure the LUKS device is closed and removed after tests (vpodzime)
  1711. - Make sure DM maps from tests are removed after tests (vpodzime)
  1712. - Make sure that loop devices are deactivated after tests (vpodzime)
  1713. - Make the tearDown method of the mpath test case better visible (vpodzime)
  1714. - Make sure that the swap is deactivated after tests (vpodzime)
  1715. - Fix docstrings in tests' utils helper functions (vpodzime)
  1716. - Improve the logging tests in utils_test.py (vpodzime)
  1717. - Update the features.rst file (vpodzime)
  1718. - Update the roadmap (vpodzime)
  1719. - Don't check if we get a mountpoint for BTRFS operations (vpodzime)
  1720. * Sun Mar 22 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.7-2
  1721. - Ship license as per packaging guidelines
  1722. - plugins-all should depend on base library too
  1723. - Add dev docs
  1724. * Fri Feb 27 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
  1725. - Be ready for mdadm --examine to not provide some of the values we want (vpodzime)
  1726. - Add exit code information to exec logging (vpodzime)
  1727. - Improve and add tests (vpodzime)
  1728. - Mark the test_force_plugin and test_reload as slow (vpodzime)
  1729. - Make sure we get some devices when creating btrfs volume (vpodzime)
  1730. - Add override for the lvremove function (vpodzime)
  1731. - Do not create LUKS format with no passphrase and no key file (vpodzime)
  1732. - Make sure we use the /dev/mapper/... path for luks_status (vpodzime)
  1733. * Thu Feb 19 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-1
  1734. - Don't report error when non-existing swap's status is queried (vpodzime)
  1735. - Make libblockdev-plugins-all pull the same version of plugins (vpodzime)
  1736. - Don't report error when asked for a backing file of an uknown loop (vpodzime)
  1737. - Fix accidental change in the spec's changelog (vpodzime)
  1738. * Mon Feb 16 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.5-1
  1739. - Add tests for what we can easily test from the mpath plugin (vpodzime)
  1740. - Add link to sources to the documentation (vpodzime)
  1741. - Add missing symbols into the libblockdev-sections.txt file (vpodzime)
  1742. - Do not build docs for testing (vpodzime)
  1743. - Add the bd_try_init function (vpodzime)
  1744. - Log stdout and stderr output when running processes (vpodzime)
  1745. - Allow a subset of plugins to be load instead of all (vpodzime)
  1746. - Make sure devmapper doesn't spam stdout with tons of messages (vpodzime)
  1747. - Let debug messages go to stderr when running ipython (vpodzime)
  1748. - Give plugins a way to initialize themselves (vpodzime)
  1749. - Give plugins a way how to check if they could run properly (vpodzime)
  1750. - Allow a subset of plugins to be load instead of all [TEST NEEDED] (vpodzime)
  1751. - Make sure we use the whole /dev/mapper path for cryptsetup (vpodzime)
  1752. - Fix vg_pv_count parsing when getting info about PV (vpodzime)
  1753. - Set default values to data structures if real values are not available (vpodzime)
  1754. - Fix the parameter name specifying pool metadata size (vpodzime)
  1755. - Activate LUKS as ReadWrite in luks_open (vpodzime)
  1756. - Make sure we pass key_size to cryptsetup in bytes (vpodzime)
  1757. - Add the min_entropy parameter to luks_format Python overrides (vpodzime)
  1758. - Pass size in KiB instead of B to lvcreate (vpodzime)
  1759. - Add underscore into dataalignment and metadatasize parameter names (vpodzime)
  1760. - Don't report error if non-mpath device is tested for being mpath member (vpodzime)
  1761. - Fix name of the invoked utility in mpath_set_friendly_names (vpodzime)
  1762. * Sat Jan 31 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-1
  1763. - Improve the test for lvm_set_global_config (vpodzime)
  1764. - Fix some minor issues in the spec file (vpodzime)
  1765. - Fix issues with the LVM global config str (vpodzime)
  1766. - Add couple more Python overrides (vpodzime)
  1767. - Fix the name of the lvm_thlvpoolname() function in the header file (vpodzime)
  1768. - Use assertEqual instead of assertTrue(a == b) (vpodzime)
  1769. - Add the min_entropy parameter to luks_format (vpodzime)
  1770. - Move internal dmraid-related macros into the source file (vpodzime)
  1771. - Add an override for the md_add function (vpodzime)
  1772. - Fix parameters in luks_open python overrides (vpodzime)
  1773. - Prevent init() from being done multiple times and provide a test function (vpodzime)
  1774. - Add the roadmap.rst document (vpodzime)
  1775. - Remove an extra parenthesis in one of the docstrings (vpodzime)
  1776. - Move the mddetail function next to the mdexamine function (vpodzime)
  1777. - Add some more constants required by blivet (vpodzime)
  1778. * Wed Jan 21 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-1
  1779. - Require volume_key-devel in a version that fixes build issues (vpodzime)
  1780. - Fix Python 2 devel package name in BuildRequires (vpodzime)
  1781. - Generate docs for the library and all plugins (vpodzime)
  1782. - Make doc comments better for documentation generation (vpodzime)
  1783. - Fix parameter names in function prototypes (vpodzime)
  1784. - Add the metadatasize parameter to pvcreate (vpodzime)
  1785. - Add the dataalignment parameter to lvm_pvcreate (vpodzime)
  1786. - Export non-internal constants via introspection (vpodzime)
  1787. - Expand size constants in the GI-scanned files (vpodzime)
  1788. - Fix usage printing in the boilerplate_generator (vpodzime)
  1789. - Add the build directory to .gitignore (vpodzime)
  1790. - Add the md_run function (vpodzime)
  1791. - Fix some issues in Python overrides (vpodzime)
  1792. - Add the escrow_device function to the crypto plugin (vpodzime)
  1793. - Fix version of GI files in the Makefile (vpodzime)
  1794. - Make the order of release target's dependencies more explicit (vpodzime)
  1795. * Mon Jan 12 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
  1796. - Fix dependencies of the release target (vpodzime)
  1797. - Python overrides for the GI-generated bindings (vpodzime)
  1798. - Pass version info to the code and use it to load plugins (vpodzime)
  1799. * Wed Dec 10 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.1-1
  1800. - Initial release