wok-6.x diff eudev/receipt @ rev 23188
updated motion (4.2.2 -> 4.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 20 08:50:20 2020 +0100 (2020-03-20) |
parents | 9e01bc6321ea |
children | b6e9ec8873bb |
line diff
1.1 --- a/eudev/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/eudev/receipt Fri Mar 20 08:50:20 2020 +0100 1.3 @@ -1,32 +1,35 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="eudev" 1.7 -VERSION="1.9" 1.8 +VERSION="3.2.9" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="Fork of udev to avoid depending on systemd" 1.11 +SHORT_DESC="Fork of udev to avoid depending on systemd." 1.12 MAINTAINER="tcg.thegamer@gmail.com" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://wiki.gentoo.org/wiki/Project:Eudev" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://dev.gentoo.org/~blueness/eudev" 1.18 -WGET_URL="${WEB_SITE}/${TARBALL}" 1.19 +WGET_URL="https://dev.gentoo.org/~blueness/$PACKAGE/$TARBALL" 1.20 + 1.21 PROVIDE="udev" 1.22 - 1.23 -DEPENDS="dbus util-linux-blkid pciids usbids acl kmod" 1.24 -BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev pcre-dev kmod-dev \ 1.25 -dbus-dev gperf pkg-config acl-dev" 1.26 +DEPENDS="acl dbus kmod pciids usbids util-linux-blkid" 1.27 +BUILD_DEPENDS="acl-dev dbus-dev gperf kmod-dev pcre-dev pkg-config 1.28 + util-linux-blkid-dev util-linux-uuid-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - ./configure \ 1.34 - --sysconfdir=/etc \ 1.35 - --exec-prefix="" \ 1.36 - --with-rootprefix="" \ 1.37 - --disable-manpages \ 1.38 - --disable-introspection \ 1.39 - --disable-keymap \ 1.40 - --enable-floppy \ 1.41 - --enable-rule-generator \ 1.42 + # 3.2.9 unrecognised: 1.43 + # --disable-keymap 1.44 + # --enable-floppy 1.45 + 1.46 + ./configure \ 1.47 + --sysconfdir=/etc \ 1.48 + --exec-prefix="" \ 1.49 + --with-rootprefix="" \ 1.50 + --disable-manpages \ 1.51 + --disable-introspection \ 1.52 + --enable-rule-generator \ 1.53 $CONFIGURE_ARGS && 1.54 make && 1.55 make DESTDIR=$DESTDIR install 1.56 @@ -37,15 +40,15 @@ 1.57 { 1.58 mkdir -p $fs/lib/firmware 1.59 1.60 - cp -a $install/sbin $fs 1.61 - cp -a $install/etc $fs 1.62 - cp -a $install/lib/libgudev*so* $fs/lib 1.63 - cp -a $install/lib/udev $fs/lib 1.64 + cp -a $install/sbin $fs 1.65 + cp -a $install/etc $fs 1.66 + cp -a $install/lib/libudev*so* $fs/lib 1.67 + cp -a $install/lib/udev $fs/lib 1.68 1.69 - # Copy rules files to udev conf dir 1.70 - mv -f $fs/lib/udev/rules.d $fs/etc/udev 1.71 - cp $stuff/udev.conf $fs/etc/udev 1.72 - cp $stuff/*.rules $fs/etc/udev/rules.d 1.73 + # Copy rules files to udev configuration directory 1.74 + mv -f $fs/lib/udev/rules.d $fs/etc/udev 1.75 + cp $stuff/udev.conf $fs/etc/udev 1.76 + cp $stuff/*.rules $fs/etc/udev/rules.d 1.77 1.78 # Create some devices and directories that Udev cannot handle 1.79 # due to them being required very early in the boot process 1.80 @@ -54,9 +57,8 @@ 1.81 mknod -m 0666 $fs/lib/udev/devices/null c 1 3 1.82 1.83 # Fix permissions 1.84 - chmod +x $fs/lib/udev/* 1.85 - chown -R root.root $fs 1.86 - 1.87 + chmod +x $fs/lib/udev/* 1.88 + chown -R root.root $fs 1.89 } 1.90 1.91 list_udev_group() 1.92 @@ -71,12 +73,14 @@ 1.93 { 1.94 # Sanity check for udev+ldap boot 1.95 list_udev_group "$1" GROUP | \ 1.96 - while read x ; do 1.97 + while read x 1.98 + do 1.99 grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x 1.100 - done 1.101 + done 1.102 1.103 list_udev_group "$1" OWNER | \ 1.104 - while read x ; do 1.105 + while read x 1.106 + do 1.107 grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x 1.108 - done 1.109 + done 1.110 }