Changeset 78213


Ignore:
Timestamp:
Apr 28, 2011, 4:35:00 PM (6 years ago)
Author:
jmr@…
Message:

proftpd: don't turn off tls when mysql is turned on (#24226)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/proftpd/Portfile

    r73801 r78213  
    55name                proftpd
    66version             1.3.3c
    7 revision            0
     7revision            1
    88categories          net
    99maintainers         jinhyung.org:jenix
    10 description         Highly configurable ftp-server. 
     10description         Highly configurable ftp-server.
    1111long_description    ProFTPD is a highly configurable ftp daemon for unix \
    1212                    and unix-like operating systems. ProFTPD is designed \
    1313                    to be somewhat of a "drop-in" replacement for wu-ftpd \
    14                     with a configuration format like Apache.   
     14                    with a configuration format like Apache.
    1515homepage            http://www.proftpd.org
    1616platforms           darwin freebsd
     
    2626                    rmd160 08a6fac94aa3449192e92848c6271cca33ea26cc
    2727                   
    28 depends_lib         port:openssl               
     28depends_lib         port:openssl
    2929use_bzip2           yes
    3030
    3131configure.args      --sysconfdir=${prefix}/etc --localstatedir=${prefix}/var/run \
    32                     --mandir=${prefix}/share/man install_user=`id -u` install_group=`id -g` \
    33                     --with-modules=mod_tls
     32                    --mandir=${prefix}/share/man install_user=`id -u` install_group=`id -g`
     33
     34# only one --with-modules arg can be used
     35set modules mod_tls
     36pre-configure {
     37    configure.args-append --with-modules=[join $modules :]
     38}
    3439
    3540pre-destroot {
    36     reinplace "s|nogroup|nobody|g" ${worksrcpath}/sample-configurations/basic.conf 
     41    reinplace "s|nogroup|nobody|g" ${worksrcpath}/sample-configurations/basic.conf
    3742    xinstall -m 755 -d ${destroot}${prefix}/var/run/proftpd
    3843    system "touch ${destroot}${prefix}/var/run/proftpd/proftpd.scoreboard"
    3944}
    4045
    41 variant mysql4 description {Build with mysql4 support} {   
     46variant mysql4 conflicts mysql5 description {Build with mysql4 support} {
    4247    depends_lib-append      port:mysql4
    43     configure.args-append   --with-modules=mod_sql:mod_sql_mysql \
    44                 --with-includes=${prefix}/include/mysql \
    45                 --with-libraries=${prefix}/lib/mysql
     48    configure.args-append   --with-includes=${prefix}/include/mysql \
     49                --with-libraries=${prefix}/lib/mysql
     50    lappend modules mod_sql mod_sql_mysql
    4651}
    4752
    48 variant mysql5 description {Build with mysql5 support} {
     53variant mysql5 conflicts mysql4 description {Build with mysql5 support} {
    4954    depends_lib-append   path:bin/mysql_config5:mysql5
    50     configure.args-append   --with-modules=mod_sql:mod_sql_mysql \
    51                 --with-includes=${prefix}/include/mysql5/mysql \
    52                 --with-libraries=${prefix}/lib/mysql5/mysql
     55    configure.args-append   --with-includes=${prefix}/include/mysql5/mysql \
     56                --with-libraries=${prefix}/lib/mysql5/mysql
     57    lappend modules mod_sql mod_sql_mysql
    5358}
    5459
Note: See TracChangeset for help on using the changeset viewer.