Package: inn2
Version: 2.6.3-1+deb10u2
Severity: normal
Dear Maintainer,
I do this in my /etc/news/filter/filter_nnrpd.pl's filter_post:
$modify_headers = 1;
$hdr{'X-test'} = "42";
return "";
However,
- with stock INN2 package, the X-test header does not get added
- doing apt-get source inn2 then dpkg-buildpackage -us -uc, then
starting under news the generated /debian/inn2/usr/lib/news/bin/nnrpd -p
42119 -D
I can POST an article which will get the X-test header added
So, maybe there is some bizarre compatibility problem with my Perl installation
and INN2?
I however just have normal i386 debian buster, except this change:
$ diff ./inn2-2.6.3/debian/inn2/usr/share/perl5/INN/Config.pm
/usr/share/perl5/INN/Config.pm
123c123
< our $gpg = '/usr/bin/gpg1';
---
> our $gpg = '/usr/bin/gpg';
125c125
< our $pgp = '/usr/bin/pgp';
---
> our $pgp = '';
Thank you for any idea.
Have a nice sunday.
-- System Information:
Debian Release: 10.12
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (x86_64)
Kernel: Linux 4.19.0-20-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_CH.ISO-8859-1 (charmap=ISO-8859-1), LANGUAGE=C
(charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages inn2 depends on:
ii cron [cron-daemon] 3.0pl1-134+deb10u1
ii inn2-inews 2.6.3-1+deb10u2
ii libc6 2.28-10+deb10u1
ii libdb5.35.3.28+dfsg1-0.5
ii libmime-tools-perl 5.509-1
ii libpam0g1.3.1-5
ii libperl5.28 5.28.1-6+deb10u1
ii libsasl2-2 2.1.27+dfsg-1+deb10u2
ii libssl1.1 1.1.1n-0+deb10u2
ii lsb-base10.2019051400
ii perl5.28.1-6+deb10u1
ii perl-base [perlapi-5.28.1] 5.28.1-6+deb10u1
ii postfix [mail-transport-agent] 3.4.14-0+deb10u1
ii procps 2:3.3.15-2
ii time1.7-25.1+b1
ii zlib1g 1:1.2.11.dfsg-1+deb10u1
inn2 recommends no packages.
Versions of packages inn2 suggests:
ii gnupg1 1.4.23-1
ii libgd-perl 2.71-2
ii libkrb5-3 1.17-3+deb10u3
ii wget1.20.1-1.1
-- Configuration Files:
/etc/init.d/inn2 changed [not included]
/etc/logcheck/ignore.d.server/inn2 [Errno 13] Permission denied:
'/etc/logcheck/ignore.d.server/inn2'
/etc/logcheck/violations.ignore.d/inn2 [Errno 13] Permission denied:
'/etc/logcheck/violations.ignore.d/inn2'
/etc/news/control.ctl changed [not included]
/etc/news/expire.ctl changed [not included]
/etc/news/filter/filter_innd.pl changed [not included]
/etc/news/filter/filter_nnrpd.pl changed [not included]
/etc/news/incoming.conf changed [not included]
/etc/news/innfeed.conf changed [not included]
/etc/news/newsfeeds changed [not included]
/etc/news/nocem.ctl changed [not included]
/etc/news/readers.conf changed [not included]
/etc/news/subscriptions changed [not included]
-- debconf information:
inn2/preinst-upgrade1: false
inn2/preinst-upgrade-largefiles: false
inn2/postinst-cannot-start:
-- debsums errors found:
debsums: changed file /usr/share/perl5/INN/Config.pm (from inn2 package)