[Pkg-net-snmp-commits] [pkg-net-snmp] 05/05: fix #455707

Hideki Yamane henrich at moszumanska.debian.org
Fri Jan 29 23:46:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch master
in repository pkg-net-snmp.

commit 01f5d53cf11b2430960e533968188d1b026e62ad
Author: Hideki Yamane <henrich at debian.org>
Date:   Fri Jan 29 20:56:06 2016 +0900

    fix #455707
---
 debian/changelog                                    |  2 ++
 .../0027-fix-455707-traptoemail-use-FQDN.patch      | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0aed08e..cd8a1bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ net-snmp (5.7.3+dfsg-2) UNRELEASED; urgency=medium
     - add Bug-788964-net-snmp-snmp_pdu_parse-DoS.patch (Closes: #788964)
     - add 0026-fix-Bug-785380-incorrect-date-format.patch (Closes: #785380)
       Thanks to Gabor Kiss <kissg at ssg.ki.iif.hu>
+    - add 0027-fix-455707-traptoemail-use-FQDN.patch (Closes: #455707)
+      Thanks to Ferenc Wagner <wferi at niif.hu>
   * debian/snmpd.{preinst,postinst,postrm}
     - change SNMP user from "snmp" to "Debian-snmp" to avoid confusion with
       non-system user. It satisfy to work with some LDAP system. Thanks to
diff --git a/debian/patches/0027-fix-455707-traptoemail-use-FQDN.patch b/debian/patches/0027-fix-455707-traptoemail-use-FQDN.patch
new file mode 100644
index 0000000..14d1a65
--- /dev/null
+++ b/debian/patches/0027-fix-455707-traptoemail-use-FQDN.patch
@@ -0,0 +1,21 @@
+From: Hideki Yamane <henrich at debian.org>
+Date: Fri, 29 Jan 2016 20:54:57 +0900
+Subject: fix #455707 traptoemail use FQDN
+
+---
+ local/traptoemail | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/local/traptoemail b/local/traptoemail
+index cadc18b..3694c3a 100755
+--- a/local/traptoemail
++++ b/local/traptoemail
+@@ -17,7 +17,7 @@ use POSIX qw(strftime);
+ $ENV{LANG} = 'C';
+ 
+ $opts{'s'} = "localhost";
+-$opts{'f'} = 'root@' . `hostname`;
++$opts{'f'} = 'root@' . `hostname -f`;
+ chomp($opts{'f'});
+ getopts("hs:f:", \%opts);
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5954b27..d51c163 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ Fix-kfreebsd-builds-with-kernel-headers-10.patch
 fix-request-id-0.patch
 0025-Bug-788964-net-snmp-snmp_pdu_parse-DoS.patch
 0026-fix-Bug-785380-incorrect-date-format.patch
+0027-fix-455707-traptoemail-use-FQDN.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-net-snmp/pkg-net-snmp.git



More information about the Pkg-net-snmp-commits mailing list