diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-libs/libblockdev |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-libs/libblockdev')
-rw-r--r-- | sys-libs/libblockdev/Manifest | 5 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.12.ebuild | 82 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.13.ebuild | 82 | ||||
-rw-r--r-- | sys-libs/libblockdev/metadata.xml | 17 |
4 files changed, 186 insertions, 0 deletions
diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest new file mode 100644 index 000000000000..6640b9b0ef74 --- /dev/null +++ b/sys-libs/libblockdev/Manifest @@ -0,0 +1,5 @@ +DIST libblockdev-2.12-1.tar.gz 252590 SHA256 3758d1ba88756756f498e52710c37df56eb6d9287c28cdd514ef7bbe6574566b SHA512 d40ce3ae45edbe2c79fe0c86df8a22982bd94718cf82161ccd5d7759272eba9948d29e6ab26490f7ba8cb3630b0350ee3a659fba7da73056dc123db9c2535b2e WHIRLPOOL 8d32fe6a153595e756c2fe8bf6fb5a3eaa8f88670843be7afaf0419270c2f4e4d7ce8e6fda705b34547d964e5eb7869b45951f2267c5830060ae8634c82c224d +DIST libblockdev-2.13-1.tar.gz 269162 SHA256 0eca9236ec47dad64729b602d6658ff48034bf95f749296df1aa23e733abf5df SHA512 eaa0751691008f2cb3c4cdbf00af8f3653b7e309a02ccb700528601ccfa0cca7631e6072e2a25d9da3862b0638dac08b0ac739b1ae4702b9b263fb58f73d10c9 WHIRLPOOL 311ccc4a65963f0457d519e8858d3d0e8a286d3343efb8819b2ffd1d1d01057b6ca2f6926472cc11b2b6f918cf8644654c328c074e63fddbe2447f62f02fc7fb +EBUILD libblockdev-2.12.ebuild 1450 SHA256 70caa6a624595d028a9a568fd98374a3255e16552bdc053014e6e75917943c7d SHA512 42e0cbe8a870c7ef122322f3129b369154ca23c3676fd79fa45243696bb5907c67837c0d07b9dfc1447313cfdf859d3cee30c6a6618b7684a9a16acec3e30982 WHIRLPOOL 394413d274615f5043266a4440a432f493bf0af6156788062696b80d9d988751026178491ebb76e43b774e2f8e25a91187c197e33d5c69388148809265adb8e3 +EBUILD libblockdev-2.13.ebuild 1450 SHA256 70caa6a624595d028a9a568fd98374a3255e16552bdc053014e6e75917943c7d SHA512 42e0cbe8a870c7ef122322f3129b369154ca23c3676fd79fa45243696bb5907c67837c0d07b9dfc1447313cfdf859d3cee30c6a6618b7684a9a16acec3e30982 WHIRLPOOL 394413d274615f5043266a4440a432f493bf0af6156788062696b80d9d988751026178491ebb76e43b774e2f8e25a91187c197e33d5c69388148809265adb8e3 +MISC metadata.xml 699 SHA256 066244bf0d29afd9a7c56bf92b302f1a44a2e2964f3bbccb979af6de9e836ef8 SHA512 64d93b75e3100a80d83112de338979f1ea9dd42ff39ef96f232343e977058de0b1d8785f93760ee24616df564ab4f8af490909242cbbad037f044b283a21634d WHIRLPOOL 3f0e27a344b607c7f33e15fd967f7d2a90f484901ec8673d7b8f6703697054b4e17a1fa07b2da915a6b08cec7f19b6f44e0f8b1751782f05915b30112edc8769 diff --git a/sys-libs/libblockdev/libblockdev-2.12.ebuild b/sys-libs/libblockdev/libblockdev-2.12.ebuild new file mode 100644 index 000000000000..53c3efbcb20a --- /dev/null +++ b/sys-libs/libblockdev/libblockdev-2.12.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit autotools python-single-r1 + +MY_PV="${PV}-1" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A library for manipulating block devices" +HOMEPAGE="https://github.com/rhinstaller/libblockdev" +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bcache +crypt dmraid doc lvm kbd test" + +CDEPEND=" + >=dev-libs/glib-2.42.2 + dev-libs/libbytesize + >=sys-apps/util-linux-2.27 + >=sys-block/parted-3.1 + crypt? ( + >=dev-libs/nss-3.18.0 + dev-libs/volume_key + >=sys-fs/cryptsetup-1.6.7 + ) + dmraid? ( + sys-fs/dmraid + sys-fs/lvm2 + ) + lvm? ( + sys-fs/lvm2 + virtual/udev + ) + kbd? ( >=sys-apps/kmod-19 ) + ${PYTHON_DEPS} +" + +DEPEND=" + ${CDEPEND} + >=dev-libs/gobject-introspection-1.3.0 + doc? ( dev-util/gtk-doc ) +" + +RDEPEND=" + ${CDEPEND} +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-btrfs + --with-fs + --with-part + --with-python3 + --without-mpath + $(use_enable test tests) + $(use_with bcache) + $(use_with crypt crypto) + $(use_with dmraid dm) + $(use_with doc gtk-doc) + $(use_with lvm lvm) + $(use_with lvm lvm-dbus) + $(use_with kbd) + ) + econf "${myeconfargs[@]}" +} diff --git a/sys-libs/libblockdev/libblockdev-2.13.ebuild b/sys-libs/libblockdev/libblockdev-2.13.ebuild new file mode 100644 index 000000000000..53c3efbcb20a --- /dev/null +++ b/sys-libs/libblockdev/libblockdev-2.13.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit autotools python-single-r1 + +MY_PV="${PV}-1" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A library for manipulating block devices" +HOMEPAGE="https://github.com/rhinstaller/libblockdev" +SRC_URI="https://github.com/rhinstaller/${PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bcache +crypt dmraid doc lvm kbd test" + +CDEPEND=" + >=dev-libs/glib-2.42.2 + dev-libs/libbytesize + >=sys-apps/util-linux-2.27 + >=sys-block/parted-3.1 + crypt? ( + >=dev-libs/nss-3.18.0 + dev-libs/volume_key + >=sys-fs/cryptsetup-1.6.7 + ) + dmraid? ( + sys-fs/dmraid + sys-fs/lvm2 + ) + lvm? ( + sys-fs/lvm2 + virtual/udev + ) + kbd? ( >=sys-apps/kmod-19 ) + ${PYTHON_DEPS} +" + +DEPEND=" + ${CDEPEND} + >=dev-libs/gobject-introspection-1.3.0 + doc? ( dev-util/gtk-doc ) +" + +RDEPEND=" + ${CDEPEND} +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-btrfs + --with-fs + --with-part + --with-python3 + --without-mpath + $(use_enable test tests) + $(use_with bcache) + $(use_with crypt crypto) + $(use_with dmraid dm) + $(use_with doc gtk-doc) + $(use_with lvm lvm) + $(use_with lvm lvm-dbus) + $(use_with kbd) + ) + econf "${myeconfargs[@]}" +} diff --git a/sys-libs/libblockdev/metadata.xml b/sys-libs/libblockdev/metadata.xml new file mode 100644 index 000000000000..6f4957ace55d --- /dev/null +++ b/sys-libs/libblockdev/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>polynomial-c@gentoo.org</email> + <name>Lars Wendler</name> + </maintainer> + <use> + <flag name="bcache">Enable block device cache support.</flag> + <flag name="dmraid">Support for dmraid devices, also known as ATA-RAID, or Fake RAID.</flag> + <flag name="lvm">Enable support for Logical Volume Management via <pkg>sys-fs/lvm2</pkg>.</flag> + <flag name="kbd">Enable kernel block device support.</flag> + </use> + <upstream> + <remote-id type="github">storaged-project/libblockdev</remote-id> + </upstream> +</pkgmetadata> |