Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440478 - net-ftp/pure-ftpd-1.0.36: some elog messages should only be shown for the first install.
Summary: net-ftp/pure-ftpd-1.0.36: some elog messages should only be shown for the fir...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2012-10-31 10:59 UTC by poletti.marco
Modified: 2021-04-18 16:19 UTC (History)
1 user (show)

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 poletti.marco 2012-10-31 10:59:06 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-ftp/pure-ftpd-1.0.36, the following elog messages are displayed:

 * 
 * Before starting Pure-FTPd, you have to edit the /etc/conf.d/pure-ftpd file!
 * 
 * It's *really* important to read the README provided with Pure-FTPd!
 * Check out http://download.pureftpd.org/pub/pure-ftpd/doc/README for general info
 * and http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS for SSL/TLS info.
 * 

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'net-ftp/pure-ftpd'; then

See the tracker bug 440214 for more details.
Comment 1 Matthew Smith gentoo-dev 2021-04-18 16:19:44 UTC
pure-ftpd-1.0.49-r2 (oldest version in tree) has [[ -z "${REPLACING_VERSIONS}" ]] check before elog messages.