Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 02:32:38 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174173: mail/proxsmtp: Update to version 1.10
Message-ID:  <20121206023238.579b8d8258e7b9e9758141be@yahoo.com>
Resent-Message-ID: <201212051810.qB5IA5w5033500@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174173
>Category:       ports
>Synopsis:       mail/proxsmtp: Update to version 1.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 05 18:10:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 1.10

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/mail/proxsmtp/Makefile mail/proxsmtp/Makefile
--- /usr/ports/mail/proxsmtp/Makefile	2012-12-04 13:46:27.000000000 +0900
+++ mail/proxsmtp/Makefile	2012-12-05 02:44:34.000000000 +0900
@@ -2,16 +2,18 @@
 # $FreeBSD: head/mail/proxsmtp/Makefile 308185 2012-12-04 04:25:38Z tabthorpe $
 
 PORTNAME=	proxsmtp
-PORTVERSION=	1.8
+PORTVERSION=	1.10
 CATEGORIES=	mail security
-MASTER_SITES=	http://memberwebs.com/stef/software/proxsmtp/
+MASTER_SITES=	http://thewalter.net/stef/software/proxsmtp/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A flexible SMTP filter which can act also as transparent proxy
+COMMENT=	Flexible SMTP filter which can act also as transparent proxy
+
+LICENSE=	BSD
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+MAKE_JOBS_SAFE=	yes
 
 USE_RC_SUBR=	proxsmtpd
 SUB_FILES=	pkg-message
@@ -21,14 +23,22 @@
 
 PORTDOCS=	ChangeLog NEWS README
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/^acx_pthread_flags/s|=.*|="${PTHREAD_LIBS}"|' \
+		${WRKSRC}/configure
+
 post-install:
-	@${INSTALL_DATA} ${WRKSRC}/doc/proxsmtpd.conf ${PREFIX}/etc/proxsmtpd.conf-sample
-	@if [ ! -f ${PREFIX}/etc/proxsmtpd.conf ]; then \
-	${CP} -p ${PREFIX}/etc/proxsmtpd.conf-sample ${PREFIX}/etc/proxsmtpd.conf ; fi
+	(cd ${WRKSRC}/doc && ${INSTALL_DATA} proxsmtpd.conf \
+		${PREFIX}/etc/proxsmtpd.conf-sample)
+.if !exists(${PREFIX}/etc/proxsmtpd.conf)
+	(cd ${PREFIX}/etc && ${CP} -p proxsmtpd.conf-sample \
+		${PREFIX}/etc/proxsmtpd.conf)
+.endif
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 .for docs in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR})
 .endfor
 .endif
 	@${CAT} ${PKGMESSAGE}
diff -urN /usr/ports/mail/proxsmtp/distinfo mail/proxsmtp/distinfo
--- /usr/ports/mail/proxsmtp/distinfo	2012-11-08 06:17:41.000000000 +0900
+++ mail/proxsmtp/distinfo	2012-12-05 02:32:56.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (proxsmtp-1.8.tar.gz) = b6704790a5a4c0e5a53901baae7a8e894b22db48c016c628501b0559c53eb4b1
-SIZE (proxsmtp-1.8.tar.gz) = 202233
+SHA256 (proxsmtp-1.10.tar.gz) = 33b13cb4cbbebd784768893404c992d6cc2e8d057c27c012e3a69f24ac60c4b5
+SIZE (proxsmtp-1.10.tar.gz) = 181262
diff -urN /usr/ports/mail/proxsmtp/files/patch-configure mail/proxsmtp/files/patch-configure
--- /usr/ports/mail/proxsmtp/files/patch-configure	2012-11-08 06:17:41.000000000 +0900
+++ mail/proxsmtp/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- configure.orig	Fri Apr 15 07:18:10 2005
-+++ configure	Wed Apr 20 15:45:54 2005
-@@ -3156,7 +3156,7 @@
- # which indicates that we try without any flags at all, and "pthread-config"
- # which is a program returning the flags for the Pth emulation library.
- 
--acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
-+acx_pthread_flags="pthreads none -Kthread -kthread %%PTHREAD_LIBS%% -pthreads lthread -mthreads pthread --thread-safe -mt pthread-config"
- 
- # The ordering *is* (sometimes) important.  Some notes on the
- # individual items follow:
diff -urN /usr/ports/mail/proxsmtp/pkg-descr mail/proxsmtp/pkg-descr
--- /usr/ports/mail/proxsmtp/pkg-descr	2012-11-08 06:17:41.000000000 +0900
+++ mail/proxsmtp/pkg-descr	2012-12-05 02:29:17.000000000 +0900
@@ -5,4 +5,4 @@
 your particular needs.
 
 Author:	Nielsen <nielsen at memberwebs.com>
-WWW:	http://memberwebs.com/stef/software/proxsmtp/
+WWW:	http://thewalter.net/stef/software/proxsmtp/
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121206023238.579b8d8258e7b9e9758141be>