[19605] trunk/dports/mail/qpopper
source_changes at macosforge.org
source_changes at macosforge.org
Sun Sep 17 02:40:38 PDT 2006
Revision: 19605
Author: pguyot at kallisys.net
Date: 2006-09-17 02:40:35 -0700 (Sun, 17 Sep 2006)
Log Message:
-----------
mail/qpopper: update to 4.0.9
The port now provides a LaunchDaemon sample file (MP's startup item mechanism cannot be used for qpopper is (x)inetd-based).
Modified Paths:
--------------
trunk/dports/mail/qpopper/Portfile
trunk/dports/mail/qpopper/files/patch-pop_pass.c
Added Paths:
-----------
trunk/dports/mail/qpopper/files/org.macports.mail.qpopper.plist-dist
Removed Paths:
-------------
trunk/dports/mail/qpopper/files/patch-configure
Modified: trunk/dports/mail/qpopper/Portfile
===================================================================
--- trunk/dports/mail/qpopper/Portfile 2006-09-17 07:48:07 UTC (rev 19604)
+++ trunk/dports/mail/qpopper/Portfile 2006-09-17 09:40:35 UTC (rev 19605)
@@ -2,25 +2,26 @@
PortSystem 1.0
name qpopper
-version 4.0.5
-revision 4
+version 4.0.9
categories mail
maintainers pguyot at kallisys.net
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/qpopper/
+homepage http://www.eudora.com/products/unsupported/qpopper/
distfiles ${name}${version}${extract.suffix}
-master_sites ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
- http://core.ring.gr.jp/archives/net/mail/qpopper/ \
+master_sites http://core.ring.gr.jp/archives/net/mail/qpopper/ \
http://www.ring.gr.jp/archives/net/mail/qpopper/ \
- ftp://ftp.nctu.edu.tw/network/mail/qpopper/
-checksums md5 e00853280c9e899711f0b0239d3d8f86
+ ftp://ftp.nctu.edu.tw/network/mail/qpopper/ \
+ ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
+checksums md5 de2cd15f95cfd00d0d080fd16287acad \
+ rmd160 b48a68cd9e282bfb3d78c6b53f3dee7c97bdf77d \
+ sha1 5629aa86d92fe10565021980882dffb733ce73d9
worksrcdir ${portname}${portversion}
-patchfiles patch-Makefile.in patch-pop_pass.c
-
-configure.args --mandir=${prefix}/share/man
+patchfiles patch-Makefile.in
+configure.args --mandir=${prefix}/share/man \
+ --without-pam
destroot.destdir prefix=${destroot}/${prefix} mandir=${destroot}/${prefix}/share/man
pre-destroot {
@@ -33,28 +34,38 @@
# 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 depending on"
+ 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 (the default on MacOS X), you'll find in ${prefix}/etc/xinetd.d/"
+ 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"
}
-variant darwin {
- configure.args-append --enable-specialauth
- patchfiles-append patch-configure
+platform darwin {
+ configure.args-append --enable-specialauth
+ configure.env LDFLAGS="-framework DirectoryService"
+ patchfiles-append patch-pop_pass.c
+}
- post-extract {
- system "rm '${worksrcpath}/INSTALL'"
+platform darwin 8 {
+ pre-destroot {
+ xinstall -d ${destroot}${prefix}/Library/LaunchDaemons/
+ xinstall -o root -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
+ depends_lib-append lib:libssl.0:openssl
post-install {
ui_msg "To get TLS/SSL working, you need to setup certificates."
@@ -64,6 +75,7 @@
variant pam {
configure.env CPPFLAGS="-I${workpath}/paminclude" 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"
Added: trunk/dports/mail/qpopper/files/org.macports.mail.qpopper.plist-dist
===================================================================
--- trunk/dports/mail/qpopper/files/org.macports.mail.qpopper.plist-dist (rev 0)
+++ trunk/dports/mail/qpopper/files/org.macports.mail.qpopper.plist-dist 2006-09-17 09:40:35 UTC (rev 19605)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
+"http://www.apple.
+com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Disabled</key>
+ <true/>
+ <key>Label</key>
+ <string>org.macports.mail.qpopper</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>@@PREFIX@@/sbin/popper</string>
+ </array>
+ <key>Sockets</key>
+ <dict>
+ <key>Listeners4</key>
+ <dict>
+ <key>Bonjour</key>
+ <false/>
+ <key>SockFamily</key>
+ <string>IPv4</string>
+ <key>SockNodeName</key>
+ <string>127.0.0.1</string>
+ <key>SockProtocol</key>
+ <string>TCP</string>
+ <key>SockServiceName</key>
+ <string>pop3</string>
+ </dict>
+ <key>Listeners6</key>
+ <dict>
+ <key>Bonjour</key>
+ <false/>
+ <key>SockFamily</key>
+ <string>IPv6</string>
+ <key>SockNodeName</key>
+ <string>::1</string>
+ <key>SockProtocol</key>
+ <string>TCP</string>
+ <key>SockServiceName</key>
+ <string>pop3</string>
+ </dict>
+ </dict>
+ <key>inetdCompatibility</key>
+ <dict>
+ <key>Wait</key>
+ <false/>
+ </dict>
+ <key>InitGroups</key>
+ <true/>
+</dict>
+</plist>
Deleted: trunk/dports/mail/qpopper/files/patch-configure
===================================================================
--- trunk/dports/mail/qpopper/files/patch-configure 2006-09-17 07:48:07 UTC (rev 19604)
+++ trunk/dports/mail/qpopper/files/patch-configure 2006-09-17 09:40:35 UTC (rev 19605)
@@ -1,16 +0,0 @@
---- configure.orig Wed Feb 5 04:06:30 2003
-+++ configure Thu Nov 13 17:21:14 2003
-@@ -4324,11 +4324,12 @@
- cc -v 2> TMP_CC_V
- if grep -i "Apple" TMP_CC_V >/dev/null
- then
-- CFLAGS="$CFLAGS -traditional-cpp"
-+ CFLAGS="$CFLAGS -no-cpp-precomp"
- fi
- rm -f TMP_CC_V
- AR_FLAG=" -r "
- RANLIB_CMD=" \${RANLIB} \$@"
-+ LDFLAGS="$LDFLAGS -framework DirectoryService"
-
- ;;
-
Modified: trunk/dports/mail/qpopper/files/patch-pop_pass.c
===================================================================
--- trunk/dports/mail/qpopper/files/patch-pop_pass.c 2006-09-17 07:48:07 UTC (rev 19604)
+++ trunk/dports/mail/qpopper/files/patch-pop_pass.c 2006-09-17 09:40:35 UTC (rev 19605)
@@ -1,20 +1,20 @@
---- popper/pop_pass.c.old Thu Nov 13 12:11:01 2003
-+++ popper/pop_pass.c Thu Nov 13 16:58:38 2003
-@@ -12,6 +12,9 @@
+--- popper/pop_pass.c.orig 2006-03-10 07:32:38.000000000 +0900
++++ popper/pop_pass.c 2006-09-17 17:46:00.000000000 +0900
+@@ -40,6 +40,10 @@
+ * <security/pam_appl.h> (otherwise build fails)
+ * (thanks to Kyle McKay for the patch)
*
- * Revisions:
- *
+ * 11/13/03 [pguyot]
+ * - Added DirectoryService authentication for MacOS X (required on
+ * 10.3+).
++ *
* 01/16/03 [rcg]
* - Renamed PASSWD macro to QPASSWD to avoid redefining
* PASSWD in shadow.h.
-@@ -1156,6 +1159,143 @@
-
+@@ -1054,6 +1058,143 @@
# endif /* AIX */
-+
+
+/*----------------------------------------------- DARWIN/MacOS X */
+# ifdef DARWIN
+
@@ -151,6 +151,7 @@
+}
+
+# endif /* DARWIN/MacOS X */
-
++
/*----------------------------------------------- generic AUTH_USER */
# ifndef DECLARED_AUTH_USER
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060917/bcdc1c21/attachment.html
More information about the macports-changes
mailing list