pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

remove udev, satisfied by sysutils/libudev



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Wed May 31 20:03:07 2023 +0200
Changeset:	6e3e657a9cd1761a7b640d0a50332b7c03762f95

Removed Files:
	udev/DESCR
	udev/Makefile
	udev/PLIST
	udev/buildlink3.mk
	udev/files/libudev.am
	udev/files/rules.am

Log Message:
remove udev, satisfied by sysutils/libudev

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6e3e657a9cd1761a7b640d0a50332b7c03762f95

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 udev/DESCR            |  9 ---------
 udev/Makefile         | 29 -----------------------------
 udev/PLIST            |  9 ---------
 udev/buildlink3.mk    | 13 -------------
 udev/files/libudev.am | 11 -----------
 udev/files/rules.am   |  2 --
 6 files changed, 73 deletions(-)

diffs:
diff --git a/udev/DESCR b/udev/DESCR
deleted file mode 100644
index 5c5607ac28..0000000000
--- a/udev/DESCR
+++ /dev/null
@@ -1,9 +0,0 @@
-Monitors devices and executes rules for each insert or removal. Creates an
-index of paths in /var/run/udev/ that libudev uses at runtime. Need to
-trigger it once for weston to find a seat, that is a video card, keyboard
-and mouse combo. Run `udevd -d` and `udevadm trigger`.
-
-You can then backup the above dir and delete the package if your embedded
-device set never changes. Somebody should code a libudev API clone finding
-the seat using sysfs and watching /dev, which would eliminate the daemon
-on desktops and ease porting wayland to BSD counterparts.
diff --git a/udev/Makefile b/udev/Makefile
deleted file mode 100644
index cf583f5f06..0000000000
--- a/udev/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD$
-
-PKGNAME=		udev-243
-COMMENT=		Hotplug daemon
-CONFIGURE_ARGS+=	--disable-hwdb
-
-SUBST_CLASSES+=		nobin
-SUBST_STAGE.nobin=	pre-configure
-SUBST_FILES.nobin=	src/udev/Makefile.am
-SUBST_SED.nobin=	's,.(LN.*;,true;,'
-
-SUBST_CLASSES+=		onlyudev
-SUBST_STAGE.onlyudev=	pre-configure
-SUBST_FILES.onlyudev=	src/Makefile.am
-SUBST_SED.onlyudev=	's,.(PROGRAMS_SUBDIRS),udev,'
-
-SUBST_CLASSES+=		rootrun
-SUBST_STAGE.rootrun=	pre-configure
-SUBST_FILES.rootrun=	src/udev/*.c
-SUBST_SED.rootrun=	's,/run,"UDEV_ROOT_RUN",'
-
-pre-configure:
-	${CP} ${FILESDIR}/rules.am ${WRKSRC}/rules/Makefile.am
-	${CP} ${FILESDIR}/libudev.am ${WRKSRC}/src/libudev/Makefile.am
-	cd ${WRKSRC} &&autoreconf -fiv
-
-.include "../../devel/gperf/buildlink3.mk"
-.include "../../wip/libudev/buildlink3.mk"
-.include "../../wip/libudev/Makefile.common"
diff --git a/udev/PLIST b/udev/PLIST
deleted file mode 100644
index 234968c84e..0000000000
--- a/udev/PLIST
+++ /dev/null
@@ -1,9 +0,0 @@
-@comment $NetBSD$
-bin/udevadm
-etc/udev/udev.conf
-include/udev.h
-lib/udev/rules.d/60-drm.rules
-lib/udev/rules.d/60-evdev.rules
-lib/udev/rules.d/60-input-id.rules
-sbin/udevd
-share/pkgconfig/udev.pc
diff --git a/udev/buildlink3.mk b/udev/buildlink3.mk
deleted file mode 100644
index d748062340..0000000000
--- a/udev/buildlink3.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	udev
-
-.if !defined(UDEV_BUILDLINK3_MK)
-UDEV_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.udev+=	udev>=243
-BUILDLINK_PKGSRCDIR.udev?=	../../wip/udev
-
-.endif	# UDEV_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-udev
diff --git a/udev/files/libudev.am b/udev/files/libudev.am
deleted file mode 100644
index c58093ac36..0000000000
--- a/udev/files/libudev.am
+++ /dev/null
@@ -1,11 +0,0 @@
-# Limit to libudev-private.la, wip/libudev does the public lib.
-AM_CPPFLAGS=-include $(top_builddir)/config.h \
-	-DUDEV_ROOT_RUN=\"$(rootrundir)\" \
-	-DUDEV_CONF_FILE=\"$(udevconffile)\" \
-	-DUDEV_HWDB_BIN=\"$(udevhwdbbin)\" -I $(top_srcdir)/src/shared
-libudev_private_la_SOURCES=libudev.sym libudev-private.h libudev.c \
-	libudev-list.c libudev-util.c libudev-device.c \
-	libudev-enumerate.c libudev-monitor.c libudev-queue.c \
-	libudev-hwdb-def.h libudev-hwdb.c libudev-device-private.c
-libudev_private_la_CFLAGS=$(AM_CFLAGS) -fvisibility=default
-noinst_LTLIBRARIES=libudev-private.la
diff --git a/udev/files/rules.am b/udev/files/rules.am
deleted file mode 100644
index eb4145081d..0000000000
--- a/udev/files/rules.am
+++ /dev/null
@@ -1,2 +0,0 @@
-# Don't apply systemd naming or change owners, just index for libinput.
-dist_udevrules_DATA=60-drm.rules 60-evdev.rules 60-input-id.rules


Home | Main Index | Thread Index | Old Index