1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name qpopper |
---|
4 | version 4.0.5 |
---|
5 | categories mail |
---|
6 | maintainers pguyot@kallisys.net |
---|
7 | description Eudora POP3 mail server |
---|
8 | long_description qpopper is Eudora's POP3 mail server. It does not include a mail \ |
---|
9 | transfer agent or an SMTP server, it just let you get your mail stored \ |
---|
10 | on the machine via POP3. |
---|
11 | homepage http://www.eudora.com/qpopper/ |
---|
12 | distfiles ${name}${version}${extract.sufx} |
---|
13 | master_sites ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \ |
---|
14 | http://core.ring.gr.jp/archives/net/mail/qpopper/ \ |
---|
15 | http://www.ring.gr.jp/archives/net/mail/qpopper/ \ |
---|
16 | ftp://ftp.nctu.edu.tw/network/mail/qpopper/ |
---|
17 | checksums md5 e00853280c9e899711f0b0239d3d8f86 |
---|
18 | worksrcdir ${portname}${portversion} |
---|
19 | configure.args --prefix=${destroot}${prefix} |
---|
20 | |
---|
21 | # You really have to love MacOS and the metadata to forgive something like Unix on top of HFS. |
---|
22 | post-extract { |
---|
23 | system "rm '${worksrcpath}/INSTALL'" |
---|
24 | } |
---|
25 | |
---|
26 | # Copy the sample xinetd.d configuration file. |
---|
27 | pre-install { |
---|
28 | system "install -d ${destroot}${prefix}/etc/xinetd.d" |
---|
29 | system "install -o root -m 755 -c ${portpath}/files/qpopper-dist ${destroot}${prefix}/etc/xinetd.d/" |
---|
30 | } |
---|
31 | |
---|
32 | # Tell the user that the server needs to be used through (x)inetd |
---|
33 | post-install { |
---|
34 | ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d depending on" |
---|
35 | ui_msg "what you use on your system.\n" |
---|
36 | ui_msg "For inetd, something like:" |
---|
37 | ui_msg "pop3 stream tcp nowait root /usr/libexec/tcpd ${prefix}/sbin/popper" |
---|
38 | ui_msg "should do it.\n" |
---|
39 | ui_msg "For xinetd (the default on MacOS X), you'll find in ${prefix}/etc/xinetd.d/" |
---|
40 | ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n" |
---|
41 | ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n" |
---|
42 | } |
---|