Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440478

Summary: net-ftp/pure-ftpd-1.0.36: some elog messages should only be shown for the first install.
Product: Gentoo Linux Reporter: poletti.marco
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: net-ftp
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

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.