Package: net-snmp
Severity: wishlist
Tags: patch

I have just uploaded a 0-day NMU, as authorized.  It closes #302195.
Patch attached.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-debian6+libata9dev1+bluesmoke
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
diff -ruN net-snmp-5.1.2-old/debian/changelog net-snmp-5.1.2/debian/changelog
--- net-snmp-5.1.2-old/debian/changelog 2005-03-31 12:14:56.795577227 -0300
+++ net-snmp-5.1.2/debian/changelog     2005-03-31 12:14:31.474656187 -0300
@@ -1,3 +1,11 @@
+net-snmp (5.1.2-6.1) unstable; urgency=emergency
+
+  * NMU (with permission from maintainer)
+  * debian/rules: clean up libdir in all .la files installed to
+    /usr/lib, so as to avoid breaking all libtool builds (closes: #302195).
+
+ -- Henrique de Moraes Holschuh <[EMAIL PROTECTED]>  Thu, 31 Mar 2005 12:14:11 
-0300
+
 net-snmp (5.1.2-6) unstable; urgency=medium
 
   * Backed out the unauthorized MIB changes. lm-sensors updates.
diff -ruN net-snmp-5.1.2-old/debian/rules net-snmp-5.1.2/debian/rules
--- net-snmp-5.1.2-old/debian/rules     2005-03-31 12:14:56.824573700 -0300
+++ net-snmp-5.1.2/debian/rules 2005-03-31 12:14:09.758296652 -0300
@@ -114,6 +114,13 @@
        #mkdir -p debian/tmp/usr/share/aclocal
        #cp net-snmp.m4 debian/tmp/usr/share/aclocal
 
+       # Fix all .la files
+       (cd $(CURDIR)/debian/tmp/usr/lib; \
+       for i in *.la ; do \
+               sed -e "s#libdir=.*#libdir='/usr/lib'#" < $$i >$$i.new && \
+                       mv $$i.new $$i ; \
+       done )
+
        dh_movefiles
        touch install-stamp
 

Reply via email to