udisks: remove package

This commit is contained in:
Érico Rolim 2020-04-18 04:08:58 -03:00 committed by Helmut Pozimski
parent 7d7b697800
commit f4b99c76bf
3 changed files with 0 additions and 136 deletions

View file

@ -1,28 +0,0 @@
commit c73b5ab54378ec6d7df9948c46ce87f98587af9a
Author: Tom Gundersen <teg@jklm.no>
Date: 2 days ago
udev: remove redundant call to deprecated pci-db
The binary is no longer shipped with systemd/udev. The functionality
is taken over by a builtin, which is ran for all devices, rendering
this rule superfluous.
Cc: Jan de Groot <jgc@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
diff --git a/data/80-udisks.rules b/data/80-udisks.rules
index d1c8c5d..4bf2b37 100644
--- data/80-udisks.rules
+++ data/80-udisks.rules
@@ -1,10 +1,6 @@
# Do not edit this file, it will be overwritten on updates
#
-# import names for PCI storage controllers
-#
-SUBSYSTEM=="pci", ACTION=="add|change", ENV{ID_MODEL_FROM_DATABASE}=="", ATTR{class}=="0x01*", IMPORT{program}="pci-db %p"
-
# Set eSATA port type for known eSATA CardBus adapters - first we want to ensure
# the device is on a cardbus controller (upper PCI device) - then we check
# vid/pid (lower PCI device)

View file

@ -1,76 +0,0 @@
add missing sys/sysmacros.h for major, minor and makedev functions
diff --git a/src/daemon.c b/src/daemon.c
index fafcf9a..bbdce2e 100644
--- src/daemon.c
+++ src/daemon.c
@@ -48,6 +48,7 @@
#include <net/if_arp.h>
#include <fcntl.h>
#include <signal.h>
+#include <sys/sysmacros.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
diff --git a/src/device.c b/src/device.c
index 2ae7f38..33c8193 100644
--- src/device.c
+++ src/device.c
@@ -41,6 +41,7 @@
#include <sys/ioctl.h>
#include <linux/cdrom.h>
#include <linux/loop.h>
+#include <sys/sysmacros.h>
#include <glib.h>
#include <glib/gstdio.h>
diff --git a/src/mount-monitor.c b/src/mount-monitor.c
index 573a69c..0a0e68e 100644
--- src/mount-monitor.c
+++ src/mount-monitor.c
@@ -30,6 +30,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <mntent.h>
+#include <sys/sysmacros.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
diff --git a/src/probers/part-id.c b/src/probers/part-id.c
index 658e7d9..ecebbff 100644
--- src/probers/part-id.c
+++ src/probers/part-id.c
@@ -27,6 +27,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <sys/sysmacros.h>
#include <libudev.h>
diff --git a/tools/umount-udisks.c b/tools/umount-udisks.c
index 2813fe0..11a8fff 100644
--- tools/umount-udisks.c
+++ tools/umount-udisks.c
@@ -33,6 +33,7 @@
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
+#include <sys/sysmacros.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
diff --git a/tools/udisks.c b/tools/udisks.c
index 97e80d7..570d5e2 100644
--- tools/udisks.c
+++ tools/udisks.c
@@ -35,6 +35,7 @@
#include <pwd.h>
#include <grp.h>
#include <locale.h>
+#include <sys/sysmacros.h>
#include <glib.h>
#include <glib/gi18n-lib.h>

View file

@ -1,32 +0,0 @@
# Template file for 'udisks'
pkgname=udisks
version=1.0.5
revision=7
build_style=gnu-configure
configure_args="--disable-static --enable-lvm2"
make_dirs="/var/lib/udisks 0750 root root"
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel"
makedepends="libglib-devel device-mapper-devel
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
dbus-glib-devel libgudev-devel sg3_utils-devel"
depends="dbus"
short_desc="Disk Management Service"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.freedesktop.org/wiki/Software/udisks"
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
checksum=f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71
pre_configure() {
# Switch to /usr.
sed -i -e "s|\(slashlibdir\)=.*|\1=/usr/lib|g" \
-e "s|\(slashsbindir\)=.*|\1=/usr/bin|g" configure
}
do_check() {
: # requires sudo
}
post_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/profile.d/udisks-bash-completion.sh \
${DESTDIR}/usr/share/bash-completion/completions/udisks
}