diff -u eagle-usb-2.1.1/debian/changelog eagle-usb-2.1.1/debian/changelog --- eagle-usb-2.1.1/debian/changelog +++ eagle-usb-2.1.1/debian/changelog @@ -1,3 +1,9 @@ +eagle-usb (2.1.1-2ubuntu1) dapper; urgency=low + + * Backport 'udev' rule from Mandriva (Closes: Ubuntu #40308) + + -- Paul Sladen Mon, 29 May 2006 15:52:55 +0100 + eagle-usb (2.1.1-2) unstable; urgency=low [Cyril Martin] diff -u eagle-usb-2.1.1/debian/control eagle-usb-2.1.1/debian/control --- eagle-usb-2.1.1/debian/control +++ eagle-usb-2.1.1/debian/control @@ -33,7 +33,7 @@ Depends: net-tools, eagle-usb-data (>=1.9.6), module-init-tools | modutils, ${misc:Depends}, ${shlibs:Depends} Replaces: eagle-adsl-tools Conflicts: eagle-adsl-tools -Recommends: pppoe|libatm1|dhcp3-client, hotplug(>= 0.0.20020826-1), ifupdown +Recommends: pppoe|libatm1|dhcp3-client, hotplug(>= 0.0.20020826-1)|udev, ifupdown Suggests: eagle-usb-modules Description: Userspace tools for Eagle USB ADSL modems This package provides the userspace tools needed to use the USB ADSL diff -u eagle-usb-2.1.1/debian/rules eagle-usb-2.1.1/debian/rules --- eagle-usb-2.1.1/debian/rules +++ eagle-usb-2.1.1/debian/rules @@ -173,6 +173,8 @@ install -o root -g root -m 644 debian/$(putils).lintian \ debian/$(putils)/usr/share/lintian/overrides/$(putils) + install -m 644 $(CURDIR)/debian/$(putils).udev $(CURDIR)/debian/$(putils)/etc/udev/rules.d/85-$(putils).rules + dh_install -s # Build architecture independant packages using the common target. only in patch2: unchanged: --- eagle-usb-2.1.1.orig/debian/eagle-usb-utils.udev +++ eagle-usb-2.1.1/debian/eagle-usb-utils.udev @@ -0,0 +1,2 @@ +SUBSYSTEM=="drivers", ACTION=="add", DEVPATH=="/bus/usb/drivers/eagle-usb", \ + RUN+="/bin/sh -c 'while [ ! -f /proc/bus/usb/devices ]; do sleep 2; done; /sbin/eaglectrl -d'" only in patch2: unchanged: --- eagle-usb-2.1.1.orig/debian/eagle-usb-utils.dirs +++ eagle-usb-2.1.1/debian/eagle-usb-utils.dirs @@ -0,0 +1 @@ +etc/udev/rules.d