Ticket #1089: qpopper.diff

File qpopper.diff, 2.9 KB (added by pguyot (Paul Guyot), 21 years ago)

cvs diff for qpopper to fix the trunk and adding various ui_msgs for the variants.

  • Portfile

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/qpopper/Portfile,v
    retrieving revision 1.5
    diff -u -r1.5 Portfile
     
    33PortSystem 1.0
    44name            qpopper
    55version         4.0.5
    6 revision        3
     6revision        4
    77categories      mail
    88maintainers     pguyot@kallisys.net
    99description     Eudora POP3 mail server
     
    1818                ftp://ftp.nctu.edu.tw/network/mail/qpopper/
    1919checksums       md5 e00853280c9e899711f0b0239d3d8f86
    2020worksrcdir      ${portname}${portversion}
    21 patchfiles      patch-Makefile.in
     21patchfiles      patch-Makefile.in patch-pop_pass.c
    2222
    23 configure.args  --mandir=${prefix}/share/man --with-pam=pop3
     23configure.args  --mandir=${prefix}/share/man
    2424destroot.destdir        prefix=${destroot}/${prefix} mandir=${destroot}/${prefix}/share/man
    2525
    2626pre-destroot {  system "install -d ${destroot}${prefix}/etc/xinetd.d"
     
    4242}
    4343
    4444variant darwin {
     45        configure.args-append --enable-specialauth
    4546        patchfiles-append patch-configure
    46         configure.env   CPPFLAGS="-I${workpath}/paminclude" CFLAGS="-I${workpath}/paminclude"
    4747
    4848        post-extract    {
    4949                system "rm '${worksrcpath}/INSTALL'"
    50                 system "mkdir -p ${workpath}/paminclude"
    51                 system "ln -s /usr/include/pam ${workpath}/paminclude/security"
    5250        }
    5351}
    5452
    5553variant ssl {
    5654        configure.args-append   --with-openssl=${prefix}
    5755        depends_lib-append      lib:libssl.0:openssl
     56       
     57        post-install {
     58                ui_msg "To get TLS/SSL working, you need to setup certificates."
     59                ui_msg "Cf: http://www.eudora.com/qpopper/faq.html#tls"         
     60        }
     61}
     62
     63variant pam {
     64        configure.env   CPPFLAGS="-I${workpath}/paminclude" CFLAGS="-I${workpath}/paminclude"
     65        configure.args-append   --with-pam=pop3
     66        post-install {
     67                ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to"
     68                ui_msg " /etc/pam.d/pop3, or use another config with pam_securityserver.so."
     69        }
     70
     71        post-extract    {
     72                system "mkdir -p ${workpath}/paminclude"
     73                system "ln -s /usr/include/pam ${workpath}/paminclude/security"
     74        }
    5875}
  • files/patch-configure

    RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/qpopper/files/patch-configure,v
    retrieving revision 1.1
    diff -u -r1.1 patch-configure
     
    1 --- configure.orig      Thu Oct 23 19:00:02 2003
    2 +++ configure   Thu Oct 23 19:00:28 2003
    3 @@ -4324,7 +4324,7 @@
     1--- configure.orig      Wed Feb  5 04:06:30 2003
     2+++ configure   Thu Nov 13 17:21:14 2003
     3@@ -4324,11 +4324,12 @@
    44           cc -v 2> TMP_CC_V
    55           if grep -i "Apple" TMP_CC_V >/dev/null
    66           then
     
    99           fi
    1010           rm -f TMP_CC_V
    1111           AR_FLAG=" -r "
     12           RANLIB_CMD=" \${RANLIB} \$@"
     13+          LDFLAGS="$LDFLAGS -framework DirectoryService"
     14 
     15           ;;
     16