libblockdev-vl.spec 82 KB

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