wok-current rev 22707
updated eudev and eudev-dev (1.9 -> 3.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 21 17:49:19 2020 +0100 (2020-01-21) |
parents | c10a3037b056 |
children | 750962244111 |
files | eudev-dev/receipt eudev/receipt |
line diff
1.1 --- a/eudev-dev/receipt Tue Jan 21 17:20:48 2020 +0100 1.2 +++ b/eudev-dev/receipt Tue Jan 21 17:49:19 2020 +0100 1.3 @@ -1,24 +1,28 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="eudev-dev" 1.7 -VERSION="1.9" 1.8 +VERSION="3.2.9" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Eudev devel file (libudev)." 1.11 +SHORT_DESC="Eudev development files (libudev)." 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 +PROVIDE="udev-dev" 1.17 +DEPENDS="eudev pkg-config" 1.18 WANTED="eudev" 1.19 -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 1.20 + 1.21 HOST_ARCH="i486 arm" 1.22 -PROVIDE="udev-dev" 1.23 - 1.24 -DEPENDS="eudev pkg-config" 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 - mkdir -p $fs/lib $fs/usr/lib/pkgconfig $fs/usr/include 1.30 - cp -a $install/lib/libudev*a $fs/lib 1.31 - cp -a $install/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig 1.32 - cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig 1.33 - cp -a $install/usr/include/libudev.h $fs/usr/include 1.34 + mkdir -p $fs/lib 1.35 + mkdir -p $fs/usr/lib/pkgconfig 1.36 + mkdir -p $fs/usr/include 1.37 + 1.38 + cp -a $install/lib/libudev*a $fs/lib 1.39 + cp -a $install/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig 1.40 + cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig 1.41 + cp -a $install/usr/include/libudev.h $fs/usr/include 1.42 }
2.1 --- a/eudev/receipt Tue Jan 21 17:20:48 2020 +0100 2.2 +++ b/eudev/receipt Tue Jan 21 17:49:19 2020 +0100 2.3 @@ -1,32 +1,35 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="eudev" 2.7 -VERSION="1.9" 2.8 +VERSION="3.2.9" 2.9 CATEGORY="base-system" 2.10 -SHORT_DESC="Fork of udev to avoid depending on systemd" 2.11 +SHORT_DESC="Fork of udev to avoid depending on systemd." 2.12 MAINTAINER="tcg.thegamer@gmail.com" 2.13 LICENSE="GPL2" 2.14 +WEB_SITE="https://wiki.gentoo.org/wiki/Project:Eudev" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.17 -WEB_SITE="http://dev.gentoo.org/~blueness/eudev" 2.18 -WGET_URL="${WEB_SITE}/${TARBALL}" 2.19 +WGET_URL="https://dev.gentoo.org/~blueness/$PACKAGE/$TARBALL" 2.20 + 2.21 PROVIDE="udev" 2.22 - 2.23 -DEPENDS="dbus util-linux-blkid pciids usbids acl kmod" 2.24 -BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev pcre-dev kmod-dev \ 2.25 -dbus-dev gperf pkg-config acl-dev" 2.26 +DEPENDS="acl dbus kmod pciids usbids util-linux-blkid" 2.27 +BUILD_DEPENDS="acl-dev dbus-dev gperf kmod-dev pcre-dev pkg-config 2.28 + util-linux-blkid-dev util-linux-uuid-dev" 2.29 2.30 # Rules to configure and make the package. 2.31 compile_rules() 2.32 { 2.33 - ./configure \ 2.34 - --sysconfdir=/etc \ 2.35 - --exec-prefix="" \ 2.36 - --with-rootprefix="" \ 2.37 - --disable-manpages \ 2.38 - --disable-introspection \ 2.39 - --disable-keymap \ 2.40 - --enable-floppy \ 2.41 - --enable-rule-generator \ 2.42 + # 3.2.9 unrecognised: 2.43 + # --disable-keymap 2.44 + # --enable-floppy 2.45 + 2.46 + ./configure \ 2.47 + --sysconfdir=/etc \ 2.48 + --exec-prefix="" \ 2.49 + --with-rootprefix="" \ 2.50 + --disable-manpages \ 2.51 + --disable-introspection \ 2.52 + --enable-rule-generator \ 2.53 $CONFIGURE_ARGS && 2.54 make && 2.55 make DESTDIR=$DESTDIR install 2.56 @@ -37,15 +40,15 @@ 2.57 { 2.58 mkdir -p $fs/lib/firmware 2.59 2.60 - cp -a $install/sbin $fs 2.61 - cp -a $install/etc $fs 2.62 - cp -a $install/lib/libgudev*so* $fs/lib 2.63 - cp -a $install/lib/udev $fs/lib 2.64 + cp -a $install/sbin $fs 2.65 + cp -a $install/etc $fs 2.66 + cp -a $install/lib/libudev*so* $fs/lib 2.67 + cp -a $install/lib/udev $fs/lib 2.68 2.69 - # Copy rules files to udev conf dir 2.70 - mv -f $fs/lib/udev/rules.d $fs/etc/udev 2.71 - cp $stuff/udev.conf $fs/etc/udev 2.72 - cp $stuff/*.rules $fs/etc/udev/rules.d 2.73 + # Copy rules files to udev configuration directory 2.74 + mv -f $fs/lib/udev/rules.d $fs/etc/udev 2.75 + cp $stuff/udev.conf $fs/etc/udev 2.76 + cp $stuff/*.rules $fs/etc/udev/rules.d 2.77 2.78 # Create some devices and directories that Udev cannot handle 2.79 # due to them being required very early in the boot process 2.80 @@ -54,9 +57,8 @@ 2.81 mknod -m 0666 $fs/lib/udev/devices/null c 1 3 2.82 2.83 # Fix permissions 2.84 - chmod +x $fs/lib/udev/* 2.85 - chown -R root.root $fs 2.86 - 2.87 + chmod +x $fs/lib/udev/* 2.88 + chown -R root.root $fs 2.89 } 2.90 2.91 list_udev_group() 2.92 @@ -71,12 +73,14 @@ 2.93 { 2.94 # Sanity check for udev+ldap boot 2.95 list_udev_group "$1" GROUP | \ 2.96 - while read x ; do 2.97 + while read x 2.98 + do 2.99 grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x 2.100 - done 2.101 + done 2.102 2.103 list_udev_group "$1" OWNER | \ 2.104 - while read x ; do 2.105 + while read x 2.106 + do 2.107 grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x 2.108 - done 2.109 + done 2.110 }