Bug#1067045: libsendmail-pmilter-perl: Includes non-free document

2024-03-17 Thread Bastian Germann

I am uploading a NMU in order to fix this.
The debdiff is attached.diff -Nru libsendmail-pmilter-perl-1.00/Makefile.PL 
libsendmail-pmilter-perl-1.00/Makefile.PL
--- libsendmail-pmilter-perl-1.00/Makefile.PL   2024-03-17 15:56:40.0 
+
+++ libsendmail-pmilter-perl-1.00/Makefile.PL   2011-04-16 13:05:03.0 
+
@@ -1,4 +1,4 @@
-# $Id: Makefile.PL,v 1.3 2004-08-14 18:09:38 bengen Exp $
+# $Id: Makefile.PL,v 1.11 2004/08/10 21:10:36 tvierling Exp $
 
 use 5.006;
 use ExtUtils::MakeMaker;
diff -Nru libsendmail-pmilter-perl-1.00/debian/changelog 
libsendmail-pmilter-perl-1.00/debian/changelog
--- libsendmail-pmilter-perl-1.00/debian/changelog  2024-03-17 
15:56:40.0 +
+++ libsendmail-pmilter-perl-1.00/debian/changelog  2024-03-17 
15:27:27.0 +
@@ -1,3 +1,14 @@
+libsendmail-pmilter-perl (1.00-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Convert source to format 3.0.
+(Closes: #1007675)
+  * d/copyright: Convert to machine-readable format.
+  * Exclude non-free document according to README.Debian.
+(Closes: #1067045)
+
+ -- Bastian Germann   Sun, 17 Mar 2024 15:27:27 +
+
 libsendmail-pmilter-perl (1.00-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libsendmail-pmilter-perl-1.00/debian/copyright 
libsendmail-pmilter-perl-1.00/debian/copyright
--- libsendmail-pmilter-perl-1.00/debian/copyright  2024-03-17 
15:56:40.0 +
+++ libsendmail-pmilter-perl-1.00/debian/copyright  2024-03-17 
15:27:27.0 +
@@ -1,31 +1,32 @@
-This is the debian package for the PMilter module.
-It was created by Hilko Bengen  using
-dh-make-perl.
-
-Upstream author:
-
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PMilter
+Comment:
+This is the debian package for the PMilter module.
+It was created by Hilko Bengen  using
+dh-make-perl.
+Files-Excluded: doc/milter-protocol.txt
+Upstream-Contact:
 Todd Vierling  
 
+Files:
+*
 Copyright:
-
 Copyright (c) 2002-2004 Todd Vierling
-
-License: BSD
-
+License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
-
+.
 1. Redistributions of source code must retain the above copyright notice,
 this list of conditions and the following disclaimer.
-
+.
 2. Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer in the
 documentation and/or other materials provided with the distribution.
-
+.
 3. Neither the name of the author nor the names of contributors may be used
 to endorse or promote products derived from this software without specific
 prior written permission.
-
+.
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff -Nru libsendmail-pmilter-perl-1.00/debian/patches/debian.patch 
libsendmail-pmilter-perl-1.00/debian/patches/debian.patch
--- libsendmail-pmilter-perl-1.00/debian/patches/debian.patch   1970-01-01 
00:00:00.0 +
+++ libsendmail-pmilter-perl-1.00/debian/patches/debian.patch   2024-03-17 
15:27:27.0 +
@@ -0,0 +1,92 @@
+Description: Correct headings
+--- libsendmail-pmilter-perl-1.00.orig/lib/Sendmail/Milter.pm
 libsendmail-pmilter-perl-1.00/lib/Sendmail/Milter.pm
+@@ -145,6 +145,10 @@ __END__
+ 
+ =pod
+ 
++=head1 NAME
++
++Sendmail::Milter - compatibility interface for Sendmail::PMilter
++
+ =head1 SYNOPSIS
+  
+ use Sendmail::Milter;
+--- libsendmail-pmilter-perl-1.00.orig/lib/Sendmail/PMilter.pm
 libsendmail-pmilter-perl-1.00/lib/Sendmail/PMilter.pm
+@@ -80,8 +80,6 @@ to be called Mail::Milter.
+ 
+ =head1 METHODS
+ 
+-=over 4
+-
+ =cut
+ 
+ # Symbols exported to the caller
+@@ -124,6 +122,8 @@ sub new ($) {
+ 
+ =pod
+ 
++=over 4
++
+ =item get_max_interpreters()
+ 
+ Returns the maximum number of interpreters passed to C.  This is
+@@ -470,10 +470,6 @@ these methods would not be useful with t
+ 
+ =over 4
+ 
+-=cut
+-
+-=pod
+-
+ =item auto_getconn(NAME[, CONFIG])
+ 
+ Returns the connection descriptor for milter NAME in Sendmail configuration
+@@ -950,6 +946,8 @@ Note that, because the default socket ba
+ wise to increase this backlog by calling C before entering
+ C if using this dispatcher.
+ 
++=back
++
+ =cut
+ 
+ sub sequential_dispatcher () {
+@@ -1042,8 +1040,6 @@ when called:
+ 
+ =back
+ 
+-=back
+-
+ =head1 SECURITY CONSIDERATIONS
+ 
+ =over 4
+--- libsendmail-pmilter-perl-1.00.orig/lib/Sendmail/PMilter/Context.pm
 libsendmail-pmilter-perl-1.00/lib/Sendmail/PMilter/Context.pm
+@@ -48,7 +48,7 @@ our $VERSION = '0.94';
+ 
+ =pod
+ 
+-=head1 SYNOPSIS
++=head1 NAME
+ 
+ 

Bug#1067045: libsendmail-pmilter-perl: Includes non-free document

2024-03-17 Thread Bastian Germann

Source: libsendmail-pmilter-perl
Version: 1.00-1
Severity: serious

The source package includes the non-free milter-protocol.txt that is claimed to 
be excluded in README.Debian.