new port mail/pop3proxy

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@10331 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Markus W. Weißmann
2005-01-11 21:48:49 +00:00
parent 22860ab0e2
commit 6559adfabd
5 changed files with 74 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# $Id: Portfile,v 1.1 2005/01/11 21:48:48 mww Exp $
PortSystem 1.0
name pop3proxy
version 1.3.0-beta3
categories mail
platforms darwin
maintainers mww@opendarwin.org
description application level gateway for the POP3 protocol
long_description pop3.proxy is an application level gateway for the POP3 \
protocol. Unlike generic TCP proxys (like tcpproxy) it looks \
into the data stream watching that client and server fullfill \
the protocol specification. pop3.proxy is based on RFC 1939.
homepage http://quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/Pop3Proxy
master_sites http://quietsche-entchen.de/cgi-bin/wiki.cgi/download/
checksums md5 56cc718203b4e8dd6cca81dd91e3619a
patchfiles patch-main.c patch-pop3.c patch-clamav.c patch-makefile
use_configure no
destroot.destdir prefix=${destroot}${prefix}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} rfc1939.txt README LICENSE \
${destroot}${prefix}/share/doc/${name}
}
+11
View File
@@ -0,0 +1,11 @@
--- clamav.c Mon Nov 22 21:50:51 2004
+++ ../../pop3proxy-1.3.0-beta3/clamav.c Tue Jan 11 22:33:27 2005
@@ -27,7 +27,7 @@
#include <errno.h>
#include <syslog.h>
-#include <wait.h>
+#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
+10
View File
@@ -0,0 +1,10 @@
--- main.c Tue Nov 23 23:26:12 2004
+++ ../../pop3proxy-1.3.0-beta3/main.c Tue Jan 11 22:34:30 2005
@@ -34,6 +34,7 @@
#include <syslog.h>
#include <signal.h>
#include <time.h>
+#include <sys/time.h>
#include "pop3.h"
#include "ip-lib.h"
+13
View File
@@ -0,0 +1,13 @@
--- makefile Mon Nov 22 21:11:22 2004
+++ makefile.new Tue Jan 11 22:38:14 2005
@@ -17,8 +17,8 @@
install: all
strip $(TARGETS)
- cp $(TARGETS) /usr/local/sbin
- cp *.1 /usr/local/man/man1
+ cp $(TARGETS) ${prefix}/sbin
+ cp *.1 ${prefix}/share/man/man1
pop3.proxy: $(POP3PROXY)
+11
View File
@@ -0,0 +1,11 @@
--- pop3.c Thu Nov 18 00:06:38 2004
+++ ../../pop3proxy-1.3.0-beta3/pop3.c Tue Jan 11 22:33:14 2005
@@ -37,7 +37,7 @@
#include <netinet/in.h>
#include <syslog.h>
#include <time.h>
-#include <wait.h>
+#include <sys/wait.h>
#include "pop3.h"
#include "ip-lib.h"