diff options
author | Tim Biermann <tbier@posteo.de> | 2020-06-14 21:35:24 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-06-15 09:44:01 +0000 |
commit | f81a3e5e8440494ee06cea1634f72344e9648eb8 (patch) | |
tree | 17c6f3e6aa7d000c5535ef1b8488495098d4c3e3 /libblockdev | |
parent | d25cfe667438b3ccb42e0ee9c0fe8987818ea4f6 (diff) | |
download | contrib-f81a3e5e8440494ee06cea1634f72344e9648eb8.tar.gz contrib-f81a3e5e8440494ee06cea1634f72344e9648eb8.tar.xz |
libblockdev: initial commit, version 2.24
Diffstat (limited to 'libblockdev')
-rw-r--r-- | libblockdev/.footprint | 116 | ||||
-rw-r--r-- | libblockdev/.signature | 6 | ||||
-rw-r--r-- | libblockdev/Pkgfile | 21 | ||||
-rw-r--r-- | libblockdev/foo.patch | 22 |
4 files changed, 165 insertions, 0 deletions
diff --git a/libblockdev/.footprint b/libblockdev/.footprint new file mode 100644 index 000000000..1db72fe15 --- /dev/null +++ b/libblockdev/.footprint @@ -0,0 +1,116 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/lvm-cache-stats +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/libblockdev/ +drwxr-xr-x root/root usr/etc/libblockdev/conf.d/ +-rw-r--r-- root/root usr/etc/libblockdev/conf.d/00-default.cfg +-rw-r--r-- root/root usr/etc/libblockdev/conf.d/10-lvm-dbus.cfg +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/blockdev/ +-rw-r--r-- root/root usr/include/blockdev/blockdev.h +-rw-r--r-- root/root usr/include/blockdev/btrfs.h +-rw-r--r-- root/root usr/include/blockdev/crypto.h +-rw-r--r-- root/root usr/include/blockdev/dbus.h +-rw-r--r-- root/root usr/include/blockdev/dev_utils.h +-rw-r--r-- root/root usr/include/blockdev/exec.h +-rw-r--r-- root/root usr/include/blockdev/extra_arg.h +-rw-r--r-- root/root usr/include/blockdev/fs.h +drwxr-xr-x root/root usr/include/blockdev/fs/ +-rw-r--r-- root/root usr/include/blockdev/fs/ext.h +-rw-r--r-- root/root usr/include/blockdev/fs/generic.h +-rw-r--r-- root/root usr/include/blockdev/fs/mount.h +-rw-r--r-- root/root usr/include/blockdev/fs/ntfs.h +-rw-r--r-- root/root usr/include/blockdev/fs/vfat.h +-rw-r--r-- root/root usr/include/blockdev/fs/xfs.h +-rw-r--r-- root/root usr/include/blockdev/kbd.h +-rw-r--r-- root/root usr/include/blockdev/loop.h +-rw-r--r-- root/root usr/include/blockdev/lvm.h +-rw-r--r-- root/root usr/include/blockdev/mdraid.h +-rw-r--r-- root/root usr/include/blockdev/module.h +-rw-r--r-- root/root usr/include/blockdev/mpath.h +-rw-r--r-- root/root usr/include/blockdev/nvdimm.h +-rw-r--r-- root/root usr/include/blockdev/part.h +-rw-r--r-- root/root usr/include/blockdev/plugins.h +-rw-r--r-- root/root usr/include/blockdev/sizes.h +-rw-r--r-- root/root usr/include/blockdev/swap.h +-rw-r--r-- root/root usr/include/blockdev/utils.h +-rw-r--r-- root/root usr/include/blockdev/vdo.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/girepository-1.0/ +-rw-r--r-- root/root usr/lib/girepository-1.0/BlockDev-2.0.typelib +-rwxr-xr-x root/root usr/lib/libbd_btrfs.la +lrwxrwxrwx root/root usr/lib/libbd_btrfs.so -> libbd_btrfs.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_btrfs.so.2 -> libbd_btrfs.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_btrfs.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_crypto.la +lrwxrwxrwx root/root usr/lib/libbd_crypto.so -> libbd_crypto.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_crypto.so.2 -> libbd_crypto.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_crypto.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_fs.la +lrwxrwxrwx root/root usr/lib/libbd_fs.so -> libbd_fs.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_fs.so.2 -> libbd_fs.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_fs.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_kbd.la +lrwxrwxrwx root/root usr/lib/libbd_kbd.so -> libbd_kbd.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_kbd.so.2 -> libbd_kbd.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_kbd.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_loop.la +lrwxrwxrwx root/root usr/lib/libbd_loop.so -> libbd_loop.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_loop.so.2 -> libbd_loop.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_loop.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_lvm-dbus.la +lrwxrwxrwx root/root usr/lib/libbd_lvm-dbus.so -> libbd_lvm-dbus.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_lvm-dbus.so.2 -> libbd_lvm-dbus.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_lvm-dbus.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_lvm.la +lrwxrwxrwx root/root usr/lib/libbd_lvm.so -> libbd_lvm.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_lvm.so.2 -> libbd_lvm.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_lvm.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_mdraid.la +lrwxrwxrwx root/root usr/lib/libbd_mdraid.so -> libbd_mdraid.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_mdraid.so.2 -> libbd_mdraid.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_mdraid.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_mpath.la +lrwxrwxrwx root/root usr/lib/libbd_mpath.so -> libbd_mpath.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_mpath.so.2 -> libbd_mpath.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_mpath.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_nvdimm.la +lrwxrwxrwx root/root usr/lib/libbd_nvdimm.so -> libbd_nvdimm.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_nvdimm.so.2 -> libbd_nvdimm.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_nvdimm.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_part.la +lrwxrwxrwx root/root usr/lib/libbd_part.so -> libbd_part.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_part.so.2 -> libbd_part.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_part.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_part_err.la +lrwxrwxrwx root/root usr/lib/libbd_part_err.so -> libbd_part_err.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_part_err.so.2 -> libbd_part_err.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_part_err.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_swap.la +lrwxrwxrwx root/root usr/lib/libbd_swap.so -> libbd_swap.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_swap.so.2 -> libbd_swap.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_swap.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_utils.la +lrwxrwxrwx root/root usr/lib/libbd_utils.so -> libbd_utils.so.2.1.0 +lrwxrwxrwx root/root usr/lib/libbd_utils.so.2 -> libbd_utils.so.2.1.0 +-rwxr-xr-x root/root usr/lib/libbd_utils.so.2.1.0 +-rwxr-xr-x root/root usr/lib/libbd_vdo.la +lrwxrwxrwx root/root usr/lib/libbd_vdo.so -> libbd_vdo.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libbd_vdo.so.2 -> libbd_vdo.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libbd_vdo.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libblockdev.la +lrwxrwxrwx root/root usr/lib/libblockdev.so -> libblockdev.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libblockdev.so.2 -> libblockdev.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libblockdev.so.2.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/blockdev-utils.pc +-rw-r--r-- root/root usr/lib/pkgconfig/blockdev.pc +drwxr-xr-x root/root usr/lib/python3.7/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gi/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/gi/overrides/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/gi/overrides/BlockDev.py +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/gir-1.0/ +-rw-r--r-- root/root usr/share/gir-1.0/BlockDev-2.0.gir diff --git a/libblockdev/.signature b/libblockdev/.signature new file mode 100644 index 000000000..8f68352a3 --- /dev/null +++ b/libblockdev/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF33MTYHwzdRJAQTddRB3uDGltHxSULt0TzaYMQ6J8a5rk7k/eAcTgeKZc5YPBgCdwCOxf1pzdoylJivTDNCWMdAI= +SHA256 (Pkgfile) = 51ec8ca099162e9c310af10005566d88f15fbcd982dda2f75c379fb282fbb57a +SHA256 (.footprint) = 7125edef48887e5a72ff80136e8a264837d9615b9324ff3bc7876db70c9930c7 +SHA256 (libblockdev-2.24.tar.gz) = dc207c70dbef52c818a8abbcb6b8e298a6b63c0b78a5e1f2773b5f7b89300773 +SHA256 (foo.patch) = bf89ef671f4c157b12d307ad41eb69630770c3a9ce14a932d2e22d87f27c8b80 diff --git a/libblockdev/Pkgfile b/libblockdev/Pkgfile new file mode 100644 index 000000000..95a62fb0f --- /dev/null +++ b/libblockdev/Pkgfile @@ -0,0 +1,21 @@ +# Description: A library for manipulating block devices +# URL: https://github.com/storaged-project/libblockdev +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: gobject-introspection libbytesize libyaml ndctl parted volume_key + +name=libblockdev +version=2.24 +release=1 +source=(https://github.com/storaged-project/$name/releases/download/$version-1/$name-$version.tar.gz foo.patch) + +build() { + cd $name-$version + patch -Np1 -i $SRC/foo.patch + aclocal + automake + ./configure --prefix=/usr \ + --with-dm=no + make + make DESTDIR=$PKG install + rm -fr $PKG/usr/share/gtk-doc +} diff --git a/libblockdev/foo.patch b/libblockdev/foo.patch new file mode 100644 index 000000000..48ec9b6f5 --- /dev/null +++ b/libblockdev/foo.patch @@ -0,0 +1,22 @@ +diff --git a/docs/Makefile.am b/docs/Makefile.am +index 96e0125..3851353 100644 +--- a/docs/Makefile.am ++++ b/docs/Makefile.am +@@ -2,7 +2,7 @@ all-local: html-doc.stamp + + html-doc.stamp: ${srcdir}/libblockdev-docs.xml ${srcdir}/libblockdev-sections.txt $(wildcard ${srcdir}/../src/plugins/*.[ch]) $(wildcard ${srcdir}/../src/lib/*.[ch]) $(wildcard ${srcdir}/../src/utils/*.[ch]) + touch ${builddir}/html-doc.stamp +- test ${builddir} == ${srcdir} || cp ${srcdir}/libblockdev-sections.txt ${srcdir}/libblockdev-docs.xml ${builddir} ++ test ${builddir} = ${srcdir} || cp ${srcdir}/libblockdev-sections.txt ${srcdir}/libblockdev-docs.xml ${builddir} + gtkdoc-scan --rebuild-types --module=libblockdev --source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ --source-dir=${srcdir}/../src/utils/ + gtkdoc-mkdb --module=libblockdev --output-format=xml --source-dir=${srcdir}/../src/plugins/ --source-dir=${srcdir}/../src/lib/ --source-dir=${srcdir}/../src/utils/ --source-suffixes=c,h + test -d ${builddir}/html || mkdir ${builddir}/html +@@ -13,7 +13,7 @@ clean-local: + -rm -rf ${builddir}/html + -rm -rf ${builddir}/xml + test ! -f ${builddir}/html-doc.stamp || rm ${builddir}/html-doc.stamp +- test ${builddir} == ${srcdir} || rm -f ${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml ++ test ${builddir} = ${srcdir} || rm -f ${builddir}/libblockdev-sections.txt ${builddir}/libblockdev-docs.xml + + install-data-local: + test -d ${DESTDIR}${datadir}/gtk-doc/html/libblockdev || mkdir -p ${DESTDIR}${datadir}/gtk-doc/html/libblockdev |