# HG changeset patch # User Hans-G?nter Theisgen # Date 1579625359 -3600 # Node ID 281ca267525d79d613743330d684ad22932485ea # Parent c10a3037b056bc3af543835fe45bd82e693501f5 updated eudev and eudev-dev (1.9 -> 3.2.9) diff -r c10a3037b056 -r 281ca267525d eudev-dev/receipt --- a/eudev-dev/receipt Tue Jan 21 17:20:48 2020 +0100 +++ b/eudev-dev/receipt Tue Jan 21 17:49:19 2020 +0100 @@ -1,24 +1,28 @@ # SliTaz package receipt. PACKAGE="eudev-dev" -VERSION="1.9" +VERSION="3.2.9" CATEGORY="development" -SHORT_DESC="Eudev devel file (libudev)." +SHORT_DESC="Eudev development files (libudev)." MAINTAINER="tcg.thegamer@gmail.com" LICENSE="GPL2" +WEB_SITE="https://wiki.gentoo.org/wiki/Project:Eudev" + +PROVIDE="udev-dev" +DEPENDS="eudev pkg-config" WANTED="eudev" -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" + HOST_ARCH="i486 arm" -PROVIDE="udev-dev" - -DEPENDS="eudev pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/lib $fs/usr/lib/pkgconfig $fs/usr/include - cp -a $install/lib/libudev*a $fs/lib - cp -a $install/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig - cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig - cp -a $install/usr/include/libudev.h $fs/usr/include + mkdir -p $fs/lib + mkdir -p $fs/usr/lib/pkgconfig + mkdir -p $fs/usr/include + + cp -a $install/lib/libudev*a $fs/lib + cp -a $install/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig + cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig + cp -a $install/usr/include/libudev.h $fs/usr/include } diff -r c10a3037b056 -r 281ca267525d eudev/receipt --- a/eudev/receipt Tue Jan 21 17:20:48 2020 +0100 +++ b/eudev/receipt Tue Jan 21 17:49:19 2020 +0100 @@ -1,32 +1,35 @@ # SliTaz package receipt. PACKAGE="eudev" -VERSION="1.9" +VERSION="3.2.9" CATEGORY="base-system" -SHORT_DESC="Fork of udev to avoid depending on systemd" +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" -WEB_SITE="http://dev.gentoo.org/~blueness/eudev" -WGET_URL="${WEB_SITE}/${TARBALL}" +WGET_URL="https://dev.gentoo.org/~blueness/$PACKAGE/$TARBALL" + PROVIDE="udev" - -DEPENDS="dbus util-linux-blkid pciids usbids acl kmod" -BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev pcre-dev kmod-dev \ -dbus-dev gperf pkg-config acl-dev" +DEPENDS="acl dbus kmod pciids usbids util-linux-blkid" +BUILD_DEPENDS="acl-dev dbus-dev gperf kmod-dev pcre-dev pkg-config + util-linux-blkid-dev util-linux-uuid-dev" # Rules to configure and make the package. compile_rules() { - ./configure \ - --sysconfdir=/etc \ - --exec-prefix="" \ - --with-rootprefix="" \ - --disable-manpages \ - --disable-introspection \ - --disable-keymap \ - --enable-floppy \ - --enable-rule-generator \ + # 3.2.9 unrecognised: + # --disable-keymap + # --enable-floppy + + ./configure \ + --sysconfdir=/etc \ + --exec-prefix="" \ + --with-rootprefix="" \ + --disable-manpages \ + --disable-introspection \ + --enable-rule-generator \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install @@ -37,15 +40,15 @@ { mkdir -p $fs/lib/firmware - cp -a $install/sbin $fs - cp -a $install/etc $fs - cp -a $install/lib/libgudev*so* $fs/lib - cp -a $install/lib/udev $fs/lib + cp -a $install/sbin $fs + cp -a $install/etc $fs + cp -a $install/lib/libudev*so* $fs/lib + cp -a $install/lib/udev $fs/lib - # Copy rules files to udev conf dir - 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 + # 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 @@ -54,9 +57,8 @@ mknod -m 0666 $fs/lib/udev/devices/null c 1 3 # Fix permissions - chmod +x $fs/lib/udev/* - chown -R root.root $fs - + chmod +x $fs/lib/udev/* + chown -R root.root $fs } list_udev_group() @@ -71,12 +73,14 @@ { # Sanity check for udev+ldap boot list_udev_group "$1" GROUP | \ - while read x ; do + while read x + do grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x - done + done list_udev_group "$1" OWNER | \ - while read x ; do + while read x + do grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x - done + done }