Your message dated Mon, 19 Jun 2017 21:33:51 +0000
with message-id <e1dn4ix-0003zv...@fasolo.debian.org>
and subject line Bug#861730: fixed in ntp 1:4.2.8p10+dfsg-4
has caused the Debian Bug report #861730,
regarding please add apport helper
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
861730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861730
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ntp
Version: 1:4.2.8p10+dfsg-1

Hi,
while clearing out for the next merge of ntp in Ubuntu I found that we also
have a helper for apport. Now while Debian doesn't use apport on its own
I've seen plenty of packages carrying the helpers to get the remaining
Delta out.

It would be kind if you could pick the following diff up on the next ntp
packaging round.
In general while not needed it should not hurt the Debian package in any
way.

-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd
From a939d3593eb2804a3eaeed23d8d3cee5848e0227 Mon Sep 17 00:00:00 2001
From: Christian Ehrhardt <christian.ehrha...@canonical.com>
Date: Fri, 1 Jul 2016 10:34:31 +0200
Subject: [PATCH] debian/rules, debian/ntp.dirs, debian/source_ntp.py: Add
 apport hook.

(cherry picked from commit 04302b679bd67dee73de3d87e0d5760a7fe01ec7)
---
 debian/ntp.dirs      |  1 +
 debian/rules         |  3 +++
 debian/source_ntp.py | 22 ++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 debian/source_ntp.py

diff --git a/debian/ntp.dirs b/debian/ntp.dirs
index 49d3819..46fe52d 100644
--- a/debian/ntp.dirs
+++ b/debian/ntp.dirs
@@ -1,3 +1,4 @@
 usr/sbin
 var/lib/ntp
 var/log/ntpstats
+usr/share/apport/package-hooks
diff --git a/debian/rules b/debian/rules
index 039de91..bd9a80b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,6 +76,9 @@ install: build-stamp
 	install -D -m 0644 debian/apparmor-profile.tunable debian/ntp/etc/apparmor.d/tunables/ntpd
 	dh_link -pntp etc/apparmor.d/usr.sbin.ntpd etc/apparmor/init/network-interface-security/usr.sbin.ntpd
 
+	# install apport hook
+	install -D -m 644 debian/source_ntp.py debian/ntp/usr/share/apport/package-hooks/source_ntp.py
+
 	# remove upstream man pages, which are currently not as nice as ours / ntpsnmpd we don't want
 	rm $(addprefix debian/tmp/usr/share/man/man1/,ntpd.1 ntpdc.1 ntp-keygen.1 ntpq.1)
 
diff --git a/debian/source_ntp.py b/debian/source_ntp.py
new file mode 100644
index 0000000..3debc68
--- /dev/null
+++ b/debian/source_ntp.py
@@ -0,0 +1,22 @@
+'''apport package hook for ntp
+
+(c) 2010-2011 Canonical Ltd.
+Author: Chuck Short <zul...@ubuntu.com>
+'''
+
+from apport.hookutils import *
+from os import path
+import re
+
+def add_info(report):
+	attach_conffiles(report, 'ntp')
+
+	# get apparmor stuff
+	attach_mac_events(report, '/usr/sbin/ntpd')
+	attach_file(report, '/etc/apparmor.d/usr.sbin.ntpd')
+
+	# get syslog stuff
+	recent_syslog(re.compile(r'ntpd\['))
+
+	# Get debug information
+	report['NtpStatus'] = command_output(['ntpq', '-p']) 
-- 
2.7.4


--- End Message ---
--- Begin Message ---
Source: ntp
Source-Version: 1:4.2.8p10+dfsg-4

We believe that the bug you reported is fixed in the latest version of
ntp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 861...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernhard Schmidt <be...@debian.org> (supplier of updated ntp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 17 Jun 2017 21:51:57 +0200
Source: ntp
Binary: ntp ntpdate ntp-doc sntp
Architecture: source
Version: 1:4.2.8p10+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian NTP Team <pkg-ntp-maintain...@lists.alioth.debian.org>
Changed-By: Bernhard Schmidt <be...@debian.org>
Description:
 ntp        - Network Time Protocol daemon and utility programs
 ntp-doc    - Network Time Protocol documentation
 ntpdate    - client for setting system time from NTP servers
 sntp       - Network Time Protocol - sntp client
Closes: 635752 643954 739942 793837 794182 803709 805325 806645 806647 828989 
852946 858548 861727 861730
Changes:
 ntp (1:4.2.8p10+dfsg-4) unstable; urgency=medium
 .
   Upload changes tested in experimental to unstable
 .
   * Build system/packaging changes
     - Update to debhelper sequencer, compat level 10
     - Bump Standards Version, no changes necessary
     - Build ntp reproducibly.
       Thanks to Reiner Herrmann (Closes: #828989)
     - Use 'debian' location file (Closes: #852946)
     - Install upstream manpages where available
       (Closes: #794182, #806645, #803709, #805325)
     - Re-enable Debugging (Closes: #643954)
   * Build sntp (Closes: #793837)
     - Split sntp into new binary package
   * Add systemd unit (Closes: #635752)
   + Documentation fixes
     - Fix spelling error in cron.daily/ntp (Closes: #739942)
     - Fix outdated path/package name in README.Debian (Closes: #806647)
   * Use tzdata leapfile in default configuration.
     Thanks to Edmund Grimley Evans (Closes: #858548)
     - add trigger to restart ntp on leapfile updates
   * Changes from Ubuntu, thanks to Christian Ehrhardt
     - apparmor: Allow access to winbindd pipe (Closes: #861727)
     - add apport hook (Closes: #861730)
   * Set --home in adduser to resolve lintian error
   * mark ntp-doc Multi-Arch: foreign
Checksums-Sha1:
 2d559a0fee760f4bbefe40e5cb278650808c394a 2360 ntp_4.2.8p10+dfsg-4.dsc
 d8fd8c465a3e983d79d31184a0b63c777a174ceb 46600 
ntp_4.2.8p10+dfsg-4.debian.tar.xz
 071786951eb6bfcb890cd1f73238cdb5ec0ac8f3 7648 
ntp_4.2.8p10+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 13f1588e3683467ea79b9a54edbb1b444e43de46842259aeaa2a21f2404a0ba1 2360 
ntp_4.2.8p10+dfsg-4.dsc
 3671bf6649614cbc4c6ec34982d0c91239009f9e092dd275c0717b9ca141ec2f 46600 
ntp_4.2.8p10+dfsg-4.debian.tar.xz
 4ca13f0a52202c62b2b5a4b9e903d3901193ad9d46db30a406b351f1f1e65577 7648 
ntp_4.2.8p10+dfsg-4_amd64.buildinfo
Files:
 748e7fe7ef14796fad682a226d174001 2360 net optional ntp_4.2.8p10+dfsg-4.dsc
 174379dfc57c299584000161e9319de9 46600 net optional 
ntp_4.2.8p10+dfsg-4.debian.tar.xz
 a1a5a8360d7ac24a97e0070b210b5d92 7648 net optional 
ntp_4.2.8p10+dfsg-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE1uAexRal3873GVbTd1B55bhQvJMFAllIJ54RHGJlcm5pQGRl
Ymlhbi5vcmcACgkQd1B55bhQvJMbDg/9Hl3kGySGVZTodbnwEh1UWQaOOhZZDSVe
8V2uWLCXdC/Lrk/bZJ+VnsRvEPqEGvoaDDn6iSqgY1RZnqbXH3UzHJ4ot0vUQNsl
gql8z1HyrzBQuzfPO2vL9fiCAkWtgxuf7x+UjadB2qk/d1aIYb6XPkl7gl5PPJK4
qUw1YE/IXzHYsCOxDg3fdYPCcvRbeNI4IyR5Y7YEWL8zFtZ65pdhBgSHbf9v1/5O
04Kv3RPstFI1PEgdR5Qt8R6o8FYvCyJx6QRT1dAtZl4nFT7feWj4FfGDsbuZFY62
zSPQyd/zlA4vhPz5tR6MkCQRl+M5ZJIuSDXQ9hWd3kN1Zf89xsVM4C98h2cHEHpi
/sAzig34TEtc4sosIzNbFMTJ2bSIdivymE+vPzjs+WqUHajnA+TVTlVQEb1p7scL
EekRm2h6XPC7snKXTTAl19jWS1emU2Ye0hV8T5G6wnwp7eN0/yypf0SaAFjCR/lO
nQrALoXtwcFroWsL0ynwzhM7gTGRoOlcbSADt29rN7cP5elgHXPwE+5BgIlerTLF
gyiV7P/lXsxsxlhD/Jvqtn8rntUeI+BW7GtfniPeV2IqNo3gVlULSAeQkUShv0X1
2cJyvOU4JqeliHrK1gql/cT2sCBw/KqrWEsoi76hvr/c03mygEJWQuGmopKNMbB0
gd6wPBAE5FM=
=mTlh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to