summaryrefslogtreecommitdiff
path: root/core/device-mapper
diff options
context:
space:
mode:
Diffstat (limited to 'core/device-mapper')
-rw-r--r--core/device-mapper/.footprint24
-rw-r--r--core/device-mapper/.signature5
-rw-r--r--core/device-mapper/MAKEPKG44
3 files changed, 73 insertions, 0 deletions
diff --git a/core/device-mapper/.footprint b/core/device-mapper/.footprint
new file mode 100644
index 0000000..36f30d9
--- /dev/null
+++ b/core/device-mapper/.footprint
@@ -0,0 +1,24 @@
+drwxr-xr-x root/root include/
+-r--r--r-- root/root include/libdevmapper.h
+drwxr-xr-x root/root lib/
+-r-xr-xr-x root/root lib/libdevmapper.so.1.02
+lrwxrwxrwx root/root lib/libdevmapper.so -> libdevmapper.so.1.02
+drwxr-xr-x root/root lib/pkgconfig/
+-r--r--r-- root/root lib/pkgconfig/devmapper.pc
+drwxr-xr-x root/root lib/udev/
+drwxr-xr-x root/root lib/udev/rules.d/
+-r--r--r-- root/root lib/udev/rules.d/10-dm.rules
+-r--r--r-- root/root lib/udev/rules.d/13-dm-disk.rules
+-r--r--r-- root/root lib/udev/rules.d/95-dm-notify.rules
+drwxr-xr-x root/root sbin/
+-r-xr-xr-x root/root sbin/blkdeactivate
+-r-xr-xr-x root/root sbin/dmsetup
+lrwxrwxrwx root/root sbin/dmstats -> dmsetup
+lrwxrwxrwx root/root sbin/dmvdostats -> dmsetup
+drwxr-xr-x root/root share/
+drwxr-xr-x root/root share/man/
+drwxr-xr-x root/root share/man/man8/
+-r--r--r-- root/root share/man/man8/blkdeactivate.8
+-r--r--r-- root/root share/man/man8/dmsetup.8
+-r--r--r-- root/root share/man/man8/dmstats.8
+-r--r--r-- root/root share/man/man8/dmvdostats.8
diff --git a/core/device-mapper/.signature b/core/device-mapper/.signature
new file mode 100644
index 0000000..a7442ea
--- /dev/null
+++ b/core/device-mapper/.signature
@@ -0,0 +1,5 @@
+RWTZ9IduCSQ/mJsjPkyLLV72acvY8YisB/vGJegm9zwq7FMJrGIeq6eNGPbj27ealREWmylkHXOZJoddC1Hj72rW85ju178wew8=
+
+SHA256 (MAKEPKG) = a50d9eb1c6e5f186108a56ef07d9fa8d0f5e6b793d463932558d0921e3e1498e
+SHA256 (.footprint) = fdb984b9fba46e67bff2a253a5780d88c82454bab93559e4e22065614777b27f
+SHA256 (device-mapper#2.03.42-1.pkg.tar.gz) = 1c04b20d2dbc9e011813f085cb84993eabc39f191dcd7625b3436e149e8f7a0d
diff --git a/core/device-mapper/MAKEPKG b/core/device-mapper/MAKEPKG
new file mode 100644
index 0000000..18d691c
--- /dev/null
+++ b/core/device-mapper/MAKEPKG
@@ -0,0 +1,44 @@
+#!/bin/mkpkg
+# description: Device mapper userspace library (libdevmapper)
+# url: https://sourceware.org/lvm2/
+
+name=device-mapper
+version=2.03.42
+release=1
+depends=(udevd util-linux)
+makedeps=(pkgconf)
+source=(https://mirrors.kernel.org/sourceware/lvm2/releases/LVM2.$version.tgz)
+
+sha256sums=(
+ "SKIP"
+)
+
+build() {
+ cd LVM2.$version
+
+ sed 's/libaio.h//' -i configure
+
+ CC=clang \
+ ./configure \
+ --prefix=/ \
+ --enable-pkgconfig \
+ --disable-selinux \
+ --disable-readline \
+ --enable-udev_sync \
+ --enable-udev_rules \
+ --with-symvers=no \
+ --with-user=root \
+ --with-group=root
+
+ make device-mapper
+ make DESTDIR=$PKG install_device-mapper
+ rm -rf $PKG/etc
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh
+