Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pure-ftpd: fix launchd plist #20124

Merged
merged 2 commits into from Nov 3, 2017

Conversation

uriahcarpenter
Copy link
Contributor

Correct or document several install issues with pure-ftpd

  • plist requires each argument be added as an individual element [1]
  • add default users database location to plist configration [2]
  • document that service must be started as root [3]
  • replace short - arguments in plist with equivalent long -- arguments for better readability [4]

[1] https://apple.stackexchange.com/questions/284209/having-trouble-configuring-homebrew-to-run-pure-ftpd-as-a-service
[2] https://github.com/jedisct1/pure-ftpd/issues/39
[3] https://github.com/jedisct1/pure-ftpd/issues/38
[4] https://download.pureftpd.org/pub/pure-ftpd/doc/README


  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Correct or document several install issues with pure-ftpd

 - plist requires each argument be added as an individual element [1]
 - add default users database location to plist configration [2]
 - document that service must be started as root [3]
 - `-` arguments replaced in plist with equivalent `--` arguments for better readability

[1] https://apple.stackexchange.com/questions/284209/having-trouble-configuring-homebrew-to-run-pure-ftpd-as-a-service
[2] https://github.com/jedisct1/pure-ftpd/issues/39
[3] https://github.com/jedisct1/pure-ftpd/issues/38
@uriahcarpenter uriahcarpenter changed the title pure-ftpd fix launchd plist pure-ftpd: fix launchd plist Nov 1, 2017
@@ -40,6 +40,16 @@ def install
system "make", "install"
end

def caveats
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We prefer not to add new caveats to formulae, since they become outdated quickly and add to maintenance overhead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed caveat block.

Copy link
Contributor Author

@uriahcarpenter uriahcarpenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revised PR per your request.

@woodruffw
Copy link
Member

Revised PR per your request.

Thanks!

@ilovezfs ilovezfs merged commit d071a56 into Homebrew:master Nov 3, 2017
@ilovezfs
Copy link
Contributor

ilovezfs commented Nov 3, 2017

Thanks for your first contribution to Homebrew, @uriahcarpenter!

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants