libblockdev-vl.spec 82 KB

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