--- udev-171.orig/config.sub +++ udev-171/config.sub @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011 Free Software Foundation, Inc. -timestamp='2009-11-20' +timestamp='2011-03-23' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -75,8 +75,9 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free +Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -123,8 +124,9 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os @@ -156,8 +158,8 @@ os= basic_machine=$1 ;; - -bluegene*) - os=-cnk + -bluegene*) + os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= @@ -173,10 +175,10 @@ os=-chorusos basic_machine=$1 ;; - -chorusrdb) - os=-chorusrdb + -chorusrdb) + os=-chorusrdb basic_machine=$1 - ;; + ;; -hiux*) os=-hiuxwe2 ;; @@ -281,11 +283,13 @@ | moxie \ | mt \ | msp430 \ + | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ + | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rx \ | score \ @@ -293,15 +297,24 @@ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ - | spu | strongarm \ - | tahoe | thumb | tic4x | tic80 | tron \ + | spu \ + | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e \ | we32k \ - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; + c54x) + basic_machine=tic54x-unknown + ;; + c55x) + basic_machine=tic55x-unknown + ;; + c6x) + basic_machine=tic6x-unknown + ;; m6811 | m68hc11 | m6812 | m68hc12 | picochip) # Motorola 68HC11/12. basic_machine=$basic_machine-unknown @@ -313,6 +326,18 @@ basic_machine=mt-unknown ;; + strongarm | thumb | xscale) + basic_machine=arm-unknown + ;; + + xscaleeb) + basic_machine=armeb-unknown + ;; + + xscaleel) + basic_machine=armel-unknown + ;; + # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. @@ -333,7 +358,7 @@ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | bfin-* | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ @@ -367,25 +392,28 @@ | mmix-* \ | mt-* \ | msp430-* \ + | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ + | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ - | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ + | tahoe-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tile-* | tilegx-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) @@ -410,7 +438,7 @@ basic_machine=a29k-amd os=-udi ;; - abacus) + abacus) basic_machine=abacus-unknown ;; adobe68k) @@ -480,11 +508,20 @@ basic_machine=powerpc-ibm os=-cnk ;; + c54x-*) + basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c55x-*) + basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + c6x-*) + basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; c90) basic_machine=c90-cray os=-unicos ;; - cegcc) + cegcc) basic_machine=arm-unknown os=-cegcc ;; @@ -516,7 +553,7 @@ basic_machine=craynv-cray os=-unicosmp ;; - cr16) + cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; @@ -732,7 +769,7 @@ basic_machine=ns32k-utek os=-sysv ;; - microblaze) + microblaze) basic_machine=microblaze-xilinx ;; mingw32) @@ -839,6 +876,12 @@ np1) basic_machine=np1-gould ;; + neo-tandem) + basic_machine=neo-tandem + ;; + nse-tandem) + basic_machine=nse-tandem + ;; nsr-tandem) basic_machine=nsr-tandem ;; @@ -921,9 +964,10 @@ ;; power) basic_machine=power-ibm ;; - ppc) basic_machine=powerpc-unknown + ppc | ppcbe) basic_machine=powerpc-unknown ;; - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ppc-* | ppcbe-*) + basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown @@ -1017,6 +1061,9 @@ basic_machine=i860-stratus os=-sysv4 ;; + strongarm-* | thumb-*) + basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; sun2) basic_machine=m68000-sun ;; @@ -1073,17 +1120,10 @@ basic_machine=t90-cray os=-unicos ;; - tic54x | c54x*) - basic_machine=tic54x-unknown - os=-coff - ;; - tic55x | c55x*) - basic_machine=tic55x-unknown - os=-coff - ;; - tic6x | c6x*) - basic_machine=tic6x-unknown - os=-coff + # This must be matched before tile*. + tilegx*) + basic_machine=tilegx-unknown + os=-linux-gnu ;; tile*) basic_machine=tile-unknown @@ -1156,6 +1196,9 @@ xps | xps100) basic_machine=xps100-honeywell ;; + xscale-* | xscalee[bl]-*) + basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` + ;; ymp) basic_machine=ymp-cray os=-unicos @@ -1253,11 +1296,11 @@ if [ x"$os" != x"" ] then case $os in - # First match some system type aliases - # that might get confused with valid system types. + # First match some system type aliases + # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. - -auroraux) - os=-auroraux + -auroraux) + os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` @@ -1294,7 +1337,8 @@ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ @@ -1341,7 +1385,7 @@ -opened*) os=-openedition ;; - -os400*) + -os400*) os=-os400 ;; -wince*) @@ -1390,7 +1434,7 @@ -sinix*) os=-sysv4 ;; - -tpf*) + -tpf*) os=-tpf ;; -triton*) @@ -1435,6 +1479,8 @@ -dicos*) os=-dicos ;; + -nacl*) + ;; -none) ;; *) @@ -1457,10 +1503,10 @@ # system, and we'll never get to this point. case $basic_machine in - score-*) + score-*) os=-elf ;; - spu-*) + spu-*) os=-elf ;; *-acorn) @@ -1472,8 +1518,17 @@ arm*-semi) os=-aout ;; - c4x-* | tic4x-*) - os=-coff + c4x-* | tic4x-*) + os=-coff + ;; + tic54x-*) + os=-coff + ;; + tic55x-*) + os=-coff + ;; + tic6x-*) + os=-coff ;; # This must come before the *-dec entry. pdp10-*) @@ -1500,7 +1555,7 @@ m68*-cisco) os=-aout ;; - mep-*) + mep-*) os=-elf ;; mips*-cisco) @@ -1527,7 +1582,7 @@ *-ibm) os=-aix ;; - *-knuth) + *-knuth) os=-mmixware ;; *-wec) --- udev-171.orig/aclocal.m4 +++ udev-171/aclocal.m4 @@ -47,7 +47,8 @@ # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) @@ -93,7 +94,8 @@ pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried @@ -141,9 +143,9 @@ AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD --- udev-171.orig/config.guess +++ udev-171/config.guess @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, +# 2011 Free Software Foundation, Inc. -timestamp='2009-11-20' +timestamp='2011-05-11' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -56,8 +56,9 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, +2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free +Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -139,16 +140,6 @@ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown -case "${UNAME_MACHINE}" in - i?86) - test -z "$VENDOR" && VENDOR=pc - ;; - *) - test -z "$VENDOR" && VENDOR=unknown - ;; -esac -test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse - # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in @@ -190,7 +181,7 @@ fi ;; *) - os=netbsd + os=netbsd ;; esac # The OS release @@ -213,19 +204,19 @@ exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` - echo ${UNAME_MACHINE_ARCH}-${VENDOR}-openbsd${UNAME_RELEASE} + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE} + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE} + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) - echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE} + echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-mirbsd${UNAME_RELEASE} + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in @@ -233,7 +224,7 @@ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on @@ -279,7 +270,10 @@ # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit ;; + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead @@ -290,13 +284,13 @@ echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) - echo m68k-${VENDOR}-sysv4 + echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-amigaos + echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-morphos + echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition @@ -305,13 +299,13 @@ echo s390-ibm-zvmoe exit ;; *:OS400:*:*) - echo powerpc-ibm-os400 + echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) - echo arm-${VENDOR}-riscos + echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp @@ -404,23 +398,23 @@ # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} - exit ;; + exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) - echo m68k-atari-mint${UNAME_RELEASE} + echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) - echo m68k-milan-mint${UNAME_RELEASE} - exit ;; + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) - echo m68k-hades-mint${UNAME_RELEASE} - exit ;; + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) - echo m68k-${VENDOR}-mint${UNAME_RELEASE} - exit ;; + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; @@ -490,8 +484,8 @@ echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) - # DG/UX returns AViiON for all architectures - UNAME_PROCESSOR=`/usr/bin/uname -p` + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ @@ -504,7 +498,7 @@ else echo i586-dg-dgux${UNAME_RELEASE} fi - exit ;; + exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; @@ -561,7 +555,7 @@ echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[456]) + *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -604,52 +598,52 @@ 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` - case "${sc_cpu_version}" in - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 - 532) # CPU_PA_RISC2_0 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 - esac ;; - esac + esac ;; + esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + sed 's/^ //' << EOF >$dummy.c - #define _HPUX_SOURCE - #include - #include - - int main () - { - #if defined(_SC_KERNEL_BITS) - long bits = sysconf(_SC_KERNEL_BITS); - #endif - long cpu = sysconf (_SC_CPU_VERSION); - - switch (cpu) - { - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; - case CPU_PA_RISC2_0: - #if defined(_SC_KERNEL_BITS) - switch (bits) - { - case 64: puts ("hppa2.0w"); break; - case 32: puts ("hppa2.0n"); break; - default: puts ("hppa2.0"); break; - } break; - #else /* !defined(_SC_KERNEL_BITS) */ - puts ("hppa2.0"); break; - #endif - default: puts ("hppa1.0"); break; - } - exit (0); - } + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa @@ -730,9 +724,9 @@ exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then - echo ${UNAME_MACHINE}-${VENDOR}-osf1mk + echo ${UNAME_MACHINE}-unknown-osf1mk else - echo ${UNAME_MACHINE}-${VENDOR}-osf1 + echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) @@ -740,22 +734,22 @@ exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd - exit ;; + exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi - exit ;; + exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd - exit ;; + exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd - exit ;; + exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd - exit ;; + exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; @@ -779,32 +773,32 @@ exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit ;; + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; 5000:UNIX_System_V:4.*:*) - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) - echo sparc-${VENDOR}-bsdi${UNAME_RELEASE} + echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE} + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) - echo i386-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) - echo x86_64-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) - echo ${UNAME_MACHINE}-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) @@ -814,22 +808,22 @@ echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) - # uname -m includes "-pc" on this system. - echo ${UNAME_MACHINE}-mingw32 + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) - case ${UNAME_MACHINE} in + case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) - echo x86_64-${VENDOR}-interix${UNAME_RELEASE} + echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) - echo ia64-${VENDOR}-interix${UNAME_RELEASE} + echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) @@ -848,21 +842,21 @@ echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) - echo x86_64-${VENDOR}-cygwin + echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) - echo powerpcle-${VENDOR}-cygwin + echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) - echo powerpcle-${VENDOR}-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-${VENDOR}-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-${VENDOR}-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix @@ -876,23 +870,29 @@ EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; - esac + esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu${LIBC} + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu else - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnueabi + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabihf + fi fi exit ;; avr32*:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu @@ -901,7 +901,7 @@ echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) - echo frv-${VENDOR}-linux-gnu + echo frv-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu @@ -912,16 +912,16 @@ #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` - echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build @@ -940,51 +940,54 @@ #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` - test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-gnu"; exit; } + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) - echo or32-${VENDOR}-linux-gnu + echo or32-unknown-linux-gnu exit ;; padre:Linux:*:*) - echo sparc-${VENDOR}-linux-gnu + echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-${VENDOR}-linux-gnu + echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-${VENDOR}-linux-gnu ;; - PA8*) echo hppa2.0-${VENDOR}-linux-gnu ;; - *) echo hppa-${VENDOR}-linux-gnu ;; + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) - echo powerpc64-${VENDOR}-linux-gnu + echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) - echo powerpc-${VENDOR}-linux-gnu + echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + tile*:Linux:*:*) + echo ${UNAME_MACHINE}-tilera-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) - echo x86_64-${VENDOR}-linux-gnu + echo x86_64-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-linux-gnu + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. @@ -993,11 +996,11 @@ echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) - # Unixware is an offshoot of SVR4, but it has its own version - # number series starting with 2... - # I am not positive that other SVR4 systems won't match this, + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. - # Use sysv4.2uw... so that sysv4* matches it. + # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) @@ -1006,16 +1009,16 @@ echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-${VENDOR}-stop + echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-atheos + echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) - echo i386-${VENDOR}-lynxos${UNAME_RELEASE} + echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp @@ -1029,13 +1032,13 @@ fi exit ;; i*86:*:5:[678]*) - # UnixWare 7.x, OpenUNIX and OpenServer 6. + # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac - echo ${UNAME_MACHINE}-${VENDOR}-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then @@ -1057,13 +1060,13 @@ exit ;; pc:*:*:*) # Left here for compatibility: - # uname -m prints for DJGPP always 'pc', but it prints nothing about - # the processor, so we play safe by assuming i586. + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp - exit ;; + exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; @@ -1074,7 +1077,7 @@ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. - echo i860-${VENDOR}-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) @@ -1098,8 +1101,8 @@ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ - && { echo i486-ncr-sysv4; exit; } ;; + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ @@ -1111,19 +1114,19 @@ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) - echo m68k-${VENDOR}-lynxos${UNAME_RELEASE} + echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) - echo sparc-${VENDOR}-lynxos${UNAME_RELEASE} + echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) - echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE} + echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) - echo powerpc-${VENDOR}-lynxos${UNAME_RELEASE} + echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} @@ -1142,10 +1145,10 @@ echo ns32k-sni-sysv fi exit ;; - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort - # says - echo i586-unisys-sysv4 - exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm @@ -1171,11 +1174,11 @@ exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then - echo mips-nec-sysv${UNAME_RELEASE} + echo mips-nec-sysv${UNAME_RELEASE} else - echo mips-${VENDOR}-sysv${UNAME_RELEASE} + echo mips-unknown-sysv${UNAME_RELEASE} fi - exit ;; + exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; @@ -1240,6 +1243,9 @@ *:QNX:*:4*) echo i386-pc-qnx exit ;; + NEO-?:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk${UNAME_RELEASE} + exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; @@ -1264,13 +1270,13 @@ else UNAME_MACHINE="$cputype" fi - echo ${UNAME_MACHINE}-${VENDOR}-plan9 + echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) - echo pdp10-${VENDOR}-tops10 + echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) - echo pdp10-${VENDOR}-tenex + echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 @@ -1279,19 +1285,19 @@ echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) - echo pdp10-${VENDOR}-tops20 + echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) - echo pdp10-${VENDOR}-its + echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) - echo mips-sei-seiux${UNAME_RELEASE} + echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) - echo ${UNAME_MACHINE}-${VENDOR}-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) - UNAME_MACHINE=`(uname -p) 2>/dev/null` + UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; @@ -1331,11 +1337,11 @@ #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 - "4" + "4" #else - "" + "" #endif - ); exit (0); + ); exit (0); #endif #endif --- udev-171.orig/Makefile.am +++ udev-171/Makefile.am @@ -336,6 +336,7 @@ dist_udevrules_DATA += \ rules/rules.d/75-net-description.rules \ rules/rules.d/75-tty-description.rules \ + rules/rules.d/78-graphics-card.rules \ rules/rules.d/78-sound-card.rules extras_usb_db_pci_db_SOURCES = extras/usb-db/usb-db.c --- udev-171.orig/Makefile.in +++ udev-171/Makefile.in @@ -79,6 +79,7 @@ @ENABLE_HWDB_TRUE@am__append_7 = \ @ENABLE_HWDB_TRUE@ rules/rules.d/75-net-description.rules \ @ENABLE_HWDB_TRUE@ rules/rules.d/75-tty-description.rules \ +@ENABLE_HWDB_TRUE@ rules/rules.d/78-graphics-card.rules \ @ENABLE_HWDB_TRUE@ rules/rules.d/78-sound-card.rules @ENABLE_UDEV_ACL_TRUE@am__append_8 = extras/udev-acl/70-acl.rules @@ -526,6 +527,7 @@ extras/rule_generator/75-persistent-net-generator.rules \ rules/rules.d/75-net-description.rules \ rules/rules.d/75-tty-description.rules \ + rules/rules.d/78-graphics-card.rules \ rules/rules.d/78-sound-card.rules extras/udev-acl/70-acl.rules \ extras/keymap/95-keymap.rules \ extras/keymap/95-keyboard-force-release.rules \ --- udev-171.orig/configure +++ udev-171/configure @@ -5703,7 +5703,7 @@ lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -8747,6 +8747,9 @@ openbsd*) with_gnu_ld=no ;; + linux* | k*bsd*-gnu | gnu*) + link_all_deplibs=no + ;; esac ld_shlibs=yes @@ -8969,7 +8972,7 @@ fi ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -9146,6 +9149,7 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi + link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then @@ -9602,7 +9606,7 @@ link_all_deplibs=yes ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -10455,6 +10459,7 @@ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -10638,6 +10643,18 @@ dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -11654,6 +11671,7 @@ + if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. @@ -12372,6 +12390,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_USBUTILS_CFLAGS=`$PKG_CONFIG --cflags "usbutils >= 0.82" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12388,6 +12407,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_USBUTILS_LIBS=`$PKG_CONFIG --libs "usbutils >= 0.82" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12407,9 +12427,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - USBUTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "usbutils >= 0.82" 2>&1` + USBUTILS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "usbutils >= 0.82" 2>&1` else - USBUTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors "usbutils >= 0.82" 2>&1` + USBUTILS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "usbutils >= 0.82" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$USBUTILS_PKG_ERRORS" >&5 @@ -12561,6 +12581,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12577,6 +12598,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12596,9 +12618,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` else - GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 @@ -12673,6 +12695,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12689,6 +12712,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12708,9 +12732,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` else - GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` + GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 @@ -12774,6 +12798,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags "gobject-introspection-1.0 >= 0.6.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12790,6 +12815,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_INTROSPECTION_LIBS=`$PKG_CONFIG --libs "gobject-introspection-1.0 >= 0.6.2" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -12809,9 +12835,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-introspection-1.0 >= 0.6.2" 2>&1` + INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-introspection-1.0 >= 0.6.2" 2>&1` else - INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-introspection-1.0 >= 0.6.2" 2>&1` + INTROSPECTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-introspection-1.0 >= 0.6.2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$INTROSPECTION_PKG_ERRORS" >&5 @@ -13019,6 +13045,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBUSB_CFLAGS=`$PKG_CONFIG --cflags "libusb >= 0.1.12" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -13035,6 +13062,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBUSB_LIBS=`$PKG_CONFIG --libs "libusb >= 0.1.12" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi @@ -13054,9 +13082,9 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libusb >= 0.1.12" 2>&1` + LIBUSB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libusb >= 0.1.12" 2>&1` else - LIBUSB_PKG_ERRORS=`$PKG_CONFIG --print-errors "libusb >= 0.1.12" 2>&1` + LIBUSB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libusb >= 0.1.12" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBUSB_PKG_ERRORS" >&5 --- udev-171.orig/ltmain.sh +++ udev-171/ltmain.sh @@ -69,7 +69,7 @@ # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.4 +# $progname: (GNU libtool) 2.4 Debian-2.4-2ubuntu1 # automake: $automake_version # autoconf: $autoconf_version # @@ -79,7 +79,7 @@ PROGRAM=libtool PACKAGE=libtool -VERSION=2.4 +VERSION="2.4 Debian-2.4-2ubuntu1" TIMESTAMP="" package_revision=1.3293 @@ -136,15 +136,15 @@ : ${CP="cp -f"} test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} -: ${EGREP="grep -E"} -: ${FGREP="grep -F"} -: ${GREP="grep"} +: ${EGREP="/bin/grep -E"} +: ${FGREP="/bin/grep -F"} +: ${GREP="/bin/grep"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} -: ${SED="sed"} +: ${SED="/bin/sed"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} @@ -6111,7 +6111,10 @@ case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + link) + libs="$deplibs %DEPLIBS%" + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" + ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then @@ -6430,19 +6433,19 @@ # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_preserve_dup_deps ; then + case "$tmp_libs " in + *" $deplib "*) func_append specialdeplibs " $deplib" ;; + esac + fi + func_append tmp_libs " $deplib" + done elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_preserve_dup_deps ; then - case "$tmp_libs " in - *" $deplib "*) func_append specialdeplibs " $deplib" ;; - esac - fi - func_append tmp_libs " $deplib" - done continue fi # $pass = conv @@ -7334,6 +7337,9 @@ revision="$number_minor" lt_irix_increment=no ;; + *) + func_fatal_configuration "$modename: unknown library version type \`$version_type'" + ;; esac ;; no) --- udev-171.orig/debian/libudev-dev.copyright +++ udev-171/debian/libudev-dev.copyright @@ -0,0 +1,19 @@ +This is the Ubuntu package of libudev, the interface to udev. + +Copyright © 2008-2009 Key Sievers +Copyright © 2009 Alan Jenkins + +Licence: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +On Ubuntu systems, the complete text of the GNU Lesser General Public +License can be found in ‘/usr/share/common-licenses/LGPL-2.1’. --- udev-171.orig/debian/udev.dirs +++ udev-171/debian/udev.dirs @@ -0,0 +1,14 @@ +/sbin +/lib/firmware +/lib/udev +/lib/udev/devices +/lib/udev/devices/net +/lib/udev/devices/pts +/lib/udev/devices/shm +/lib/udev/rules.d +/etc/udev/rules.d +/usr/lib/udev +/usr/share/initramfs-tools/hooks +/usr/share/initramfs-tools/scripts/init-top +/usr/share/initramfs-tools/scripts/nfs-top +/usr/share/initramfs-tools/scripts/init-bottom --- udev-171.orig/debian/udev.postrm +++ udev-171/debian/udev.postrm @@ -0,0 +1,73 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# After the package was removed: +# remove +# +# After the package was purged: +# purge +# +# After the package was upgraded: +# upgrade +# if that fails: +# failed-upgrade +# +# +# After all of the packages files have been replaced: +# disappear +# +# +# If preinst fails during install: +# abort-install +# +# If preinst fails during upgrade of removed package: +# abort-install +# +# If preinst fails during upgrade: +# abort-upgrade + +# Enable udevadm again +enable_udevadm() +{ + rm -f /sbin/udevadm + dpkg-divert --package fake-udev --rename --divert /sbin/udevadm.upgrade \ + --remove /sbin/udevadm +} + + +# Remove configuration and log files +purge_files() +{ + if [ -f /etc/iftab ]; then + rm -f /etc/iftab || true + fi + + if [ -f /var/log/udev ]; then + rm -f /var/log/udev || true + fi +} + + +case "$1" in + remove) + ;; + + purge) + purge_files + ;; + + upgrade|failed-upgrade|disappear) + ;; + + abort-install|abort-upgrade) + enable_udevadm + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 --- udev-171.orig/debian/copyright +++ udev-171/debian/copyright @@ -0,0 +1,34 @@ +This is the Ubuntu package of udev, the rule-base device node and kernel +event manager. + +Copyright © 2004-2006 Key Sievers +Copyright © 2005-2006 SUSE Linux Products GmbH +Copyright © 2006 Hannes Reinecke +Copyright © 2006 Red Hat, Inc. +Copyright © 2003-2004 Greg Kroah-Hartman +Copyright © 2005 John Hull +Copyright © 2005 Tobias Klauser +Copyright © 2005 W. Michael Petullo +Copyright © 2004 Andre Masella +Copyright © 2004 Arnd Bergmann +Copyright © 2004 Chris Friesen +Copyright © 2004 Harald Hoyer +Copyright © 2004 Ling, Xiaofeng +Copyright © 2004 Daniel Walsh +Copyright © 2003 IBM Corp. + +Includes code from the Linux kernel source tree. + +Licence: + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation version 2 of the License. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +On Ubuntu systems, the complete text of the GNU General Public License +can be found in ‘/usr/share/common-licenses/GPL-2’. --- udev-171.orig/debian/libgudev-1.0-dev.copyright +++ udev-171/debian/libgudev-1.0-dev.copyright @@ -0,0 +1,18 @@ +This is the Ubuntu package of libgudev, the interface to udev. + +Copyright © 2008 David Zeuthen + +Licence: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +On Ubuntu systems, the complete text of the GNU Lesser General Public +License can be found in ‘/usr/share/common-licenses/LGPL-2’. --- udev-171.orig/debian/udev.udevtrigger.upstart +++ udev-171/debian/udev.udevtrigger.upstart @@ -0,0 +1,15 @@ +# udevtrigger - cold plug devices +# +# By the time udevd starts, we've already missed all of the events for +# the devices populated in /sys. This task causes the kernel to resend +# them. + +description "cold plug devices" + +start on (startup + and started udev) + +task + +exec udevadm trigger --action=add +post-stop exec udevadm settle --- udev-171.orig/debian/libudev0.install +++ udev-171/debian/libudev0.install @@ -0,0 +1 @@ +lib/*/libudev.so.* --- udev-171.orig/debian/README-etc-rules.d +++ udev-171/debian/README-etc-rules.d @@ -0,0 +1,24 @@ +The files in this directory are read by udev(7) and used when events +are performed by the kernel. The udev daemon watches this directory +with inotify so that changes to these files are automatically picked +up, for this reason they must be files and not symlinks to another +location as in the case in Debian. + +Packages do not generally install rules here, this directory is for +local rules. If you want to override behaviour of package-supplied +rules, which can be found in /lib/udev/rules.d, you can do one of +two things: + + 1) Write your own rules in this directory that assign the name, + symlinks, permissions, etc. that you want. Pick a number higher + than the rules you want to override, and yours will be used. + + 2) Copy the file from /lib/udev/rules.d and edit it here; you + should generally only do this if you want to prevent a program + from being run. + + +If the ordering of files in this directory are not important to you, +it's recommended that you simply name your files "descriptive-name.rules" +such that they are processed AFTER all numbered rules in both this +directory and /lib/udev/rules.d and thus override anything set there. --- udev-171.orig/debian/udev.docs +++ udev-171/debian/udev.docs @@ -0,0 +1,2 @@ +README +NEWS --- udev-171.orig/debian/udev.init +++ udev-171/debian/udev.init @@ -0,0 +1,140 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: udev +# Required-Start: mountkernfs +# Required-Stop: +# Should-Start: +# Default-Start: S +# Default-Stop: +# Short-Description: Start the udev daemon. +# Description: Mounts the /dev virtual filesystem, starts the udev +# daemon and populates /dev. +### END INIT INFO + +# Check the package is still installed +[ -x /sbin/udevd ] || exit 0 + +# Get LSB functions +. /lib/lsb/init-functions +. /etc/default/rcS + + +case "$1" in + start) + # We need the uevent support introduced in 2.6.15, bail out if we + # don't have it and fall back to a static /dev + if [ ! -f /sys/class/mem/null/uevent ]; then + if mountpoint -q /dev; then + # uh-oh, initramfs made some kind of /dev, get rid of it + umount -l /dev + fi + exit 1 + fi + + if ! mountpoint -q /dev; then + # initramfs didn't mount /dev, so we'll need to do that + mount -n -t tmpfs -o mode=0755 udev /dev + fi + + # Copy over default device tree + cp -a -f /lib/udev/devices/* /dev + + # It's all over netlink now + if [ -e /proc/sys/kernel/hotplug ]; then + echo "" > /proc/sys/kernel/hotplug + fi + + # Start udevd + log_begin_msg "Starting kernel event manager..." + if start-stop-daemon --start --quiet --exec /sbin/udevd -- --daemon; then + log_end_msg 0 + else + log_end_msg $? + fi + + # This next bit can take a while + if type usplash_write >/dev/null 2>&1; then + usplash_write "TIMEOUT 360" ||: + trap "usplash_write 'TIMEOUT 15' ||:" 0 + fi + + # Log things that trigger does + /sbin/udevadm monitor -e >/dev/.udev.log & + UDEV_MONITOR_PID=$! + + # Fix permissions and missing symlinks/programs for devices made in + # initramfs, and catch up on everything we missed + log_begin_msg "Loading hardware drivers..." + /sbin/udevadm trigger + if /sbin/udevadm settle; then + log_end_msg 0 + else + log_end_msg $? + fi + + # Kill the udev monitor again + kill $UDEV_MONITOR_PID + ;; + stop) + log_begin_msg "Stopping kernel event manager..." + if start-stop-daemon --stop --quiet --oknodo --exec /sbin/udevd --retry 5; then + log_end_msg 0 + else + log_end_msg $? + fi + umount -l /dev + ;; + restart) + if [ ! -f /sys/kernel/uevent_seqnum ]; then + echo "Kernel uevent sequence number not available, cowardly not restarting udev" 1>&2 + exit 0 + fi + + seqnum_before=$(cat /sys/kernel/uevent_seqnum) + + log_begin_msg "Stopping kernel event manager..." + if start-stop-daemon --stop --quiet --oknodo --exec /sbin/udevd --retry 5; then + log_end_msg 0 + else + log_end_msg $? + fi + + log_begin_msg "Starting kernel event manager..." + if start-stop-daemon --start --quiet --exec /sbin/udevd -- --daemon; then + log_end_msg 0 + else + log_end_msg $? + fi + + seqnum_after=$(cat /sys/kernel/uevent_seqnum) + + if [ $seqnum_before -ne $seqnum_after ]; then + echo "Kernel uevent sequence number changed, some events may have been missed :o(" 1>&2 + fi + ;; + refresh-devices) + cp -au /lib/udev/devices/* /dev + + log_begin_msg "Loading additional hardware drivers..." + /sbin/udevadm trigger + if /sbin/udevadm settle; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; + reload|force-reload) + log_begin_msg "Reloading kernel event manager..." + if start-stop-daemon --stop --signal 1 --exec /sbin/udevd; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; +*) + echo "Usage: /etc/init.d/udev {start|stop|restart|refresh-devices|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 --- udev-171.orig/debian/udev.examples +++ udev-171/debian/udev.examples @@ -0,0 +1 @@ +extras/scsi_id/scsi_id.config --- udev-171.orig/debian/udev.udev-finish.init +++ udev-171/debian/udev.udev-finish.init @@ -0,0 +1,52 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: udev-finish +# Required-Start: mountall-bootclean udev +# Required-Stop: +# Should-Start: +# Default-Start: S +# Default-Stop: +# Short-Description: Finish up udev. +# Description: Copies the udev log into /var/log and copies any rules +# generated while the root filesystem was read-only into +# /etc/udev/rules.d +### END INIT INFO + +# init script to finish up udev + +# Check the package is still installed +[ -x /sbin/udevd ] || exit 0 + +# Get LSB functions +. /lib/lsb/init-functions +. /etc/default/rcS + + +case "$1" in + start) + # Save udev log in /var/log/udev + if [ -e /dev/.udev.log ]; then + mv -f /dev/.udev.log /var/log/udev + fi + + # Make sure the root filesystem is actually writable + # (script is set -e, so this will abort) + touch /etc/udev/rules.d + + # Copy any rules generated while the root filesystem was read-only + for file in /dev/.udev/tmp-rules--*; do + dest=${file##*tmp-rules--} + [ "$dest" = '*' ] && break + cat $file >> /etc/udev/rules.d/$dest + rm -f $file + done + ;; + stop|restart|reload|force-reload) + ;; +*) + echo "Usage: /etc/init.d/udev {start|stop|restart|reload|force-reload}" + exit 1 + ;; +esac + +exit 0 --- udev-171.orig/debian/udev.installer-startup +++ udev-171/debian/udev.installer-startup @@ -0,0 +1,23 @@ +#!/bin/sh -e +# installer startup script for udev + +# Give ourselves a tmpfs to work in +mount -t tmpfs tmpfs /dev +mknod -m 600 /dev/console c 5 1 +mknod -m 666 /dev/null c 1 3 + +# Copy over default device tree +cp -a -f /lib/udev/devices/* /dev + +# It's all over netlink now +echo "" > /proc/sys/kernel/hotplug + +# Start udevd +udevd --daemon --resolve-names=never + +# Create all device nodes, and fix up permissions and missing stuff for +# those already created (by initramfs) +/sbin/udevadm trigger --action=add +/sbin/udevadm settle + +mount -t devpts devpts /dev/pts --- udev-171.orig/debian/libudev0-udeb.install +++ udev-171/debian/libudev0-udeb.install @@ -0,0 +1 @@ +lib/libudev.so.* --- udev-171.orig/debian/libgudev-1.0-0.copyright +++ udev-171/debian/libgudev-1.0-0.copyright @@ -0,0 +1,18 @@ +This is the Ubuntu package of libgudev, the interface to udev. + +Copyright © 2008 David Zeuthen + +Licence: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +On Ubuntu systems, the complete text of the GNU Lesser General Public +License can be found in ‘/usr/share/common-licenses/LGPL-2’. --- udev-171.orig/debian/changelog +++ udev-171/debian/changelog @@ -0,0 +1,3492 @@ +udev (171-0ubuntu3~lucid2) lucid; urgency=low + + * Build for Lucid. + + -- Aron Xu Thu, 23 Jun 2011 22:52:34 +0800 + +udev (171-0ubuntu3) oneiric; urgency=low + + * Go back to the real 171. + * libudev/libudev-monitor.c: Revert the usage of SOCK_NONBLOCK in + udev_monitor_new_from_netlink_fd(). This causes boot failures (stuck in + initramfs) for a lot of people. Many thanks to Loic Minier for bisecting + this! + + -- Martin Pitt Mon, 06 Jun 2011 08:49:41 +0200 + +udev (171-0ubuntu2) oneiric; urgency=low + + * Completely revert changes from 171 for now, until the boot failures that + many people hit is debugged. + + -- Martin Pitt Tue, 31 May 2011 18:34:31 +0200 + +udev (171-0ubuntu1) oneiric; urgency=low + + * New upstream release. + + -- Martin Pitt Tue, 31 May 2011 09:23:10 +0200 + +udev (170-0ubuntu1) oneiric; urgency=low + + * New upstream release. + * debian/udev-udeb.install, debian/udev.initramfs-hook: Drop floppy and edd + rules, there are obsolete and not built by default any more. + * debian/udev.{postinst,postrm,prerm}: Remove a lot of obsolete transition + handling. + * debian/udev.postinst: Drop create_devices(). devtmpfs does all that by + itself these days. Update remove_devices() to clean up. + + -- Martin Pitt Fri, 20 May 2011 11:26:10 +0200 + +udev (168-0ubuntu1) oneiric; urgency=low + + * New upstream release. + + -- Martin Pitt Mon, 16 May 2011 14:44:06 +0200 + +udev (167-0ubuntu3) natty; urgency=low + + * Remove any old divert with --package udev before upgrading. + + -- Stéphane Graber Wed, 06 Apr 2011 14:12:38 -0400 + +udev (167-0ubuntu2) natty; urgency=low + + * debian/udev.{postinst,postrm,preinst}: Update diversions to use fake-udev + instead of udev as the package. Otherwise the diversion will be ignored. + (LP: #745011) + + -- Stéphane Graber Mon, 04 Apr 2011 17:50:13 -0400 + +udev (167-0ubuntu1) natty; urgency=low + + * New upstream release: + - Drop v4l1 code, as current kernels don't ship that any more. + - Lots of bug fixes. + - Lots of changes to systemd integration (does not affect Ubuntu package). + - Use /run/udev/ if possible and fall back to /dev/.udev/ (does not affect + current Ubuntu, as we don't have a /run directory). + - Some keymap updates for Acer and MSI laptops. (LP: #637695) + * debian/libudev0.symbols: Add two new symbols from new version. + + -- Martin Pitt Mon, 04 Apr 2011 11:26:08 +0200 + +udev (166-0ubuntu6) natty; urgency=low + + * Fix (i.e. empty) depedency_libs in .la files per Debian Policy 10.2. + (LP: #740224) + + -- James Troup Tue, 22 Mar 2011 17:32:06 +0000 + +udev (166-0ubuntu5) natty; urgency=low + + * Build for multiarch. + + -- Steve Langasek Sun, 20 Mar 2011 19:03:51 +0000 + +udev (166-0ubuntu4) natty; urgency=low + + [ Scott Moser ] + * do not create persistent net rules for Eucalyuptus addresses (LP: #719418) + + [ Andy Whitcroft ] + * debian/udev.udev-fallback-graphics.upstart: add a new fallback graphics + phase (LP: #702090) + + -- Colin Watson Fri, 18 Mar 2011 22:32:14 +0000 + +udev (166-0ubuntu3) natty; urgency=low + + * debian/udev.{postinst,postrm,preinst}: Don't use --local diversions, but + --package udev. The former break with current dpkg, as this now enforces + the current policy that maintainer scripts must use --package, not + --local. (LP: #727211) + + -- Martin Pitt Tue, 01 Mar 2011 17:22:08 +0100 + +udev (166-0ubuntu2) natty; urgency=low + + * Re-enable extras in the udeb build, and explicitly install only the + files we need (LP: #724242). + + -- Colin Watson Thu, 24 Feb 2011 12:16:40 +0000 + +udev (166-0ubuntu1) natty; urgency=low + + * New upstream release: + - 8 keymap fixes, including LP: #702426 + - Fix keymap tool to display scan codes in unexpected event order. + (LP: #702407) + - Bug fixes. + * Merge from trunk: + - Create by-id links with interface numbers for USB input devices with + multiple interfaces. Thanks a7x! (LP: #626449) + - Drop old v4l1 code, to build with current 2.6.38 kernels. + * debian/rules prep: Drop gtk-doc.make seddery, it's not necessary any more + with the full source tree copying that happens now. + + -- Martin Pitt Tue, 15 Feb 2011 18:22:47 +0100 + +udev (165-0ubuntu2) natty; urgency=low + + * debian/rules: For the build-deb/ tree, copy the entire source tree instead + of just parts. This keeps gtk-doc working (which doesn't work with + out-of-tree build) and avoids building a broken GIR. + * debian/rules: Fail build on missing or changed library symbols. + * debian/libudev0.symbols, debian/libgudev-1.0-0.symbols: Add new symbols + from version 165. + + -- Martin Pitt Thu, 27 Jan 2011 15:57:29 +0100 + +udev (165-0ubuntu1) natty; urgency=low + + * New upstream release. Switch to Ubuntu-ish version number to avoid + confusing them with Debian's. + - Allow local users ACL access to raw USB devices of mobile phones. + (LP: #316215) + - Allow local users ACL access to raw FFADO devices. (LP: #681755) + - Keymap fixes. (LP: #625770, #627890, #686662) + * debian/control, debian/gir1.2-gudev-1.0.install: Rename GIR package to + gir1.2-* to match the repository version and the recent transition. + Add conflicts/replaces to old gir1.0-gudev-1.0. + * debian/udev.postinst: Call udevadm --convert-db when upgrading from a + version earlier than 165, to update the running database. + + -- Martin Pitt Sun, 19 Dec 2010 00:15:00 +0100 + +udev (164-3) natty; urgency=low + + * debian/udev.initramfs-hook: If /sbin/udevadm.upgrade exists, copy that + into the initramfs instead of the shell script wrapper that we have during + udev upgrades. (LP: #672964) + + -- Martin Pitt Fri, 12 Nov 2010 18:35:55 +0100 + +udev (164-2) natty; urgency=low + + * debian/rules: Fix the libgudev-1.0.so symlink to point to the actual + library in /usr/lib. Fixes FTBFS of libgudev rdepends. + + -- Martin Pitt Wed, 03 Nov 2010 18:52:55 -0400 + +udev (164-1) natty; urgency=low + + * New upstream bug fix release. + * debian/libgudev-1.0-0.install: Update for new upstream install path of + libgudev to /lib. Move it back to /usr/lib/, right now libgobject is still + in /usr/lib/. + + -- Martin Pitt Tue, 26 Oct 2010 12:28:17 -0400 + +udev (163-1) natty; urgency=low + + * New upstream release. Changes since our last git snapshot: + - cdrom_id: Don't read beyond "last track" in TOC. + - cdrom_id: Fall back to CDROM_DRIVE_STATUS if all MMC commands fail. + (LP: #653568) + - keymap: Add alternate MSI vendor name + - lots of systemd updates (not relevant for us). + * debian/control: Switch Vcs-Bzr: to natty branch. + + -- Martin Pitt Mon, 11 Oct 2010 08:41:42 +0200 + +udev (162-2) maverick; urgency=low + + * Merge bug fixes from trunk: + - scsi_id: export target port group, for ALUA support + - scsi_id: Fix compiler warnings + - gudev: Deliver ::uevent signal in the thread-default main loop. This + makes it possible to actually use the library in a multi-threaded + application. + - keymap: Add Lenovo Y550 (LP: #543065) + - gudev: add a few annotations that newer gobject-introspection versions + demand + - Clarify WAIT_FOR documentation + - Fix various syntax errors in rules + - Add automatic rules syntax check + + -- Martin Pitt Tue, 21 Sep 2010 13:28:09 +0200 + +udev (162-1) maverick; urgency=low + + * New upstream release. Changes since our previous git snapshot: + - cdrom_id: Fix DVD-RW media and blank DVD detection. + - Do not create persistent name rules for kvm/qemu/vmware interfaces. + (LP: #341006) + * Add debian/watch. + + -- Martin Pitt Sun, 12 Sep 2010 20:12:37 +0200 + +udev (161+git20100827-1) maverick; urgency=low + + * Merge fixes from trunk: + - keymap: Fix Acer TravelMate 4720 (LP: #569815) + - gudev: fix crash if netlink is not available (LP: #581527) + - udev(7) manpage: Fix description of $attr (LP: #348513) + * debian/changelog: Fix bug reference in previous upload. + * debian/udev.{pre,post}inst: Remove pre-lucid upgrade code. + * debian/udev.postinst: Drop obsolete /lib/udev/devices/sndstat symlink, OSS + has gone from our kernels ages ago. (LP: #605443) + * debian/udev.postinst, create_devices(): Drop devices which are handled by + static_dev_create_links(). + * debian/udev.postinst, create_devices(): Drop devices which are handled by + devtmpfs. + * debian/rules: Work around gtk-doc not being able to work in a separate + build tree; debian/rules prep already fixes $srcdir→$builddir, so copy + the relevant source files into the build tree so that gtk-doc has + something to scan for. (LP: #519670) + * Add debian/local/hotplug.functions: Provides some helper functions which + udev callouts can use. This is being used by usb-modeswitch, alsa, and + other Debian packages. Copied from current udev sid package. (LP: #625110) + + -- Martin Pitt Mon, 30 Aug 2010 11:21:43 +0200 + +udev (161+git20100825-1) maverick; urgency=low + + * Merge fixes from trunk: + - keymap: Fix Sony VAIO VGN-SZ2HP/B (LP: #530137) + - keymap: Add HP G60 (LP: #554944) + - keymap: Add Onkyo PC (LP: #612529) + - Add support for oom_score_adj, which replaces oom_adj in kernel 2.6.36 + - udevd: remove unneeded credential passing from init_notify() + * debian/control: Update Vcs-Bzr to reworked tree. The current tree is now + branched from lp:~vcs-imports/udev/trunk (which works well now) instead of + the outdated manual lp:~scott/udev/master import. + * Add debian/source/format: Keep 1.0 for now. We don't use quilt, but bzr, + and this is not a native package. + * Add debian/source/options: Supply tar-ignore and diff-ignore options to + exclude .bzr/ and test/. This obsoletes the "debian/rules package" rule, + so remove that. + + -- Martin Pitt Thu, 26 Aug 2010 10:59:48 +0200 + +udev (161+git20100820-1) maverick; urgency=low + + * New upstream release 161, plus fixes from git head: (LP: #620977) + - udevadm trigger now defaults to change instead of add. + - modem modeswitch removed, use usb_modeswitch instead (see LP #521578) + - NAME= now ignored + - udevd creates device nodes itself on startup based on modules.udevname + - default device permission is 0600 + - lots of bug fixes + - updated keymaps (LP: #271706, #554066, #569815, #592371) + - update udev(7) to point out naming of rules files (LP: #616108) + - cdrom_id: fix media state detection of DVD-RW/DVD+RWs (LP: #581925) + - cdrom_id: fix media state detection on older hardware (LP: #502143) + * debian/libudev0.symbols: Add new symbols from upstream version. + * debian/udev.initramfs-hook: Drop 64-device-mapper.rules, it was removed + upstream. + * debian/control: Drop obsolete (pre-lucid) Breaks and Conflicts. + * debian/rules: Replace obsolete dh_clean -k with dh_prep. + * debian/control: Slightly more generously version libselinux1-dev build + dependency (thanks lintian). + * debian/control: Replace obsolete ${Source-Version} with ${binary:Version}. + * debian/control: Update Standards-Version to 3.9.1. + * debian/control: Add Homepage field. + + -- Martin Pitt Sat, 21 Aug 2010 10:07:44 +0200 + +udev (151-12) lucid; urgency=low + + * Cherrypick keymap fixes from trunk: + - Unite laptop models needing common volume-key release quirk. Many laptop + models need the same volume-key release quirk. Currently, two models + have identical force-release-maps/ keymap files (dell-studio-1557 and + fujitsu-amilo-si1848) and two more need to be added (Mitac and Coolbox + QBook). This replaces the identical force-release-maps files with one + 'common-volume-keys' file to make adding new models easier. + (LP: #565459) + - Add force-release quirk for Coolbox QBook 270-02 (LP: #420473) + - Add force-release quirk for Mitac 8050QDA (LP: #374884) + + -- Martin Pitt Mon, 19 Apr 2010 10:58:13 +0200 + +udev (151-11) lucid; urgency=low + + * Fix cdrom_id even harder to correctly detecting media. (Committed to + and cherrypicked from upstream git head): + - Rework feature/profiles buffer parsing: Previously we were ignoring many + profiles, which could lead to misdetecting the content types. + - Print more debug messages with -d. + - Do not ignore errors from scsi_cmd_run(). scsi_cmd_run() can return + positive error messages if we have CHECK_CONDITION set and get the error + code from the SCSI command result. So check the result for non-zero, not + for being negative. This fix another common cause for "phantom" media + in empty CD-ROM drives. (LP: #562978) + - Swap media state and TOC info probing. Blank CDs do not have a TOC, thus + will fail cd_media_toc() (at least with the "Do not ignore errors from + scsi_cmd_run()" fix). Thus probe the media state first, so that we can + properly detect blank media. + + -- Martin Pitt Thu, 15 Apr 2010 22:29:06 +0200 + +udev (151-10) lucid; urgency=low + + * cdrom_id: Turns out that some ioctls do not actually touch the result + buffer in some cases, so we need to zero the result buffers to avoid + interpreting random da CD properties. (LP: #559723, LP: #561585) Patch + also committed to upstream (2b861) + + -- Martin Pitt Tue, 13 Apr 2010 15:34:40 +0200 + +udev (151-9) lucid; urgency=low + + * cdrom_id: In cases where cdrom_id does not go through the entire code path + and one of the probing functions returns -1 or exits early, the remaining + variables were never initialized. This caused effects like "phantom" audio + CDs on empty drives, or bogus data like ID_CDROM_MEDIA_TRACK_COUNT=22528. + Initialize the variables right away to avoid that. (LP: #559723) Patch + committed to upstream git as well (816e6bf). + + -- Martin Pitt Tue, 13 Apr 2010 10:56:38 +0200 + +udev (151-8) lucid; urgency=low + + * Merge some fixes from GIT HEAD: + - Fix keymaps for upcoming Dell laptops. + - cdrom_id: Retry to open the device if it's EBUSY. (LP: #554433) + + -- Martin Pitt Fri, 09 Apr 2010 09:38:54 +0200 + +udev (151-7) lucid; urgency=low + + * Fix key map for Acer TravelMate 6593G and Acer Aspire 1640. (From GIT + HEAD). (LP: #536914) + * extras/cdrom_id/60-cdrom_id.rules: Probe hd[a-z] as well, to cover CD + drives on platforms (like powerpc) which still use IDE driver, like + ide-pmac. (LP: #534912) + + -- Martin Pitt Mon, 29 Mar 2010 17:28:34 +0200 + +udev (151-6) lucid; urgency=low + + * Merge some fixes from GIT HEAD: + - key release quirk for Fujitsu Amilo 1848+u (LP: #530089) + - key release quirk for Samsung Q210/P210 (LP: #530093) + - key maps for Acer TravelMate 6593G and Acer Aspire 1640 (LP: #536914) + - Decrease buffer size when advancing past NUL byte, to fix a buffer + overflow the buffer if space is tight. + - udev-acl: Correctly handle ENV{ACL_MANAGE}==0 + - input_id: Fix linking + - firmware: fix possible segfault when firmware device goes away while + loading + - Fix switching Logitech bluetooth adapters into HCI mode. (LP: #444420) + - cdrom_id: Open non-mounted optical media with O_EXCL. This should + prevent confusing drives during CD burning sessions. + + -- Martin Pitt Wed, 24 Mar 2010 18:47:51 +0100 + +udev (151-5) lucid; urgency=low + + * Merge from GIT HEAD: + - Force key release for volume keys on Dell Studio 1557. + - keymap: Add Toshiba Satellite M30X. LP: #510019. + - libudev: export udev_monitor_set_receive_buffer_size() + - udevadm monitor: increase netlink buffer size + (above two related to LP: #504883) + + -- Scott James Remnant Wed, 17 Feb 2010 15:47:18 +0000 + +udev (151-4) lucid; urgency=low + + * debian/udev.initramfs-top: add pre-requisite on blacklist. + + -- Scott James Remnant Wed, 17 Feb 2010 12:41:45 +0000 + +udev (151-3) lucid; urgency=low + + * 70-acl.rules, 50-udev-default.rules, 78-graphics-card.rules: + Adjust to also work for lbm-drm and lbm-nouveau. + + -- Robert Hooker Thu, 11 Feb 2010 09:01:40 +0100 + +udev (151-2) lucid; urgency=low + + * debian/udev.initramfs-hook: /lib/udev/firmware.sh got rewritten as a + C helper, somehow missed this in testing. + + -- Scott James Remnant Wed, 10 Feb 2010 16:41:06 +0000 + +udev (151-1) lucid; urgency=low + + * New upstream release: + - Support for systems with SYSFS_DEPRECATED=y officially dropped. + - Bug fixes. + - Rules updates. LP: #492657, #316215, #259244, #250732. + + * Merge additional fixes from GIT master: + - Rules updates. LP: #581496, #415023. + - Fix firmware error reporting. + + -- Scott James Remnant Wed, 10 Feb 2010 11:50:56 +0000 + +udev (149-5) lucid; urgency=low + + * debian/udev.initramfs-top: chances are we've already got the block + device, because the storage controller is the 90% most common one that's + built into our kernel. Therefore probe block devices first before all + others, and push probing into the background so we don't wait those + tedious tenths of a second to walk sysfs. + + -- Scott James Remnant Fri, 18 Dec 2009 02:42:09 +0000 + +udev (149-4) lucid; urgency=low + + * debian/udev.initramfs-bottom: Remove the queue cleanup, since it's a + no-op now + + -- Scott James Remnant Fri, 18 Dec 2009 02:28:06 +0000 + +udev (149-3) lucid; urgency=low + + * Set DH_OPTIONS= when calling dh_makeshlibs with special -p and -N + options, otherwise we end up with incorrect shlibs in libudev0 referring + to libgudev-1.0-0. This particularly broke udev-udeb. + * Add libudev0-udeb, for the benefit of input_id. We don't strictly need + input_id right now, but the library is quite small and it seems easier + to go with the flow as other things in the udeb might use libudev later. + + -- Colin Watson Tue, 08 Dec 2009 11:56:06 +0000 + +udev (149-2) lucid; urgency=low + + * rules/rules.d/78-graphics-card.rules: + - Tag the DRM device as the primary device for the display for KMS + supporting drivers, otherwise tag the framebuffer device. This + will get exported to Upstart, thus permitting rules such as: + + start on (graphics-device-added PRIMARY_DEVICE_FOR_DISPLAY=1 + or drm-device-added PRIMARY_DEVICE_FOR_DISPLAY=1) + + to select either /dev/fb0 or /dev/dri/card0 as appropriate. + + -- Scott James Remnant Mon, 07 Dec 2009 18:49:20 +0000 + +udev (149-1) lucid; urgency=low + + * New upstream release: + - Includes previous GIT updates. + - Bug fixes. + + -- Scott James Remnant Thu, 03 Dec 2009 14:56:46 +0000 + +udev (148~-1) lucid; urgency=low + + * Update to GIT HEAD: + - Ignore_device option removed. + - BUS, SYSFS and ID are now deprecated and result in a warning. + - IDE device support removed from default rules. + - New input_id helper, previous uses of the ID_CLASS property on + input devices should now use the new ID_INPUT_* properties. This + is a big part of the Halsectomy of X.org + + -- Scott James Remnant Wed, 02 Dec 2009 01:40:55 +0000 + +udev (147-1) lucid; urgency=low + + * Update to 147 release: + - Includes previous GIT updates. + - udev-acl now requires ConsoleKit 0.4.1 + - gudev API no longer marked as experimental + - rules updates. LP: #281335, #215035, #438114. + + * Added Build-Depends on gobject-introspection, libgirepository1.0-dev + and gir1.0-glib-2.0. + * Add gir1.0-gudev-1.0 package with introspection data. + * Added Breaks on consolekit << 0.4.1 + * Add missing copyright files for the libudev and libgudev packages + which are LGPL 2.1+ and LGPL 2+ respectively, not GPL 2+. + + * Include symbols files and update shlibs to 147. LP: #427672. + + -- Scott James Remnant Mon, 30 Nov 2009 22:37:34 +0000 + +udev (147~-6.1) karmic-proposed; urgency=low + + * udev/udev-node.c: Properly close directory handles to fix a major fd leak + which caused hotplugging to fail entirely. (LP: #463347) + * udev/udevd.c, handle_inotify(): Fix datatype for FIONREAD ioctl return + type. It must be an int, not an ssize_t; the latter causes uninitialized + values and tries to allocate a 15 digit number of bytes, unless the upper + half of the variable just happens to be zeroed. (Upstream commit + http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h=4daa146b) + + -- Martin Pitt Mon, 02 Nov 2009 23:47:49 +0100 + +udev (147~-6) karmic; urgency=low + + * debian/udev.initramfs-hook: + - Include the firmware helper. LP: #381037. + + -- Scott James Remnant Thu, 15 Oct 2009 20:47:20 +0100 + +udev (147~-5) karmic; urgency=low + + * debian/udev.initramfs-top: + - Rename from udev.initramfs-bottom and move from local-premount to + init-top + - Add a pre-requisite on all_generic_ide so that gets a chance before + we load IDE devices. + * rules/rules.d/80-drivers.rules: + - load the fbcon driver when a framebuffer is created. + LP: #392039, #431812. + + -- Scott James Remnant Wed, 23 Sep 2009 14:22:52 -0700 + +udev (147~-4) karmic; urgency=low + + * Update to GIT HEAD (still pre 147 release): + - fix signal mask harder. LP: #407428, #434852. + + -- Scott James Remnant Tue, 22 Sep 2009 22:45:39 +0100 + +udev (147~-3) karmic; urgency=low + + * Update to GIT HEAD (still pre 147 release): + - includes fix from previous revision + - rename interfaces to _rename if rename fails. LP: #416782. + - drop most NAME keys since 2.6.31 supplies them. + - especially those with just "%k". LP: #430654. + - fixed SYMLINK option parsing. LP: #430654. + + * Remove 40-alsa.rules now it's not shipped upstream. + + -- Scott James Remnant Mon, 21 Sep 2009 16:02:32 -0700 + +udev (147~-2) karmic; urgency=low + + * rules/rules.d/60-persistent-storage.rules: Fix blkid invocation for + CD-ROMs, thanks to Maxim Levitsky for tracking this down! Fix committed to + GIT HEAD, and cherrypicked. (LP: #431055) + + -- Martin Pitt Sun, 20 Sep 2009 19:47:17 +0200 + +udev (147~-1) karmic; urgency=low + + FFE LP: #427356. + + * Update to GIT HEAD (pre 147 release): + - worker signal mask corrected. LP: #407428. + - database format change to avoid path length issues. LP: #377121. + - multiple devices may not claim the same /dev names, except with + symlinks + - NAME="%k" produces a warning + - symlinks to udevadm no longer resolve to the original command + - rules updates. LP: #281335, LP: #407940, #420015, #426647. + + * Build-depend on gawk, since build fails with mawk. + + * Replace init scripts with Upstart jobs. + * debian/control: + - Add missing ${misc:Depends} + - Bump build-dependency on debhelper for Upstart-aware dh_installinit + + -- Scott James Remnant Tue, 15 Sep 2009 03:22:11 +0100 + +udev (146-1) karmic; urgency=low + + * New upstream release: + - udevadm trigger "--retry-failed" replaced by "--type=failed" + - RUN "ignore_error" option replaced by "fail_event_on_error" + - Added HP Presario 2100 keymap. LP: #20223. + - Added more keymap coverage for Compaq Evo models. LP: #35382. + - Added Fujitsu Amilo M keymap. LP: #48547. + - Added Compal Hel80i keymap. LP: #198530. + - Added Zepto ZNote keymap. LP: #400252. + - Added Everex Stepnote XT5000T keymap. LP: #400921. + - Added rules to switch mode of Huawei E1550 GSM modem. LP: #401655. + - Various other keymap and modem updates. + + [ Martin Pitt ] + * debian/control: Add missing Breaks: casper (<< 1.174) to avoid breaking + upgrades from jaunty in wubi installations. (LP: #400138) + + -- Scott James Remnant Tue, 25 Aug 2009 13:45:17 +0100 + +udev (145-1) karmic; urgency=low + + * New upstream release: + - detach event from worker if killed. + - make sure a worker finishes its event before exiting. LP: #396957. + - handle SIGCHLD before worker messages. + - use qsort() to sort list rather than by hand (performance). + - correct mangling of scsi_id return values + + * debian/rules: Update "prep" target to not wipe uncommitted files. + * debian/libudev-dev.install: Install the restored libtool file + * debian/libgudev-1.0-dev.install: Install the restored libtool file + + -- Scott James Remnant Tue, 14 Jul 2009 17:10:38 +0100 + +udev (143-8) karmic; urgency=low + + * Disable extras for the udeb, since the necessary dependencies aren't + available. + + -- Colin Watson Wed, 01 Jul 2009 10:24:17 +0100 + +udev (143-7) karmic; urgency=low + + * debian/rules: Add "prep" target to get a buildable source tree. This cares + for autoconfiscation, and fixes gtk-docs' makefile snippet to get along + with our separate build trees. + * debian/rules: Call dh_install with --fail-missing, to avoid regressions + like the recent dropping of the ConsoleKit helper. + * debian/udev.install: Add missing ConsoleKit helper. This repairs device + ACLs. + * debian/udev.install: Add missing usr/share/doc/udev (README.keymap and + "writing udev rules") + * debian/udev.install: Install udev.pc. Not much here, but can't hurt, and + other software might rely on it. + * debian/libgudev-1.0-dev.install: Install gtk-doc documentation. + * debian/libudev-dev.install: Install gtk-doc documentation. + * debian/copyright: Fix formerly versionless reference to GPL. + * debian/control: Put libudev-dev into section "libdevel". + * debian/rules: Call dh_installdeb after dh_makeshlibs, so that the + debhelper scripts from the latter actually get active. Fixes ldconfig + calling. + + -- Martin Pitt Tue, 30 Jun 2009 19:09:38 +0200 + +udev (143-6) karmic; urgency=low + + * debian/libgudev-1.0-0.install, debian/libgudev-1.0-dev.install: + - Files are actually installed into /usr/lib already + - Fix wildcard pkgconfig inclusion + - Fix wildcard /usr/include inclusion + - Include static library + - Drop libtool .la file since it's not generated + + -- Scott James Remnant Tue, 30 Jun 2009 10:09:42 +0100 + +udev (143-5) karmic; urgency=low + + * Add missing files. + + -- Scott James Remnant Tue, 30 Jun 2009 09:47:13 +0100 + +udev (143-4) karmic; urgency=low + + * debian/udev-udeb.install: Drop /etc/scsi_id.config here too + + -- Scott James Remnant Mon, 29 Jun 2009 12:12:19 +0100 + +udev (143-3) karmic; urgency=low + + * debian/udev.{install,preinst,postinst,postrm}: /etc/scsi_id.config was + dropped upstream, remove from package and on upgrade. + + * debian/udev.postinst: Only divert udevadm back if diverted away, don't + on reconfigure, etc. LP: #366185. + + -- Scott James Remnant Mon, 29 Jun 2009 12:03:04 +0100 + +udev (143-2) karmic; urgency=low + + * Update to GIT HEAD: + - Bug fixes + - ATA devices switched the property from ID_BUS=scsi to ID_BUS=ata. + - Private properties may be set starting with "." + + -- Scott James Remnant Mon, 29 Jun 2009 10:51:09 +0100 + +udev (143-1) karmic; urgency=low + + * New upstream release: + - event processes are now re-used to improve performance + - libudev no longer has unstable API + - merged udev-extras tools and rules + + * debian/control: + - udev Conflicts and Replaces udev-extras versions up to current. + - merged Build-Depends from udev-extras + - added Build-Depends on gtk-doc-tools for documentation generation. + - copied details for libgudev-1.0-0 and libgudev-1.0-dev from udev-extras + * debian/rules: + - replace --exec-prefix with --sbindir, --libdir, --libexecdir and + --with-rootlibdir + - replace --disable-shared with --enable-static for the udeb, the + result is the same + * debian/libgudev-1.0-0.install, debian/libgudev-1.0-dev.install: + - copy from udev-extras + + -- Scott James Remnant Mon, 29 Jun 2009 10:43:40 +0100 + +udev (142-2) karmic; urgency=low + + * Add debian/local/udev.py: Apport package hook to collect hardware + information, udev DB/log, and custom udev rule file names. Install it in + debian/udev.install. + + -- Martin Pitt Fri, 15 May 2009 14:34:21 +0200 + +udev (142-1) karmic; urgency=low + + * New upstream release: + - includes previous GIT HEAD updates. + - libvolume-id also removed. + + -- Scott James Remnant Wed, 13 May 2009 11:04:31 +0100 + +udev (141-3+gitf079968) karmic; urgency=low + + * Update to GIT HEAD: + - vol_id removed, rules converted to using blkid. + + * Rebuild to hopefully fix FTBFS due to bad diff.gz + + -- Scott James Remnant Mon, 11 May 2009 11:44:04 +0100 + +udev (141-2+git4a74214) karmic; urgency=low + + * Update to GIT HEAD: + - bugfixes. LP: #369817, #368109. + - libudev allows you to subscribe to udev events, and filter those + based on system, etc. + - extras/cdrom_id/cdrom_id.c: Add a new key ID_CDROM_MEDIA=1 if there + is a CD present. Also, skip media tests if CDROM_DRIVE_STATUS != + CDS_DISC_OK. + - rules/rules.d/60-persistent-storage.rules: Only start vol_id if + ID_CDROM_MEDIA is set. This should fix the auto-closing of the tray. + (LP: #356631) + + * Remove /dev/MAKEDEV symlink on upgrade. + * Remove /dev/kmem device node, this is disabled in our kernels and + will be created anyway if the module is loaded from a kernel compiled + with it enabled. + + * The vol_id binary and libvolume-id library are no longer built by + this package. Software should use the blkid binary and libblkid + library supplied by the util-linux source package instead. + * Add Breaks on packages that were using vol_id with our blessing. + + -- Scott James Remnant Thu, 07 May 2009 12:48:24 +0100 + +udev (141-1) jaunty; urgency=low + + * New upstream release. LP: #358013. + + -- Scott James Remnant Thu, 09 Apr 2009 00:39:51 +0100 + +udev (140-2) jaunty; urgency=low + + * debian/udev.postinst: On upgrade, replace instances of ATTRS{ in + /etc/udev/rules.d/70-persistent-net.rules with ATTR{ otherwise they + won't match anymore. LP: #329106. + + -- Scott James Remnant Wed, 25 Mar 2009 17:57:20 +0000 + +udev (140-1) jaunty; urgency=low + + * New upstream release: + - includes changes from 139-2 + - udevadm settle can accept a range of events to watch for. + - vol_id: ntfs uuid setting fix. LP: #337015. + + -- Scott James Remnant Fri, 13 Mar 2009 12:40:16 +0000 + +udev (139-2) jaunty; urgency=low + + * Patch udevadm settle to communicate with udevd to make sure that there + aren't any pending inotify events that haven't been turned into uevents. + + -- Scott James Remnant Tue, 10 Mar 2009 13:09:46 +0000 + +udev (139-1) jaunty; urgency=low + + * New upstream release: + - includes changes from 138-2 + - also further patch to actually remove watches when the devices are + removed. LP: #334278. + + -- Scott James Remnant Thu, 26 Feb 2009 23:41:35 +0000 + +udev (138-2) jaunty; urgency=low + + * Fix inotify watch code to remove any existing watch before beginning rule + processing, and not to add the watch until the rule processing is + complete. This stops us "chasing our own tail" if one of the programs we + run writes to the block device, or at least opens it for writing. + LP: #332270 + + * Fix inotify code to respond to all events, rather than just the first in + the buffer repeatedly. Ironically this bug was causing fewer people to be + affected by #332270. + + -- Scott James Remnant Mon, 23 Feb 2009 20:28:58 +0000 + +udev (138-1) jaunty; urgency=low + + * New upstream release: + - Block device nodes watched with inotify for changes and + /dev/disk/by-{uuid,label} updated automatically. + - Loop devices now get persistent disk links too. + + * Apply NAME rules when string_escape=none. LP: #325690. + + -- Scott James Remnant Fri, 20 Feb 2009 13:37:24 +0000 + +udev (137-2) jaunty; urgency=low + + * If the kernel uevent sequence number is not available, do not restart + udev; solves an issue during upgrade in the chroot of a buildd. + + -- Scott James Remnant Tue, 27 Jan 2009 13:35:07 +0000 + +udev (137-1) jaunty; urgency=low + + * New upstream release: + - udevadm test no longer has force option. + - udevd has --resolve-names=early|late|never option. + - Group of IDE CD-ROM drives fixed. LP: #315997. + - Group of DRI subsystem fixed. LP: #317430. + - /etc/udev/rules.d not existing is not an error. LP: #315780. + - Bug where device nodes would be replaced by symlinks on rename has been + fixed. LP: #315979. + + * Use --resolve-names=never in the installer and initramfs, since we don't + have a useful name service. LP: #319199. + * Since we don't have to worry about group lookup, we may as well copy the + default rules into the initramfs as well. This actually double-solves + LP: #315979. + * Make sure the root filesystem is writable before attempting to copy + generated rules across. LP: #224870. + * Remove /dev/MAKEDEV symlink; the FHS no longer requires it when /dev + is automatically managed. + + * It is not permitted to call udevadm trigger or settle during an upgrade + without depending on udev. Attempting this will fail. + * Change /etc/init.d/udev restart to actually restart the daemon, with a + bit of detection to print a warning if we missed events while the + daemon was down. + * Refreshing /dev is now /etc/init.d/udev refresh-devices + * Restart udev daemon after upgrade. LP: #317944. + + -- Scott James Remnant Fri, 23 Jan 2009 15:15:07 +0000 + +udev (136-5) jaunty; urgency=low + + * debian/udev-udeb.dirs: Create /lib/udev/devices/{net,pts,shm} in the + udeb too, since (a) the installer-startup script gets a bit upset if + /lib/udev/devices doesn't exist or is empty, and (b) they seem like + reasonable things to have anyway. + + -- Colin Watson Tue, 20 Jan 2009 15:33:01 +0000 + +udev (136-4) jaunty; urgency=low + + * debian/udev.preinst, debian/udev.postinst, debian/udev.postrm: A couple + of conffiles from an earlier udev package are still around for several + people, make sure that we delete these too. + + * debian/compat: Update to 7. + * debian/control: Bump debhelper build-dep, and standards version. + + -- Scott James Remnant Mon, 12 Jan 2009 16:59:47 +0000 + +udev (136-3) jaunty; urgency=low + + * debian/udev.links, debian/udev-udeb.links: Create a vol_id symlink in + /sbin since this is a generally useful binary to have around. This + was probably accidentally dropped in the -2 upload because they weren't + committed to bzr. + + -- Scott James Remnant Sat, 10 Jan 2009 18:18:53 +0000 + +udev (136-2) jaunty; urgency=low + + * debian/control: Set priorities of -dev packages to optional. + * debian/rules: Take arguments off calls to dh_makeshlibs and dh_shlibdeps, + otherwise the libudev0 shlibs goes a bit wrong. + + -- Scott James Remnant Wed, 07 Jan 2009 15:40:58 +0000 + +udev (136-1) jaunty; urgency=low + + One of the biggest changes in this release is that the default rules + are no longer conffiles and are now installed into /lib/udev/rules.d + + You may still add your custom rules to /etc/udev/rules.d and these + will be processed after the default ones, and can thus override + anything they do. + + To avoid side-effects of default rules (ie. running of programs), + create the file with the same name. + + * New upstream release: + - Changed to use autoconf + - Default rules moved to /lib/udev/rules.d + - udevadm symlinks removed. + - udevadm info output for --device-id-of-file changed. + - udevadm trigger has new --type option. + - libvolume_id soname change. + - libvolume_id now able to return multiple matches for a single block + device, or no matches if conflicting metadata found. + - libudev shared library introduced. + - by-id/scsi-* and by-id/ieee-* links both created by Firewire disks. + - Optical devices no longer probed for raid signatures. (LP: #283316). + - DEVTYPE=disk/partition no longer exported by default. + - pnp support removed now that we have MODALIAS support in kernel. + - Introduced /dev/block and /dev/char (see changelog for 124-6). + - Rule matching engine changed, limits such as 5 ENV and ATTR matches + and only one match for any other key are now gone. NAME assignment + is no longer special cased (subsequent assignments will now overwrite + unless := is used). + - Substantial memory footprint reduction work. + + * debian/patches/01-cdrom-vol_id-probing.patch: + - Dropped, included in upstream release. + * debian/patches/80-extras-dvb_device_name.patch: + - Dropped, no longer compiles and won't be needed from the next kernel + onwards. Since these aren't boot critical, just do it in shell. + * debian/patches/80-extras-firmware.patch: + - Dropped, no longer compiles anyway so we may as well just use the + upstream firmware.sh which also supports crazy PackageKit stuff + * debian/patches/80-extras-ide_media.patch: + - Dropped, the ide subsystem has had MODALIAS support since hardy using + the media type. + * debian/patches/80-extras-usb_device_name.patch: + - Dropped, we no longer need to support the legacy usb_device subsystem + since we've had the newer ENVTYPE=usb_device objects since hardy. + - Bump minimum kernel version to 2.6.24 for the initramfs. + * debian/patches/80-extras-vio_type.patch: + - Dropped, we don't even build these modules. + * debian/patches/80-extras-watershed.patch: + - Dropped, we do not used it in any udev rules shipped in this package; + it can be separated out into another source package if other things + still use it (which we should try to make them not). + + * Merged our rules with Upstream default rules, this results in a number + of minor changes but achieves consistency with other distributions: + * /dev/net/tun is now mode 666, the kernel documentation says this is safe + since you still need CAP_NET_ADMIN to create tunnels. + * /dev/srN are now the definitive names of SCSI CD-ROM devices, with + /dev/scdN as deprecated symlinks to them; this is the exact opposite of + how we had things before. + * /dev/nvram is now in the kmem group, the nvram group has been dropped. + * Removable disks have moved from the floppy group to the disk group, with + floppy now largely reserved for real old-fashioned floppy devices (and + the /dev/fd* devices are now all in floppy). LP: #260982. + * CD/BD-ROM devices should now consistently be in the cdrom group. + * Tape devices should now consistently be in the tape group. + * More video devices consistently in the video group. + * Printers on printer-specific ports now in the lp group, ppdev module + loaded when necessary. + * The scanner group has been dropped, it's become increasingly difficult + to determine what is and isn't a scanner; especially with multi-function + devices - access to scanners is better handled by ACL now. + * /dev/input devices no longer group writable + * /dev/tty devices are now group writable (wall/write enabled) + * /dev/rtc restored to root group. LP: #306458. + * Various changes to the way the dialout group is assigned, should lead + to more reliable device groups thus specific rules dropped. + LP: #264792. + * Support for infiniband, iowarrior, usbdpfp, sxctl, rioctl, bsg and + etherd devices. + + * Add LSB headers to init scripts. LP: #312324. + * Correct name of CD Aliases generator in postinst. LP: #250232. + * Fixed /usr/lib/libvolume_id.so symlink. LP: #232434. + * Dropped /dev/.static/dev. LP: #253786. + + -- Scott James Remnant Wed, 07 Jan 2009 14:01:19 +0000 + +udev (124-12) jaunty; urgency=low + + * Mount /dev/pts at the end of /lib/debian-installer/start-udev, as + Debian's corresponding script does so and bterm needs it (previously it + was silently falling back to legacy PTYs, which are no longer so readily + available and are undesirable anyway). + + -- Colin Watson Mon, 29 Dec 2008 20:22:33 +0000 + +udev (124-11) jaunty; urgency=low + + * Mount /dev as a tmpfs at the start of /lib/debian-installer/start-udev, + and create the console and null devices there. + /lib/debian-installer/init-udev-devices used to do this, but that no + longer exists (LP: #300426). + + -- Colin Watson Thu, 20 Nov 2008 21:44:22 +0000 + +udev (124-10) jaunty; urgency=low + + * Cherry-pick from Debian 0.125-6: + - Move in the udeb /lib/debian-installer-startup.d/S02udev to + /lib/debian-installer/start-udev because udev will now be started + before the busybox init. Patch by Jérémy Bobbio. (Closes: #493865) + + -- Colin Watson Tue, 04 Nov 2008 23:43:32 +0000 + +udev (124-9) intrepid-proposed; urgency=low + + * Add debian/patches/01-cdrom-vol_id-probing.patch: Do not run vol_id on + optical drives if there is no medium in the drive. Doing so open()'s the + drive without O_NONBLOCK which closes the tray. Patch backported from + upstream GIT (released in version 126). (LP: #283316) + + -- Martin Pitt Mon, 03 Nov 2008 19:02:15 +0100 + +udev (124-8) intrepid; urgency=low + + * debian/rules.d/60-symlinks.rules: + - Add /dev/rtc symlink pointing to the CMOS RTC if it exists (almost + always rtc0, but we match properly by driver). LP: #252924. + + -- Scott James Remnant Fri, 24 Oct 2008 10:45:31 +0100 + +udev (124-7) intrepid; urgency=low + + * debian/rules.d/65-id-type.rules: + - Ensure that ID_TYPE is set to "disk" for block devices that are + likely disks, or "cd" for those that are likely CDs. In some cases + this has been lost in favour of $DEVTYPE, but many things (including + our installer) haven't caught up. LP: #287807. + + -- Scott James Remnant Thu, 23 Oct 2008 02:09:43 +0100 + +udev (124-6) intrepid; urgency=low + + * Backport addition of /dev/{block,char}/maj:min symlinks from latest + udev rules; this mirrors the /sys/dev/{block,char}/maj:min symlinks + found in our current kernel. + + If you have a device node, stat() it to obtain type, major and minor + and readlink /sys/dev/{block,char}/maj:min to obtain the sysfs path + of that device. + + If you have a sysfs path, read the "dev" file to obtain major and minor + (it's char unless in the block subsystem), and then readlink + /dev/{block,char}/maj:min to obtain the device node. + + -- Scott James Remnant Tue, 07 Oct 2008 14:37:44 +0100 + +udev (124-5) intrepid; urgency=low + + * re-introduce the change of 124-3, but make sure it only ignores these + errors in a vserver environment. + + -- Reinhard Tartler Tue, 23 Sep 2008 22:52:00 +0200 + +udev (124-4) intrepid; urgency=low + + * Revert the previous upload. + + This would cause a failure to install the package correctly to be ignored, + and could result in ordinary systems not booting. + + -- Scott James Remnant Tue, 23 Sep 2008 13:16:34 -0700 + +udev (124-3) intrepid; urgency=low + + * debian/udev.postinst: + - don't fail to install/upgrade in a vserver environment by ignoring + errors of mknod. LP: #144685 + + -- Reinhard Tartler Mon, 08 Sep 2008 18:04:25 +0200 + +udev (124-2) intrepid; urgency=low + + * debian/udev.initramfs-hook: + - Remove mention of pnp_modules. LP: #248378. + + -- Scott James Remnant Mon, 14 Jul 2008 13:49:09 +0100 + +udev (124-1) intrepid; urgency=low + + * New upstream release: + - udevmonitor, udevtest, udevcontrol and udevtrigger symlinks removed + - abstract namespace socket paths should be prefixed with @ + - cdrom_id replaced by a better version + - scsi_id no longer depends on sysfs + - 05-udev-early.rules removed + + * Patches from git dropped due to upstream update. + * Dropped 50-vol_id-on-entire-disk.patch, as noted in the changelog, this + was a temporary measure and should be fixed by the kernel. + + * Drop pnp_modules now that recent kernels export module aliases for these + module groups. + + -- Scott James Remnant Mon, 14 Jul 2008 11:06:43 +0100 + +udev (117-8) hardy; urgency=low + + * Remove cruft from diff.gz that prevented build. + + -- Scott James Remnant Fri, 11 Apr 2008 13:05:56 +0100 + +udev (117-7) hardy; urgency=low + + * debian/patches/50-vol_id-on-entire-disk.patch: + - Run vol_id on the entire disk again. LP: #192794. + - The reason it was disabled upstream was to avoid the cases where + removable devices don't issue "change" events and stale information is + left. + - Since this behaviour would not be a regression from gutsy, and losing + support for LVM PVs on the entire disk is a definite regression (since + it's documented to do it that way in various places) we've reverted + the upstream disabling. + - After 2.6.25 (so hopefully 8.10), the kernel will issue "change" + events and always read all volumes; so this is a very temporary patch. + * Place scsi type 0 devices in the "disk" group". + + -- Scott James Remnant Fri, 11 Apr 2008 10:20:37 +0100 + +udev (117-6) hardy; urgency=low + + * Automatically add ADDR{type}=="1" to 70-persistent-net.rules rules + where we can or at least add a useful comment where the user has written + their own rule that's broken in the same way. LP: #183968. + * Automatically comment out rules from 70-persistent-net.rules that would + match any device. + + -- Scott James Remnant Thu, 10 Apr 2008 23:49:41 +0100 + +udev (117-5) hardy; urgency=low + + * Merge the "volumeid" package back into "udev", there is no particular + gain to it being a separate binary package and it prevents the upgrade + from dapper from migrating the fstab to UUID. LP: #209347. + + * debian/patches/00-git-bad-net-rules.patch: + - Upstream patch from 118 to avoid creating persistent net rules + which will match any device. + * debian/patches/01-git-squashfs-lzma.patch: + - Upstream patch from 118 to detect LZMA-compressed squashfs. + * debian/patches/02-git-squashfs-endian.patch: + - Upstream patch from 118 to detect endianness of LZMA squashfs. + * debian/patches/03-git-vol_id-timeout-once.patch: + - Upstream patch from 118 to only timeout once for unreadable devices. + LP: #156184. + * debian/patches/04-git-multiple-floppy-devices.patch: + - Upstream patch from 118 to fix create_floppy_devices for more than + one floppy device. Possibly LP: #132546. + * debian/patches/05-git-vol_id-probe_all-readable.patch: + - Upstream patch from 118 to check whether a device is readable before + probing. Also LP: #156184. + * debian/patches/00upstream-RUN-for-remove.patch: + - Rename to 06-git-run-for-remove.patch so its in series with other + git patches (this is from 119) + * debian/patches/07-git-unlock-write_net_rules.patch: + - Upstream patch from 119 to unlock rules after invalid match, correcting + a bug introduced by 00-git-bad-net-rules.patch + * debian/patches/08-git-vol_id-uuid-buffer.patch: + - Upstream patch from 119 to correct UUID raw buffer usage. + * debian/patches/09-git-update-ext.patch: + - Upstream patch from 119 to update ext filesystem detection. + * debian/patches/10-git-match-basename.patch: + - Upstream patch from 119 to add match on the basename of an interface + so we can deal with PS3 multiple interfaces with the same MAC. + * debian/patches/11-git-persistent-change.patch: + - Upstream patch from 119 to run persistent device rules on change + events. + * debian/patches/12-git-serialise-same-devno.patch: + - Upstream patch from git to serialise multiple events with the same + device number, fixes a race with serial ttys amongst other things. + + * 20-names.rules: + - Add missing quotes for infiniband rules. LP: #192552. + - Change "rdma_ucm" to "rdma_cm" (same bug). + * 40-permissions.rules, 40-basic-permissions.rules: + - Split out the most basic permissions into a separate file that can be + used in the installer and initramfs. LP: #204108. + - Add rules to place known USB serial devices that need libusb access + in the dialout group. LP: #198757. + * 65-persistent-storage.rules, 65-persistent-storage-tape.rules, + 65-persistent-input.rules, 66-persistent-storage-edd.rules: + - Use upstream rule names for all rules. Also LP: #186686. + - Add persistent-storage-edd.rules to installer and initramfs. + * 80-programs.rules: + - Pass $root/%k to create-floppy-devices, not $tempnode. LP: #132546. + + -- Scott James Remnant Wed, 02 Apr 2008 18:59:56 +0100 + +udev (117-4ubuntu2) hardy; urgency=low + + * The persistent-storage-edd rules need to be numerically + persistent-storage+1 (as they are in the original source). Changed from + 65 to 66. LP: #186686 + + -- Ben Collins Wed, 02 Apr 2008 11:28:22 -0400 + +udev (117-4ubuntu1) hardy; urgency=low + + * change the "Breaks: libdevmapper1.02" to a Conflict to help + the apt resolver calculating the upgrade (LP: #203756) + + -- Michael Vogt Wed, 19 Mar 2008 16:27:39 +0100 + +udev (117-4) hardy; urgency=low + + * Add debian/patches/00upstream-RUN-for-remove.patch: + - Execute RUN rules for device removals even if the device is not present + any more (like for USB devices). + - This restores the behaviour of earlier versions and fixes race + conditions with hal for e. g. cryptsetup, and device naming. + - Patch taken from upstream git (see patch header). + - LP: #148003 + + -- Martin Pitt Thu, 07 Feb 2008 09:45:24 +0100 + +udev (117-3) hardy; urgency=low + + * Ship symlinks of old udevtrigger, udevsettle, udevinfo and udevmonitor + tools to udevadm in the udeb. Use of these should be replaced with + calls to udevadm itself as soon as possible. + + -- Scott James Remnant Thu, 20 Dec 2007 03:47:34 +0000 + +udev (117-2) hardy; urgency=low + + * Don't ship upstream udev rules. LP: #176537, #176546. + + -- Scott James Remnant Sat, 15 Dec 2007 15:05:57 +0000 + +udev (117-1) hardy; urgency=low + + * New upstream release: + - udev ancillary tools merged into a single udevadm binary. + - dynamic rules may be created in /dev/.udev/rules.d + - SYMLINK=="value" matches currently defined symlinks. + - RUN{ignore_error} will ignore errors from programs. + - vol_id recognises FAT partitions with 8192 sector size. LP: #147807. + + * debian/patches/10-git-linux_raid-1.0-metadata.patch: + - Dropped, included in new upstream version. + * debian/patches/80-extras-firmware.patch: + - Change to add a new extra helper rather than patch the existing one, + makes updating easier. + + * 00-init.rules: + - Rename to 05-udev-early.rules to match upstream + * 05-options.rules: + - Do not remove static devices + * 20-names.rules: + - Update to 2.6.24-style usb_device objects + * 40-permissions.rules: + - Update to 2.6.24-style usb_device objects + - Place SCSI type 4 devices into the cdrom group + * 65-persistent-storage-tape.rules: + - New upstream rules file for tape devices containing rules separated + out from 65-persistent-storage.rules + * 90-modprobe.rules: + - Fix strange syntax error introduced by mjg59 leaving a note in the + rule that wasn't in a comment. + * 99-udevmonitor.rules: + - Rename to 95-udev-late.rules to match upstream + - Run REMOVE_CMD environment if it exists. + + * debian/migrate-iftab.pl: + - Lowercase MAC addresses on migration. LP: #151786. + * debian/udev.init: + - Update all binaries to be calls to udevadm. + * debian/udev.initramfs-hook: + - Copy in udevadm rather than the symlinks to it. + - Update filenames of early rules file. + - Copy in late rules now we have udev monitor there. + * debian/udev.initramfs-nfs: + - Update all binaries to be calls to udevadm. + * debian/udev.initramfs-premount: + - Update all binaries to be calls to udevadm. + * debian/udev.installer-startup: + - Update all binaries to be calls to udevadm. + + -- Scott James Remnant Fri, 14 Dec 2007 12:15:30 +0000 + +udev (113-0ubuntu16) gutsy; urgency=low + + * Rename the finish init.d script to udev-finish, and move from S23 to + S37 so it runs after /var has actually been mounted. This would + otherwise cause a missing udev.log and non-generation of the persistent + rules. LP: #149319. + + -- Scott James Remnant Fri, 05 Oct 2007 16:21:58 +0100 + +udev (113-0ubuntu15) gutsy; urgency=low + + * Ship the UUID migration script as a separate executable, called by + volumeid's postinst; also ensure we don't call it when installing the + base system on the LiveCD (oops!) + * Migrate /etc/fstab settings to the new rules generator. LP: #125139. + + -- Scott James Remnant Wed, 03 Oct 2007 16:07:58 +0100 + +udev (113-0ubuntu14) gutsy; urgency=low + + * Fix volumeid.postinst. Missing ;; in a couple of places. + + -- Fabio M. Di Nitto Sat, 29 Sep 2007 05:57:45 +0200 + +udev (113-0ubuntu13) gutsy; urgency=low + + * don't do UUID conversion for /dev/mapper/*_crypt devices. Those are + created by partman-crypto, and are used by cryptsetup's cryptroot-hook. + Corresponds to change in partman-crypto and LP bug #144390. + + -- Reinhard Tartler Fri, 28 Sep 2007 18:25:40 +0200 + +udev (113-0ubuntu12) gutsy; urgency=low + + * If we're going to put udevmonitor in the udeb, we should include + 99-udevmonitor.rules otherwise we have a bit of a chocolate teapot. + + -- Scott James Remnant Thu, 27 Sep 2007 16:47:29 +0100 + +udev (113-0ubuntu11) gutsy; urgency=low + + * debian/patches/10-git-linux_raid-1.0-metadata.patch: + - Upstream patch to fix detection of linux_raid metadata v1.0 and + produce correct UUIDs for such raid devices. LP: #133773 + + * 20-names.rules: + - Place ucm[0-9]* and rdma_ucm into the infiniband dir. LP: #124990. + * 80-programs.rules: + - Fix calling of create_floppy_devices to just $tempnode not + $root/$tempnode, which is just plain wrong. LP: #132546. + + -- Scott James Remnant Mon, 24 Sep 2007 13:18:41 +0100 + +udev (113-0ubuntu10) gutsy; urgency=low + + * Add cdrom_id and corresponding rules to the udeb. LP: #143958. + + -- Colin Watson Sun, 23 Sep 2007 19:43:49 +0100 + +udev (113-0ubuntu9) gutsy; urgency=low + + * Make sure /lib/udev/write_net_rules is executable in the udeb. + + -- Colin Watson Tue, 18 Sep 2007 19:07:21 +0100 + +udev (113-0ubuntu8) gutsy; urgency=low + + * Clean up the tifm code, add support for memory stick + + -- Matthew Garrett Fri, 31 Aug 2007 23:14:26 +0100 + +udev (113-0ubuntu7) gutsy; urgency=low + + * Place the libvolume_id.so symlink in the libvolume-id-dev package, and + in /usr/lib. LP: #132536. + + -- Scott James Remnant Wed, 15 Aug 2007 16:09:00 +0100 + +udev (113-0ubuntu6) gutsy; urgency=low + + * Include a base-installer.d script to copy persistent rules to the target + system in d-i (in line with Debian udev 0.097-1 and Debian bug #433935). + + -- Colin Watson Fri, 20 Jul 2007 13:44:21 +0100 + +udev (113-0ubuntu5) gutsy; urgency=low + + * Reupload. + + -- Scott James Remnant Fri, 13 Jul 2007 14:12:12 +0100 + +udev (113-0ubuntu4) gutsy; urgency=low + + * Adjusted volumeid postinst; we now support mounting software RAID (md), + devmapper (dm) and LVM devices by UUID. + * s/KERNEl/KERNEL/ in 20-names.rules. LP: #125336. + + -- Scott James Remnant Fri, 13 Jul 2007 12:37:36 +0100 + +udev (113-0ubuntu3) gutsy; urgency=low + + * Minor fix s/$k/$tempnode/. + + -- Scott James Remnant Wed, 11 Jul 2007 16:48:45 +0100 + +udev (113-0ubuntu2) gutsy; urgency=low + + * Set group of nvram to nvram. LP: #108460. + * Move udevmonitor to /sbin. LP: #119091. + * Update shlibs of libvolumeid. LP: #121074. + * Added rules for infiniband nodes. LP: #124990. + * Don't seed the initial persistent rules, instead wait for the first + boot. LP: #123559. + + -- Scott James Remnant Tue, 10 Jul 2007 17:30:28 +0100 + +udev (113-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - control characters in labels are hex-encoded rather than removed. + - existance of sysfs files can be tested with TEST + + * debian/patches/01-lib-udev.patch: + - Dropped, merged upstream. + * debian/patches/10-suppress-syslog.patch: + - Dropped, --verbose no longer sends messages to syslog so the additional + option is unneeded. + * debian/patches/40-no_replace.patch: + - Dropped, merged upstream and renamed to string_escape=none. + * debian/patches/50-result-whitespace.patch: + - Dropped, merged upstream. + * debian/patches/55-run-program.patch: + - Dropped, merged upstream. + * debian/patches/60-mknod-symlink-races.patch: + - Dropped, merged upstream and improved so that it can't end up in an + infinite loop; and symlinks will only replace a block device with the + correct major/minor. + * debian/patches/91-skip-whole-disk.patch: + - Dropped, merged upstream. + + * Rule updates: + - Place auer, cpad, dabusb, hiddev & legousbtower devices under /dev/usb. + - Move /dev/usblp* to /dev/usb/lp*, and retain compatibility symlink + (justification: devices.txt) + - Place raw I/O devices under /dev/raw. + - Set group of vcs devices to root. + - Use create_floppy_devices callout to make special floppy device nodes. + + -- Scott James Remnant Tue, 10 Jul 2007 13:35:43 +0100 + +udev (111-0ubuntu6) gutsy; urgency=low + + * debian/patches/80-extras-vio_type.patch: + - set logging_init to vio_type + - use sysfs_init/_cleanup to get sysfs_path + - add sparc vio support + - dont report errors if we can't read devspec on sparc + + * debian/rules.d/90-modprobe.rules: + - add support for sunvnet and sunvdc + + -- Fabio M. Di Nitto Wed, 04 Jul 2007 09:45:56 +0200 + +udev (111-0ubuntu5) gutsy; urgency=low + + * Add network device rule generation code to udev-udeb. + + -- Colin Watson Sun, 17 Jun 2007 11:10:20 +0100 + +udev (111-0ubuntu4) gutsy; urgency=low + + * adduser added as a dependency (LP: #118164) + + -- Nathan Handler Thu, 31 May 2007 19:04:49 -0500 + +udev (111-0ubuntu3) gutsy; urgency=low + + * 40-no_replace.patch: updated to include corresponding documentation + for the "OPTIONS" section of the udev manpage. + + -- Kees Cook Sun, 27 May 2007 10:54:52 -0700 + +udev (111-0ubuntu2) gutsy; urgency=low + + * Needs to be "cd /sys/class/net || return 0" not just "|| return" + + -- Scott James Remnant Wed, 23 May 2007 20:30:54 +0100 + +udev (111-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - many bug fixes, + - ACTION!="add|change" now works as expected. + + * Enable the upstream rule_generator extra, and include the rules for both + CD aliases and network devices. These generate rules files for each new + piece of unique hardware discovered, giving a consistent name thereafter. + + ie. if you add a new network card, it is assigned the next eth* number, + and will have that number every single time you boot. Likewise a new + CD writer would get the next free cdrw* symlink, and keep that symlink + forever. + * Drop hard-coded cdrom/cdrw/dvd/dvdrw symlinks. + * Install additional udev.finish script at rcS.d/S23, so it runs after + mtab and updates the existing rules files. + + * 80-extras-iftab_helper.patch: Drop this patch since we're now using the + upstream persistent net rule generator rather than requiring users to + hand-maintain /etc/iftab. + * 70-rename-netif-increment.patch: Drop this patch, was an obscure iftab + feature that we're deprecating. + * 25-iftab.rules; Drop rules file that calls the iftab_helper. + + * 60-mknod-symlink-races.patch: New patch that repeats the call to mknod() + or symlink() as long as it fails because something already exists, and + we haven't failed to remove anything first. + + * 90-persistent-dm-md.patch: Drop this patch, instead we maintain persistent + symlinks for devmapper and mdadm devices in a separate rules file + shipped with those packages. + + * 40-permissions.rules: place mmc and pcmcia block devices in the plugdev + group, EPSON scsi devices in the scanner group and scsi media changer + devices in the tape group. + * 90-modprobe.rules: load the osst module for Onstream ADR* tape devices, + load the ch module for SCSI media changer devices. + + -- Scott James Remnant Wed, 23 May 2007 13:44:22 +0100 + +udev (108-0ubuntu4) feisty; urgency=low + + * Avoid SUBSYSTEMS!= since that doesn't actually appear to work, instead + use the start/end trick. LP: #75753. + + -- Scott James Remnant Tue, 10 Apr 2007 12:17:42 +0100 + +udev (108-0ubuntu3) feisty; urgency=low + + * 40-no_replace.patch: add "no_replace" to OPTIONS that applies for the + rule it appears in, preventing replacing of untrusted characters when + obtaining results from PROGRAM rules, and when setting NAME and + SYMLINK. LP: #92162. + * Create scanner and nvram groups in postinst if they don't already + exist. LP: #38203. + + -- Scott James Remnant Wed, 4 Apr 2007 10:23:44 +0100 + +udev (108-0ubuntu2) feisty; urgency=low + + * Add breaks on devmapper less than the current version, since the + rendezvousing will fail to work correctly without it. + * Update 90-extras-iftab_helper.patch to correct bug when called with a + network device with no associated hardware. LP: #74077. + + -- Scott James Remnant Tue, 3 Apr 2007 16:09:04 +0100 + +udev (108-0ubuntu1) feisty; urgency=low + + * New upstream release: + - many bug fixes, + - DRIVER== will now only match devices that have a real driver. + - SYMLINKs may now have per-device priorities specified with + OPTIONS="link_priority=100", removal of a device means that the symlink + will be changed to point at the device with the next highest priority. + - dasd_id removed from the tree + + * 10-suppress-syslog.patch: patch from Ian Jackson to add an option to + udevd to suppress the logging of messages with syslog. + * 80-extras-watershed.patch: take Ian's watershed utility that he added + directly to the upstream source, and split off into a proper patch of + its own. + * 90-persistent-dm-md.patch: create persistent storage links for devmapper + and mdadm devices, running these rules whenever a change event occurs + LP: #75681. + * 90-skip-whole-disk.patch: renumber to 91-skip-whole-disk.patch + + * Move the rule to name devmapper devices using dmsetup into the dmsetup + package, and from there to a correct 25-dmsetup.rules name. This + shouldn't have been mixed in with the persistent symlinks code. + + * Change the permission-applying rules to use ATTRS instead of ATTR. + LP: #75753. + * Move 50-cdrom_id.rules to 30-cdrom_id.rules. LP: #75753. + * Fixed /dev/pilot rule to use ATTRS instead of ATTR. LP: #89687. + + * Drop the rules that used grepmap to parse modules.ccwmap and + modules.inputmap, since these modules now use modules.alias + * Drop dependency on grepmap. + + * Decrease minimum kernel version to 2.6.17, after some testing we can + confirm that the rules we ship with work there. + + * Update the standard prep_/undo_/rm_/mv_/conffile functions to take + into account current dpkg behaviour wrt obsolete conffiles. The conffile + is now moved out of the way in preinst and the moved conffile either + deleted or moved into its new location in postinst; in postrm we move + the conffile back to its original name. + + This means that the conffile is not present with its original name when + dpkg configures the new versiom, so is not left in the conffile list as + obsolete. + * Purge backups of modified obsolete conffiles when the package is purged. + + -- Scott James Remnant Mon, 2 Apr 2007 18:31:47 +0100 + +udev (103-0ubuntu14) feisty; urgency=low + + * Ensure that tifm_sd is autoloaded on card insertion + + -- Matthew Garrett Sun, 25 Mar 2007 18:43:07 +0100 + +udev (103-0ubuntu13) feisty; urgency=low + + * Include firmware helper in the initramfs. + + -- Kyle McMartin Fri, 23 Feb 2007 22:45:18 -0500 + +udev (103-0ubuntu12) feisty; urgency=low + + * Tolerate failure of usplash_write, by adding ||: to the relevant + calls. This will prevent /etc/init.d/udev from failing to start udev + in the cases where usplash_write fails in an unexpected way (eg, as + evidenced in LP #83878, where libx86 was missing and ld.so caused + usplash_write to exit nonzero). + + -- Ian Jackson Thu, 8 Feb 2007 18:03:16 +0000 + +udev (103-0ubuntu11) feisty; urgency=low + + UdevDeviceMapper: + * Abolish rendezvous stuff which is full of deadlocks. + + -- Ian Jackson Wed, 7 Feb 2007 16:35:58 +0000 + +udev (103-0ubuntu10) feisty; urgency=low + + * Fix syntax of Breaks field against differently-rendezvousing + libdevmapper. + + -- Ian Jackson Wed, 7 Feb 2007 15:06:11 +0000 + +udev (103-0ubuntu9) feisty; urgency=low + + UdevDeviceMapper fixes: + * Lock and rendezvous is based on major/minor not name, + and rendezvous flag file is /lib/udev/.udev-device-mapper-rendezvous2. + * Rendezvous on all dm-* add and change events. + + -- Ian Jackson Wed, 7 Feb 2007 14:57:28 +0000 + +udev (103-0ubuntu8) feisty; urgency=low + + UdevMdadm and fixes for UdevLvm/UdevDeviceMapper: + * On dm* and md* devices, scan on change as well as add. + * If devmap_name should fail, suppress the dm-* names since those + break LILO (!) + * Include devmap_name in the initramfs. + + -- Ian Jackson Tue, 6 Feb 2007 22:06:19 +0000 + +udev (103-0ubuntu7) feisty; urgency=low + + UdevDeviceMapper: + * Process dm-* devices properly: we make the device nodes, using + dmsetup's devmap_name to tell us how. (If we don't have devmap_name + the libdevmapper is too old, and is making the devices itself.) + * Rendezvous with libdevmapper, and advertise with the flag file + /lib/udev/.udev-device-mapper-rendezvous that we do so. + * Include watershed, and /var/run, in the initramfs. + + -- Ian Jackson Tue, 6 Feb 2007 16:36:10 +0000 + +udev (103-0ubuntu6) feisty; urgency=low + + * New `watershed' utility, for use by UdevLvm et al. + + -- Ian Jackson Fri, 26 Jan 2007 17:00:38 +0000 + +udev (103-0ubuntu5) feisty; urgency=low + + * Don't issue uuid for whole disk partitions. + + -- Fabio M. Di Nitto Mon, 18 Dec 2006 11:10:05 -0800 + +udev (103-0ubuntu4) feisty; urgency=low + + * "pkill udevd" instead of "udev", otherwise we end up killing the + script we're running from, and don't move /dev into the real filesystem. + + -- Scott James Remnant Fri, 24 Nov 2006 09:08:05 +0000 + +udev (103-0ubuntu3) feisty; urgency=low + + * Use SUBSYSTEMS!="scsi" instead of SUBSYSTEM!="scsi_device" when deciding + which sd_* module to load. SCSI/SATA machines will boot again now. + + * Replace DRIVER with DRIVERS where found. + * Remove the local-top initramfs script entirely, this was only loading + ide-generic. For feisty we'll load pata_legacy for non-PCI IDE + controllers (which doesn't take over PCI interfaces) and provide an + option to force loading ata_generic for newer cards. + + -- Scott James Remnant Thu, 23 Nov 2006 14:53:17 +0000 + +udev (103-0ubuntu2) feisty; urgency=low + + * ide-generic seems to be broken, it's claiming devices and then not + actually making block devices. Disable for now, until I'm clear headed + enough to think about how to deal with this. + + -- Scott James Remnant Thu, 23 Nov 2006 12:44:33 +0000 + +udev (103-0ubuntu1) feisty; urgency=low + + * New upstream release: + - %e enumeration removed. + - MODALIAS key and substitution removed. + - Most keys renamed (see RELEASE-NOTES). + - Direct writing to sysfs attributes now supported. + + * Update patches: + - 40-udevtrigger-filters.patch: dropped, the spirit of this patch is + merged upstream and we don't need most of it anymore. + - 45-udevtrigger-sort.patch: dropped, merged upstream. + - 60-vol_id-swap.patch: dropped, merged upstream. + - 70-ifrename.patch: largely merged upstream, keep support for "eth*" + incrementing in 70-rename-netif-increment.patch. + + * Simplify the initramfs handling somewhat. We now just trigger + everything, and don't wait for things to settle; instead relying on the + loop in mountroot() which will do exactly the right thing, + * Use pkill instead of shell /proc iteration to kill udevd. Ubuntu #65711. + + * Drop most WAIT_FOR_SYSFS rules, increase kernel requirement to 2.6.19. + * Rework rules file to newer attributes and naming. Drop some symlinks + where they are not part of devices.txt and no other distribution + supplies them. + + * Rename libvolumeid0 and libvolumeid-dev to libvolume-id0 and + libvolume-id-dev to match Debian. + * Restore the "writing udev rules" documentation now that it's not wildly + inaccurate. + + -- Scott James Remnant Thu, 23 Nov 2006 10:51:23 +0000 + +udev (093-0ubuntu18) edgy; urgency=low + + * Abort fstab migration if we encounter duplicate UUIDs. Ubuntu: #64909. + + -- Scott James Remnant Mon, 16 Oct 2006 12:16:16 +0100 + +udev (093-0ubuntu17) edgy; urgency=low + + * Actually pass the device name to readlink when checking for LVM + symlinks to /dev/mapper. Ubuntu: #63626. + + -- Scott James Remnant Thu, 5 Oct 2006 10:31:09 +0100 + +udev (093-0ubuntu16) edgy; urgency=low + + * Don't convert software RAID (/dev/md[0-9]*) devices to UUID as there's + something nasty in that woodshed. Ubuntu: #62476. + + -- Scott James Remnant Tue, 26 Sep 2006 17:17:05 +0100 + +udev (093-0ubuntu15) edgy; urgency=low + + * Adding missing $ for $LINE in volumeid.postinst. Ubuntu: #59376 + * Sort the device list before triggering events. + + -- Scott James Remnant Thu, 14 Sep 2006 15:57:00 +0100 + +udev (093-0ubuntu14) edgy; urgency=low + + * Be gone foul devfs-emulation fiends from hell! + + -- Scott James Remnant Thu, 31 Aug 2006 16:09:09 +0100 + +udev (093-0ubuntu13) edgy; urgency=low + + * Make sure that net, pts and shm sub directories exist under + /lib/udev/devices in the package. Ubuntu: #57436. + + -- Scott James Remnant Wed, 23 Aug 2006 13:47:43 +0200 + +udev (093-0ubuntu12) edgy; urgency=low + + * Create /lib/udev/devices in udev.postinst so that the .deb can be + unpacked as non-root. + + -- Scott James Remnant Wed, 23 Aug 2006 09:31:05 +0200 + +udev (093-0ubuntu11) edgy; urgency=low + + * Correct a bug in the previous release, forgot "then" after "if...;" + * Move libvolume_id.so into /lib + + -- Scott James Remnant Mon, 21 Aug 2006 17:08:45 +0200 + +udev (093-0ubuntu10) edgy; urgency=low + + * Add missing Replaces for volumeid on libvolumeid0 for when the latter + contained the binary. (Ubuntu: #55003). + + * Don't transition LVM, evms and dev-mapper devices in /etc/fstab + (Ubuntu: #54002). + * Don't repeat a transition while /etc/fstab.pre-uuid exists. + (Ubuntu: #54231). + + * Create /dev/pilot symlinks for all Handspring devices. (Ubuntu: #57004). + + -- Scott James Remnant Mon, 21 Aug 2006 09:30:55 +0200 + +udev (093-0ubuntu9) edgy; urgency=low + + * Add support for uswsusp + + -- Matthew Garrett Thu, 10 Aug 2006 19:36:44 +0100 + +udev (093-0ubuntu8) edgy; urgency=low + + * Statically link the copy of vol_id in the udeb, accidentally disabled + while testing. + + -- Scott James Remnant Fri, 28 Jul 2006 00:05:10 +0100 + +udev (093-0ubuntu7) edgy; urgency=low + + * Change the libuuid1 dependency to a versioned dependency on e2fsprogs, + where the uuidgen binary has moved to. + * Move vol_id tool into its own binary package (volumeid) to allow for + SONAME transitions and multi-arch installation of libvolume_id0. + Move the UUID conversion in with it. + + -- Scott James Remnant Tue, 25 Jul 2006 13:56:03 +0100 + +udev (093-0ubuntu6) edgy; urgency=low + + * Keep a copy of the old /etc/fstab as /etc/fstab.pre-uuid. + * Fix fstab conversion not to dump out all shell variables on encountering + a blank line. Ubuntu: #53991. + * Fix IFS handling in fstab conversion to work if /bin/sh is bash. + + -- Colin Watson Tue, 25 Jul 2006 10:29:04 +0100 + +udev (093-0ubuntu5) edgy; urgency=low + + * On upgrade, convert the /etc/fstab on the system to use UUID= instead + of block device paths wherever possible. This makes the system far + more robust against hardware changes, including the impending + IDE-to-libata change. + * Add dependency on libuuid1, so we can call uuidgen during conversion + to add a UUID to an existing swap partition that was generated without + one. + + * Place vol_id in the libvolumeid0 package, and in /sbin, so that it + can be used by other tools without depending on all of udev. + * Include README that has a handy table of which filesystems support + what. + * debian/patches/60-vol_id-swap.patch: + - allow vol_id to return UUID or LABEL (with -u or -l) even if the + usage isn't usually a filesystem; e.g. swap devices with UUIDs + - detect a swap partition with a swsusp signature, and extract the + information for the underlying swap + + -- Scott James Remnant Mon, 24 Jul 2006 22:44:22 +0100 + +udev (093-0ubuntu4) edgy; urgency=low + + [Fabio M. Di Nitto] + * Call dh_makeshlibs now we ship a shared library (libvolumeid0). + + [Scott James Remnant] + * Group zaptel devices under /dev/zap. Ubuntu: #50676. + * Correct typo (= -> ==) in 40-permissions.rules. Ubuntu: #53431. + * Expand /dev/pilot rules to include all things beginning "Handspring Visor". + Ubuntu: #51760 + + -- Scott James Remnant Thu, 20 Jul 2006 16:50:48 +0100 + +udev (093-0ubuntu3) edgy; urgency=low + + * Install path_id, missed because it got moved into a sub-directory. + * Correct typo in storage_enum.sh that broke the installer (disc -> disk). + + * Restore to non-native source. + + -- Scott James Remnant Thu, 13 Jul 2006 18:15:12 +0100 + +udev (093-0ubuntu2) edgy; urgency=low + + * Correct typo in postinst (my_persistent_disk_rules -> + mv_persistent_disk_rules) + + -- Matt Zimmerman Thu, 15 Jun 2006 12:09:26 -0700 + +udev (093-0ubuntu1) edgy; urgency=low + + * New upstream release: + - libsysfs removed and replaced by simple helper functions + - Support /sys/class and /sys/block being symlinks into /sys/devices + - Programs no longer receive SUBSYSTEM as a parameter by default + - Rename persistent-disk.rules to persistent-storage.rules and support + tape devices. + - udevtrigger and udevsettle commands upstream that take on the job of + our own udevplug. + - Require that rules use "==" only for a match, and "=" for assignment. + + * Rule changes: + - Include a README in /etc/udev/rules.d + - Wait for the ioerr_cnt attribute of scsi devices to appear + - Video card devices now named /dev/dri/card* + - IEEE1394 video devices now named /dev/dv1394/* and /dev/video1394/* + - Epson SCSI Processors are probably scanners too, Ubuntu: #45412. + - Places devices from the zaptel subsystem in the dialout group. + - Create /dev/pilot symlink for Handspring Visors too. Ubuntu: #43279. + - Create persistent /dev/input/* symlinks for input devices. + + * 01-lib-udev.patch: + - Mostly merged upstream, patch just stops the /sbin/scsi_id symlink + from being created. + * 10-selinux-include-udev-h.patch: + - Merged upstream. + * 20-sparc-sorcvbuffforce.patch: + - Merged upstream. + * 40-udevplug.patch: + - Reworked to apply to udevtrigger and renamed to + 40-udevtrigger-filters.patch + * 75-format-run-rules-later.patch: + - Dropped, was upstream backport. + + * New libvolumeid0 package and libvolumeid-dev packages for developing + software that wishes to recognise volume information. + + -- Scott James Remnant Wed, 7 Jun 2006 13:58:13 +0100 + +udev (079-0ubuntu34) dapper; urgency=low + + * Don't write the empty string to /proc/sys/kernel/hotplug if it doesn't + exist (ie. the kernel wasn't compiled with CONFIG_HOTPLUG). We don't + use or need this for anything, we were just being tidy. + + -- Scott James Remnant Mon, 22 May 2006 11:07:09 +0100 + +udev (079-0ubuntu33) dapper; urgency=low + + * Only attempt to rename network interfaces that have an associated + driver, e.g. not bridges and vlans. + + -- Scott James Remnant Tue, 16 May 2006 17:24:50 +0100 + +udev (079-0ubuntu32) dapper; urgency=low + + * Add MINKVER="2.6.15" to our hook script, so mkinitramfs will refuse + to include our new udev in an old kernel's initramfs. Depend on a + new enough version of initramfs-tools so that this hack works. + + -- Adam Conrad Tue, 16 May 2006 21:13:21 +1000 + +udev (079-0ubuntu31) dapper; urgency=low + + * Add vbi symlink for v4l* application that otherwise will complain about + it and makes the X world more happy (including the maintainer that can + watch^Wtest TV): + - Update debian/60-symlinks.rules. + + -- Fabio M. Di Nitto Fri, 12 May 2006 12:22:07 +0200 + +udev (079-0ubuntu30) dapper; urgency=low + + * Drop the /etc/iftab fixing code, there are just too many little problems + with doing this. If after a breezy->dapper upgrade your network devices + are incorrectly named, fix /etc/iftab manually. We'll work on a better + solution later. + + -- Scott James Remnant Mon, 8 May 2006 14:17:26 +0100 + +udev (079-0ubuntu29) dapper; urgency=low + + * Add the address of any UP interface to /etc/iftab if not already + present to ensure they don't change names either. + + -- Scott James Remnant Fri, 5 May 2006 18:08:22 +0100 + +udev (079-0ubuntu28) dapper; urgency=low + + * Ignore device-mapper devices and let LVM take care of creating them. + + -- Scott James Remnant Fri, 28 Apr 2006 15:42:37 +0100 + +udev (079-0ubuntu27) dapper; urgency=low + + * Improve the iftab helper somewhat: + - add support for driver, bus and businfo selectors + - add support for any sysfs attribute with a SYSFS{...} selector + * On package upgrade fix any /etc/iftab entries that appear to be incorrect, + this is a rather simple fix but should work for the majority of people. + + -- Scott James Remnant Mon, 24 Apr 2006 15:48:04 +0100 + +udev (079-0ubuntu26) dapper; urgency=low + + * Add missing conflicts on ifrename; all of the work done by that tool + is now performed by udev itself. + + -- Scott James Remnant Wed, 19 Apr 2006 09:26:50 +0100 + +udev (079-0ubuntu25) dapper; urgency=low + + * Rework Andrey Borzenkov's patches applied to upstream udev into + 75-format-run-rules-later.patch; this causes any formatting added to + RUN rules to be applied after the NAME has been changed, and fixes + Ubuntu: #38787. + + -- Scott James Remnant Tue, 18 Apr 2006 08:47:14 +0100 + +udev (079-0ubuntu24) dapper; urgency=low + + * Fixed typo (PREREQS -> PREREQ) in initramfs hook, purely cosmetic + and didn't cause any problems. Ubuntu: #36962. + * Provide /dev/video and /dev/radio symlinks for compatibility with + older software. Ubuntu: #36860 + - as with all /dev symlinks, there's no guarantee which device they'll + point to if you have multiple devices. This is not considered a bug, + software should be modified to use HAL and present a list of available + devices rather than rely on symlinks. + * Changed udevplug to write "add" to the uevent file, instead of a silly + string; future kernel versions may support multiple commands. + + -- Scott James Remnant Mon, 3 Apr 2006 16:23:37 +0100 + +udev (079-0ubuntu23) dapper; urgency=low + + * Install udev.initramfs-local into casper-premount so we get to see CD + drives, etc on the live CD. + + -- Tollef Fog Heen Mon, 27 Mar 2006 20:44:32 +0200 + +udev (079-0ubuntu22) dapper; urgency=low + + "He takes his food with a horrid zest, + he eats one half and he wears the rest!" + + * Split the initramfs script out even more, instead of a case statement + in init-premount move the module loading to local-top and nfs-top. + This fixes the long-standing bug where changing boot= on the kernel + command line has no effect. + * Drop the "|| true"s from usplash_write calls, infinity says they're + unnecessary. + * Actually load modules for intelligent devices like we say we do in the + comments. + + -- Scott James Remnant Thu, 23 Mar 2006 17:44:13 +0000 + +udev (079-0ubuntu21) dapper; urgency=low + + * Split the loop-and-wait part of the initramfs script out; it'll + go in the initramfs local script itself. Ubuntu: #36010 + + -- Scott James Remnant Wed, 22 Mar 2006 15:33:12 +0000 + +udev (079-0ubuntu20) dapper; urgency=low + + "I'm just the fastest thing you'll ever see. + That streak of lightning you just missed was me." + + * Load ide-generic in all cases after loading PCI storage controller + drivers. This reduces the complexity of the root filesystem mounting + to just a single path for both IDE and everything else and opens up to + using a UUID for everything. + * Set a global usplash timeout for the entire initramfs script. + Ubuntu: #35104. + + -- Scott James Remnant Tue, 21 Mar 2006 19:47:49 +0000 + +udev (079-0ubuntu19) dapper; urgency=low + + "For I am ordinary, unimportant, and undeserving of such attention." + + * Place joysticks in the "plugdev" group, for programs that access the + joystick device directly and not through X. Ubuntu: #33354. + * The storage device enumerator used by the installer was a bit too + efficient; it would generate new symlink names every time an add event + for a device was received. The installer causes many add events to occur, + each time hw-detect and the partitioner is run. Fix the script to + return an existing symlink name if one exists in the udevdb. + Ubuntu: #27926. + * Fix iftab_helper segmentation fault when /etc/iftab doesn't exist, + caused by returning NULL rather than the suggested name; now returns + whatever name the kernel gave. Ubuntu: #34078. + + -- Scott James Remnant Wed, 15 Mar 2006 18:28:39 +0000 + +udev (079-0ubuntu18) dapper; urgency=low + + "Just a little change; Small, to say the least; + Both a little scared; Neither one prepared." + + * Fix ide_media helper to construct IDE device names above 'hdf' + properly. Ubuntu: #32679. + * Hard-code the location of usplash_write and call directly, as + we don't have "type" in busybox. This corrects usplash timing out + early while waiting for SCSI root filesystem to show up. Ubuntu: #28357. + * Set the all_partitions options for removable IOMEGA_ZIP* devices. + Ubuntu: #27752. + + -- Scott James Remnant Thu, 2 Mar 2006 13:36:49 +0100 + +udev (079-0ubuntu17) dapper; urgency=low + + "The greatest thing you'll ever learn, is just to be loved, and be loved + in return." + + * Fix build failure caused by accidental double-inclusion of the + SORECVBUFFORCE patch. + + * As the ifrename patch generally seems to be working, drop the "_clashed" + moniker and instead just use the next free interface number available to + us. So instead of eth0_clashed, you'll see e.g. eth2 now. If you wanted + it as eth0, you need to change your /etc/iftab file. + + -- Scott James Remnant Wed, 1 Mar 2006 13:06:47 +0100 + +udev (079-0ubuntu16) dapper; urgency=low + + "You better shape up, 'cause I need a man, and my heart is set on you." + + * Define the SORECVBUFFORCE socket option correctly on Sparc (and other + ancient platforms). + + -- Scott James Remnant Wed, 1 Mar 2006 11:23:41 +0100 + +udev (079-0ubuntu15) dapper; urgency=low + + "Rembrandts! El Grecos! Toulouse-Letrec-os! + Painted last week on the banks of the Thames!" + + * We also need to "catch up" events of the scsi_device, usb_device and + usb_host classes just in case the user compiled things into their kernel + or put their SATA driver into /etc/mkinitramfs/modules (yes, you, + crispin). + + -- Scott James Remnant Mon, 27 Feb 2006 14:05:25 +0100 + +udev (079-0ubuntu14) dapper; urgency=low + + "With tuppence for paper and strings, you can have your own set of wings." + + * Log the results of performing the udevplug to /dev/.udev.log by using + udevmonitor. This log file will be moved to /var/log/udev later in the + boot sequence. Note that this won't work if /usr is on a separate + filesystem because of the location of udevmonitor, but that's a small + loss. + + -- Scott James Remnant Tue, 21 Feb 2006 16:22:33 +0000 + +udev (079-0ubuntu13) dapper; urgency=low + + "But when I'm way up here, it's crystal clear; + That now i'm in a whole new world." + + * Remove the blanket loading of ide-generic after any IDE device, by + this time they should have been claimed by a driver already. I kept + this around for historical reasons, but it breaks people with multiple + IDE controllers in their machine (hi, Fabio!). If this causes new bugs, + it can go back in. + + -- Scott James Remnant Mon, 20 Feb 2006 11:01:23 +0000 + +udev (079-0ubuntu12) dapper; urgency=low + + "Should we blame the government? Or blame society? + Or should we blame the images on TV? No, Blame Canada!" + + * Drink coffee. + * Read 80-extras-iftab_helper.patch again. + * Stare in disbelief. + * Drink more coffee. + * Add "&& !found" to the "rename to clashed" if condition. + * Close bug #31188. + * Hide in shame. + + -- Scott James Remnant Tue, 14 Feb 2006 11:28:17 +0000 + +udev (079-0ubuntu11) dapper; urgency=low + + "How do you document real life when real life's getting more like + fiction each day? + + * More updates to ifrename support: + - iftab_helper now supports the common "mac" selector, used to + distinguish different interfaces created by the same driver. + + -- Scott James Remnant Mon, 13 Feb 2006 21:19:19 +0000 + +udev (079-0ubuntu10) dapper; urgency=low + + "Near, far, in our motor car; Oh what a happy time we'll spend." + + * Fixes to a couple of think-os in the previous ifrename patch: + - after renaming to the temporary interface name, make sure we copy + that into ifr_name otherwise we'll be trying to rename the interface + we've just renamed. Ubuntu #31040. + - use "OLDNAME_ifrename" as the temporary name rather than "__NEWNAME" + to avoid clashes and just generally make it more obvious. + - use "NAME_clashed" as the iftab clash name rather than "_NAME" to make + it more obvious + - don't write an initial /etc/iftab on install or upgrade; leave it to + the installer. + + -- Scott James Remnant Fri, 10 Feb 2006 14:37:02 +0000 + +udev (079-0ubuntu9) dapper; urgency=low + + "Dancing freaks and sycophants, Westwood heels and shoulder pads." + + * Rework the initramfs premount script a little to try and make the root + filesystem order a little more predictable. In particular make sure we + don't load USB/firewire/etc. drivers until we've loaded IDE and SCSI + drivers otherwise sda could be won by a fast USB key over your SATA + root filesystem. Ubuntu #28150, #30418. + + * Include support for renaming of network interfaces. This is done with + a new iftab_helper that can parse a subset of the ifrename /etc/iftab + file and return the expected name of the network interface. This is + called from a udev rule that uses the internal support for network + interface renaming. Interface swapping is supported both by renaming + network interfaces that would clash with one specified in the file and + by waiting for an interface name to become free in udev itself. + Ubuntu: #7050, #30240. + + -- Scott James Remnant Thu, 9 Feb 2006 22:04:10 +0000 + +udev (079-0ubuntu8) dapper; urgency=low + + "Forget about your algebra and calculus, You can always do your homework + on the morning bus." + + * Change the udev message to "Loading hardware drivers" to stop people + thinking this does any kind of hardware detection, which it doesn't. + + -- Scott James Remnant Tue, 7 Feb 2006 11:12:09 +0000 + +udev (079-0ubuntu7) dapper; urgency=low + + "And someday when you're old and bent, Think of those you might have spent, + With a bad, bad man!" + + * Include 65-persistent-disk.rules and helpers in the udeb so the + installer can use /dev/disk/by-*. + + -- Scott James Remnant Sat, 4 Feb 2006 11:32:54 +0000 + +udev (079-0ubuntu6) dapper; urgency=low + + "Some little token of esteem is needed, like a dish of cream." + + * Don't check whether a device is claimed by an already loaded driver, + while clever and theoretically time-saving it turns out that various + forms of devices can be claimed by multiple drivers + Ubuntu #28654, #30377. + * Load mmc_block when an mmc device is inserted; will improve once + we get a way to determine exactly which mmc sub-module we need, but + this will give us out-of-the-box SD/MMC card support for now. + * Also load i2o_block for all i2o devices, again this is a temporary + workaround for a bad kernel subsystem. + + -- Scott James Remnant Fri, 3 Feb 2006 17:50:19 +0000 + +udev (079-0ubuntu5) dapper; urgency=low + + "We was full of hope, until I got addicted to crack and dope!" + + * Switch back to using "cp -a -f" in the init script and installer + startup; that works fine with busybox and with our patched coreutils. + + -- Scott James Remnant Thu, 2 Feb 2006 09:52:00 +0000 + +udev (079-0ubuntu4) dapper; urgency=low + + "May I return to the beginning? The light is dimming, and the dream is too" + + * Remove the /dev/.udev/queue directory at the bottom of the initramfs + just in case we killed udevd while it was in the middle of something. + + -- Scott James Remnant Sat, 28 Jan 2006 16:08:08 +0000 + +udev (079-0ubuntu3) dapper; urgency=low + + "There's gonna be a quiz at your ascension, not to mention any + threat of hell." + + * Wait time for SCSI devices should be 30 seconds, not 3 seconds. + Accidentally broken while fixing usplash timeouts. + + -- Scott James Remnant Tue, 10 Jan 2006 10:54:42 +0000 + +udev (079-0ubuntu2) dapper; urgency=low + + "I'm brushing up on looking down." + + * Probe for PCI, ISA, PCMCIA, etc. brides, USB and Firewire controllers + and docking stations during initramfs, to support more distant root disks. + * Also probe for input devices so when it all goes wrong, you can use that + USB keyboard to fix it. + + * Build the udeb separately without SELinux support, as that's not + required during the installer. + * Don't allow usplash to timeout while we run udevplug in the init script + or while we wait for SCSI devices to get out of bed. + + -- Scott James Remnant Fri, 6 Jan 2006 10:10:01 +0000 + +udev (079-0ubuntu1) dapper; urgency=low + + "You know, some guys just can't hold their arsenic." + + * New upstream release: + - %e (enumerate) in rules has been deprecated. + - event environment now lists symlinks to device in DEVLINKS variable + - device-mapper support for persistent disk rules + * Dropped 10-udev-conf.patch, now included upstream. + * Dropped 02-no-sepol.patch, as we now depend on that. + * Added 10-selinux-include-udev-h.patch to fix build failure with selinux. + * Increased versioned dependency on libselinux1-dev to that which includes + matchpathcon_init_prefix. + + * Fixed dvb device naming to create correct format names, bugs in both + udev rules to match the device and program to generate the right names. + Ubuntu #20874. + * Fixed a bug in udevplug that caused it to wait for an event to complete + that it never tickled. Ubuntu #20943. + * Included firmware loading in the udeb so network cards needing firmware + will work in the installer. Ubuntu #20993 + * Plug devices in serial during the initramfs, provides a little more + predictability of device names of the root filesystem. + + * Rule changes: + - wait for the address attribute of network devices to appear in sysfs + before processing. + Rationale: solves race not yet fixed in kernel. + - dropped %e from symlink rules; this means you will only have one + /dev/cdrom symlink no matter how many devices you have - and it isn't + necessarily predictable which one it is. Software should use HAL or + similar to present "human names" for devices, and sysadmins should + use the /dev/disk/* names. + Rationale: upstream. + - /etc/udev/rules.d/65-persistent.rules renamed to 65-persistent-disk.rules + Rationale: upstream. + - place /dev/nvram in the nvram group. + Rationale: Ubuntu #21571 and breezy. + - load sg module for all SCSI devices. + Rationale: Ubuntu #12434, SuSE rules. + - place SCSI processors (SYSFS{type}==3) from HP in the scanner group. + Rationale: Ubuntu #12434. + - change permissions of removable devices (floppies, usb, ieee1394, etc.) + to 0660 (the default) instead of overriding it down to 0640. + Rationale: allows formatting of the media, and the groups are intended + to imply physical access anyway. + + -- Scott James Remnant Wed, 4 Jan 2006 07:58:45 +0000 + +udev (077-0ubuntu5) dapper; urgency=low + + "And if you're lucky, then the god's a she." + + * Spell firewire correctly (with the extra e). + * Spell midi correctly. + * Remove strange "0" floating in the IDE device permissions rules. + * Explicitly state cdrom modes as 0660 in case they've been dropped to + 0640 because they're removable. + + -- Scott James Remnant Mon, 12 Dec 2005 13:05:53 +0000 + +udev (077-0ubuntu4) dapper; urgency=low + + "Looks like you're not happy 'less I open a vein." + + * Drop -x from initramfs premount script, was there for debugging while + it was new and shiny. + * Include the general functions in the initramfs script, so we get + log_begin_msg/log_end_msg, which we use to notify that we're hanging + around for a while. + + -- Scott James Remnant Thu, 8 Dec 2005 02:19:11 +0000 + +udev (077-0ubuntu3) dapper; urgency=low + + "Watch out, Europe ... We're going on tour!" + + * Include udevinfo and udevmonitor in the udeb for installer debugging. + * Rework the initramfs premount script. Instead of trying to do the same + steps for everything, take different paths depending on the values of + $BOOT and $ROOT. + - BOOT=nfs means we only load network card drivers. + - BOOT=local means we look at ROOT, if it's an ide device we might need + to load ide-generic if probing the bus doesn't create it; if it's a + scsi or sata device we might need to wait around for a bit for the + device to appear + * Load ide-generic if not already loaded when an ide device is detected. + + * Rule changes: + - Change group of USB and IEEE1394 block devices to plugdev and change + permissions to 0640. + Rationale: pmount/g-v-m/hal needs them in this group to work. + + -- Scott James Remnant Wed, 7 Dec 2005 18:15:21 +0000 + +udev (077-0ubuntu2) dapper; urgency=low + + "I'm so hot, hot to trot; I can hardly wait to show them what I got." + + * Turns out busybox doesn't have "cp -au", go back to "-af". + + -- Scott James Remnant Tue, 6 Dec 2005 20:36:25 +0000 + +udev (077-0ubuntu1) dapper; urgency=low + + "I think dynamic tension must be awfully hard work" + + * New upstream release: + - no longer marks an event as failed when ignore_device is used + - skipping of events with SEQNUM moved to udevsend + - automatically prefix relative program paths with /lib/udev + + * Copy devices from /lib/udev/devices using plain-old cp, rather than + find and cpio; find is in /usr. + * Update installer startup script to use "cp -au" like the init script, + instead of "cp -af". + * Add /lib/udev/devices/kmem as there's no sysfs node for it yet. + * Mount udev with mode 0755 in cases of no initramfs. + * Explain to debhelper that we like the /lib/udev/devices permissions the + way they are. + + * Rule changes: + - Rename /dev/sr* to /dev/scd*, providing old name as symlink. + Rationale: LANANA. Ubuntu #20312. + - Rename USB printers to /dev/usblp*. + Rationale: expectation in cupsys source, avoids conflict with lp. + - Rename device-mapper targets to /dev/dm/*. + Rationale: names we used in breezy. + - Change /dev/pilot symlink to be enumerated. + Rationale: some people have multiple Palm Pilots (yes, really). + - Add /dev/input/aiptektablet enumerated symlink to event device. + Rationale: used in xorg.conf. Ubuntu #18358. + - Add permissions and symlinks for ltmodem /dev/ttyLTM* devices. + Rationale: included in linux-restricted-modules. + - Add enumerated /dev/cdrw, /dev/dvd and /dev/dvdrw symlinks. + Rationale: appeared in breezy. + - Left /dev/urandom permissions as 0666, despite being 0444 in breezy. + Rationale: same write function as /dev/random. Debian #332970. + + * Drop has_driver helper, instead just check ENV{PHYSDEVDRIVER}. + * Directly use the upstream persisent rules, so we keep up with changes + without having to copy them into the debian/rules.d directory. + * Remove /lib/udev/ prefix from all program rules, and let udevd add it. + + * Replace devfs rules with a simple helper that atomically enumerates + storage devices and allows us to produce the devfs-style /dev/discs, + /dev/cdroms and /dev/floppy directories that the installer still uses. + + -- Scott James Remnant Tue, 6 Dec 2005 14:26:09 +0000 + +udev (076-0ubuntu5) dapper; urgency=low + + "I played Norway, my fjords were stunning!" + + * Load modules for all storage controllers in initramfs, not just IDE + and SCSI; some SATA controllers identify themselves as RAID. + * Load modules for network controllers in initramfs. + * Call modprobe super-quiet and with blacklist support when loading + ide-generic. + + * Add -b (block devices) and -c (class devices) options to udevplug that + follow the right numbers of symlinks. + * Add -v (verbose) to udevplug for easier debugging. + * Dereference /sys symlinks given to udevplug directly. + + * Added debian/patches/55-run-program.patch which stops udevd declaring + that the sky is falling just because a program can't be found, it'll + output a warning (normally muted) and can be replayed later with + udevplug -F + + * Fix pnp_modules which was generating device aliases, instead of device + ids that we can pass to modprobe. + + * Fix a few bugs in the init script that prevented udev from being started + on systems without initramfs, or after it was stopped. + * Include null in /lib/udev/devices by default. + * Simplify the udev.installer-startup script, the installer itself will + take care of much of the heavy mountpoint lifting. + * Include udev.conf in the udeb. + + -- Scott James Remnant Thu, 1 Dec 2005 11:38:34 +0000 + +udev (076-0ubuntu4) dapper; urgency=low + + * Allow udevplug to follow symlinks in various circumstances, such as + when enumerating a bus or class heirarchy (mostly future compatibility, + but useful today). + * Correct a silly error in the udevplug manpage. + * Use -Cmem -Cmisc -Ctty -Cvc in initramfs script to ensure we follow + symlinks properly. + * Depend on the version of module-init-tools that actually supports + modprobe -Q. + * Guard notify-reboot-required call for minimal systems. + * Fix uninitialised variable in vio_type. + + -- Scott James Remnant Thu, 1 Dec 2005 01:06:49 +0000 + +udev (076-0ubuntu3) dapper; urgency=low + + * Add debian/patches/01-no-sepol.patch to avoid inclusion of libsepol1 + in main, it doesn't appear to be used. + + -- Scott James Remnant Wed, 30 Nov 2005 20:18:54 +0000 + +udev (076-0ubuntu2) dapper; urgency=low + + "Robin Hood, what a crook; gave away, what he took" + + * Recurse the /sys tree directly it udevplug rather than trying to use + libsysfs to encapsulate it; it just doesn't really work (why /dev/tty + didn't get updated permissions). + * Include the modprobe rules in the udeb. + + -- Scott James Remnant Wed, 30 Nov 2005 19:25:14 +0000 + +udev (076-0ubuntu1) dapper; urgency=low + + "There's nothing we can't face ... except for bunnies!" + + * New upstream release: + - udev daemon is now run on startup, rather than first event + - events are received exclusively over the netlink socket, you should + leave /proc/sys/kernel/hotplug empty from now on. + - events with a TIMEOUT are now processed immediately + - disks can now be accessed through /dev/disk/by-label/ and + /dev/disk/by-uuid/ if you know what disk you're looking for, but not + what kernel-assigned name it has. + - device nodes with default name and no symlink are no longer stored in + the udevdb. + - the "udev_db" option has been removed, and the udevdb moved to + /dev/.udev/db + - when there are queued events, /dev/.udev/queue will exist and contain + symlinks to the appropriate /sys paths for each event + - exit status of programs called by RUN rules is now tracked + - if an event fails, /dev/.udev/failed will exist and contain symlinks + to the appropriate /sys paths; this can be used to replay failed events + later + - rules with NAME="" will cause no device node to be created, but RUN + keys will still be run. Use OPTION "ignore_device" to completely + ignore an event. + - added WAIT_FOR_SYSFS="" key to rule syntax, all built-in + logic to work around timing has been removed and instead this rule + should be used where necessary + - syntax to test for existance of environment variable changed from + ENV{KEY}=="*" to ENV{KEY}=="?*" + - communication with daemons such as hal can now be done using sockets, + use RUN+="socket:/org/freedesktop/hal/udev_event" + + * Repackaged for Ubuntu, we have sufficiently far digressed from Debian, + especially in dealing with users trying to break their system, that + it makes sense to just maintain our own package now. Ironically this + makes it easier to send patches back as we don't have to strip out the + "back out stuff" hunks first. + * Completely replaces the functionality of the hotplug package, which will + be removed by installing this. If you had custom /etc/hotplug.d or + /etc/dev.d scripts, you will need to update those to be called by a udev + rule in /etc/udev/rules.d/8?-*.rules + * Depends on grepmap directly for the last remaining subsystems that don't + produce MODALIAS variables, rather than indirectly using the old hotplug + agents. + * Provides its own initramfs-tools hook and scripts, replacing the /dev + functionality that used to be built into it. + + * The plain udev binary and udevstart are no longer shipped; all events are + received over the netlink socket by udevd and processed internally. The + general functionality of udevstart has been replaced by udevplug. + * /etc/udev/links.conf is gone and instead replaced by the /lib/udev/devices + directory. If you need any extra device nodes, symlinks or placed in + /dev on boot just place them here; they're copied over when the system + starts. + * The udev_root and udev_rules config options have been removed, if you + really want to change these, you can; but beware that you'll need to + change a lot of other things too -- they were just too difficult to + reliably support when combined with initramfs. + * All scripts removed from /etc/udev/scripts, instead replacements (often + binaries for speed) are shipped in /lib/udev; you can replace them by + adding your own and adjusting the rules. + + * All rules are now placed directly in /etc/udev/rules.d, rather than + symlinking them in. + * All of the default rules have been replaced with new rules; if you had + modified the old ones they will be disabled but left in /etc/udev for + you (with a .dpkg-bak name). You'll need to update your rules for the + new system, and place them in a new /etc/udev/rules.d/50-*.rules file. + + -- Scott James Remnant Tue, 22 Nov 2005 08:29:24 +0000 + +udev (0.060-1ubuntu15) breezy; urgency=low + + * The kernel's input subsystem still hasn't been updated to use the new + driver core and is still running /proc/sys/kernel/hotplug (udevsend) + itself with a hand-constructed environment, rather than attaching data + to the sysfs event. + + These hand-constructed events are missing the DEVPATH= variable which + udev requires before processing its rules. + + Added debian/patches/hotplug_input_events which instead of ignoring these + events catches those from the input subsystem and processes them by + running /sbin/udev_run_hotplugd; effectively passing all responsibility + to the old hotplug input.agent which still can deal with them. + + In the long-term, the kernel will be updated to use the driver core + (there are patches starting to be floated now) and attach its + information to the sysfs event, so this hack can go when that happens. + + -- Scott James Remnant Fri, 23 Sep 2005 23:31:23 +0100 + +udev (0.060-1ubuntu14) breezy; urgency=low + + * Well, that didn't work so well now, did it folks? + + Looks like good old Mr Kernel is _only_ sending some events down the + netlink socket, and we really don't want to be ignoring them. + + Revert the ubuntu13 change, and instead start udevd manually at + S04udev. This isn't as much of a hack as it first appears, because + once /proc/sys/kernel/hotplug goes away we'll need to do this anyway. + + -- Scott James Remnant Wed, 21 Sep 2005 12:40:40 +0100 + +udev (0.060-1ubuntu13) breezy; urgency=low + + * Disable receipt of hotplug events via the netlink socket, there are + race conditions at early boot time where we can end up ignoring + udevsend events for netlink events we've already missed. This + particularly affected /dev/input/mice. (Ubuntu #12915). + + -- Scott James Remnant Wed, 21 Sep 2005 03:45:49 +0100 + +udev (0.060-1ubuntu12) breezy; urgency=low + + * extra/permissions.rules: Reorder change from previous version so that + CD-ROMs keep cdrom/0660 instead of plugdev/0640. (Ubuntu #15098) + + -- Martin Pitt Mon, 12 Sep 2005 10:12:54 +0200 + +udev (0.060-1ubuntu11) breezy; urgency=low + + * extra/permissions.rules: Assign group plugdev to removable IDE drives to + make CF card readers and the like work. (Ubuntu #14495) + + -- Martin Pitt Fri, 9 Sep 2005 15:45:26 +0200 + +udev (0.060-1ubuntu10) breezy; urgency=low + + * debian/udev.init: Cope with a /dev tmpfs already being present. + (Ubuntu #14226) + Always make sure $udev_root/.udevdb is around + (Ubuntu #12915) + + -- Jeff Bailey Mon, 29 Aug 2005 22:43:55 -0400 + +udev (0.060-1ubuntu9) breezy; urgency=low + + * debian/udev.init: Fix links.conf path check. (Ubuntu #14281) + + -- Martin Pitt Mon, 29 Aug 2005 09:39:49 +0200 + +udev (0.060-1ubuntu8) breezy; urgency=low + + * extra/permissions.rules: When calling removable.sh, additionally scan usb + and ieee1394 buses since sometimes the kernel does not regard those as + removable. (Ubuntu #14063) + * extra/removable.sh: Remove the quoting in the 'for bus in "$SCAN_BUS"' + loop to make the loop actually work. + + -- Martin Pitt Thu, 25 Aug 2005 14:38:08 +0200 + +udev (0.060-1ubuntu7) breezy; urgency=low + + * Fix typo in udev.rules that prevented the /dev/pilot symlink from + appearing. + + -- Scott James Remnant Thu, 25 Aug 2005 01:08:59 +0100 + +udev (0.060-1ubuntu6) breezy; urgency=low + + * debian/rules: Ship /etc/udev/scripts/removable.sh again, the absence of + this broke automounting on half the machines out there. (Ubuntu #13520) + + -- Martin Pitt Tue, 16 Aug 2005 22:49:26 +0200 + +udev (0.060-1ubuntu5) breezy; urgency=low + + * Add compatibility /dev/js[0-9]* symlinks for old software that + don't yet look for /dev/input/js[0-9]*. + + -- Scott James Remnant Mon, 15 Aug 2005 17:41:43 +0100 + +udev (0.060-1ubuntu4) breezy; urgency=low + + * Avoid sed /I regex flag in cdsymlinks.sh, which is a GNU extension. + + -- Colin Watson Wed, 10 Aug 2005 22:07:17 +0100 + +udev (0.060-1ubuntu3) breezy; urgency=low + + * Add ide-model.sh to the udeb. + * Add z50_run.rules to the udeb, to terminate tty device processing. + * Add z70_hotplugd.rules and helpers to the udeb, for /etc/dev.d and + /etc/hotplug.d compatibility. + + -- Colin Watson Fri, 5 Aug 2005 12:47:57 +0100 + +udev (0.060-1ubuntu2) breezy; urgency=low + + * Disable SELinux support in the udeb build. + + -- Colin Watson Wed, 13 Jul 2005 16:46:19 +0100 + +udev (0.060-1ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. + + * Prune 1394 rules, they are now part of 2.6.12 and udev upstream. + + * Redo the permissions.rules patch. The syntax changed slightly. + - Drop USB printer hackery, supported correctly with new kernel/udev + combo. + + -- Jeff Bailey Fri, 8 Jul 2005 03:13:25 +0000 + +udev (0.060-1) unstable; urgency=low + + * New upstream release. (Closes: #310960, #316478) + * Priority raised to optional. + * Enabled SELinux support. + * Added rules for ieee1394 devices. + + -- Marco d'Itri Sun, 3 Jul 2005 18:59:19 +0200 + +udev (0.056-3) unstable; urgency=high + + * Use group lp for USB printers. (Closes: #309091) + * Use group dialout for sl-modem devices. (Closes: #308488) + * Fix support for more than 9 partitions in removable.sh. (Closes: #306400) + * Mount the tmpfs from "tmpfs" instead of "none". (Closes: #307199) + + -- Marco d'Itri Sun, 29 May 2005 19:29:30 +0200 + +udev (0.056-2ubuntu2) breezy; urgency=low + + * Make sure that USB printers have group 'lp' (Ubuntu #10004) + + -- Jeff Bailey Fri, 6 May 2005 15:45:26 -0400 + +udev (0.056-2ubuntu1) breezy; urgency=low + + * Updated to new Debian version, reapplied Ubuntu changes manually; there + were too many changes and diversions. (#9688) + * Manually re-LSB'ified init script. + * debian/rules: Fix udeb generation. + + -- Martin Pitt Fri, 15 Apr 2005 15:17:10 +0200 + +udev (0.056-2) unstable; urgency=medium + + * Made the init script not fail if links.conf does not exist. + (Closes: #301525) + * Added RELEASE-NOTES to the documentation. (Closes: #301766) + * devfs.rules, udev.rules: fixed the ZIP drives hack. (Closes: #303133) + * Added patch add_firmwares_timeout: workaround for kernels with no + TIMEOUT support, which break the firmware events of some drivers. + (Closes: #302990) + * Moved all permissions-related rules to permissions.rules, installed + by default on upgrade. + + -- Marco d'Itri Sat, 9 Apr 2005 14:44:10 +0200 + +udev (0.056-1) unstable; urgency=medium + + * New upstream release. + * Improve warn_if_interactive() in the init script. (Closes: #299827) + * Stop adding by default /dev/.static/dev/ to mtab to silence df. + (Closes: #300435) + * Use /etc/udev/ instead of /tmp/ as the temporary mount point in + the init script. (Closes: #300705) + + -- Marco d'Itri Mon, 21 Mar 2005 14:56:51 +0100 + +udev (0.054-3) unstable; urgency=high + + * Do not use udevsend as the hotplug multiplexer on kernels < 2.6.10 + because they generate out of order hotplug events. + * Use /dev/.static/dev/ instead of /.dev/ to keep the root clean and + to not leave around devices with possibly insecure permissions. + This requires raising the versioned dependency on makedev to 2.3.1-77. + (Closes: #294968) + * Added upstream patch udev-segfault-DRIVER.patch to fix a segfault when + matching a non-initialized DRIVER. (Closes: #298192) + * devfs.rules, udev.rules: added the AOE character devices. + + -- Marco d'Itri Tue, 15 Mar 2005 11:55:38 +0100 + +udev (0.054-2) unstable; urgency=high + + * udev.rules: fixed the device name for raw parport devices. + * devfs.rules, udev.rules: try a different approach to setting permissions + for SCSI devices, by checking SYSFS{type}. Also detect sg devices used + by scanners and use the scanner group. (Closes: #297755) + + -- Marco d'Itri Sat, 5 Mar 2005 14:50:29 +0100 + +udev (0.054-1) unstable; urgency=high + + * New upstream release. + * Fix postinst to run udevstart on the right directory at install time. + (Closes: #296776, #296975) + * Use udevsend as the hotplug multiplexer and depend on hotplug + >= 0.0.20040329-17 to be sure that it will not be changed back by + its init script. + * Raised the tmpfs default size to 10 MB, because Alpha has 8 KB pages. + (Closes: #295087) + * Added raid-devfs.sh to udev-udeb. (Closes: #295634) + * devfs.rules, udev.rules: set group lp for raw parport and USB printer + devices. (Closes: #296256, #296276) + * Added an ide-model.sh init script to deal with partitions of Zip drives. + (Closes: #295369) + + -- Marco d'Itri Sat, 26 Feb 2005 13:41:16 +0100 + +udev (0.053-1) unstable; urgency=medium + + * New upstream release. + * Removed patches cdsymlinks_numeric (merged upstream) and scsi_id_tmp + (not needed anymore). + * Added some documentation to the init script for the benefit of people + who run commands without understanding their consequences. With the + same rationale, added some code which prints a scary message if the + script is started from an interactive shell. + * Added to the init script a check for the $UDEV_DISABLED variable, + which may be set on the kernel command line to easily disable udev. + * Do not start udev from postinst when installing in a chroot. + * Added to postinst yet another check for missing tmpfs. (Closes: #294575) + * CAPI devices now are owned by group dialout, per policy. + * Documented in README.Debian that the md RAID devices may not work. + * Updated the cdsymlinks script with a patch from the author. + + -- Marco d'Itri Sat, 12 Feb 2005 19:39:53 +0100 + +udev (0.051-1) unstable; urgency=low + + * New upstream release. + * Removed patch ignore_tmpfs_size_option, not needed anymore. + * Updated the rules files to include permissions. + The permissions files do not exist anymore. + * devfs.rules, udev.rules: added infiniband/* devices. (Closes: #293493) + * Fixed the Iomega ZIP rule. (See #289525) + * Stop creating dummy /dev/.udev.tdb. + + -- Marco d'Itri Sat, 5 Feb 2005 13:36:15 +0100 + +udev (0.050-6) unstable; urgency=high + + * Do not check the kernel version in preinst if udev is not already + active. (Closes: #292829) + + -- Marco d'Itri Sun, 30 Jan 2005 18:10:16 +0100 + +udev (0.050-5) unstable; urgency=high + + * Fixed broken upgrade test in postinst enable_udev(). (Closes: #290968) + * compat.rules: fixed the fix for #288932. (Closes: #289505) + * devfs.rules, udev.rules: added the all_partitions workaround for + ZIP drives. (Closes: #289525) + + -- Marco d'Itri Tue, 18 Jan 2005 18:39:54 +0100 + +udev (0.050-4) unstable; urgency=high + + * Create /dev/shm/ in postinst, because it may be missing on systems + which had devfs installed. + * Improved the code in postinst which determines the naming scheme to + detect devfs-like names on non-devfs systems. (Closes: #288308) + * Improved enable_udev() in postinst to make sure that it does not try + to mount a second tmpfs when upgrading from pre-.udevdb releases. + (Closes: #288775) + * compat.rules: create symlinks also for secondary audio, dsp and + mixer devices. (Closes: #288932) + * cdsymlinks.sh: fixed the NUMBERED_LINKS=0 case. (Closes: #288635) + + -- Marco d'Itri Fri, 7 Jan 2005 12:09:04 +0100 + +udev (0.050-3ubuntu7) hoary; urgency=low + + * extra/links.conf: Add raw1394, video1394 and video1394/0 ... + * extra/udev.permissions: ... and to here. + + * debian/udev.init: Set permissions on links created through + links.conf. + + Should provide the bare minimum /dev entries to get ieee1394 to + work. + + (Ubuntu BZ#3609) + + -- Jeff Bailey Tue, 29 Mar 2005 00:47:56 -0500 + +udev (0.050-3ubuntu6) hoary; urgency=low + + * debian/udev.preinst: Handle conffile move without dpkg questions. + (Ubuntu #4973) + + -- Martin Pitt Fri, 18 Mar 2005 14:50:43 +0100 + +udev (0.050-3ubuntu5) hoary; urgency=low + + * Add raid-devfs.sh to udev-udeb. + + -- Colin Watson Mon, 14 Feb 2005 14:27:22 +0000 + +udev (0.050-3ubuntu4) hoary; urgency=low + + * extra/udev.rules: put removable SCSI (USB, FireWire) and USB block devices + into group "plugdev" instead of "disk" to allow hal to read the file + system type and device label. This replaces the old /etc/udev/hal.rules + method of hal. Doing it in udev is more consistent and also avoids #6235. + * Added extras/removable.sh and install it in debian/rules. This replaces + the old device-removable.sh script from hal. + + -- Martin Pitt Mon, 7 Feb 2005 09:26:47 +0100 + +udev (0.050-3ubuntu3) hoary; urgency=low + + * Add debian/patches/include_sys_stat from Jeff Bailey, to fix a compilation + error with klibc due to a missing #include (Ubuntu #5826) + + -- Matt Zimmerman Thu, 27 Jan 2005 18:04:11 -0800 + +udev (0.050-3ubuntu2) hoary; urgency=low + + * Set the default hotplug helper to /sbin/udevsend + + -- Matt Zimmerman Sat, 8 Jan 2005 20:11:28 -0800 + +udev (0.050-3ubuntu1) hoary; urgency=low + + * Merge to new Debian version + * LSB'ified new code in init script + + -- Martin Pitt Wed, 5 Jan 2005 16:21:09 +0100 + +udev (0.050-3) unstable; urgency=high + + * Fixed the regexp in preinst which caused cd-aliases.rules to not be + enabled on upgrades. (Closes: #287225) + * Included scsi_id.config as an example. (Closes: #287959) + * Modified postinst and the init script to fail gracefully if the kernel + mounts a non-working tmpfs. (Closes: #288043) + * Added patch scsi_id_tmp: makes scsi_id create its temporary devices in + /dev instead of /tmp, which is read only when udevstart is run. + (Closes: #287959) + + -- Marco d'Itri Sat, 1 Jan 2005 23:57:26 +0100 + +udev (0.050-2) unstable; urgency=medium + + * Do not try to enable udev in postinst without a supported kernel. + (Closes: #287146) + + -- Marco d'Itri Sat, 25 Dec 2004 01:50:03 +0100 + +udev (0.050-1ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + * Manually resolve merge conflicts + * Remove overzealous replacement of echo with log_success_msg in init + script usage message + + -- Matt Zimmerman Sat, 25 Dec 2004 13:02:57 -0800 + +udev (0.050-1) unstable; urgency=medium + + * Added code to postinst to enable udev without rebooting. + * Stop trying to automatically restore the old /dev on removal, it cannot + made work. + * Fixed the init script to correctly recognize 2.6.1* kernels. + (Closes: #286188) + * Refuse to upgrade if the running kernel is too old. (Closes: #286530) + * Removed the scary warning about upgrades from devfs and all debconf code. + * New patch enable_after_udev disables udev if /dev/.udevdb/ does not exist. + * Fixed raid-devfs.sh and added support for Mylex controllers, courtesy + of Piotr Roszatycki. (Closes: #285066, #286809) + * Manually mount /proc before udevstart is run, because some scripts need + it. Stop running mountvirtfs, which is started again later anyway. + + -- Marco d'Itri Fri, 24 Dec 2004 13:46:13 +0100 + +udev (0.048-3) unstable; urgency=medium + + * devfs.rules: added support for /dev/{cciss,ida}/*. (Closes: #285066) + * New patch check_null_directory fixes core dump on amd64. (Closes: #285281) + * Improved the init script check for old kernels. (Closes: #285443) + * Depend on sed >= 3.95. (Closes: #285511) + * udev.permissions: fixed the inotify path. + + -- Marco d'Itri Wed, 15 Dec 2004 21:32:22 +0100 + +udev (0.048-2) unstable; urgency=high + + * Fixed again #283758, this time for real. + + -- Marco d'Itri Thu, 9 Dec 2004 19:27:45 +0100 + +udev (0.048-1) unstable; urgency=medium + + * New upstream release. + * devfs.rules, udev.rules: added Zaptel rules. (Closes: #284695) + * Made the init script fail if the system is running a kernel older + than 2.6.8. (Closes: #284782) + * Updated the udevtest-all script. (Closes: #284774) + * New patch no_strip builds unstripped executables with debugging symbols. + * Added a reportbug script. + + -- Marco d'Itri Thu, 9 Dec 2004 18:10:32 +0100 + +udev (0.046-6) unstable; urgency=high + + * Fixed preinst failure. (Closes: #284367, #284399) + * devfs.rules, udev.rules: added usb/cpad[0-9]*. (Closes: #284392) + * compat-full.rules: added ttyUSB[0-9]*. (Closes: #284264) + * Added a reportbug presubj file. + * High priority, because 0.046-5 fails to install and anyway it's + about time 046 moves to sarge. + + -- Marco d'Itri Mon, 6 Dec 2004 11:58:10 +0100 + +udev (0.046-5) unstable; urgency=medium + + * Make sure to create the default symlinks at install time even if some + other package already created a symlink for its own rules file. + (Closes: #283758) + * Added a note to README.Debian about sg nodes. (Closes: #271589) + * udev.rules, devfs.rules: fixed the names of the ALSA midi devices. + (Closes: #283527) + * Moved the rules using cdsymlinks.sh from udev.rules and compat.rules + to a new file cd-aliases.rules. + Added some code to preinst to automatically enable it at upgrade time. + * Cleaned up the rules which deal with CD devices. + * Removed from preinst the code needed to upgrade package versions older + than 0.024-9. + + -- Marco d'Itri Sat, 4 Dec 2004 14:49:44 +0100 + +udev (0.046-4) unstable; urgency=medium + + * Really move the scripts to /etc/udev/scripts/. (Closes: #283343) + * New upstream patch: fix_interfaces_renaming. (Closes: #283144) + * Deal with /etc/udev/rules.d/ being empty in postrm. (Closes: #283322) + + -- Marco d'Itri Sun, 28 Nov 2004 19:12:40 +0100 + +udev (0.046-4ubuntu2) hoary; urgency=low + + * Fix inotify permissions + + -- Thom May Mon, 6 Dec 2004 11:15:59 +0100 + +udev (0.046-4ubuntu1) hoary; urgency=low + + * Merge to new Debian revision. + + -- Martin Pitt Mon, 29 Nov 2004 08:50:01 +0100 + +udev (0.046-4) unstable; urgency=medium + + * Really move the scripts to /etc/udev/scripts/. (Closes: #283343) + * New upstream patch: fix_interfaces_renaming. (Closes: #283144) + * Deal with /etc/udev/rules.d/ being empty in postrm. (Closes: #283322) + + -- Marco d'Itri Sun, 28 Nov 2004 19:12:40 +0100 + +udev (0.046-3) unstable; urgency=medium + + * Fixed and improved /etc/init.d/udev-mtab. (Closes: #283118) + + -- Marco d'Itri Fri, 26 Nov 2004 18:32:04 +0100 + +udev (0.046-2ubuntu1) hoary; urgency=low + + * Manual merge with new Debian release: + - init script changed heavily, rewrote LSB init function usage + - activated udeb build in debian/rules + - do not install udev.startup into the udeb, it conflicts with d-i's + current rootskel + + -- Martin Pitt Fri, 26 Nov 2004 16:06:57 +0100 + +udev (0.046-2) unstable; urgency=medium + + * Run udevstart at upgrade time only if udev.tdb exists. (Closes: #282310) + * Install a new init script udev-mtab to update /etc/mtab. (Closes: #282455) + * Raised the default size of the tmpfs to 5 MB. (Closes: #282518) + * New patch ignore_tmpfs_size_option makes udev ignore the tmpfs_size + option in udev.conf. + * New patch devname.patch, from CVS. + * udev.rules: sr* devices are renamed to scd*, with a compatibility symlink. + * udev.rules, compat.rules: use cdsymlinks.sh for all kinds of cdrom drives. + (Closes: #282348) + * Added to debian/rules some code to build udev-udeb, currently disabled. + * Moved all scripts to /etc/udev/scripts/. + * Fixed postrm to not fail if /.dev/ is not present. (Closes: #283068) + + -- Marco d'Itri Fri, 26 Nov 2004 13:21:38 +0100 + +udev (0.046-1) unstable; urgency=medium + + * New upstream release. + * links.conf: manually create /dev/net/tun too. + * Try to mount --move /.dev/ over /dev/ on package removal. + * Always use mount -n in the init script. (Closes: #281921) + * Add a man page for wait_for_sysfs. (Closes: #281239) + + -- Marco d'Itri Sat, 20 Nov 2004 15:44:01 +0100 + +udev (0.042-1ubuntu3) hoary; urgency=low + + * udev-udeb depends on hotplug-udeb, not hotplug. + + -- Colin Watson Thu, 18 Nov 2004 19:05:43 +0000 + +udev (0.042-1ubuntu2) hoary; urgency=low + + * Add udev-udeb, for use in the installer. + + -- Colin Watson Tue, 16 Nov 2004 10:16:35 +0000 + +udev (0.042-1ubuntu1) hoary; urgency=low + + * Resynchronised with Debian, resolved minor merging conflicts. + * Reverted the changes from 0.026-1ubuntu4 (plugdev extension), this will be + handled by the pmount package from now on (consensus with Marco d'Itri). + * Deleted leftover work/ directory from automatic merge attempt + + -- Martin Pitt Thu, 11 Nov 2004 13:10:21 +0100 + +udev (0.042-1) unstable; urgency=medium + + * New upstream release. + * Point out again in README.Debian that rules files end in ".rules". + (Closes: #277920) + * devfs.rules, devfs.rules, udev.permissions: added pktcdvd/control. + (Closes: #278600) + * udev.permissions: added sonypi, misc/inotify. + * links.conf: manually create /dev/loop/0 and /dev/ppp, because their + drivers cannot be autoprobed in any way. + Please do not request to add other devices to the list. + + -- Marco d'Itri Sat, 30 Oct 2004 12:54:28 +0200 + +udev (0.040-1ubuntu3) hoary; urgency=low + + * Use "scd" device names in place of "sr", with a compatibility symlink for + the latter (Closes: Ubuntu#1909) + + -- Matt Zimmerman Thu, 28 Oct 2004 23:15:53 -0700 + +udev (0.040-1ubuntu2) hoary; urgency=low + + * Resolve merge conflicts + + -- Matt Zimmerman Thu, 28 Oct 2004 17:42:04 -0700 + +udev (0.040-1ubuntu1) hoary; urgency=low + + * Resynchronise with Debian. + + -- Scott James Remnant Thu, 28 Oct 2004 09:53:41 +0100 + +udev (0.040-1) unstable; urgency=medium + + * New upstream release. + + Removed patch hotplug.dev_exec, merged upstream. + * devfs.rules, udev.rules, udev.permissions: moved pktcdvd* to pktcdvd/, + as requested by the udftools maintainer. (Closes: #274110) + * scsi-devfs.sh: create .../disc instead of .../disk. (Closes: #276484) + * Added a workaround to mount the tmpfs even if .udev.tdb exists in the + static /dev/ directory. + + -- Marco d'Itri Fri, 22 Oct 2004 16:36:57 +0200 + +udev (0.034-1) unstable; urgency=medium + + * New upstream release. + + Removed patch udev-whitespace-bug-01.patch, merged upstream. + * New debconf translation: nl. (Closes: #274895) + * udev.permissions: made /dev/mouse*, /dev/input/mouse* and /dev/input/mice + mode 600. (Closes: #275392) + * udev.rules: fixed errors in the sg and DVB rules. (Closes: #275469) + + -- Marco d'Itri Sat, 9 Oct 2004 14:50:22 +0200 + +udev (0.032-2) unstable; urgency=medium + + * Fixed postrm failure. (Closes: #274272) + * Added support for DVB devices. (Closes: #274335) + * Added partial support for an alternative mount point. + + -- Marco d'Itri Sun, 3 Oct 2004 12:32:48 +0200 + +udev (0.032-1) unstable; urgency=medium + + * New upstream release. + + Removed patch udevstart-fix-01.patch, merged upstream. + * Delete rules.d/ symlinks in postrm. (Closes: #271570) + * Fixed a variable name in cdsymlinks.conf. (Closes: #271656) + * Make preinst not fail if start-stop-daemon --stop fails. (Closes: #273098) + * Make inputdev.sh accept an optional keywords regexp. (Closes: #272434) + * udev.permissions: removed djs* because it's obsolete. (Closes: #272188) + * devfs.rules: fixed the "hd[a-z]*" pattern. (Closes: #271723) + + -- Marco d'Itri Thu, 30 Sep 2004 16:12:59 +0200 + +udev (0.031-2) unstable; urgency=high + + * New patch udevstart-fix-01.patch fixes %-arguments passed to PROGRAMs. + (Closes: #271372) + * Added simple-cd-aliases.rules, not enabled by default. + * Added a note to README.Debian about timestamps and non-UTC system + clocks. (Closes: #259697) + + -- Marco d'Itri Mon, 13 Sep 2004 10:03:23 +0200 + +udev (0.031-1) unstable; urgency=medium + + * New upstream release. Fixes: + + At boot time, create the mem devices before the others. (Closes: #258590) + * Run mountvirtfs in the init script, just to be sure. (See #258214) + * Updated cdsymlinks.sh, courtesy of Darren Salt. (Closes: #247179, #255150) + * scsi-devfs.sh: added support for nst* devices. (Closes: #266419) + * Fix installation of compat-full.rules in postinst. (Closes: #261559) + * udev.permissions: made /dev/input/js* and /dev/input/mouse* world + readable and /dev/input/mice world writeable. (Closes: #260941) + * udev.permissions: made /dev/usb/legousbtower world writeable. + (Closes: #265987) + * udev.rules, devfs.rules: added /dev/cpu/*/. (Closes: #265922) + * udev.rules, devfs.rules: fixed some wildcards. (Closes: #269707) + * udev.rules, devfs.rules: added /dev/input/uinput. (Closes: #270446) + * New script inputdev.sh to support different permissions for some + input events devicse, by Darren Salt. (Closes: #265799) + + -- Marco d'Itri Sun, 12 Sep 2004 20:11:57 +0200 + +udev (0.030-1) unstable; urgency=medium + + * New upstream release. + * New debconf translation: de. (Closes: #254545) + * rtc: 660 => 664 + * input/*: 644 => 600 (Closes: #257165) + + -- Marco d'Itri Sun, 11 Jul 2004 16:59:49 +0200 + +udev (0.026-1ubuntu5) warty; urgency=low + + * Create joystick devices world-readable + + -- Matt Zimmerman Fri, 17 Sep 2004 15:22:54 -0700 + +udev (0.026-1ubuntu4) warty; urgency=low + + * Added and installed extra/removable.sh to test whether a device is + removable (this will only work on kernels 2.6.8 and up; on earlier kernels + this script considers every device as non-removable) + * udev.rules: put IDE and SCSI devices in group 'plugdev' if they are + removable (Warty bug #996) + * udev.postinst: Ensure that group 'plugdev' exists. + + -- Martin Pitt Mon, 6 Sep 2004 12:21:26 +0200 + +udev (0.026-1ubuntu3) warty; urgency=low + + * Added versioned depend on lsb-base + + -- Nathaniel McCallum Fri, 3 Sep 2004 15:16:38 -0400 + +udev (0.026-1ubuntu2) warty; urgency=low + + * debian/udev.init: pretty initscript + + -- Nathaniel McCallum Fri, 3 Sep 2004 12:13:37 -0400 + +udev (0.026-1ubuntu1) warty; urgency=high + + * Patch udev.permissions such that /dev/input devices are mode 0600 rather + than 0644. This prevents a security issue where any user could, for + example, sniff passwords typed at the console + + -- Matt Zimmerman Mon, 5 Jul 2004 14:43:17 -0700 + +udev (0.026-1) unstable; urgency=medium + + * New upstream release. (Closes: #251566) + * udev_dbus and udev_selinux have been removed. (Closes: #243429) + * udev.permissions: added pktcdvd[0-9]*. (Closes: #252383) + * Depending on initscripts >= 2.85-16 allows to simplify the init script. + * Removed patches devfs.sh-ide-floppy, devnode_to_devname.patch and + extras_no_logging which have been merged upstream. + + -- Marco d'Itri Tue, 8 Jun 2004 11:27:54 +0200 + +udev (0.024-9) unstable; urgency=low + + * Removed MAKEDEV-wrapper and Depend on makedev > 2.3.1-70. (Closes: #245441) + * /etc/udev/.dev/ moved to /.dev/. (Closes: #246592) + If you do not want to see it anyway, just rmdir it. + You will have to manually remove /etc/udev/.dev/ after the next reboot. + You want to reboot soon anyway because MAKEDEV has been updated to look + for the new directory. + * Added a script to create by default a /dev/cdrom symlink, courtesy of + Michal Čihař. (Closes: #247179) + * Added Japanese debconf template translation. (Closes: #245434) + * Add /dev/misc/nvram to devfs.rules. (Closes: #246125) + * Fixed the group of /dev/fb*. (Closes: #246011) + * When installing on a devfs system enable compat-full.rules if + /dev/tty1 exists. (Closes: #251146) + * Removed support for $udev_root from the init script. (Closes: #249183) + * Do not start udev if the kernel lacks tmpfs support. (Closes: #250476) + * Make the nvram device g+rw and owned by group nvram. + + -- Marco d'Itri Fri, 28 May 2004 20:32:19 +0200 + +udev (0.024-7) unstable; urgency=high + + * Fixed the permissions of /dev. (Closes: #245073) + * Added Czech debconf template translation. (Closes: #244423) + * Minor preinst improvements. (Closes: #245154) + * Fixed the permissions of /dev/st*. (Closes: #244239) + * Added rules for the tun/tap devices. (Closes: #244025) + * Moved the permissions file to /etc/udev/permissions.d/. (Closes: #243949) + + -- Marco d'Itri Thu, 22 Apr 2004 01:53:33 +0200 + +udev (0.024-6) unstable; urgency=high + + * Make postinst detect correctly if dbus is installed. (Closes: #243817) + + -- Marco d'Itri Thu, 15 Apr 2004 19:36:49 +0200 + +udev (0.024-5) unstable; urgency=medium + + * Ignore broken links when updating /etc/udev/rules.d/. (Closes: #243249) + * Use invoke-rc.d to restart d-bus. (Closes: #243336) + * If devfs is being used, use devfs-style names by default. (Closes: #243164) + * Added support for IDE floppy drives. (Closes: #243093) + * Added French debconf template translation. (Closes: #242890) + * Conflict with lvm-common < 1.5.13. (Closes: #236346) + * Let's try to only Recommend dbus and see what happens. (Closes: #240500) + + -- Marco d'Itri Wed, 14 Apr 2004 14:44:43 +0200 + +udev (0.024-4) unstable; urgency=high + + * Fix the names of USB printers. (Closes: #242512) + * Added a new rules file compat-full.rules. (Closes: #241364) + * udev-devfs.rules and udev-compat.rules have been renamed, the preinst + script tries to fix the /etc/udev/rules.d/ symlinks, if any exists. + It cannot recognize some corner cases, so please check your system + after the upgrade. + + -- Marco d'Itri Thu, 8 Apr 2004 02:07:43 +0200 + +udev (0.024-3) unstable; urgency=high + + * Fixed SCSI CD names in udev.rules. (Closes: #242443) + + -- Marco d'Itri Tue, 6 Apr 2004 20:43:40 +0200 + +udev (0.024-2) unstable; urgency=high + + * New patch devnode_to_devname.patch to fix broken udev_dbus, + courtesy of Sjoerd Simons. (Closes: #242283, #242374) + * Added rules to set the permissions of rfcomm[0-9]* and hd[a-s]. + (Closes: #242306) + * New debconf template: pt_BR. (Closes: #242089) + * Read the permissions of /dev/pts/ from /etc/defaults/devpts. + (Closes: #242054) + + -- Marco d'Itri Tue, 6 Apr 2004 18:21:30 +0200 + +udev (0.024-1) unstable; urgency=high + + * New upstream release. + "high" urgency because the package currently in testing sucks too much. + * Removed patch ide-devfs_fix_no_media, which has been merged upstream. + * Clarify README.Debian. (Closes: #241318) + + -- Marco d'Itri Sat, 3 Apr 2004 14:23:09 +0200 + +udev (0.023-3) unstable; urgency=medium + + * Changed again the default rules source: now udev.conf will default to + reading all files in /etc/udev/rules.d/. If the directory is empty, + postinst will create in it a symlink to ../udev.rules. + Please double check that it's the rules set you really want to use. + * Depends on libselinux1-dev. (Closes: #240755) + * Fixed the permissions of /dev/rtc. (Closes: #240905) + * Let's try moving /sbin/udev_dbus to /usr/sbin/. (See #240500) + + -- Marco d'Itri Wed, 31 Mar 2004 17:18:51 +0200 + +udev (0.023-2) unstable; urgency=medium + + * Fixed cdrom group permissions. (Closes: #240521) + * Fixed symlinks in /etc/dev.d/. (Closes: #240517) + * Allow db_input calls to fail. (Closes: #240520) + + -- Marco d'Itri Sun, 28 Mar 2004 19:16:59 +0200 + +udev (0.023-1) unstable; urgency=medium + + * New upstream release. + * Enabled SE Linux support. Untested. + * I wonder if I should make the package not depend on the dbus and + selinux libraries, as they are only used by the little programs + in /etc/dev.d/. I encourage comments. + * New patch extras_no_logging: needed to make the dbus and selinux + helpers compile. Side effect: disables logging for them. + * Removed patch udev022_namedev_symlink_fix.patch, merged upstream. + * Removed patch run_usr_sbin_udev which is not needed anymore. + * Use tmpfs instead of ramfs. (Closes: #239941) + * Use debconf to print the reboot notice and a warning for devfs users, + patch courtesy of Scott Robinson . (Closes: #240291) + * Make sure that all cdrom drives are recognized in udev.rules. + (Closes: #239877) + * Make sg* devices of CD drives owned by the cdrom group. (Closes: #240315) + * Modified the init script to unmount /dev/pts and remount it on the + tmpfs. + + -- Marco d'Itri Sat, 27 Mar 2004 14:49:37 +0100 + +udev (0.022-1) unstable; urgency=medium + + * The "millions of flies cannot be wrong" release. + * Switched the default /dev layout to traditional style. + (Closes: #237482, #237484) + * Removed the patches udevstart_no_retval and strip_trailing_blanks + because they have been merged upstream. + * New patch run_usr_sbin_udev: first try to run /usr/sbin/udev and then + /sbin/udev if the first does not exist. This is useful to support + D-BUS without moving all the related libraries in /lib. + * New patch udev022_namedev_symlink_fix.patch, upstream bugfix. + * Make the MAKEDEV wrapper smarter by checking if something has really + been mounted over /etc/udev/.dev. + * Depends on sysvinit (>= 2.85-10) to use the already mounted /proc + and /sys. + * Limit the /dev ramfs size to 1 MB, I hope this will be enough for + any reasonable system. + * Cleaned up the init script. (Closes: #237243) + * New patch ide-devfs_fix_no_media: make ide-devfs.sh check if + /proc/ide/*/media really exists before using it. + * Updated udev.rules and udev.permissions. + (Closes: #236708, #236602, #237478) + * Added partial and untested support for SCSI tapes to scsi-devfs.sh. + (Closes: #238825) + + -- Marco d'Itri Sun, 21 Mar 2004 13:31:02 +0100 + +udev (0.021-1) unstable; urgency=medium + + * New upstream release. + * New patch udevstart_no_retval makes udevsend always return success. + * New patch strip_trailing_blanks makes comparisons of sysfs fields + ignore trailing blanks. + * Removed patches fix_expr, man-dashes.diff, no_error_on_enoent, + udev019_symlink.patch because they have been merged upstream. + + -- Marco d'Itri Thu, 4 Mar 2004 02:25:35 +0100 + +udev (0.019-3) unstable; urgency=low + + * Initial release. (Closes: #221915) + * kill udevd on upgrade. + * Removed support for multiple files in $udev_rules, now all files matching + /etc/udev/*.rules will be parsed. + * Make the ide/*/cd devices owned by cdrom group. + * Added default aliases for ttyN, ttySN and lpN. + * New patch: man-dashes.diff, fixes unescaped dashes in the man pages + (by Philipp Matthias Hahn). + * Added an updated scsi-devfs.sh from Daniel Mueller . + + -- Marco d'Itri Tue, 2 Mar 2004 19:37:30 +0100 --- udev-171.orig/debian/udev-udeb.dirs +++ udev-171/debian/udev-udeb.dirs @@ -0,0 +1,13 @@ +/sbin +/etc/udev +/etc/udev/rules.d +/lib/firmware +/lib/udev +/lib/udev/devices +/lib/udev/devices/net +/lib/udev/devices/pts +/lib/udev/devices/shm +/lib/debian-installer +/usr/bin +/usr/lib/base-installer.d +/usr/sbin --- udev-171.orig/debian/libgudev-1.0-0.symbols +++ udev-171/debian/libgudev-1.0-0.symbols @@ -0,0 +1,54 @@ +libgudev-1.0.so.0 libgudev-1.0-0 #MINVER# + g_udev_client_get_type@Base 147 + g_udev_client_new@Base 147 + g_udev_client_query_by_device_file@Base 147 + g_udev_client_query_by_device_number@Base 147 + g_udev_client_query_by_subsystem@Base 147 + g_udev_client_query_by_subsystem_and_name@Base 147 + g_udev_client_query_by_sysfs_path@Base 147 + g_udev_device_get_action@Base 147 + g_udev_device_get_device_file@Base 147 + g_udev_device_get_device_file_symlinks@Base 147 + g_udev_device_get_device_number@Base 147 + g_udev_device_get_device_type@Base 147 + g_udev_device_get_devtype@Base 147 + g_udev_device_get_driver@Base 147 + g_udev_device_get_is_initialized@Base 165 + g_udev_device_get_name@Base 147 + g_udev_device_get_number@Base 147 + g_udev_device_get_parent@Base 147 + g_udev_device_get_parent_with_subsystem@Base 147 + g_udev_device_get_property@Base 147 + g_udev_device_get_property_as_boolean@Base 147 + g_udev_device_get_property_as_double@Base 147 + g_udev_device_get_property_as_int@Base 147 + g_udev_device_get_property_as_strv@Base 147 + g_udev_device_get_property_as_uint64@Base 147 + g_udev_device_get_property_keys@Base 147 + g_udev_device_get_seqnum@Base 147 + g_udev_device_get_subsystem@Base 147 + g_udev_device_get_sysfs_attr@Base 147 + g_udev_device_get_sysfs_attr_as_boolean@Base 147 + g_udev_device_get_sysfs_attr_as_double@Base 147 + g_udev_device_get_sysfs_attr_as_int@Base 147 + g_udev_device_get_sysfs_attr_as_strv@Base 147 + g_udev_device_get_sysfs_attr_as_uint64@Base 147 + g_udev_device_get_sysfs_path@Base 147 + g_udev_device_get_tags@Base 165 + g_udev_device_get_type@Base 147 + g_udev_device_get_usec_since_initialized@Base 165 + g_udev_device_has_property@Base 147 + g_udev_device_type_get_type@Base 147 + g_udev_enumerator_add_match_is_initialized@Base 165 + g_udev_enumerator_add_match_name@Base 165 + g_udev_enumerator_add_match_property@Base 165 + g_udev_enumerator_add_match_subsystem@Base 165 + g_udev_enumerator_add_match_sysfs_attr@Base 165 + g_udev_enumerator_add_match_tag@Base 165 + g_udev_enumerator_add_nomatch_subsystem@Base 165 + g_udev_enumerator_add_nomatch_sysfs_attr@Base 165 + g_udev_enumerator_add_sysfs_path@Base 165 + g_udev_enumerator_execute@Base 165 + g_udev_enumerator_get_type@Base 165 + g_udev_enumerator_new@Base 165 + g_udev_marshal_VOID__STRING_OBJECT@Base 147 --- udev-171.orig/debian/control +++ udev-171/debian/control @@ -0,0 +1,96 @@ +Source: udev +Section: admin +Priority: important +Maintainer: Scott James Remnant +Standards-Version: 3.9.1 +Build-Depends: debhelper (>= 8.1.2ubuntu2), pkg-config, libselinux1-dev (>= 1.28), libsepol1-dev, libglib2.0-dev (>= 2.12.0), libusb-dev (>= 1:0.1.12), libacl1-dev, gobject-introspection, libgirepository1.0-dev, gir1.0-glib-2.0, usbutils (>= 0.82), pciutils, xsltproc, docbook-xsl, gtk-doc-tools, gperf, gawk +Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/ubuntu/natty/udev/ubuntu +Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html + +Package: udev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, module-init-tools (>= 3.2.1-0ubuntu3), initramfs-tools (>= 0.92bubuntu63), procps, adduser, util-linux (>> 2.15~rc2) +Suggests: watershed +Multi-Arch: foreign +Description: rule-based device node and kernel event manager + udev is a collection of tools and a daemon to manage events received from + the kernel and deal with them in user-space. Primarily this involves + creating and removing device nodes in /dev when hardware is discovered or + removed from the system. + . + Events are received via kernel netlink messaged and processed according to + rules in /etc/udev/rules.d and /lib/udev/rules.d, altering the name of the + device node, creating additional symlinks or calling other tools and programs + including those to load kernel modules and initialise the device. + +Package: udev-udeb +XC-Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: rule-based device node and kernel event manager + +Package: libudev0 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Description: udev library + libudev provides a set of functions for accessing the udev database + and querying sysfs. + +Package: libudev-dev +Priority: optional +Section: libdevel +Architecture: any +Depends: libudev0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} +Description: udev library (development files) + libudev provides a set of functions for accessing the udev database + and querying sysfs. + . + This package provides a static library and C header files. + +Package: libudev0-udeb +XC-Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: udev library + +Package: libgudev-1.0-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Description: GObject-based wrapper library for libudev + This library makes it much simpler to use libudev from programs already using + GObject. It also makes it possible to easily use libudev from other + programming languages, such as Javascript, because of GObject introspection + support. + . + This package contains the shared libraries. + +Package: libgudev-1.0-dev +Section: libdevel +Architecture: any +Depends: libgudev-1.0-0 (= ${binary:Version}), libudev-dev, libglib2.0-dev, pkg-config, ${shlibs:Depends}, ${misc:Depends} +Description: GObject-based wrapper library for libudev -- development files + This library makes it much simpler to use libudev from programs already using + GObject. It also makes it possible to easily use libudev from other + programming languages, such as Javascript, because of GObject introspection + support. + . + This package contains the header and pkgconfig files needed for developing + applications that use libgudev1.0. + +Package: gir1.2-gudev-1.0 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${gir:Depends}, libglib2.0-0 +Conflicts: gir1.0-gudev-1.0 +Replaces: gir1.0-gudev-1.0 +Description: libgudev-1.0 introspection data + This package contains the GObject-introspection data of libgudev-1.0 in + binary typelib format. --- udev-171.orig/debian/rules +++ udev-171/debian/rules @@ -0,0 +1,221 @@ +#!/usr/bin/make -f +# debian/rules for the udev package. +# Copyright © 2009 Canonical Ltd. +# Author: Scott James Remnant + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_OPTIONS + +CFLAGS = -Wall -g -fstack-protector -fPIE +LDFLAGS = -Wl,-z,relro -Wl,-z,now -pie + +# Disable optimisations if noopt found in $DEB_BUILD_OPTIONS +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + LDFLAGS += -Wl,-O0 +else + CFLAGS += -Os + LDFLAGS += -Wl,-O1 +endif + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build=$(DEB_HOST_GNU_TYPE) +else + confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +VERSION = $(shell dpkg-parsechangelog | sed -n -e '/^Version:/s/.*: //p') +UPSTREAM = $(shell echo $(VERSION) | sed -e 's/-[^-]*$$//') + +DPKG_GENSYMBOLS_CHECK_LEVEL=4 +export DPKG_GENSYMBOLS_CHECK_LEVEL + +# Configure the package +build-deb/config.status: configure + [ -d build-deb ] || mkdir build-deb + # work around gtk-doc not being able to work in a separate build tree + # by copying the entire lot + cp -a `find -maxdepth 1 ! -name 'build*' ! -name 'debian' ! -name '.*'` build-deb + cd build-deb && ./configure \ + $(confflags) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/sbin \ + --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ + --with-rootlibdir=/lib/$(DEB_HOST_MULTIARCH) \ + --libexecdir=/lib/udev \ + --mandir=\$${datadir}/man \ + --infodir=\$${infodir}/info \ + --with-selinux \ + --enable-static \ + --enable-gtk-doc + +# Build the package +build-deb: build-deb/build-stamp +build-deb/build-stamp: build-deb/config.status + dh_testdir + + $(MAKE) -C build-deb + touch $@ + +# Install files into the deb +install-deb: DH_OPTIONS=-Nudev-udeb +install-deb: build-deb + dh_testdir + dh_testroot + dh_prep + for file in libgudev-1.0-0.install; \ + do \ + sed -e"s,\$${DEB_HOST_MULTIARCH},${DEB_HOST_MULTIARCH},g" \ + debian/$${file}.in > debian/$$file; \ + done + dh_installdirs -v + + $(MAKE) -C build-deb DESTDIR="$(CURDIR)/debian/tmp" install + + # we install gudev into /usr/lib/, fix link + T=`readlink debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgudev-1.0.so`; \ + rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgudev-1.0.so; \ + ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/`basename $$T` debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libgudev-1.0.so + # Fix up dependency_libs in libtool .la files + for file in `find debian/tmp/usr/lib/ -name \*.la`; do \ + sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \ + done + + # Documentation + install -m 644 -o root -g root debian/README-etc-rules.d \ + debian/udev/etc/udev/rules.d/README + install -m 644 -o root -g root debian/README-lib-rules.d \ + debian/udev/lib/udev/rules.d/README + + # Hook into initramfs-tools + install -m 755 -o root -g root debian/udev.initramfs-hook \ + debian/udev/usr/share/initramfs-tools/hooks/udev + install -m 755 -o root -g root debian/udev.initramfs-top \ + debian/udev/usr/share/initramfs-tools/scripts/init-top/udev + install -m 755 -o root -g root debian/udev.initramfs-nfs \ + debian/udev/usr/share/initramfs-tools/scripts/nfs-top/udev + install -m 755 -o root -g root debian/udev.initramfs-bottom \ + debian/udev/usr/share/initramfs-tools/scripts/init-bottom/udev + + +# Configure the udeb +build-udeb/config.status: configure + [ -d build-udeb ] || mkdir build-udeb + cd build-udeb && ../configure \ + $(confflags) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/sbin \ + --libdir=/usr/lib \ + --with-rootlibdir=/lib \ + --libexecdir=/lib/udev \ + --mandir=\$${datadir}/man \ + --infodir=\$${infodir}/info \ + --without-selinux \ + --enable-static \ + --disable-gtk-doc + +# Build the package +build-udeb: build-udeb/build-stamp +build-udeb/build-stamp: build-udeb/config.status + dh_testdir + + $(MAKE) -C build-udeb + touch $@ + + +# Install files into the udeb +install-udeb: DH_OPTIONS=-pudev-udeb +install-udeb: build-udeb + dh_testdir + dh_testroot + dh_prep -Xdebian/tmp + rm -rf debian/tmp-udeb + dh_installdirs + + $(MAKE) -C build-udeb DESTDIR="$(CURDIR)/debian/tmp-udeb" install + + # Startup script + install -m 755 -o root -g root debian/udev.installer-startup \ + debian/udev-udeb/lib/debian-installer/start-udev + + # base-installer script + install -m 755 -o root -g root debian/udev.base-installer \ + debian/udev-udeb/usr/lib/base-installer.d/05udev + + +build: build-deb build-udeb + +binary: binary-indep binary-arch + +# Build architecture-independent files here. +binary-indep: +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: DH_OPTIONS=-a +binary-arch: build install-deb install-udeb + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installinit --no-start -- start 10 S . + dh_installinit --name=udev-finish --no-start -- start 37 S . + dh_installinit --upstart-only --name=udevtrigger --no-start + dh_installinit --upstart-only --name=udevmonitor --no-start + dh_installinit --upstart-only --name=udev-fallback-graphics --no-start + dh_install --sourcedir=debian/tmp -Nudev-udeb -Nlibudev0-udeb --fail-missing + DH_OPTIONS= dh_install --sourcedir=debian/tmp-udeb -pudev-udeb -plibudev0-udeb + dh_link + dh_strip + dh_compress + dh_fixperms -X/lib/udev/devices/ + DH_OPTIONS= dh_makeshlibs -plibudev0 -V 'libudev0 (>= 147)' --add-udeb=libudev0-udeb + DH_OPTIONS= dh_makeshlibs -plibgudev-1.0-0 -V 'libgudev-1.0-0 (>= 147)' + DH_OPTIONS= dh_makeshlibs -Nlibudev0 -Nlibgudev-1.0-0 + dh_shlibdeps + dh_girepository + dh_installdeb + DH_OPTIONS= dh_gencontrol -Nlibgudev-1.0-0 -Nlibgudev-1.0-dev + DH_OPTIONS= dh_gencontrol -plibgudev-1.0-0 -plibgudev-1.0-dev -- "-v1:$(VERSION)" + dh_md5sums + dh_builddeb + + +# Clean up the mess we made +clean: + dh_testdir + + rm -rf build-deb build-udeb debian/tmp-udeb + dh_clean + + +.PHONY: build-deb build-udeb build install-deb install-udeb \ + binary-indep binary-arch binary clean + + +# Madness +.PHONY: tarball +tarball: prep + ./configure --enable-gtk-doc + make all dist + cp udev-$(UPSTREAM).tar.gz ../udev_$(UPSTREAM).orig.tar.gz + @echo "Created udev_$(UPSTREAM).orig.tar.gz in parent directory" + +# run this to get a buildable tree +.PHONY: prep +prep: + gtkdocize --copy + autoreconf -vi + rm -r autom4te.cache + --- udev-171.orig/debian/libudev0.symbols +++ udev-171/debian/libudev0.symbols @@ -0,0 +1,85 @@ +libudev.so.0 libudev0 #MINVER# + udev_device_get_action@Base 147 + udev_device_get_devlinks_list_entry@Base 147 + udev_device_get_devnode@Base 147 + udev_device_get_devnum@Base 147 + udev_device_get_devpath@Base 147 + udev_device_get_devtype@Base 147 + udev_device_get_driver@Base 147 + udev_device_get_is_initialized@Base 165 + udev_device_get_parent@Base 147 + udev_device_get_parent_with_subsystem_devtype@Base 147 + udev_device_get_properties_list_entry@Base 147 + udev_device_get_property_value@Base 147 + udev_device_get_seqnum@Base 147 + udev_device_get_subsystem@Base 147 + udev_device_get_sysattr_list_entry@Base 167 + udev_device_get_sysattr_value@Base 147 + udev_device_get_sysname@Base 147 + udev_device_get_sysnum@Base 147 + udev_device_get_syspath@Base 147 + udev_device_get_tags_list_entry@Base 161 + udev_device_get_udev@Base 147 + udev_device_get_usec_since_initialized@Base 165 + udev_device_new_from_devnum@Base 147 + udev_device_new_from_environment@Base 161 + udev_device_new_from_subsystem_sysname@Base 147 + udev_device_new_from_syspath@Base 147 + udev_device_ref@Base 147 + udev_device_unref@Base 147 + udev_enumerate_add_match_is_initialized@Base 165 + udev_enumerate_add_match_property@Base 147 + udev_enumerate_add_match_subsystem@Base 147 + udev_enumerate_add_match_sysattr@Base 147 + udev_enumerate_add_match_sysname@Base 147 + udev_enumerate_add_match_tag@Base 161 + udev_enumerate_add_nomatch_subsystem@Base 147 + udev_enumerate_add_nomatch_sysattr@Base 147 + udev_enumerate_add_syspath@Base 147 + udev_enumerate_get_list_entry@Base 147 + udev_enumerate_get_udev@Base 147 + udev_enumerate_new@Base 147 + udev_enumerate_ref@Base 147 + udev_enumerate_scan_devices@Base 147 + udev_enumerate_scan_subsystems@Base 147 + udev_enumerate_unref@Base 147 + udev_get_dev_path@Base 147 + udev_get_log_priority@Base 147 + udev_get_run_path@Base 167 + udev_get_sys_path@Base 147 + udev_get_userdata@Base 147 + udev_list_entry_get_by_name@Base 147 + udev_list_entry_get_name@Base 147 + udev_list_entry_get_next@Base 147 + udev_list_entry_get_value@Base 147 + udev_monitor_enable_receiving@Base 147 + udev_monitor_filter_add_match_subsystem_devtype@Base 147 + udev_monitor_filter_add_match_tag@Base 161 + udev_monitor_filter_remove@Base 147 + udev_monitor_filter_update@Base 147 + udev_monitor_get_fd@Base 147 + udev_monitor_get_udev@Base 147 + udev_monitor_new_from_netlink@Base 147 + udev_monitor_new_from_socket@Base 147 + udev_monitor_receive_device@Base 147 + udev_monitor_ref@Base 147 + udev_monitor_set_receive_buffer_size@Base 151 + udev_monitor_unref@Base 147 + udev_new@Base 147 + udev_queue_get_failed_list_entry@Base 147 + udev_queue_get_kernel_seqnum@Base 147 + udev_queue_get_queue_is_empty@Base 147 + udev_queue_get_queued_list_entry@Base 147 + udev_queue_get_seqnum_is_finished@Base 147 + udev_queue_get_seqnum_sequence_is_finished@Base 147 + udev_queue_get_udev@Base 147 + udev_queue_get_udev_is_active@Base 147 + udev_queue_get_udev_seqnum@Base 147 + udev_queue_new@Base 147 + udev_queue_ref@Base 147 + udev_queue_unref@Base 147 + udev_ref@Base 147 + udev_set_log_fn@Base 147 + udev_set_log_priority@Base 147 + udev_set_userdata@Base 147 + udev_unref@Base 147 --- udev-171.orig/debian/udev.install +++ udev-171/debian/udev.install @@ -0,0 +1,14 @@ +usr/share/man/*/* +etc/udev/rules.d +etc/udev/udev.conf +lib/udev/* +lib/udev/rules.d/* +sbin/udevadm +sbin/udevd +usr/lib/ConsoleKit +usr/share/doc/udev +usr/share/pkgconfig/udev.pc +../../rules/arch/40-ia64.rules lib/udev/rules.d +../../rules/arch/40-ppc.rules lib/udev/rules.d +../local/udev.py usr/share/apport/package-hooks +../local/hotplug.functions lib/udev/ --- udev-171.orig/debian/libgudev-1.0-0.install.in +++ udev-171/debian/libgudev-1.0-0.install.in @@ -0,0 +1 @@ +/lib/${DEB_HOST_MULTIARCH}/libgudev*.so.* usr/lib/${DEB_HOST_MULTIARCH} --- udev-171.orig/debian/compat +++ udev-171/debian/compat @@ -0,0 +1 @@ +7 --- udev-171.orig/debian/udev.initramfs-top +++ udev-171/debian/udev.initramfs-top @@ -0,0 +1,30 @@ +#!/bin/sh -e +# initramfs init-top script for udev + +PREREQ="all_generic_ide blacklist" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +# It's all over netlink now +echo "" > /proc/sys/kernel/hotplug + +# Start the udev daemon to process events +/sbin/udevd --daemon --resolve-names=never + +# Iterate sysfs and fire off everything; if we include a rule for it then +# it'll get handled; otherwise it'll get handled later when we do this again +# in the main boot sequence. +( /sbin/udevadm trigger --action=add --subsystem-match=block; \ + /sbin/udevadm trigger --action=add --subsystem-nomatch=block; ) & --- udev-171.orig/debian/clean +++ udev-171/debian/clean @@ -0,0 +1 @@ +debian/libgudev-1.0-0.install --- udev-171.orig/debian/udev.udev-fallback-graphics.upstart +++ udev-171/debian/udev.udev-fallback-graphics.upstart @@ -0,0 +1,21 @@ +# fallback-graphics - take actions to initiate fallback graphics +# +# if we have cold plugged everything and not yet seen a valid graphics +# device, +# shove a fallback framebuffer into the mix and hope for the best. + +description "load fallback graphics devices" + +# We only want this job to happen once per boot, hence 'startup and ...'. +start on (startup and + (graphics-device-added PRIMARY_DEVICE_FOR_DISPLAY=1 + or drm-device-added PRIMARY_DEVICE_FOR_DISPLAY=1 + or stopped udevtrigger)) + +task + +script + if [ "$PRIMARY_DEVICE_FOR_DISPLAY" = "" ]; then + modprobe -q -b vesafb + fi +end script --- udev-171.orig/debian/libudev-dev.install +++ udev-171/debian/libudev-dev.install @@ -0,0 +1,6 @@ +usr/include/libudev.h +usr/lib/*/libudev.a +usr/lib/*/libudev.so +usr/lib/*/libudev.la +usr/lib/*/pkgconfig/libudev.pc +usr/share/gtk-doc/html/libudev --- udev-171.orig/debian/udev.upstart +++ udev-171/debian/udev.upstart @@ -0,0 +1,14 @@ +# udev - device node and kernel event manager +# +# The udev daemon receives events from the kernel about changes in the +# /sys filesystem and manages the /dev filesystem. + +description "device node and kernel event manager" + +start on virtual-filesystems +stop on runlevel [06] + +expect fork +respawn + +exec udevd --daemon --- udev-171.orig/debian/libgudev-1.0-dev.install +++ udev-171/debian/libgudev-1.0-dev.install @@ -0,0 +1,7 @@ +usr/include/gudev-1.0 +usr/lib/*/pkgconfig/gudev-1.0.pc +usr/lib/*/libgudev*.so +usr/lib/*/libgudev*.a +usr/lib/*/libgudev*.la +usr/share/gir-1.0/ +usr/share/gtk-doc/html/gudev --- udev-171.orig/debian/libudev0.copyright +++ udev-171/debian/libudev0.copyright @@ -0,0 +1,19 @@ +This is the Ubuntu package of libudev, the interface to udev. + +Copyright © 2008-2009 Key Sievers +Copyright © 2009 Alan Jenkins + +Licence: + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +On Ubuntu systems, the complete text of the GNU Lesser General Public +License can be found in ‘/usr/share/common-licenses/LGPL-2.1’. --- udev-171.orig/debian/udev-udeb.install +++ udev-171/debian/udev-udeb.install @@ -0,0 +1,31 @@ +etc/udev/rules.d +etc/udev/udev.conf +lib/udev/ata_id +lib/udev/cdrom_id +lib/udev/collect +lib/udev/devices +lib/udev/firmware +lib/udev/input_id +lib/udev/mtd_probe +lib/udev/path_id +lib/udev/rule_generator.functions +lib/udev/scsi_id +lib/udev/usb_id +lib/udev/write_cd_rules +lib/udev/write_net_rules +lib/udev/rules.d/42-qemu-usb.rules +lib/udev/rules.d/50-firmware.rules +lib/udev/rules.d/50-udev-default.rules +lib/udev/rules.d/60-cdrom_id.rules +lib/udev/rules.d/60-persistent-input.rules +lib/udev/rules.d/60-persistent-serial.rules +lib/udev/rules.d/60-persistent-storage.rules +lib/udev/rules.d/75-cd-aliases-generator.rules +lib/udev/rules.d/75-persistent-net-generator.rules +lib/udev/rules.d/75-probe_mtd.rules +lib/udev/rules.d/80-drivers.rules + +sbin/udevadm +sbin/udevd +../../rules/arch/40-ia64.rules lib/udev/rules.d +../../rules/arch/40-ppc.rules lib/udev/rules.d --- udev-171.orig/debian/udev.preinst +++ udev-171/debian/udev.preinst @@ -0,0 +1,65 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# Before the package is installed: +# install +# +# Before removed package is upgraded: +# install +# +# Before the package is upgraded: +# upgrade +# +# +# If postrm fails during upgrade or fails on failed upgrade: +# abort-upgrade + + +# Disable udevadm from being run during an upgrade +disable_udevadm() +{ + # Check for old diverts when --package was still "udev" + if [ -n "$(dpkg-divert --list /sbin/udevadm | grep 'by udev$')" ]; then + rm -f /sbin/udevadm + dpkg-divert --package udev --rename --divert /sbin/udevadm.upgrade \ + --remove /sbin/udevadm + fi + + dpkg-divert --package fake-udev --rename --divert /sbin/udevadm.upgrade \ + --add /sbin/udevadm + + cat <<'UDEVADM' > /sbin/udevadm +#!/bin/sh + +if [ "${0##*/}" = "udevtrigger" ] || [ "$1" = "trigger" ]; then + echo "udevadm trigger is not permitted while udev is unconfigured." 1>&2 + exit 1 +fi + +if [ "${0##*/}" = "udevsettle" ] || [ "$1" = "settle" ]; then + echo "udevadm settle is not permitted while udev is unconfigured." 1>&2 + exit 1 +fi + +exec /bin/bash -c "exec -a \"\$0\" /sbin/udevadm.upgrade \"\$@\"" "$0" "$@" +UDEVADM + chmod +x /sbin/udevadm +} + + +case "$1" in + install|upgrade) + disable_udevadm + ;; + + abort-upgrade) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 --- udev-171.orig/debian/watch +++ udev-171/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-(.*).tar.gz --- udev-171.orig/debian/README.source +++ udev-171/debian/README.source @@ -0,0 +1,8 @@ +Building this from revision control is not quite straight-forward, +sorry. + +First you need a tarball, hopefully you can get that from the archive, +if not "debian/rules tarball" will make it. + +Next you need to make a source package from that. "debian/rules package" +will do that. --- udev-171.orig/debian/udev.udev-finish.upstart +++ udev-171/debian/udev.udev-finish.upstart @@ -0,0 +1,30 @@ +# udev-finish - save udev log and update rules +# +# While udev runs we not only create the log file of initial device +# creation but udev rules may be generated, we need to copy both of +# these out of /dev and onto the root filesystem. + +description "save udev log and update rules" + +start on (startup + and filesystem + and started udev + and stopped udevtrigger + and stopped udevmonitor) + +task +script + # Save udev log in /var/log/udev + if [ -e /dev/.udev.log ] + then + mv -f /dev/.udev.log /var/log/udev || : + fi + + # Copy any rules generated while the root filesystem was read-only + for file in /dev/.udev/tmp-rules--* + do + [ -e "$file" ] || continue + cat "$file" >> "/etc/udev/rules.d/${file##*tmp-rules--}" + rm -f "$file" + done +end script --- udev-171.orig/debian/udev.postinst +++ udev-171/debian/udev.postinst @@ -0,0 +1,98 @@ +#!/bin/sh -e +# This script can be called in the following ways: +# +# After the package was installed: +# configure +# +# +# If prerm fails during upgrade or fails on failed upgrade: +# abort-upgrade +# +# If prerm fails during deconfiguration of a package: +# abort-deconfigure in-favour +# removing +# +# If prerm fails during replacement due to conflict: +# abort-remove in-favour + + +# Enable udevadm again +enable_udevadm() +{ + if [ -e /sbin/udevadm.upgrade ]; then + rm -f /sbin/udevadm + dpkg-divert --package fake-udev --rename --divert /sbin/udevadm.upgrade \ + --remove /sbin/udevadm + fi +} + +# Remove things from the initial device tree that are no longer required +remove_devices() +{ + rm -f /lib/udev/devices/fd + rm -f /lib/udev/devices/stdin + rm -f /lib/udev/devices/stdout + rm -f /lib/udev/devices/stderr + rm -f /lib/udev/devices/core + rm -f /lib/udev/devices/sndstat + rm -f /lib/udev/devices/console + rm -f /lib/udev/devices/null + rm -f /lib/udev/devices/ppp + rm -f /lib/udev/devices/loop0 + rm -f /lib/udev/devices/net/tun +} + +# Write the initial copy of the persistent net and cd rules +seed_persistent_rules() +{ + FILE=/etc/udev/rules.d/70-persistent-net.rules + if [ ! -e $FILE ]; then + echo "# This file maintains persistent names for network interfaces." > $FILE + echo "# See udev(7) for syntax." >> $FILE + echo "#" >> $FILE + echo "# Entries are automatically added by the 75-persistent-net-generator.rules" >> $FILE + echo "# file; however you are also free to add your own entries." >> $FILE + fi + + FILE=/etc/udev/rules.d/70-persistent-cd.rules + if [ ! -e $FILE ]; then + echo "# This file maintains persistent names for CD/DVD reader and writer devices." > $FILE + echo "# See udev(7) for syntax." >> $FILE + echo "#" >> $FILE + echo "# Entries are automatically added by the 75-cd-aliases-generator.rules" >> $FILE + echo "# file; however you are also free to add your own entries provided you" >> $FILE + echo "# add the ENV{GENERATED}="1" flag to your own rules as well." >> $FILE + fi +} + + +case "$1" in + configure) + # Upgrade from lucid + if dpkg --compare-versions "$2" lt "170-0ubuntu1"; then + remove_devices + fi + + seed_persistent_rules + restart udev || true + enable_udevadm + + # 165 changed DB format + if dpkg --compare-versions "$2" lt-nl "165~"; then + udevadm info --convert-db + fi + + update-initramfs -u + ;; + + abort-upgrade|abort-deconfigure|abort-remove) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 --- udev-171.orig/debian/udev.initramfs-bottom +++ udev-171/debian/udev.initramfs-bottom @@ -0,0 +1,24 @@ +#!/bin/sh -e +# initramfs init-bottom script for udev + +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +# Stop udevd, we'll miss a few events while we run init, but we catch up +pkill udevd + +# Move /dev to the real filesystem +mount -n -o move /dev ${rootmnt}/dev --- udev-171.orig/debian/udev.udevmonitor.upstart +++ udev-171/debian/udev.udevmonitor.upstart @@ -0,0 +1,13 @@ +# udevmonitor - log initial device creation +# +# The set of devices created in the "cold plug" pass is generally +# useful for debugging, so we monitor this and create a log file +# from that. + +description "log initial device creation" + +start on (startup + and starting udevtrigger) +stop on stopped udevtrigger + +exec /sbin/udevadm monitor -e >/dev/.udev.log --- udev-171.orig/debian/udev.initramfs-hook +++ udev-171/debian/udev.initramfs-hook @@ -0,0 +1,54 @@ +#!/bin/sh -e +# initramfs hook for udev + +MINKVER="2.6.24" +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +. /usr/share/initramfs-tools/hook-functions + +# We use pkill +copy_exec /usr/bin/pkill /sbin + +# Copy across the udev binaries +copy_exec /sbin/udevd /sbin +if [ -x /sbin/udevadm.upgrade ]; then + copy_exec /sbin/udevadm.upgrade /sbin/udevadm +else + copy_exec /sbin/udevadm /sbin +fi + +# Copy udev configuration +mkdir -p ${DESTDIR}/etc/udev +cp -p /etc/udev/udev.conf ${DESTDIR}/etc/udev + +# Only copy across relevant rules +mkdir -p ${DESTDIR}/lib/udev/rules.d +for rules in 50-udev-default.rules 50-firmware.rules 60-persistent-storage.rules 80-drivers.rules 95-udev-late.rules; do + cp -p /lib/udev/rules.d/$rules ${DESTDIR}/lib/udev/rules.d +done + +# Copy across helpers the rules need +mkdir -p ${DESTDIR}/lib/udev +# 50-udev-default.rules +# 50-firmware.rules +copy_exec /lib/udev/firmware /lib/udev +# 60-persistent-storage.rules +copy_exec /lib/udev/ata_id /lib/udev +copy_exec /lib/udev/usb_id /lib/udev +copy_exec /sbin/blkid /lib/udev +copy_exec /lib/udev/scsi_id /lib/udev +copy_exec /lib/udev/path_id /lib/udev --- udev-171.orig/debian/udev.base-installer +++ udev-171/debian/udev.base-installer @@ -0,0 +1,9 @@ +#!/bin/sh -e + +RULESDIR=etc/udev/rules.d + +mkdir -p /target/$RULESDIR +cp /$RULESDIR/70-persistent-cd.rules \ + /$RULESDIR/70-persistent-net.rules \ + /target/$RULESDIR 2>/dev/null || true + --- udev-171.orig/debian/udev.initramfs-nfs +++ udev-171/debian/udev.initramfs-nfs @@ -0,0 +1,27 @@ +#!/bin/sh -e +# initramfs nfs-top script for udev + +PREREQ="" + +# Output pre-requisites +prereqs() +{ + echo "$PREREQ" +} + +case "$1" in + prereqs) + prereqs + exit 0 + ;; +esac + + +# Each call to udevsettle can take up to three minutes +if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "TIMEOUT 360" + trap "/sbin/usplash_write 'TIMEOUT 15'" 0 +fi + +# We need to wait for the network card drivers to be loaded +/sbin/udevadm settle --- udev-171.orig/debian/README-lib-rules.d +++ udev-171/debian/README-lib-rules.d @@ -0,0 +1,40 @@ +The files in this directory are read by udev(7) and used when events +are performed by the kernel. The udev daemon watches this directory +with inotify so that changes to these files are automatically picked +up, for this reason they must be files and not symlinks to another +location as in the case in Debian. + +These are not conffiles. If you want to override the behaviour, you +can do one of two things: + + 1) Write your own rules in /etc/udev/rules.d that assign the name, + symlinks, permissions, etc. that you want. Pick a number higher + than the rules you want to override, and yours will be used. + + 2) Copy the file to /etc/udev/rules.d and edit it there; you + should generally only do this if you want to prevent a program + from being run. + + +Files should be named xx-descriptive-name.rules, the xx should be +chosen first according to the following sequence points: + + < 60 rules shipped in packages; these can be overriden by later or + default rules unless := is used in assignment. + + these cannot access persistent information such as that from + blkid + + < 70 rules that run helpers such as blkid to populate the udev db + + < 90 rules that run other programs (often using information in the + udev db) + + >=90 rules that should run last + +Common locations for package rules: + + 40-xx general rules, setting names and permissions + 65-xx rules to populate the udev db + 85-xx rules to run programs + --- udev-171.orig/debian/gir1.2-gudev-1.0.install +++ udev-171/debian/gir1.2-gudev-1.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/ usr/lib --- udev-171.orig/debian/local/hotplug.functions +++ udev-171/debian/local/hotplug.functions @@ -0,0 +1,61 @@ +# Setup and shell utility functions for use in hotplug agents. +# vim: syntax=sh +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation version 2 of the License. + +if [ "$UDEV_LOG" ] && [ "$UDEV_LOG" -ge 7 ]; then + DEBUG=yes +fi + +PATH='/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' + +[ -e /etc/default/hotplug ] && . /etc/default/hotplug + + +if [ -x /usr/bin/logger ]; then + LOGGER=/usr/bin/logger +elif [ -x /bin/logger ]; then + LOGGER=/bin/logger +else + unset LOGGER +fi + +# for diagnostics +if [ -t 1 -a -z "$LOGGER" ] || [ ! -e '/dev/log' ]; then + mesg() { + echo "$@" >&2 + } +elif [ -t 1 ]; then + mesg() { + echo "$@" + $LOGGER -t "${0##*/}[$$]" "$@" + } +else + mesg() { + $LOGGER -t "${0##*/}[$$]" "$@" + } +fi + +debug_mesg() { + [ -z "$DEBUG" -o "$DEBUG" = no ] && return 0 + mesg "$@" +} + +wait_for_file() { + local file=$1 + local timeout=$2 + [ "$timeout" ] || timeout=120 + + local count=$timeout + while [ $count != 0 ]; do + [ -e "$file" ] && return 0 + sleep 1 + count=$(($count - 1)) + done + + mesg "$file did not appear before the timeout!" + exit 1 +} + --- udev-171.orig/debian/local/udev.py +++ udev-171/debian/local/udev.py @@ -0,0 +1,19 @@ +'''apport package hook for udev + +(c) 2009 Canonical Ltd. +Author: Martin Pitt +''' + +import os +import apport.hookutils + +def add_info(report): + apport.hookutils.attach_hardware(report) + + user_rules = [] + for f in os.listdir('/etc/udev/rules.d'): + if not f.startswith('70-persistent-') and f != 'README': + user_rules.append(f) + + if user_rules: + report['CustomUdevRuleFiles'] = ' '.join(user_rules) --- udev-171.orig/debian/source/options +++ udev-171/debian/source/options @@ -0,0 +1,4 @@ +tar-ignore .bzr +tar-ignore .git +tar-ignore test +diff-ignore '(^|/)(.bzr|.gitignore|test)($$|/)' --- udev-171.orig/debian/source/format +++ udev-171/debian/source/format @@ -0,0 +1 @@ +1.0 --- udev-171.orig/extras/gudev/seed-example-enum.js +++ udev-171/extras/gudev/seed-example-enum.js @@ -0,0 +1,38 @@ +#!/usr/bin/env seed + +const GLib = imports.gi.GLib; +const GUdev = imports.gi.GUdev; + +function print_device(device) { + print(" initialized: " + device.get_is_initialized()); + print(" usec since initialized: " + device.get_usec_since_initialized()); + print(" subsystem: " + device.get_subsystem()); + print(" devtype: " + device.get_devtype()); + print(" name: " + device.get_name()); + print(" number: " + device.get_number()); + print(" sysfs_path: " + device.get_sysfs_path()); + print(" driver: " + device.get_driver()); + print(" action: " + device.get_action()); + print(" seqnum: " + device.get_seqnum()); + print(" device type: " + device.get_device_type()); + print(" device number: " + device.get_device_number()); + print(" device file: " + device.get_device_file()); + print(" device file symlinks: " + device.get_device_file_symlinks()); + print(" tags: " + device.get_tags()); + var keys = device.get_property_keys(); + for (var n = 0; n < keys.length; n++) { + print(" " + keys[n] + "=" + device.get_property(keys[n])); + } +} + +var client = new GUdev.Client({subsystems: []}); +var enumerator = new GUdev.Enumerator({client: client}); +enumerator.add_match_subsystem('b*') + +var devices = enumerator.execute(); + +for (var n=0; n < devices.length; n++) { + var device = devices[n]; + print_device(device); + print(""); +} --- udev-171.orig/extras/gudev/gjs-example.js +++ udev-171/extras/gudev/gjs-example.js @@ -0,0 +1,75 @@ +#!/usr/bin/env gjs-console + +// This currently depends on the following patches to gjs +// +// http://bugzilla.gnome.org/show_bug.cgi?id=584558 +// http://bugzilla.gnome.org/show_bug.cgi?id=584560 +// http://bugzilla.gnome.org/show_bug.cgi?id=584568 + +const GUdev = imports.gi.GUdev; +const Mainloop = imports.mainloop; + +function print_device (device) { + print (" subsystem: " + device.get_subsystem ()); + print (" devtype: " + device.get_devtype ()); + print (" name: " + device.get_name ()); + print (" number: " + device.get_number ()); + print (" sysfs_path: " + device.get_sysfs_path ()); + print (" driver: " + device.get_driver ()); + print (" action: " + device.get_action ()); + print (" seqnum: " + device.get_seqnum ()); + print (" device type: " + device.get_device_type ()); + print (" device number: " + device.get_device_number ()); + print (" device file: " + device.get_device_file ()); + print (" device file symlinks: " + device.get_device_file_symlinks ()); + print (" foo: " + device.get_sysfs_attr_as_strv ("stat")); + var keys = device.get_property_keys (); + for (var n = 0; n < keys.length; n++) { + print (" " + keys[n] + "=" + device.get_property (keys[n])); + } +} + +function on_uevent (client, action, device) { + print ("action " + action + " on device " + device.get_sysfs_path()); + print_device (device); + print (""); +} + +var client = new GUdev.Client ({subsystems: ["block", "usb/usb_interface"]}); +client.connect ("uevent", on_uevent); + +var block_devices = client.query_by_subsystem ("block"); +for (var n = 0; n < block_devices.length; n++) { + print ("block device: " + block_devices[n].get_device_file ()); +} + +var d; + +d = client.query_by_device_number (GUdev.DeviceType.BLOCK, 0x0810); +if (d == null) { + print ("query_by_device_number 0x810 -> null"); +} else { + print ("query_by_device_number 0x810 -> " + d.get_device_file ()); + var dd = d.get_parent_with_subsystem ("usb", null); + print_device (dd); + print ("--------------------------------------------------------------------------"); + while (d != null) { + print_device (d); + print (""); + d = d.get_parent (); + } +} + +d = client.query_by_sysfs_path ("/sys/block/sda/sda1"); +print ("query_by_sysfs_path (\"/sys/block/sda1\") -> " + d.get_device_file ()); + +d = client.query_by_subsystem_and_name ("block", "sda2"); +print ("query_by_subsystem_and_name (\"block\", \"sda2\") -> " + d.get_device_file ()); + +d = client.query_by_device_file ("/dev/sda"); +print ("query_by_device_file (\"/dev/sda\") -> " + d.get_device_file ()); + +d = client.query_by_device_file ("/dev/block/8:0"); +print ("query_by_device_file (\"/dev/block/8:0\") -> " + d.get_device_file ()); + +Mainloop.run('udev-example'); --- udev-171.orig/extras/gudev/seed-example.js +++ udev-171/extras/gudev/seed-example.js @@ -0,0 +1,72 @@ +#!/usr/bin/env seed + +// seed example + +const GLib = imports.gi.GLib; +const GUdev = imports.gi.GUdev; + +function print_device (device) { + print (" subsystem: " + device.get_subsystem ()); + print (" devtype: " + device.get_devtype ()); + print (" name: " + device.get_name ()); + print (" number: " + device.get_number ()); + print (" sysfs_path: " + device.get_sysfs_path ()); + print (" driver: " + device.get_driver ()); + print (" action: " + device.get_action ()); + print (" seqnum: " + device.get_seqnum ()); + print (" device type: " + device.get_device_type ()); + print (" device number: " + device.get_device_number ()); + print (" device file: " + device.get_device_file ()); + print (" device file symlinks: " + device.get_device_file_symlinks ()); + print (" foo: " + device.get_sysfs_attr_as_strv ("stat")); + var keys = device.get_property_keys (); + for (var n = 0; n < keys.length; n++) { + print (" " + keys[n] + "=" + device.get_property (keys[n])); + } +} + +function on_uevent (client, action, device) { + print ("action " + action + " on device " + device.get_sysfs_path()); + print_device (device); + print (""); +} + +var client = new GUdev.Client ({subsystems: ["block", "usb/usb_interface"]}); +client.signal.connect ("uevent", on_uevent); + +var block_devices = client.query_by_subsystem ("block"); +for (var n = 0; n < block_devices.length; n++) { + print ("block device: " + block_devices[n].get_device_file ()); +} + +var d; + +d = client.query_by_device_number (GUdev.DeviceType.BLOCK, 0x0810); +if (d == null) { + print ("query_by_device_number 0x810 -> null"); +} else { + print ("query_by_device_number 0x810 -> " + d.get_device_file ()); + dd = d.get_parent_with_subsystem ("usb", null); + print_device (dd); + print ("--------------------------------------------------------------------------"); + while (d != null) { + print_device (d); + print (""); + d = d.get_parent (); + } +} + +d = client.query_by_sysfs_path ("/sys/block/sda/sda1"); +print ("query_by_sysfs_path (\"/sys/block/sda1\") -> " + d.get_device_file ()); + +d = client.query_by_subsystem_and_name ("block", "sda2"); +print ("query_by_subsystem_and_name (\"block\", \"sda2\") -> " + d.get_device_file ()); + +d = client.query_by_device_file ("/dev/sda"); +print ("query_by_device_file (\"/dev/sda\") -> " + d.get_device_file ()); + +d = client.query_by_device_file ("/dev/block/8:0"); +print ("query_by_device_file (\"/dev/block/8:0\") -> " + d.get_device_file ()); + +var mainloop = GLib.main_loop_new (); +GLib.main_loop_run (mainloop); --- udev-171.orig/extras/gudev/docs/gudev.types +++ udev-171/extras/gudev/docs/gudev.types @@ -0,0 +1,4 @@ +g_udev_device_type_get_type +g_udev_device_get_type +g_udev_client_get_type +g_udev_enumerator_get_type --- udev-171.orig/extras/rule_generator/75-persistent-net-generator.rules +++ udev-171/extras/rule_generator/75-persistent-net-generator.rules @@ -35,6 +35,8 @@ ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*", GOTO="persistent_net_generator_end" # ignore Hyper-V virtual interfaces ENV{MATCHADDR}=="00:15:5d:*", GOTO="persistent_net_generator_end" +# ignore Eucalyptus virtual interfaces +ENV{MATCHADDR}=="d0:0d:*", GOTO="persistent_net_generator_end" # These vendors are known to violate the local MAC address assignment scheme # Interlan, DEC (UNIBUS or QBUS), Apollo, Cisco, Racal-Datacom --- udev-171.orig/extras/scsi_id/scsi_id.config +++ udev-171/extras/scsi_id/scsi_id.config @@ -0,0 +1,17 @@ +# +# scsi_id configuration +# +# lower or upper case has no effect on the left side. Quotes (") are +# required for spaces in values. Model is the same as the SCSI +# INQUIRY product identification field. Per the SCSI INQUIRY, the vendor +# is limited to 8 bytes, model to 16 bytes. +# +# The first matching line found is used. Short matches match longer ones, +# if you do not want such a match space fill the extra bytes. If no model +# is specified, only the vendor string need match. +# +# options= +# vendor=string[,model=string],options= + +# some libata drives require vpd page 0x80 +vendor="ATA",options=-p 0x80 --- udev-171.orig/extras/scsi_id/README +++ udev-171/extras/scsi_id/README @@ -0,0 +1,4 @@ +scsi_id - generate a SCSI unique identifier for a given SCSI device + +Please send questions, comments or patches to or +. --- udev-171.orig/extras/cdrom_id/60-cdrom_id.rules +++ udev-171/extras/cdrom_id/60-cdrom_id.rules @@ -2,7 +2,7 @@ ACTION=="remove", GOTO="cdrom_end" SUBSYSTEM!="block", GOTO="cdrom_end" -KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end" +KERNEL!="sr[0-9]*|hd[a-z]|xvd*", GOTO="cdrom_end" ENV{DEVTYPE}!="disk", GOTO="cdrom_end" # this is only a button press event --- udev-171.orig/m4/libtool.m4 +++ udev-171/m4/libtool.m4 @@ -2461,6 +2461,7 @@ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; @@ -2625,6 +2626,18 @@ dynamic_linker='GNU/Linux ld.so' ;; +netbsdelf*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + dynamic_linker='NetBSD ld.elf_so' + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -3230,7 +3243,7 @@ lt_cv_deplibs_check_method=pass_all ;; -netbsd*) +netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -4041,7 +4054,7 @@ ;; esac ;; - netbsd*) + netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -4499,6 +4512,9 @@ ;; esac ;; + linux* | k*bsd*-gnu | gnu*) + _LT_TAGVAR(link_all_deplibs, $1)=no + ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; @@ -4562,6 +4578,9 @@ openbsd*) with_gnu_ld=no ;; + linux* | k*bsd*-gnu | gnu*) + _LT_TAGVAR(link_all_deplibs, $1)=no + ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes @@ -4784,7 +4803,7 @@ fi ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -4961,6 +4980,7 @@ if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi + _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then @@ -5269,7 +5289,7 @@ _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - netbsd*) + netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else --- udev-171.orig/libudev/libudev-monitor.c +++ udev-171/libudev/libudev-monitor.c @@ -178,7 +178,7 @@ return NULL; if (fd < 0) { - udev_monitor->sock = socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT); + udev_monitor->sock = socket(PF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_KOBJECT_UEVENT); if (udev_monitor->sock == -1) { err(udev, "error getting socket: %m\n"); free(udev_monitor); --- udev-171.orig/rules/rules.d/78-graphics-card.rules +++ udev-171/rules/rules.d/78-graphics-card.rules @@ -0,0 +1,26 @@ +# do not edit this file, it will be overwritten on update + +ACTION!="add", GOTO="graphics_end" + +# Tag the drm device for KMS-supporting drivers as the primary device for +# the display; for non-KMS drivers tag the framebuffer device instead. + +SUBSYSTEM!="drm", GOTO="drm_end" +KERNEL!="card[0-9]*", GOTO="drm_end" +ENV{DEVTYPE}!="drm_minor", GOTO="drm_end" + +DRIVERS=="i915", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1" +DRIVERS=="radeon", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1" +DRIVERS=="nouveau", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1" + +LABEL="drm_end" + +SUBSYSTEM!="graphics", GOTO="graphics_end" + +DRIVERS=="i915", GOTO="graphics_end" +DRIVERS=="radeon", GOTO="graphics_end" +DRIVERS=="nouveau", GOTO="graphics_end" + +KERNEL=="fb[0-9]*", ENV{PRIMARY_DEVICE_FOR_DISPLAY}="1" + +LABEL="graphics_end" --- udev-171.orig/rules/rules.d/80-drivers.rules +++ udev-171/rules/rules.d/80-drivers.rules @@ -9,5 +9,6 @@ SUBSYSTEM=="i2o", RUN+="/sbin/modprobe -bv i2o_block" SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg" SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe -bv ppdev" +SUBSYSTEM=="graphics", RUN+="/sbin/modprobe -bv fbcon" LABEL="drivers_end"