Hi,

I have prepared a NMU that fixes a few bugs in the barry package:

  #639594 (serious)   uninstallable on kfreebsd-*
  #622564 (important) still ships rules files in /etc/udev/
  #561243 (normal)    Obsolete udev rules

This NMU is versioned as 0.15-1.2; please see attached nmudiff.

I intend to ask my AM (Cc'd) to upload it to DELAYED/10 at the end of
the month. Feel free to tell me if you think we should do otherwise.

Thank you for maintaining barry in Debian.

Bye,
-- 
  intrigeri <intrig...@boum.org>

diff -u barry-0.15/debian/control barry-0.15/debian/control
--- barry-0.15/debian/control
+++ barry-0.15/debian/control
@@ -37,7 +37,7 @@
 Package: barry-util
 Section: utils
 Architecture: any
-Depends: udev (>= 136-1), ${shlibs:Depends}, ${misc:Depends}
+Depends: udev (>= 136-1) [linux-any], ${shlibs:Depends}, ${misc:Depends}
 Suggests: ppp
 Description: Command line utilities for working with the RIM BlackBerry Handheld
  Barry is a GPL C++ library for interfacing with the RIM BlackBerry Handheld.
diff -u barry-0.15/debian/rules barry-0.15/debian/rules
--- barry-0.15/debian/rules
+++ barry-0.15/debian/rules
@@ -25,9 +25,11 @@
 DEB_INSTALL_DOCS_ALL =
 
 install/barry-util::
+ifeq ($(DEB_HOST_ARCH_OS), linux)
 	# Install udev rules for the barry-util package
-	install -d $(CURDIR)/debian/barry-util/etc/udev/rules.d
-	install -m 0644 $(CURDIR)/udev/debian/10-blackberry.rules $(CURDIR)/debian/barry-util/etc/udev/rules.d/10-blackberry.rules
+	install -d $(CURDIR)/debian/barry-util/lib/udev/rules.d
+	install -m 0644 $(CURDIR)/udev/debian/10-blackberry.rules $(CURDIR)/debian/barry-util/lib/udev/rules.d/10-blackberry.rules
+endif
 	# Install modprobe blacklist file for bcharge, into barry-util package
 	install -d $(CURDIR)/debian/barry-util/etc/modprobe.d
 	install -m 0644 $(CURDIR)/modprobe/blacklist-berry_charge.conf $(CURDIR)/debian/barry-util/etc/modprobe.d/blacklist-berry_charge.conf
diff -u barry-0.15/debian/changelog barry-0.15/debian/changelog
--- barry-0.15/debian/changelog
+++ barry-0.15/debian/changelog
@@ -1,3 +1,13 @@
+barry (0.15-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Install udev rules into /lib/udev/rules.d (Closes: #561243, #622564)
+  * Fix uninstallability on kfreebsd-* by making barry-util depend on udev
+    on Linux only (Closes: #639594)
+  * Install udev rules on Linux only.
+
+ -- intrigeri <intrigeri+deb...@boum.org>  Sun, 16 Oct 2011 20:04:55 +0200
+
 barry (0.15-1.1) unstable; urgency=low
 
   * Non-maintainer upload

Reply via email to