summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 21:11:46 +0100
committerLukc <lukc@upyum.com>2010-12-12 21:11:46 +0100
commit42addf3d2e2ebf66f1e95a0745792f85064a0350 (patch)
treebd56bfc9ef84a5805d30d8ee4ffc3ac82dfbc03a
parente00bffccd0a222aa3d1a361a658865fcf4d2b717 (diff)
downloadbase-42addf3d2e2ebf66f1e95a0745792f85064a0350.tar.gz
base-42addf3d2e2ebf66f1e95a0745792f85064a0350.tar.bz2
base-42addf3d2e2ebf66f1e95a0745792f85064a0350.tar.xz
base-42addf3d2e2ebf66f1e95a0745792f85064a0350.zip
Recette de udev mise à jour.
-rw-r--r--udev/.footprint22
-rw-r--r--udev/.sha256sum2
-rw-r--r--udev/Pkgfile51
3 files changed, 44 insertions, 31 deletions
diff --git a/udev/.footprint b/udev/.footprint
index f24beb6..f80f92d 100644
--- a/udev/.footprint
+++ b/udev/.footprint
@@ -12,12 +12,12 @@ drwxr-xr-x root/root lib/udev/
-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)
-crw------- root/root lib/udev/devices/kmsg (1, 11)
-crw-rw-rw- root/root lib/udev/devices/null (1, 3)
+crw------- root/root lib/udev/devices/console
+crw------- root/root lib/udev/devices/kmsg
+crw-rw-rw- root/root lib/udev/devices/null
drwxr-xr-x root/root lib/udev/devices/pts/
drwxr-xr-x root/root lib/udev/devices/shm/
-crw-rw-rw- root/root lib/udev/devices/zero (1, 5)
+crw-rw-rw- root/root lib/udev/devices/zero
-rwxr-xr-x root/root lib/udev/edd_id
-rwxr-xr-x root/root lib/udev/firmware
-rwxr-xr-x root/root lib/udev/fstab_import
@@ -60,13 +60,13 @@ drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libudev.so -> ../../lib/libudev.so.0.9.3
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libudev.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/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
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/udev.7.bz2
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/scsi_id.8.bz2
+-rw-r--r-- root/root usr/share/man/man8/udevadm.8.bz2
+-rw-r--r-- root/root usr/share/man/man8/udevd.8.bz2
drwxr-xr-x root/root usr/share/pkgconfig/
-rw-r--r-- root/root usr/share/pkgconfig/udev.pc
diff --git a/udev/.sha256sum b/udev/.sha256sum
new file mode 100644
index 0000000..e2b7a49
--- /dev/null
+++ b/udev/.sha256sum
@@ -0,0 +1,2 @@
+dfca304388b22613e4df98984853d0d480405fafdcd7ef4ec348f69c62fb150f start_udev
+81db1a089e4c13fd73fbb5ace7974ab84e2d92d8a39fad81d3707d92b6429258 udev-164.tar.bz2
diff --git a/udev/Pkgfile b/udev/Pkgfile
index 11a5faf..47f63a8 100644
--- a/udev/Pkgfile
+++ b/udev/Pkgfile
@@ -1,29 +1,40 @@
-description="Userspace device management daemon"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+description="Userspace device management daemon."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
depends=()
name=udev
version=164
release=2
-source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-164.tar.bz2 start_udev)
+source=(
+ ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/$name-$version.tar.bz2
+ start_udev
+)
build ()
{
- cd udev-$version;
- ./configure --prefix=/usr --exec-prefix= --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/lib/udev --mandir=/usr/man --disable-extras --disable-introspection;
- make;
- make install DESTDIR=$PKG pkgconfigdir=/usr/lib/pkgconfig;
- mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}};
- mkdir -p $PKG/lib;
- mv $PKG/usr/lib/libudev.so.* $PKG/lib;
- ln -sf ../../lib/$(readlink $PKG/usr/lib/libudev.so) $PKG/usr/lib/libudev.so;
- mknod -m 600 $PKG/lib/udev/devices/console c 5 1;
- mknod -m 600 $PKG/lib/udev/devices/kmsg c 1 11;
- mknod -m 666 $PKG/lib/udev/devices/null c 1 3;
- mknod -m 666 $PKG/lib/udev/devices/zero c 1 5;
- install -m 0755 $SRC/start_udev $PKG/sbin;
- mkdir -p $PKG/usr/bin;
- ln -s /sbin/udevadm $PKG/usr/bin/udevinfo;
- rm -rf $PKG/usr/share/{gtk-,}doc
+ cd udev-$version;
+ ./configure \
+ --prefix=$prefix \
+ --exec-prefix= \
+ --sysconfdir=$sysconfdir \
+ --libdir=$libdir \
+ --libexecdir=/lib/udev \
+ --mandir=$mandir \
+ --disable-extras \
+ --disable-introspection;
+ make;
+ make install DESTDIR=$PKG pkgconfigdir=$libdir/pkgconfig;
+ mkdir -p $PKG/lib/{firmware,udev/devices/{pts,shm}};
+ mkdir -p $PKG/lib;
+ mv $PKG$libdir/libudev.so.* $PKG/lib;
+ ln -sf ../../lib/$(readlink $PKG$libdir/libudev.so) $PKG$libdir/libudev.so;
+ mknod -m 600 $PKG/lib/udev/devices/console c 5 1;
+ mknod -m 600 $PKG/lib/udev/devices/kmsg c 1 11;
+ mknod -m 666 $PKG/lib/udev/devices/null c 1 3;
+ mknod -m 666 $PKG/lib/udev/devices/zero c 1 5;
+ install -m 0755 $SRC/start_udev $PKG/sbin;
+ mkdir -p $PKG$prefix/bin;
+ ln -s /sbin/udevadm $PKG/usr/bin/udevinfo;
+ rm -rf $PKG$prefix/share/{gtk-,}doc
}