Ignore:
Timestamp:
Sep 10, 2013, 4:48:44 AM (6 years ago)
Author:
ryandesign@…
Message:

qpopper: use notes instead of ui_msgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/qpopper/Portfile

    r110916 r110920  
    5151}
    5252
    53 # Tell the user that the server needs to be used through (x)inetd
    54 post-install {
    55     ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on"
    56     ui_msg "what you use on your system.\n"
    57     ui_msg "For inetd, something like:"
    58     ui_msg "pop3  stream  tcp  nowait  root  /usr/libexec/tcpd  ${prefix}/sbin/popper"
    59     ui_msg "should do it.\n"
    60     ui_msg "For xinetd, you'll find in ${prefix}/etc/xinetd.d/"
    61     ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n"
    62     ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n"
    63 }
     53notes "
     54To use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on\
     55what you use on your system.
     56
     57For inetd, something like:
     58pop3  stream  tcp  nowait  root  /usr/libexec/tcpd  ${prefix}/sbin/popper
     59should do it.
     60
     61For xinetd, you'll find in ${prefix}/etc/xinetd.d/\
     62a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/
     63
     64In both cases, don't forget to tell (x)inetd to reload their configuration.
     65"
    6466
    6567platform darwin {
     
    7678    }
    7779
    78     post-install {
    79         ui_msg "For launchd, you'll find in ${prefix}/Library/LaunchDaemons/ a file called org.macports.mail.qpopper.plist-dist that you should edit and copy to /Library/LaunchDaemons/"
    80     }
     80    notes-append "
     81    For launchd, you'll find in ${prefix}/Library/LaunchDaemons/\
     82    a file called org.macports.mail.qpopper.plist-dist that you should edit and copy to /Library/LaunchDaemons/
     83    "
    8184}
    8285
     
    8689    configure.args-append   --with-openssl=${prefix}
    8790
    88     post-install {
    89         ui_msg "To get TLS/SSL working, you need to setup certificates."
    90         ui_msg "Cf: http://www.eudora.com/qpopper/faq.html#tls"
    91     }
     91    notes-append "
     92    To get TLS/SSL working, you need to set up certificates.\
     93    Cf: http://www.eudora.com/qpopper/faq.html#tls
     94    "
    9295}
    9396
     
    103106    configure.args-append   --with-pam=pop3
    104107
    105     post-install {
    106         ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to"
    107         ui_msg " /etc/pam.d/pop3, or use another config with pam_securityserver.so."
    108     }
     108    notes-append "
     109    Additionally, for PAM, you need to copy /etc/pam.d/sshd to\
     110    /etc/pam.d/pop3, or use another config with pam_securityserver.so.
     111    "
    109112}
    110113
Note: See TracChangeset for help on using the changeset viewer.