Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371967 - net-ftp/oftpd-0.3.7-r6: wrong default port in conf.d
Summary: net-ftp/oftpd-0.3.7-r6: wrong default port in conf.d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 21:49 UTC by SpanKY
Modified: 2011-06-17 00:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2011-06-16 21:49:55 UTC
the conf.d for oftpd reads:
# FTPPORT (TCP port)
# 22 is the standard ftp port, but you can change it here to something else
FTPPORT=22

that's just wrong.  22 is the default ssh port.  21 is the default ftp port.

however, i dont think there should be a dedicated var for this.  better to add like "OFTPD_OPTS" var so people can set any of the additional flags and not just have a hardcode for -p.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-06-17 00:35:28 UTC
*oftpd-0.3.7-r7 (17 Jun 2011)

  17 Jun 2011; Michael Weber <xmw@gentoo.org> -oftpd-0.3.7-r6.ebuild,
  +oftpd-0.3.7-r7.ebuild, +files/conf.d.oftpd-r7, +files/init.d.oftpd-r7,
  -files/conf.d.oftpd-r6, -files/init.d.oftpd-r1:
  Revision bump, improvements in the conf.d file, thanks to SpanKY (bug 371967)