Bastian Kleineidam wrote:
> Package: lighttpd
> Version: 1.4.18-1
> Followup-For: Bug #383425
>
> Hi,
>
> here is a little perl script that checks if a port is already used
> by trying to bind() to it. I propose in the postinst you do:
>
> if fresh_install:
> if port 80 is taken (by using the supplied script):
> ask debconf question for alternative port number
> configure alternative port number
> start lighttpd
>
> The debconf question might look like:
>
> Port number to start lighttpd under
> The standard HTTP server port 80 seems to be occupied by another
> program. In order to start lighttpd you have to choose an alternative
> port number, eg. port 81.
>
>
> This way users can install apache, and then lighttpd without conflicts.
Nice one. I'll try to put this in package.
eloy
--
[EMAIL PROTECTED]
jak to dobrze, ¿e s± oceany - bez nich by³oby jeszcze smutniej