Receipt for package "eudev"
# SliTaz package receipt. PACKAGE="eudev" VERSION="3.2.11" CATEGORY="base-system" SHORT_DESC="Fork of udev to avoid depending on systemd." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="GPL2" WEB_SITE="https://wiki.gentoo.org/wiki/Project:Eudev" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/eudev-project/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz" PROVIDE="udev" DEPENDS="acl dbus kmod pciids usbids util-linux-blkid eudev-lib" BUILD_DEPENDS="acl-dev automake dbus-dev gperf kmod-dev libtool libxslt docbook-xsl pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev" HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - https://github.com/eudev-project/eudev/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # 3.2.9 unrecognised: # --disable-keymap # --enable-floppy ./autogen.sh && ./configure \ --sysconfdir=/etc \ --exec-prefix="" \ --with-rootprefix="" \ --disable-manpages \ --disable-introspection \ --enable-rule-generator \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/lib/firmware cp -a $install/bin $fs cp -a $install/sbin $fs cp -a $install/etc $fs cp -a $install/lib/udev $fs/lib # Copy rules files to udev configuration directory mv -f $fs/lib/udev/rules.d $fs/etc/udev cp $stuff/udev.conf $fs/etc/udev cp $stuff/*.rules $fs/etc/udev/rules.d # Create some devices and directories that Udev cannot handle # due to them being required very early in the boot process mkdir -p $fs/lib/udev/devices/pts mkdir -p $fs/lib/udev/devices/shm mknod -m 0666 $fs/lib/udev/devices/null c 1 3 # Fix permissions chmod +x $fs/lib/udev/* chown -R root.root $fs } list_udev_group() { object=$2 [ -n "$object" ] || object=GROUP grep $object "$1"/etc/udev/rules.d/* | \ sed 's/.*GROUP="\([a-zA-Z0-9]*\)".*/\1/' | sort | uniq } post_install() { # Sanity check for udev+ldap boot list_udev_group "$1" GROUP | \ while read x do grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x done list_udev_group "$1" OWNER | \ while read x do grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x done }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)