Debian packaging TODO for the 'sn' package.

See also: https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=sn

================================================================================
--------------------------------------------------------------------------------

- Rewrite debian/rules to use dh

- There is a line in debian/rules that creates a symlink for snntpd.bin.8.gz
  to point to snntpd.8.gz. There are other instances of this as well. Do that
  in 'sn.links' instead?

- Rewrite debian/copyright to use Dep 5
P: sn source: no-dep5-copyright

- The file debian/manpages is already present but is currently only being used
to install the debian created & provided man pages. Use it to also install the
upstream man pages & adjust debian/rules & patch upstream Makefile to do that?

--------------------------------------------------------------------------------

W: sn source: template-uses-unsplit-choices sn - sn/runfrom
- https://lintian.debian.org/tags/template-uses-unsplit-choices.html

I: sn: spelling-error-in-manpage usr/share/man/man8/snsplit.8.gz avaiable available

- https://lintian.debian.org/tags/hardening-no-fortify-functions.html
I: sn: hardening-no-fortify-functions usr/sbin/sndelgroup
I: sn: hardening-no-fortify-functions usr/sbin/sndumpdb
I: sn: hardening-no-fortify-functions usr/sbin/snexpire
I: sn: hardening-no-fortify-functions usr/sbin/snfetch
I: sn: hardening-no-fortify-functions usr/sbin/snget
I: sn: hardening-no-fortify-functions usr/sbin/sngetd
I: sn: hardening-no-fortify-functions usr/sbin/snmail
I: sn: hardening-no-fortify-functions usr/sbin/snnewgroup
I: sn: hardening-no-fortify-functions usr/sbin/snntpd.bin
I: sn: hardening-no-fortify-functions usr/sbin/snprimedb
I: sn: hardening-no-fortify-functions usr/sbin/snscan
I: sn: hardening-no-fortify-functions usr/sbin/snsend
I: sn: hardening-no-fortify-functions usr/sbin/snsplit

- https://lintian.debian.org/tags/hardening-no-bindnow.html
I: sn: hardening-no-bindnow usr/sbin/sndelgroup
I: sn: hardening-no-bindnow usr/sbin/sndumpdb
I: sn: hardening-no-bindnow usr/sbin/snexpire
I: sn: hardening-no-bindnow usr/sbin/snfetch
I: sn: hardening-no-bindnow usr/sbin/snget
I: sn: hardening-no-bindnow usr/sbin/sngetd
I: sn: hardening-no-bindnow usr/sbin/snlockf
I: sn: hardening-no-bindnow usr/sbin/snmail
I: sn: hardening-no-bindnow usr/sbin/snnewgroup
I: sn: hardening-no-bindnow usr/sbin/snntpd.bin
I: sn: hardening-no-bindnow usr/sbin/snprimedb
I: sn: hardening-no-bindnow usr/sbin/snscan
I: sn: hardening-no-bindnow usr/sbin/snsend
I: sn: hardening-no-bindnow usr/sbin/snsplit

I: sn: debian-news-entry-uses-asterisk
- https://lintian.debian.org/tags/debian-news-entry-uses-asterisk.html
- https://www.debian.org/doc/manuals/developers-reference/ch06.html#bpp-news-debian

P: sn source: file-contains-trailing-whitespace debian/changelog (line 132)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 133)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 177)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 231)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 262)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 341)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 344)
P: sn source: file-contains-trailing-whitespace debian/changelog (line 352)


P: sn source: no-homepage-field

  - No applicable
P: sn source: debian-watch-does-not-check-gpg-signature

X: sn source: upstream-metadata-file-is-missing


--------------------------------------------------------------------------------

- Site is still present as HTTP but does not respond to HTTPS access attempts.
I: sn source: debian-watch-uses-insecure-uri http://www.iki.fi/patrik/sn/files/sn-(.*).tar.(gz|bz2)
--------------------------------------------------------------------------------

I: sn source: testsuite-autopkgtest-missing

- I've had some ideas about could be done for the issue of not having that yet;
basically having a script that would create a local.test  newsgroup, then post
a msg to it, & then read what was posted. Then add that as the autopkgtest
test script. 

--------------------------------------------------------------------------------


- Public at https://salsa.debian.org/debian/sn

I have been working on the packaging, including resolving the 'serious' bug [1].
However, when attempting to test my progress so far, I've run into
issues with the git respository [2].

When attempting to do a package build from the git repository (using
'gbp'), the build fails with an error message referring a missing file
'patch-stamp', which had apparently been cleaned up at the start of
the build.  Found that the file is indeed in the repository and looks
to have been imported with Debian sn package version 0.3.8-3 some 10
years ago.  I had already found that the so-called 'upstream' branch
also has a 'debian' directory, which is not good for a non-native
package.

Fortunately I do have a clean sn_0.3.8.orig.tar.gz archive so I've
been working around the issue by doing manual test builds using
'debuild'.  That has slowed down working on the package, however...



--------------------------------------------------------------------------------

