Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4a663883e9035b2fd855b8925dc3fe827d88ea23

commit 4a663883e9035b2fd855b8925dc3fe827d88ea23
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Sat Aug 2 17:08:45 2008 +0200

udev-126-1-i686
- version bump
- the build system is now automake, so we needed a lot of changes in
build(), but fpmdiff says the result is safe. most rules which were
never in backup() are now moved from /etc/udev/rules.d to
/lib/udev/rules.d to indicate that they should not be touched (this is
done by upstream, i just wanted to mention that this change is
intentional)

diff --git a/source/base/udev/FrugalBuild b/source/base/udev/FrugalBuild
index acb44ce..1e0af17 100644
--- a/source/base/udev/FrugalBuild
+++ b/source/base/udev/FrugalBuild
@@ -2,12 +2,11 @@
# Maintainer: Miklos Vajna <[EMAIL PROTECTED]>

pkgname=udev
-pkgver=124
-pkgrel=2
+pkgver=126
+pkgrel=1
pkgdesc="A userspace implementation of devfs"
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/";
-backup=(etc/udev/{udev.conf,rules.d/50-udev-default.rules} \
-       etc/sysconfig/blacklist)
+backup=(etc/sysconfig/blacklist)
depends=('glibc>=2.8-3')
rodepends=('chkconfig>=1.3.30c-2' 'coreutils>=6.12-2' 'grep>=2.5.3-4')
groups=('base' 'core')
@@ -19,34 +18,39 @@ source=($url/$pkgname-$pkgver.tar.gz rc.udev blacklist \
README.Frugalware)
signatures=("${source[0]}.sign" '' '' '')

-# if you update this package, you MUST test it carefully,
-# including the rules. run 'udevtest -h' for the later
-# to test a specific device, use for example udevtest `udevinfo -q path -n hdc`
+# If you update this package, you MUST test it carefully, including the
+# rules. Run
+#
+#      udevadm test -h
+#
+# for the later to test a specific device, use for example
+#
+#      udevadm test `udevadm info -q path -n sr0`

build()
{
unset MAKEFLAGS
-       Fcd
Fpatchall
+       Fconf --exec-prefix=""
make V=1 || return 1
Fmakeinstall EXTRAS="extras/ata_id extras/cdrom_id extras/path_id extras/edd_id 
extras/firmware extras/floppy extras/scsi_id extras/usb_id extras/volume_id 
extras/rule_generator"
Fmkdir /lib/udev/devices
# there is a newer version of this in the packages folder, don't
# overwrite it
-       rm etc/udev/frugalware/64-device-mapper.rules
+       rm rules/frugalware/64-device-mapper.rules || return 1
for i in rules.d packages frugalware
do
-               Ffilerel etc/udev/$i/* /etc/udev/rules.d/
+               Ffilerel rules/$i/* /lib/udev/rules.d/
done
# alsa one is broke on frugalware it kills the sound
# all the other not needed we don't have these archs
-       Frm etc/udev/rules.d/40-{alsa,ppc,s390,ia64}.rules
+       Frm lib/udev/rules.d/40-{alsa,ppc,s390,ia64}.rules
Fexe /etc/rc.d/rc.udev
Ffile /etc/sysconfig/blacklist
Fmkdir /etc/modprobe.d /dev
Fln /etc/sysconfig/blacklist /etc/modprobe.d/blacklist
Fdoc README.Frugalware
-       Fdocrel COPYING ChangeLog FAQ README RELEASE-NOTES TODO docs/*
+       Fdocrel docs/*
mknod -m 700 $Fdestdir/dev/console c 5 1
chgrp tty $Fdestdir/dev/console
mknod -m 666 $Fdestdir/dev/null c 1 3
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to