[Glibc-bsd-commits] r1549 - trunk/web/patches

Aurelien Jarno aurel32 at costa.debian.org
Thu May 4 07:07:51 UTC 2006


Author: aurel32
Date: 2006-05-04 07:07:50 +0000 (Thu, 04 May 2006)
New Revision: 1549

Modified:
   trunk/web/patches/net-snmp.diff
Log:
Make libsnmp9-dev installable.



Modified: trunk/web/patches/net-snmp.diff
===================================================================
--- trunk/web/patches/net-snmp.diff	2006-05-03 21:08:00 UTC (rev 1548)
+++ trunk/web/patches/net-snmp.diff	2006-05-04 07:07:50 UTC (rev 1549)
@@ -14,6 +14,15 @@
  Standards-Version: 3.6.2
  
  Package: snmpd
+@@ -67,7 +67,7 @@
+ Replaces: libsnmp-dev, libsnmp-perl (<<${Source-Version})
+ Provides: libsnmp-dev
+ Conflicts: libsnmp-dev, libsnmp5-dev
+-Depends: libc6-dev, libsnmp9 (=${Source-Version}), libsnmp-perl (=${Source-Version}), libwrap0-dev, libssl-dev, libsensors-dev (>=2.8.5), procps
++Depends: libc6-dev, libsnmp9 (=${Source-Version}), libsnmp-perl (=${Source-Version}), libwrap0-dev, libssl-dev, ${libsensors-dev}, procps
+ Description: NET SNMP (Simple Network Management Protocol) Development Files
+  The Simple Network Management Protocol (SNMP) provides a framework
+  for the exchange of management information between agents (servers)
 diff -u net-snmp-5.2.2/debian/rules net-snmp-5.2.2/debian/rules
 --- net-snmp-5.2.2/debian/rules
 +++ net-snmp-5.2.2/debian/rules
@@ -57,6 +66,18 @@
  	  --without-rpm --with-libwrap --with-openssl \
  	  --without-dmalloc --without-efence --without-rsaref \
  	  --with-sys-contact="root" --with-sys-location="Unknown" \
+@@ -205,7 +208,11 @@
+ 	dh_makeshlibs -plibsnmp-perl
+ 	dh_perl -a
+ 	dh_shlibdeps -a -ldebian/libsnmp$(v)/usr/lib -Llibsnmp$(v)
++ifeq (linux,$(DEB_HOST_ARCH_OS))
++	dh_gencontrol -a -- -Vlibsensors-dev="libsensors-dev (>= 2.8.5)"
++else
+ 	dh_gencontrol -a
++endif
+ 	dh_md5sums -a
+ 	dh_builddeb -a
+ 
 only in patch2:
 unchanged:
 --- net-snmp-5.2.2.orig/agent/mibgroup/ucd_snmp.h




More information about the Glibc-bsd-commits mailing list