--- /dev/null
+drwxr-xr-x root/root etc/
+-rw-r--r-- root/root etc/scsi_id.config
+drwxr-xr-x root/root etc/udev/
+drwxr-xr-x root/root etc/udev/rules.d/
+-rw-r--r-- root/root etc/udev/udev.conf
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/firmware/
+lrwxrwxrwx root/root lib/libudev.so.0 -> libudev.so.0.2.0
+-rwxr-xr-x root/root lib/libudev.so.0.2.0
+lrwxrwxrwx root/root lib/libvolume_id.so.1 -> libvolume_id.so.1.1.0
+-rwxr-xr-x root/root lib/libvolume_id.so.1.1.0
+drwxr-xr-x root/root lib/udev/
+-rwxr-xr-x root/root lib/udev/ata_id
+-rwxr-xr-x root/root lib/udev/cdrom_id
+-rwxr-xr-x root/root lib/udev/collect
+-rwxr-xr-x root/root lib/udev/create_floppy_devices
+drwxr-xr-x root/root lib/udev/devices/
+crw------- root/root lib/udev/devices/console (5, 1)
+lrwxrwxrwx root/root lib/udev/devices/core -> /proc/kcore
+lrwxrwxrwx root/root lib/udev/devices/fd -> /proc/self/fd
+crw-rw-rw- root/root lib/udev/devices/null (1, 3)
+drwxr-xr-x root/root lib/udev/devices/pts/
+drwxr-xr-x root/root lib/udev/devices/shm/
+lrwxrwxrwx root/root lib/udev/devices/stderr -> /proc/self/fd/2
+lrwxrwxrwx root/root lib/udev/devices/stdin -> /proc/self/fd/0
+lrwxrwxrwx root/root lib/udev/devices/stdout -> /proc/self/fd/1
+crw-rw-rw- root/root lib/udev/devices/zero (1, 5)
+-rwxr-xr-x root/root lib/udev/edd_id
+-rwxr-xr-x root/root lib/udev/firmware.sh
+-rwxr-xr-x root/root lib/udev/fstab_import
+-rwxr-xr-x root/root lib/udev/path_id
+-rw-r--r-- root/root lib/udev/rule_generator.functions
+drwxr-xr-x root/root lib/udev/rules.d/
+-rw-r--r-- root/root lib/udev/rules.d/40-alsa.rules
+-rw-r--r-- root/root lib/udev/rules.d/50-firmware.rules
+-rw-r--r-- root/root lib/udev/rules.d/50-udev-default.rules
+-rw-r--r-- root/root lib/udev/rules.d/55-lfs.rules
+-rw-r--r-- root/root lib/udev/rules.d/60-cdrom_id.rules
+-rw-r--r-- root/root lib/udev/rules.d/60-persistent-input.rules
+-rw-r--r-- root/root lib/udev/rules.d/60-persistent-serial.rules
+-rw-r--r-- root/root lib/udev/rules.d/60-persistent-storage-tape.rules
+-rw-r--r-- root/root lib/udev/rules.d/60-persistent-storage.rules
+-rw-r--r-- root/root lib/udev/rules.d/60-persistent-v4l.rules
+-rw-r--r-- root/root lib/udev/rules.d/61-cdrom.rules
+-rw-r--r-- root/root lib/udev/rules.d/61-persistent-storage-edd.rules
+-rw-r--r-- root/root lib/udev/rules.d/75-cd-aliases-generator.rules
+-rw-r--r-- root/root lib/udev/rules.d/75-persistent-net-generator.rules
+-rw-r--r-- root/root lib/udev/rules.d/79-fstab_import.rules
+-rw-r--r-- root/root lib/udev/rules.d/80-drivers.rules
+-rw-r--r-- root/root lib/udev/rules.d/95-udev-late.rules
+-rwxr-xr-x root/root lib/udev/scsi_id
+-rwxr-xr-x root/root lib/udev/usb_id
+-rwxr-xr-x root/root lib/udev/vol_id
+-rwxr-xr-x root/root lib/udev/write_cd_rules
+-rwxr-xr-x root/root lib/udev/write_net_rules
+drwxr-xr-x root/root sbin/
+lrwxrwxrwx root/root sbin/scsi_id -> ../lib/udev/scsi_id
+-rwxr-xr-x root/root sbin/start_udev
+-rwxr-xr-x root/root sbin/udevadm
+-rwxr-xr-x root/root sbin/udevd
+lrwxrwxrwx root/root sbin/vol_id -> ../lib/udev/vol_id
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/udevinfo -> /sbin/udevadm
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/libudev.h
+-rw-r--r-- root/root usr/include/libvolume_id.h
+drwxr-xr-x root/root usr/lib/
+lrwxrwxrwx root/root usr/lib/libudev.so -> ../../lib/libudev.so.0.2.0
+lrwxrwxrwx root/root usr/lib/libvolume_id.so -> ../../lib/libvolume_id.so.1.1.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libudev.pc
+-rw-r--r-- root/root usr/lib/pkgconfig/libvolume_id.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man7/
+-rw-r--r-- root/root usr/man/man7/udev.7.gz
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/ata_id.8.gz
+-rw-r--r-- root/root usr/man/man8/cdrom_id.8.gz
+-rw-r--r-- root/root usr/man/man8/create_floppy_devices.8.gz
+-rw-r--r-- root/root usr/man/man8/edd_id.8.gz
+-rw-r--r-- root/root usr/man/man8/path_id.8.gz
+-rw-r--r-- root/root usr/man/man8/scsi_id.8.gz
+-rw-r--r-- root/root usr/man/man8/udevadm.8.gz
+-rw-r--r-- root/root usr/man/man8/udevd.8.gz
+-rw-r--r-- root/root usr/man/man8/usb_id.8.gz
+-rw-r--r-- root/root usr/man/man8/vol_id.8.gz
--- /dev/null
+# Description: Userspace device management daemon
+# URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
+
+name=udev
+version=141
+release=1
+source=(http://crux-arm.nu/files/distfiles/$name-$version.tar.bz2 \
+ http://crux.nu/files/distfiles/udev-config-20081015.tar.bz2 \
+ start_udev glibc-2.16.patch)
+
+build() {
+ cd udev-$version
+
+ patch -p1 -i $SRC/glibc-2.16.patch
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --exec-prefix= \
+ --sysconfdir=/etc \
+ --mandir=/usr/man
+
+ make V=1
+ make install DESTDIR=$PKG
+
+ # scsi_id + vol_id need to be multi-path
+ (cd $PKG/sbin; ln -s ../lib/udev/vol_id vol_id)
+ (cd $PKG/sbin; ln -s ../lib/udev/scsi_id scsi_id)
+
+ mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}}
+
+ # Populate nodes
+ mknod -m 600 $PKG/lib/udev/devices/console c 5 1
+ mknod -m 666 $PKG/lib/udev/devices/null c 1 3
+ mknod -m 666 $PKG/lib/udev/devices/zero c 1 5
+ ln -s /proc/self/fd $PKG/lib/udev/devices/fd
+ ln -s /proc/self/fd/0 $PKG/lib/udev/devices/stdin
+ ln -s /proc/self/fd/1 $PKG/lib/udev/devices/stdout
+ ln -s /proc/self/fd/2 $PKG/lib/udev/devices/stderr
+ ln -s /proc/kcore $PKG/lib/udev/devices/core
+
+ # Install some upstream rules
+ cp -a rules/packages/40-alsa.rules $PKG/lib/udev/rules.d/
+
+ # Add CRUX items + LFS rules
+ install -m 0755 $SRC/start_udev $PKG/sbin
+
+ pushd $SRC/udev-config-20081015
+ make DESTDIR=$PKG RULES_DIR=/lib/udev/rules.d install
+ popd
+
+ # Comment uucp lines in default rules
+ sed -i 's|.*uucp.*|#&|g' $PKG/lib/udev/rules.d/50-udev-default.rules
+ sed -i 's|.*uucp.*|#&|g' $PKG/lib/udev/rules.d/55-lfs.rules
+
+ # Keep udevinfo for legacy support
+ mkdir -p $PKG/usr/bin
+ ln -s /sbin/udevadm $PKG/usr/bin/udevinfo
+}