Ticket #15735: Portfile-ucspi-tcp.diff
File Portfile-ucspi-tcp.diff, 2.0 KB (added by compconsultant@…, 16 years ago) |
---|
-
Portfile
old new 1 # $Id : Portfile 30239 2007-10-23 01:55:09Z jmpp@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 name ucspi-tcp 6 version 0.88 7 revision 1 8 categories net 9 platforms darwin 10 maintainers nomaintainer 5 name ucspi-tcp 6 version 0.88 7 revision 2 8 categories net 9 platforms darwin 10 maintainers yahoo.com:compconsultant 11 11 12 description command-line tools for building TCP client-server applications 13 12 14 long_description tcpserver waits for incoming connections and, for each \ 13 15 connection, runs a program of your choice. Your program receives \ 14 16 environment variables showing the local and remote host names, IP \ … … 17 19 variables as tcpserver. 18 20 19 21 homepage http://cr.yp.to/ucspi-tcp.html 20 master_sites http://cr.yp.to/ucspi-tcp/ 21 checksums md5 39b619147db54687c4a583a7a94c9163 22 master_sites http://cr.yp.to/ucspi-tcp/ 23 patch_sites http://www.fehcom.de/qmail/rblsmtpd:greetdelay 24 25 checksums ${distname}${extract.suffix} \ 26 md5 39b619147db54687c4a583a7a94c9163 \ 27 sha1 793b4189795b563085602c030dd8aa0d206ddc0e \ 28 rmd160 eb20085ea6ffd5d137a805f7c8768e0312c1f56a \ 29 rblsmtpd.c.greetdelay \ 30 md5 ce526be5be5c3ba2eab0f3624af9256f \ 31 sha1 f52db52bbdee794e2cf0f79d3d5c861e1e2b5e31 \ 32 rmd160 68ad0a181c9a4c7d6b40f042ebff4838fe2e29f3 33 34 variant greetdelay description {Add configurable delay to discourage Spambots to rblsmtpd} { 35 patchfiles-append rblsmtpd.c.greetdelay:greetdelay 36 } 37 38 variant limits description {Ability to limit connections by server} { 39 patchfiles-append patch-tcpserver.c.diff 40 } 22 41 23 42 configure { 24 43 reinplace "s|/usr/local|${destroot}${prefix}|g" ${worksrcpath}/conf-home … … 36 55 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 37 56 xinstall -m 644 -W ${worksrcpath} CHANGES README TODO VERSION \ 38 57 ${destroot}${prefix}/share/doc/${name} 58 xinstall -W ${filespath} LIMITS.TXT ${destroot}${prefix}/share/doc/${name}/ 39 59 }