aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/smtpproxy/Makefile17
-rw-r--r--mail/smtpproxy/distinfo4
-rw-r--r--mail/smtpproxy/pkg-plist4
3 files changed, 12 insertions, 13 deletions
diff --git a/mail/smtpproxy/Makefile b/mail/smtpproxy/Makefile
index da9e376a643f..5f5a5859f7aa 100644
--- a/mail/smtpproxy/Makefile
+++ b/mail/smtpproxy/Makefile
@@ -6,29 +6,32 @@
#
PORTNAME= smtpproxy
-PORTVERSION= 1.1.3
+PORTVERSION= 1.3.3
CATEGORIES= mail
-MASTER_SITES= http://www.quietsche-entchen.de/download/
+MASTER_SITES= http://quietsche-entchen.de/cgi-bin/wiki.cgi/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= SMTP proxy server
USE_REINPLACE= yes
MAKEFILE= makefile
+DISABLE_SIZE= yes
MAN1= smtp.proxy.1
-
-FORBIDDEN= "format string vulnerability"
+PLIST_FILES= libexec/smtp.proxy
+PORTDOCS= README rfc821.txt
+CFLAGS+= -DVERSION=\'\"${PORTVERSION}\"\'
post-patch:
- @${REINPLACE_CMD} -e 's,CC =,CC ?=,; s,CFLAGS =,CFLAGS +=,; \
- s,/usr/local/sbin,${PREFIX}/libexec,; s,/usr/local,${PREFIX},' \
+ @${REINPLACE_CMD} -e 's,CC =,CC ?=,; /^CFLAGS/d ;\
+ s,/usr/local,${PREFIX}, ' \
${WRKSRC}/makefile
+ @${REINPLACE_CMD} -e 's,<wait.h>,<sys/wait.h>,' ${WRKSRC}/acp.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for i in README rfc821.txt
+.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
diff --git a/mail/smtpproxy/distinfo b/mail/smtpproxy/distinfo
index b414c8646884..ffbc267d9e87 100644
--- a/mail/smtpproxy/distinfo
+++ b/mail/smtpproxy/distinfo
@@ -1,2 +1,2 @@
-MD5 (smtpproxy-1.1.3.tar.gz) = c4558c8d379644e5b1fd66c389107a1e
-SIZE (smtpproxy-1.1.3.tar.gz) = 44504
+MD5 (smtpproxy-1.3.3.tar.gz) = 3dc32a5483543f0c3c1254785d746265
+SIZE (smtpproxy-1.3.3.tar.gz) = 52276
diff --git a/mail/smtpproxy/pkg-plist b/mail/smtpproxy/pkg-plist
deleted file mode 100644
index 84d70bee2a43..000000000000
--- a/mail/smtpproxy/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-libexec/smtp.proxy
-%%PORTDOCS%%share/doc/smtpproxy/README
-%%PORTDOCS%%share/doc/smtpproxy/rfc821.txt
-%%PORTDOCS%%@dirrm share/doc/smtpproxy