| Summary: | net-irc/quassel: improve init script so that IPv6 installations actually work | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | Tomáš Chvátal (RETIRED) <scarabeus> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | patrick, sputnick |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch | ||
Okay this was committed. |
Created attachment 283891 [details] Patch The current init scripts re-writes the default LISTEN and PORT values when there is no real reason to do so: if the user leaves them unset, just don't pass any to quassel and use defaults. This is important for LISTEN because Quassel's real default is "0.0.0.0, [::]" while the default that gets forced by the init script is 0.0.0.0 only, meaning that it won't listen on IPv6 sockets at all. The attached patch makes use of ${:+} to avoid passing --listen and --port when the variables are unset. While port was unnecessary it looked nicer of the two were handled the same way. Thanks, Diego