[110916] trunk/dports/mail/qpopper/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 9 20:06:13 PDT 2013
Revision: 110916
https://trac.macports.org/changeset/110916
Author: ryandesign at macports.org
Date: 2013-09-09 20:06:12 -0700 (Mon, 09 Sep 2013)
Log Message:
-----------
qpopper: whitespace changes and reformatting; add modeline
Modified Paths:
--------------
trunk/dports/mail/qpopper/Portfile
Modified: trunk/dports/mail/qpopper/Portfile
===================================================================
--- trunk/dports/mail/qpopper/Portfile 2013-09-09 23:05:11 UTC (rev 110915)
+++ trunk/dports/mail/qpopper/Portfile 2013-09-10 03:06:12 UTC (rev 110916)
@@ -1,100 +1,113 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name qpopper
-version 4.0.9
-categories mail
-platforms darwin
-license BSD
-maintainers nomaintainer
-description Eudora POP3 mail server
-long_description popper is Eudora's POP3 mail server. It does not include a mail \
- transfer agent or an SMTP server, it just let you get your mail stored \
- on the machine via POP3.
-homepage http://www.eudora.com/products/unsupported/qpopper/
-distfiles ${name}${version}${extract.suffix}
-master_sites http://www.ring.gr.jp/archives/net/mail/qpopper/ \
- ftp://ftp.nctu.edu.tw/network/mail/qpopper/ \
- ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
-checksums md5 de2cd15f95cfd00d0d080fd16287acad \
- rmd160 b48a68cd9e282bfb3d78c6b53f3dee7c97bdf77d \
- sha1 5629aa86d92fe10565021980882dffb733ce73d9
-worksrcdir ${name}${version}
-patchfiles patch-Makefile.in patch-popper-Makefile.in
-configure.args --mandir=${prefix}/share/man \
- --without-pam
-destroot.destdir prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man
+PortSystem 1.0
+name qpopper
+version 4.0.9
+categories mail
+platforms darwin
+maintainers nomaintainer
+license BSD
+
+description Eudora POP3 mail server
+
+long_description popper is Eudora's POP3 mail server. It does not include a mail \
+ transfer agent or an SMTP server, it just let you get your mail stored \
+ on the machine via POP3.
+
+homepage http://www.eudora.com/products/unsupported/qpopper/
+distfiles ${name}${version}${extract.suffix}
+master_sites http://www.ring.gr.jp/archives/net/mail/qpopper/ \
+ ftp://ftp.nctu.edu.tw/network/mail/qpopper/ \
+ ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
+
+checksums md5 de2cd15f95cfd00d0d080fd16287acad \
+ sha1 5629aa86d92fe10565021980882dffb733ce73d9 \
+ rmd160 b48a68cd9e282bfb3d78c6b53f3dee7c97bdf77d
+
+worksrcdir ${name}${version}
+
+patchfiles patch-Makefile.in patch-popper-Makefile.in
+
post-patch {
- reinplace "s|@@INSTALL.USER@@|${install.user}|g" \
- ${worksrcpath}/Makefile.in
- reinplace "s|@@INSTALL.USER@@|${install.user}|g" \
- ${worksrcpath}/popper/Makefile.in
+ reinplace "s|@@INSTALL.USER@@|${install.user}|g" \
+ ${worksrcpath}/Makefile.in \
+ ${worksrcpath}/popper/Makefile.in
}
+configure.args --mandir=${prefix}/share/man \
+ --without-pam
+
+destroot.destdir prefix=${destroot}${prefix} \
+ mandir=${destroot}${prefix}/share/man
+
pre-destroot {
- xinstall -d ${destroot}${prefix}/etc/xinetd.d
- xinstall -o ${install.user} -m 755 -c ${portpath}/files/qpopper-dist \
- ${destroot}${prefix}/etc/xinetd.d/
- reinplace "s|@@PREFIX@@|${prefix}|g" \
- ${destroot}${prefix}/etc/xinetd.d/qpopper-dist
+ xinstall -d ${destroot}${prefix}/etc/xinetd.d
+ xinstall -o ${install.user} -m 755 -c ${portpath}/files/qpopper-dist \
+ ${destroot}${prefix}/etc/xinetd.d/
+ reinplace "s|@@PREFIX@@|${prefix}|g" \
+ ${destroot}${prefix}/etc/xinetd.d/qpopper-dist
}
# Tell the user that the server needs to be used through (x)inetd
post-install {
- ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on"
- ui_msg "what you use on your system.\n"
- ui_msg "For inetd, something like:"
- ui_msg "pop3 stream tcp nowait root /usr/libexec/tcpd ${prefix}/sbin/popper"
- ui_msg "should do it.\n"
- ui_msg "For xinetd, you'll find in ${prefix}/etc/xinetd.d/"
- ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n"
- ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n"
+ ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on"
+ ui_msg "what you use on your system.\n"
+ ui_msg "For inetd, something like:"
+ ui_msg "pop3 stream tcp nowait root /usr/libexec/tcpd ${prefix}/sbin/popper"
+ ui_msg "should do it.\n"
+ ui_msg "For xinetd, you'll find in ${prefix}/etc/xinetd.d/"
+ ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n"
+ ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n"
}
platform darwin {
- configure.args-append --enable-specialauth
- configure.ldflags "-framework DirectoryService"
- patchfiles-append patch-pop_pass.c
+ configure.args-append --enable-specialauth
+ configure.ldflags "-framework DirectoryService"
+ patchfiles-append patch-pop_pass.c
- pre-destroot {
- xinstall -d ${destroot}${prefix}/Library/LaunchDaemons/
- xinstall -o ${install.user} -m 755 -c ${portpath}/files/org.macports.mail.qpopper.plist-dist \
- ${destroot}${prefix}/Library/LaunchDaemons/
- reinplace "s|@@PREFIX@@|${prefix}|g" \
- ${destroot}${prefix}/Library/LaunchDaemons/org.macports.mail.qpopper.plist-dist
- }
- post-install {
- 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/"
- }
+ pre-destroot {
+ xinstall -d ${destroot}${prefix}/Library/LaunchDaemons/
+ xinstall -o ${install.user} -m 755 -c ${portpath}/files/org.macports.mail.qpopper.plist-dist \
+ ${destroot}${prefix}/Library/LaunchDaemons/
+ reinplace "s|@@PREFIX@@|${prefix}|g" \
+ ${destroot}${prefix}/Library/LaunchDaemons/org.macports.mail.qpopper.plist-dist
+ }
+
+ post-install {
+ 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/"
+ }
}
variant ssl {
- configure.args-append --with-openssl=${prefix}
- depends_lib-append lib:libssl.0:openssl
-
- post-install {
- ui_msg "To get TLS/SSL working, you need to setup certificates."
- ui_msg "Cf: http://www.eudora.com/qpopper/faq.html#tls"
- }
+ depends_lib-append lib:libssl.0:openssl
+
+ configure.args-append --with-openssl=${prefix}
+
+ post-install {
+ ui_msg "To get TLS/SSL working, you need to setup certificates."
+ ui_msg "Cf: http://www.eudora.com/qpopper/faq.html#tls"
+ }
}
variant pam {
- configure.cppflags "-I${workpath}/paminclude"
- configure.cflags "-I${workpath}/paminclude"
- configure.args-delete --without-pam
- configure.args-append --with-pam=pop3
- post-install {
- ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to"
- ui_msg " /etc/pam.d/pop3, or use another config with pam_securityserver.so."
- }
+ post-extract {
+ system "mkdir -p ${workpath}/paminclude"
+ system "ln -s /usr/include/pam ${workpath}/paminclude/security"
+ }
- post-extract {
- system "mkdir -p ${workpath}/paminclude"
- system "ln -s /usr/include/pam ${workpath}/paminclude/security"
- }
+ configure.cppflags -I${workpath}/paminclude
+ configure.cflags -I${workpath}/paminclude
+ configure.args-delete --without-pam
+ configure.args-append --with-pam=pop3
+
+ post-install {
+ ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to"
+ ui_msg " /etc/pam.d/pop3, or use another config with pam_securityserver.so."
+ }
}
-livecheck.type md5
-livecheck.url http://www.ring.gr.jp/archives/net/mail/qpopper/Changes
-livecheck.md5 19d56ff7048a3b8df26c0ce535e12f7b
+livecheck.type md5
+livecheck.url http://www.ring.gr.jp/archives/net/mail/qpopper/Changes
+livecheck.md5 19d56ff7048a3b8df26c0ce535e12f7b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130909/eeafc3f1/attachment-0001.html>
More information about the macports-changes
mailing list