Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| bsd.apache.mk [2011/04/22 15:54] – remove false "known issues" OlliHauer | bsd.apache.mk [2012/01/05 23:27] (current) – adjust valid apache versions OlliHauer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Rewrite of bsd.apache.mk ==== | ==== Rewrite of bsd.apache.mk ==== | ||
| - | (Not yet committed, | + | (committed, see PR [[http:// |
| apache13 is already [[http:// | apache13 is already [[http:// | ||
| - | This means apache22 will be the default version as soon apache24 is in the ports tree. | + | <del>This means apache22 will be the default version as soon apache24 is in the ports tree.</ |
| Therefore Mk/ | Therefore Mk/ | ||
| + | |||
| + | === Parameter APACHE_PORT: | ||
| + | The parameter APACHE_PORT is not for usage inside the ports Makefile, it is a user controlled parameter to select the default apache port. | ||
| + | |||
| + | The following example will show how to use this parameter in / | ||
| + | |||
| + | APACHE_PORT= www/ | ||
| + | |||
| + | To get a list of " | ||
| + | $> egrep ' | ||
| + | |||
| + | === Parameters for usage inside a ports Makefile: === | ||
| ^ parameter ^ description ^ | ^ parameter ^ description ^ | ||
| Line 18: | Line 30: | ||
| | USE_APACHE= 22 | specify exact version | | | USE_APACHE= 22 | specify exact version | | ||
| - | | USE_APACHE= | + | | USE_APACHE= |
| - | | USE_APACHE= | + | | USE_APACHE= |
| - | | USE_APACHE= **-**2.2 | specify [max] version, no [min] version | | + | | USE_APACHE= **-**22 | specify [max] version, no [min] version | |
| === Note: === | === Note: === | ||
| - | * Values | + | * In the past Values |
| * If " | * If " | ||
| * Valid version numbers are specified in the variable APACHE_SUPPORTED_VERSION below | * Valid version numbers are specified in the variable APACHE_SUPPORTED_VERSION below | ||
| * The following values for USE_APACHE are reserved and only valid in apache-server ports! | * The following values for USE_APACHE are reserved and only valid in apache-server ports! | ||
| * USE_APACHE= common13, common20, and common22 | * USE_APACHE= common13, common20, and common22 | ||
| - | |||
| - | === Future Improvements: | ||
| - | * New keywords @apadd and @apdel for usage in pkg-plist will be added as feature if the rewritten bsd.apache.mk went into ports/Mk. This is already implemented but not on high priority. | ||
| === Internal Variables to control which apache version will be chosen. === | === Internal Variables to control which apache version will be chosen. === | ||
| - | * DEFAULT_APACHE_VERSION= | + | * DEFAULT_APACHE_VERSION= |
| - | * APACHE_SUPPORTED_VERSION= | + | * APACHE_SUPPORTED_VERSION= |
| As soon apache24 hits the tree this will be changed to | As soon apache24 hits the tree this will be changed to | ||
| * DEFAULT_APACHE_VERSION= | * DEFAULT_APACHE_VERSION= | ||
| - | * APACHE_SUPPORTED_VERSION= | + | * APACHE_SUPPORTED_VERSION= |
| + | |||
| + | Note: apache13 and apache20 is already removed in this example. | ||
| === Note for maintainers and porters === | === Note for maintainers and porters === | ||
| Line 47: | Line 58: | ||
| Many ports don't use apache or apxs during build time, those ports should be changed to use USE_APACHE_RUN instead. | Many ports don't use apache or apxs during build time, those ports should be changed to use USE_APACHE_RUN instead. | ||
| + | |||
| + | === Future Improvements: | ||
| + | * New keywords @apadd and @apdel for usage in pkg-plist will be added as feature if the rewritten bsd.apache.mk went into ports/Mk. This is already implemented but not on high priority. | ||