Package: inn2
Version: 2.5.3-3
Severity: normal

Dear Maintainer,

having done a fresh installation of a new inn2 site, I ran into some
small problems with the default installation concerning actsync and
simpleftp.



  ### symptoms

When actsync tries to get a remote active file via FTP, it breaks with
the error message, that ${exec_prefix}/bin/simpleftp can't be executed.



  ### problem 1:  typo in /usr/lib/news/innshellvars

In /usr/lib/news/innshellvars, $GETFTP is declared like this:
GETFTP='${exec_prefix}/bin/simpleftp'

Because of the '', ${exec_prefix} is not evaluated.
"" should be used instead.



  ### problem 2:  there is no simpleftp

$GETFTP should expand to /usr/lib/news/bin/simpleftp, but the inn2
package does not provide that file.
It does not provide the simpleftp(1) manpage that is referenced by the
actsync(1) and actsyncd(1) manpages, either.

`dpkg -L inn2  | grep simpleftp` comes up empty.



  ### workaround

Adding GETFTP=/usr/bin/wget to /etc/news/innshellvars.local (and
making /etc/news/innshellvars.local executable, as described in the
file) fixes the symptoms. actsync can successfully fetch files via
FTP.



  ### fix

The simpleftp script and simpleftp manpage should be added to the inn2
package.  The GETFTP entry in /usr/lib/news/innshellvars should be
changed to "${exec_prefix}/bin/simpleftp"


Alternatively, the references to the simpleftp manpages could be
removed from actsync(1) and actsyncd(1).  The GETFTP default could be
set to /usr/bin/wget, which seems to be a reasonable replacement for 
simpleftp.  The wget package is already a suggested dependency of the
inn2 package.




Regards,
Christian


-- System Information:

(skipped, as I don't run reportbug on the system in question)

-- debconf information excluded

-- 
....Christian.Garbs.....................................http://www.cgarbs.de

while(!asleep()) sheep++;

Attachment: signature.asc
Description: Digital signature

Reply via email to