Code

Recommend all plugin's library dependencies.
authorSebastian Harl <sh@tokkee.org>
Mon, 24 Sep 2007 06:34:37 +0000 (08:34 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 24 Sep 2007 06:34:37 +0000 (08:34 +0200)
debian/control
debian/rules

index d5ae919d2fb34ae2e0fd6b45c0068e59247c4915..8818133803b4a5462308bad4eb6f9870a8a4ca92 100644 (file)
@@ -11,7 +11,7 @@ XS-Vcs-Browser: http://git.tokkee.org/?p=pkg-collectd.git
 Package: collectd
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Recommends: perl, rrdtool
+Recommends: perl, rrdtool, ${shlibs:Recommends}
 Suggests: collectd-apache, collectd-mysql, collectd-sensors, collectd-dev,
  collectd-ping, collectd-dns, collectd-perl, librrds-perl, liburi-perl,
  libhtml-parser-perl, httpd-cgi, hddtemp, mbmon
index e3783986a998cfd12a50abfa3020691e964d692d..8ed8f6c68c681c16829d2c483eb066038ca77dba 100755 (executable)
@@ -137,6 +137,9 @@ binary-arch: build install-arch
        dh_fixperms -a
        dh_installdeb -a
        dh_shlibdeps -a
+       dpkg-shlibdeps -Tdebian/collectd.substvars \
+               -dDepends debian/collectd/usr/bin/* debian/collectd/usr/sbin/* \
+               -dRecommends debian/collectd/usr/lib/collectd/*.so
        dh_gencontrol -a
        dh_md5sums -a
        dh_builddeb -a