Ignore:
Timestamp:
Sep 11, 2013, 3:59:19 PM (6 years ago)
Author:
pixilla@…
Message:

_resources/port1.0/group:

  • Match namespace to portgroup name.

www/apache24-devel:

  • Update portgroup namespace and revbump.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/apache2-1.0.tcl

    r110954 r110959  
    77# values to be used in eg configuration files
    88#
    9 options apache.prefix
    10 default apache.prefix           {"${prefix}"}
    11 options apache.exec_prefix
    12 default apache.exec_prefix      {"${apache.prefix}"}
    13 options apache.name
    14 default apache.name             {"${name}"}
    15 options apache.exec_name
    16 default apache.exec_name        {"httpd"}
    17 options apache.bindir
    18 default apache.bindir           {"${apache.exec_prefix}/bin"}
    19 options apache.sbindir
    20 default apache.sbindir          {"${apache.exec_prefix}/sbin"}
    21 options apache.libdir
    22 default apache.libdir           {"${apache.exec_prefix}/lib/${apache.name}"}
    23 options apache.libexecdir
    24 default apache.libexecdir       {"${apache.libdir}/modules"}
    25 options apache.mandir
    26 default apache.mandir           {"${apache.prefix}/share/${apache.name}/man"}
    27 options apache.sysconfdir
    28 default apache.sysconfdir       {"${apache.prefix}/etc/${apache.name}"}
    29 options apache.datadir
    30 default apache.datadir          {"${apache.prefix}/www/${apache.name}"}
    31 options apache.installbuilddir
    32 default apache.installbuilddir  {"${apache.datadir}/build"}
    33 options apache.errordir
    34 default apache.errordir         {"${apache.datadir}/error"}
    35 options apache.iconsdir
    36 default apache.iconsdir         {"${apache.datadir}/icons"}
    37 options apache.htdocsdir
    38 default apache.htdocsdir        {"${apache.datadir}/html"}
    39 options apache.manualdir
    40 default apache.manualdir        {"${apache.datadir}/manual"}
    41 options apache.cgidir
    42 default apache.cgidir           {"${apache.datadir}/cgi-bin"}
    43 options apache.includedir
    44 default apache.includedir       {"${apache.prefix}/include/${apache.name}"}
    45 options apache.localstatedir
    46 default apache.localstatedir    {"${apache.prefix}/var"}
    47 options apache.runtimedir
    48 default apache.runtimedir       {"${apache.localstatedir}/run/${apache.name}"}
    49 options apache.logfiledir
    50 default apache.logfiledir       {"${apache.localstatedir}/log/${apache.name}"}
    51 options apache.proxycachedir
    52 default apache.proxycachedir    {"${apache.localstatedir}/tmp/${apache.name}"}
     9options apache2.prefix
     10default apache2.prefix          {"${prefix}"}
     11options apache2.exec_prefix
     12default apache2.exec_prefix     {"${apache2.prefix}"}
     13options apache2.name
     14default apache2.name            {"${name}"}
     15options apache2.exec_name
     16default apache2.exec_name       {"httpd"}
     17options apache2.bindir
     18default apache2.bindir          {"${apache2.exec_prefix}/bin"}
     19options apache2.sbindir
     20default apache2.sbindir         {"${apache2.exec_prefix}/sbin"}
     21options apache2.libdir
     22default apache2.libdir          {"${apache2.exec_prefix}/lib/${apache2.name}"}
     23options apache2.libexecdir
     24default apache2.libexecdir      {"${apache2.libdir}/modules"}
     25options apache2.mandir
     26default apache2.mandir          {"${apache2.prefix}/share/${apache2.name}/man"}
     27options apache2.docdir
     28default apache2.docdir          {"${apache2.prefix}/share/doc/${apache2.name}"}
     29options apache2.sysconfdir
     30default apache2.sysconfdir      {"${apache2.prefix}/etc/${apache2.name}"}
     31options apache2.datadir
     32default apache2.datadir         {"${apache2.prefix}/www/${apache2.name}"}
     33options apache2.installbuilddir
     34default apache2.installbuilddir {"${apache2.datadir}/build"}
     35options apache2.errordir
     36default apache2.errordir        {"${apache2.datadir}/error"}
     37options apache2.iconsdir
     38default apache2.iconsdir        {"${apache2.datadir}/icons"}
     39options apache2.htdocsdir
     40default apache2.htdocsdir       {"${apache2.datadir}/html"}
     41options apache2.manualdir
     42default apache2.manualdir       {"${apache2.datadir}/manual"}
     43options apache2.cgidir
     44default apache2.cgidir          {"${apache2.datadir}/cgi-bin"}
     45options apache2.includedir
     46default apache2.includedir      {"${apache2.prefix}/include/${apache2.name}"}
     47options apache2.localstatedir
     48default apache2.localstatedir   {"${apache2.prefix}/var"}
     49options apache2.runtimedir
     50default apache2.runtimedir      {"${apache2.localstatedir}/run/${apache2.name}"}
     51options apache2.logfiledir
     52default apache2.logfiledir      {"${apache2.localstatedir}/log/${apache2.name}"}
     53options apache2.proxycachedir
     54default apache2.proxycachedir   {"${apache2.localstatedir}/tmp/${apache2.name}"}
    5355
    54 options apache.user
    55 default apache.user             {"_www"}
    56 options apache.group
    57 default apache.group            {"_www"}
     56options apache2.user
     57default apache2.user            {"_www"}
     58options apache2.group
     59default apache2.group           {"_www"}
    5860
    5961# General settings
    60 options apache.listen_ports
    61 default apache.listen_ports     {{80 443}}
    62 options apache.contact
    63 default apache.contact          {"ops@example.com"}
    64 options apache.timeout
    65 default apache.timeout          {300}
    66 options apache.keepalive
    67 default apache.keepalive        {"On"}
    68 set apache(keepaliverequests)   100
    69 options apache.keepalivetimeout
    70 default apache.keepalivetimeout {5}
     62options apache2.listen_ports
     63default apache2.listen_ports    {{80 443}}
     64options apache2.contact
     65default apache2.contact         {"ops@example.com"}
     66options apache2.timeout
     67default apache2.timeout         {300}
     68options apache2.keepalive
     69default apache2.keepalive       {"On"}
     70options apache2.keepaliverequests
     71default apache2.keepaliverequests   {100}
     72options apache2.keepalivetimeout
     73default apache2.keepalivetimeout    {5}
    7174
    7275# Security
    73 options apache.servertokens
    74 default apache.servertokens     {"Prod"}
    75 options apache.serversignature
    76 default apache.serversignature {"On"}
    77 options apache.traceenable
    78 default apache.traceenable      {"On"}
     76options apache2.servertokens
     77default apache2.servertokens    {"Prod"}
     78options apache2.serversignature
     79default apache2.serversignature {"On"}
     80options apache2.traceenable
     81default apache2.traceenable     {"On"}
    7982
    8083# mod_auth_openids
    81 options apache.allowed_openids
    82 default apache.allowed_openids {""}
     84options apache2.allowed_openids
     85default apache2.allowed_openids {""}
    8386
    8487# Prefork Attributes
    85 options apache.prefork.startservers
    86 default apache.prefork.startservers     {16}
    87 options apache.prefork.minspareservers
    88 default apache.prefork.minspareservers {16}
    89 options apache.prefork.maxspareservers
    90 default apache.prefork.maxspareservers {32}
    91 options apache.prefork.serverlimit
    92 default apache.prefork.serverlimit      {400}
    93 options apache.prefork.maxclients
    94 default apache.prefork.maxclients       {400}
    95 options apache.prefork.threadsperchild
    96 default apache.prefork.threadsperchild {10000}
     88options apache2.prefork.startservers
     89default apache2.prefork.startservers    {16}
     90options apache2.prefork.minspareservers
     91default apache2.prefork.minspareservers {16}
     92options apache2.prefork.maxspareservers
     93default apache2.prefork.maxspareservers {32}
     94options apache2.prefork.serverlimit
     95default apache2.prefork.serverlimit     {400}
     96options apache2.prefork.maxclients
     97default apache2.prefork.maxclients      {400}
     98options apache2.prefork.threadsperchild
     99default apache2.prefork.threadsperchild {10000}
    97100
    98101# Worker Attributes
    99 options apache.worker.startservers
    100 default apache.worker.startservers     {4}
    101 options apache.worker.maxclients
    102 default apache.worker.maxclients       {1024}
    103 options apache.worker.minsparethreads
    104 default apache.worker.minsparethreads {64}
    105 options apache.worker.maxsparethreads
    106 default apache.worker.maxsparethreads {192}
    107 options apache.worker.threadsperchild
    108 default apache.worker.threadsperchild {64}
     102options apache2.worker.startservers
     103default apache2.worker.startservers    {4}
     104options apache2.worker.maxclients
     105default apache2.worker.maxclients      {1024}
     106options apache2.worker.minsparethreads
     107default apache2.worker.minsparethreads {64}
     108options apache2.worker.maxsparethreads
     109default apache2.worker.maxsparethreads {192}
     110options apache2.worker.threadsperchild
     111default apache2.worker.threadsperchild {64}
    109112
    110113# Default modules to enable via include_recipe
     
    122125#
    123126proc apxsInstall { moduleName activate dylibs } {
    124     global apache destroot prefix
     127    global apache2 destroot prefix
    125128
    126     xinstall -m 0755 -d -W ${destroot}${apache.sysconfdir} \
    127         mods-available  mods-enabled
     129    xinstall -m 0755 -d -W ${destroot}${apache2.sysconfdir} \
     130    mods-available  mods-enabled
    128131
    129132    # strip pre-/suffix from moduleName
     
    131134    set moduleName [regsub {mod_}    ${moduleName} "" ]
    132135
    133     set  loadFileName   ${apache.sysconfdir}/mods-available/${moduleName}.load
     136    set  loadFileName   ${apache2.sysconfdir}/mods-available/${moduleName}.load
    134137    set  loadFile       [open ${loadFileName} w 644]
    135138
     
    139142    }
    140143
    141     puts  ${loadFile} "LoadModule ${moduleName}_module ${apache.libexecdir}/mod_${moduleName}.so"
     144    puts  ${loadFile} "LoadModule ${moduleName}_module ${apache2.libexecdir}/mod_${moduleName}.so"
    142145
    143146    close ${loadFile}
    144147
    145148    if { ${activate} == "yes" } {
    146             exec "${apache.sbindir}/a2enmod" ${moduleName}
     149        exec "${apache2.sbindir}/a2enmod" ${moduleName}
    147150    }
    148 
    149151}
Note: See TracChangeset for help on using the changeset viewer.