Ticket #24395: patch

File patch, 1.5 KB (added by dev@…, 15 years ago)

Proftpd patch to support PostgreSQL and SSL/TLS

  • /

    old new  
    33PortSystem          1.0
    44
    55name                proftpd
    6 version             1.3.2c
     6version             1.3.2c_p0
    77categories          net
    88maintainers         jinhyung.org:jenix
    99description         Highly configurable ftp-server.
     
    2929
    3030configure.args      --sysconfdir=${prefix}/etc --localstatedir=${prefix}/var/run \
    3131                    --mandir=${prefix}/share/man install_user=`id -u` install_group=`id -g` \
    32                     --with-modules=mod_tls
    3332
    3433pre-destroot {
    3534    reinplace "s|nogroup|nobody|g" ${worksrcpath}/sample-configurations/basic.conf
     
    5150                --with-libraries=${prefix}/lib/mysql5/mysql
    5251}
    5352
     53variant postgresql84_with_mod_quotatab_sql_with_mod_tls description {Build with PostgreSQL84 backend, SQL quota and TLS support} {
     54    depends_lib-append      port:postgresql84
     55    configure.args-append   --with-modules=mod_tls:mod_sql:mod_sql_postgres:mod_quotatab:mod_quotatab_sql \
     56                --with-includes=${prefix}/include/postgresql84:${prefix}/include/openssl \
     57                --with-libraries=${prefix}/lib/postgresql84:${prefix}/lib
     58}
     59
    5460startupitem.create  yes
    5561startupitem.start   "${prefix}/sbin/proftpd"
    5662startupitem.restart "/bin/kill -HUP \$(/bin/cat ${prefix}/var/run/proftpd.pid)"