libblockdev-vl.spec 81 KB

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