Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182906 - pure-ftpd-1.0.21-r1 should depend on virtual/inetd
Summary: pure-ftpd-1.0.21-r1 should depend on virtual/inetd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 16:39 UTC by Ole Christensen
Modified: 2008-04-18 10:50 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 Ole Christensen 2007-06-22 16:39:44 UTC
Ebuild 1.0.21-r1 introduces a use flags xinetd. If it is not set, it sets a configure option which disables pure-ftpd's capability to be started by xinetd. Unfortunately I don't use xinetd but still the good old inetd (Ok, this is rather ancient, but I am used to it for more than 15 years now). I would appreciate, if you could split the xinetd use flag into two flags. One for actual support of xinetd (enables install into /etc/xinetd.d and enables a dependency on xinetd) and another for pure-ftpd to support launching by (x)inetd.

I could understand if you liked to drop support for inetd, but it very inconvenient for me to move all the inetd stuff to xinetd. Thanks for your understanding!

I currently use a mask >=pure-ftpd-1.0.21. That'll work until 1.0.20 goes away.

Please come back to me whenever you need additional info or have any questions.


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge pure-ftpd
3. ftp localhost (with pure-ftpd started by inetd)

Actual Results:  
Some stupid kind of error returned to the ftp client. Sorry, I forgot the actual message.


Expected Results:  
Guess?!


I also always need CFLAGS="-DANON_CAN_CHANGE_PERMS -DANON_CAN_DELETE -DANON_CAN_RESUME -DANON_CAN_RENAME" when emerging pure-ftpd. Wouldn't it be a good idea to add another useflag for this stuff? Ok, I maybe should file another issue for this.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-22 16:52:42 UTC
We definitely won't be splitting flags for such stuff; stick sys-apps/xinetd to package.provided if you dislike the dependency or we can change it to virtual/inetd
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2008-04-18 10:50:26 UTC
The dependency was changed to virtual/inetd, so it should now correctly work for you using the old inetd. A few USE flags were also added to pure-ftpd-1.0.21-r1 to  control the ANON_* features.
Best regards, CHTEKK.