Created attachment 143713 [details] Update mail/davmail to 4.5.0 The attached patch update mail/davmail to 4.5.0. Also, it does: - Fix rc script to properly start and stop. - Install a real sample file for davmail.properties. - Fix a minor typo in the sample file. - Use @sample for plist instead of rolling our own.
Notify maintainer.
submitter is committer
A commit references this bug: Author: jkim Date: Mon Jun 30 17:52:28 UTC 2014 New revision: 359893 URL: http://svnweb.freebsd.org/changeset/ports/359893 Log: - Update to 4.5.0. - Fix rc script to properly start and stop. - Install a real sample file for davmail.properties. - Fix a minor typo in the sample file. - Use @sample for plist instead of rolling our own. PR: 190973 Approved by: john.c.prather@gmail.com (maintainer, timeout > 2 weeks) Changes: head/mail/davmail/Makefile head/mail/davmail/distinfo head/mail/davmail/files/davmail.in head/mail/davmail/files/davmail.properties.sample head/mail/davmail/files/davmail.sh.in head/mail/davmail/files/patch-src__etc__davmail.properties head/mail/davmail/pkg-plist
jkim, Thanks for the changes. A couple comments (not meriting a new bug report I think, so I'll hijack this one for the moment). How was the previous start & stop failing? It was working for me in the normal use cases I tested, so I'm curious what the failure mode was. I think '%%PREFIX%%/bin/java' in davmail.in (and davmail.sh.in) should be '%%LOCALBASE%%/bin/java', or better IMO, just 'java' and let PATH find it. But java is not necessarily installed in davmail's PREFIX.
(In reply to John Hein from comment #4) > How was the previous start & stop failing? It was working for me in the > normal use cases I tested, so I'm curious what the failure mode was. > > I think '%%PREFIX%%/bin/java' in davmail.in (and davmail.sh.in) should be > '%%LOCALBASE%%/bin/java', or better IMO, just 'java' and let PATH find it. > But java is not necessarily installed in davmail's PREFIX. 'java' cannot start because /usr/local/bin is not in PATH, i.e., % grep PATH /etc/rc PATH=/sbin:/bin:/usr/sbin:/usr/bin export HOME PATH Therefore, it has to be prefixed. I agree that %%LOCALBASE%% is better, though. I'll do that now.
Okay, thanks. You're right re: PATH, of course. I had a forgotten local mod that added to that basic PATH.