RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/mail/qpopper/Portfile,v
retrieving revision 1.5
diff -u -r1.5 Portfile
|
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | name qpopper |
5 | 5 | version 4.0.5 |
6 | | revision 3 |
| 6 | revision 4 |
7 | 7 | categories mail |
8 | 8 | maintainers pguyot@kallisys.net |
9 | 9 | description Eudora POP3 mail server |
… |
… |
|
18 | 18 | ftp://ftp.nctu.edu.tw/network/mail/qpopper/ |
19 | 19 | checksums md5 e00853280c9e899711f0b0239d3d8f86 |
20 | 20 | worksrcdir ${portname}${portversion} |
21 | | patchfiles patch-Makefile.in |
| 21 | patchfiles patch-Makefile.in patch-pop_pass.c |
22 | 22 | |
23 | | configure.args --mandir=${prefix}/share/man --with-pam=pop3 |
| 23 | configure.args --mandir=${prefix}/share/man |
24 | 24 | destroot.destdir prefix=${destroot}/${prefix} mandir=${destroot}/${prefix}/share/man |
25 | 25 | |
26 | 26 | pre-destroot { system "install -d ${destroot}${prefix}/etc/xinetd.d" |
… |
… |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | variant darwin { |
| 45 | configure.args-append --enable-specialauth |
45 | 46 | patchfiles-append patch-configure |
46 | | configure.env CPPFLAGS="-I${workpath}/paminclude" CFLAGS="-I${workpath}/paminclude" |
47 | 47 | |
48 | 48 | post-extract { |
49 | 49 | system "rm '${worksrcpath}/INSTALL'" |
50 | | system "mkdir -p ${workpath}/paminclude" |
51 | | system "ln -s /usr/include/pam ${workpath}/paminclude/security" |
52 | 50 | } |
53 | 51 | } |
54 | 52 | |
55 | 53 | variant ssl { |
56 | 54 | configure.args-append --with-openssl=${prefix} |
57 | 55 | 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 | |
| 63 | variant 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 | } |
58 | 75 | } |
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 @@ |
4 | 4 | cc -v 2> TMP_CC_V |
5 | 5 | if grep -i "Apple" TMP_CC_V >/dev/null |
6 | 6 | then |
… |
… |
|
9 | 9 | fi |
10 | 10 | rm -f TMP_CC_V |
11 | 11 | AR_FLAG=" -r " |
| 12 | RANLIB_CMD=" \${RANLIB} \$@" |
| 13 | + LDFLAGS="$LDFLAGS -framework DirectoryService" |
| 14 | |
| 15 | ;; |
| 16 | |