| Summary: | [patch] mail/dovecot2 rc script change test -f to test -s | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Olli Hauer <ohauer> | ||||
| Component: | Individual Port(s) | Assignee: | Adam Weinberger <adamw> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | Keywords: | patch | ||||
| Priority: | --- | Flags: | adamw:
maintainer-feedback+
|
||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Seems like a good idea, please commit this! A commit references this bug: Author: ohauer Date: Sun Sep 18 16:38:28 UTC 2016 New revision: 422397 URL: https://svnweb.freebsd.org/changeset/ports/422397 Log: - test config file with param '-s' instead '-f' PR: 212788 Submitted by: ohauer Reviewed by: adamw Approved by: adamw (maintainer) Changes: head/mail/dovecot2/files/dovecot.in Committed! Please bump PORTREVISION too. A commit references this bug: Author: ohauer Date: Sun Sep 18 16:46:57 UTC 2016 New revision: 422399 URL: https://svnweb.freebsd.org/changeset/ports/422399 Log: - bump PORTREVISION PR: 212788 Changes: head/mail/dovecot2/Makefile head/mail/dovecot2-antispam-plugin/Makefile head/mail/dovecot2-pigeonhole/Makefile |
Created attachment 174903 [details] better test parameter The rc script should not only check if a config file is available but also if it is empty. To reach this change the test clause from "-f" to "-s". Sure this will not guaranty the config contains useful information but prevents dovecot to start with an empty config file