apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

Use system Postgres #462

Closed macosforgebot closed 13 years ago

macosforgebot commented 14 years ago

john.holland@… originally submitted this as ticket:398


Distribution specific packages often contain fixes or back ports that address security concerns that may not be fixed upstream for a specific version. To this resolve, I suggest implementing the possibility of configuring and subsequently using a system pre-installed postgres package: this could work analogously to memcached.

macosforgebot commented 14 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:398

macosforgebot commented 13 years ago

@glyph originally submitted this as comment:2:⁠ticket:398


Since the dependency on postgres was introduced, which I believe was in r4947, the build script has done the following test - if ! type postgres > /dev/null 2>&1; - before installing postgres. So I think that this always behaved how you wanted it to.

Plus, if you build and install calendarserver for your distro via setup.py (which is really the recommended way, 'run' is for development, not deployment), you can configure your dependencies however you like.