Skip to content
Snippets Groups Projects
Commit e6e079c0 authored by Ondrej Sury's avatar Ondrej Sury
Browse files

Remove GPL licensed apport file until one with better license is available

parent 1c98531a
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
'''apport hook for bind9
(c) 2010 Andres Rodriguez.
Author: Andres Rodriguez <andreserl@ubuntu.com>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. See http://www.gnu.org/copyleft/gpl.html for
the full text of the license.
'''
from apport.hookutils import *
import re
def add_info(report, ui):
response = ui.yesno("The contents of your /etc/bind/named.conf file "
"may help developers diagnose your bug more "
"quickly. However, it may contain sensitive "
"information. Do you want to include it in your "
"bug report?")
if response == None: # user cancelled
raise StopIteration
elif response == True:
attach_conffiles(report,'bind9')
# getting syslog stuff
report['SyslogBind9'] = recent_syslog(re.compile(r'named\['))
# Attaching related packages info
attach_related_packages(report, ['bind9utils', 'apparmor'])
attach_mac_events(report, '/usr/sbin/named')
  • Hi,

    What license would you be happy with?

  • Author Owner

    MPL 2.0 is the BIND 9 license, so that would be easiest, or public domain (CC0)

    Ondrej

  • I know apport is not shipped in Debian, and that adding this file to the packaging is a convenience extended to Ubuntu, so first of all, thanks for even having done it!

    Main apport code is GPL (https://launchpad.net/apport), that's why this hook is GPL as well. Your objection to the GPL license in this case is because it's not present anywhere else on the package? I see it wasn't mentioned in d/copyright for the debian/* content, but that could be fixed. Or does including this license bring other concerns that are really not worth chasing down for something that's not even used in Debian (or in upstream bind), and it's simpler to just remove the file? I can totally understand that, btw.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment