summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8c23781)
raw | patch | inline | side by side (parent: 8c23781)
author | gregor herrmann <gregoa@debian.org> | |
Sat, 25 May 2013 23:00:00 +0000 (01:00 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 26 May 2013 18:33:09 +0000 (20:33 +0200) |
Closes: #683525, #708718.
Signed-off-by: Sebastian Harl <tokkee@debian.org>
Signed-off-by: Sebastian Harl <tokkee@debian.org>
debian/changelog | patch | blob | history | |
debian/collectd-core.overrides | patch | blob | history | |
debian/control | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/pod-perl-5.18.dpatch | [new file with mode: 0644] | patch | blob |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index ba1e1d6659253db570ba7103a9eb5940cfbe5b9d..052b65a54468c2b179a1351bb1d4c85560e00684 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+collectd (5.1.0-3.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "FTBFS with perl 5.18: POD errors":
+ add patch pod-perl-5.18 that adds =encoding to some POD files.
+ (Closes: #708718)
+ * Fix "Transition package to use default java implementation":
+ apply modified patch from Ubuntu / James Page:
+ - switch build dependency from openjdk-6-jdk to default-jdk
+ - set JAVA_HOME to /usr/lib/jvm/default-java
+ - update lintian override accordingly
+ (Closes: #683525)
+
+ -- gregor herrmann <gregoa@debian.org> Sun, 26 May 2013 00:52:37 +0200
+
collectd (5.1.0-3) unstable; urgency=low
* debian/patches/migrate-4-5-df.dpatch, debian/collectd-core.postinst:
index ec28843e0f0552c27f32b32d6479c9860ae54318..b67a020b31de6d002b9ef662d47ff8a29120068a 100644 (file)
# The "java" plugin uses libjvm.so which can only be found in a non-standard
# directory. According to the Java guys the path name and the ABI is stable
# though ...
-collectd-core: binary-or-shlib-defines-rpath usr/lib/collectd/java.so /usr/lib/jvm/java-6-openjdk-*
+collectd-core: binary-or-shlib-defines-rpath usr/lib/collectd/java.so /usr/lib/jvm/default-java/jre/lib/*/server
diff --git a/debian/control b/debian/control
index 7d587f1f835a2b489d82d834eb329a179d925921..c4c01f68a99fe927992be040a24790c1f75e40c5 100644 (file)
--- a/debian/control
+++ b/debian/control
libxml2-dev,
libyajl-dev,
linux-libc-dev (>= 2.6.25-4) [linux-any] | linux-libc-dev (<< 2.6.25-1) [linux-any],
- openjdk-6-jdk [!hppa !kfreebsd-any !hurd-any],
+ default-jdk [!hppa !kfreebsd-i386 !kfreebsd-amd64],
protobuf-c-compiler,
python-dev
Build-Conflicts: libpthread-dev
diff --git a/debian/patches/00list b/debian/patches/00list
index 390f00fb1aa3cb7a06b5310b837ac85a035c15d2..f9ab0716b005269bb5643fa07fb5947b9260b747 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
bts559801_plugin_find_fix.dpatch
rtnl_dump_filter.dpatch
migrate-4-5-df.dpatch
+pod-perl-5.18.dpatch
diff --git a/debian/patches/pod-perl-5.18.dpatch b/debian/patches/pod-perl-5.18.dpatch
--- /dev/null
@@ -0,0 +1,38 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## pod-perl-5.18.dpatch by gregor herrmann <gregoa@debian.org>
+##
+# Description: add =encoding to POD. perl 5.18 is more picky and exists with an error.
+# Origin: vendor
+# Bug-Debian: http://bugs.debian.org/708718
+# Forwarded: no
+# Author: gregor herrmann <gregoa@debian.org>
+# Last-Update: 2013-05-19
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' collectd-5.1.0~/src/collectd-java.pod collectd-5.1.0/src/collectd-java.pod
+--- collectd-5.1.0~/src/collectd-java.pod 2012-04-02 10:04:58.000000000 +0200
++++ collectd-5.1.0/src/collectd-java.pod 2013-05-19 16:18:19.323246574 +0200
+@@ -1,3 +1,5 @@
++=encoding utf8
++
+ =head1 NAME
+
+ collectd-java - Documentation of collectd's "java plugin"
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' collectd-5.1.0~/src/collectd.conf.pod collectd-5.1.0/src/collectd.conf.pod
+--- collectd-5.1.0~/src/collectd.conf.pod 2012-04-02 10:04:58.000000000 +0200
++++ collectd-5.1.0/src/collectd.conf.pod 2013-05-19 16:17:52.395246170 +0200
+@@ -1,3 +1,5 @@
++=encoding utf8
++
+ =head1 NAME
+
+ collectd.conf - Configuration for the system statistics collection daemon B<collectd>
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' collectd-5.1.0~/src/collectdctl.pod collectd-5.1.0/src/collectdctl.pod
+--- collectd-5.1.0~/src/collectdctl.pod 2012-04-02 10:04:58.000000000 +0200
++++ collectd-5.1.0/src/collectdctl.pod 2013-05-19 16:18:04.251246348 +0200
+@@ -1,3 +1,5 @@
++=encoding latin1
++
+ =head1 NAME
+
+ collectdctl - Control interface for collectd
diff --git a/debian/rules b/debian/rules
index 8e186fca503f58161e68ce7b29f782fb6c85366e..aa8f5981ec02fa5a7fa500fbb11f13105f9e7e5b 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
ifeq (,$(JAVA_ARCHDIR))
JAVA_ARCHDIR = $(DEB_BUILD_ARCH)
endif
-JAVA_HOME = /usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH)
+JAVA_HOME = /usr/lib/jvm/default-java
JAVA_LIBDIR = $(JAVA_HOME)/jre/lib/$(JAVA_ARCHDIR)/server
JAVAC = $(JAVA_HOME)/bin/javac