Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 02:47:32 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315924 - head/sysutils/spiped
Message-ID:  <201304170247.r3H2lWNV012123@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Wed Apr 17 02:47:32 2013
New Revision: 315924
URL: http://svnweb.freebsd.org/changeset/ports/315924

Log:
  Update to spiped 1.3.1.
  
  This new version brings automatic DNS re-resolution (useful when connecting
  from wifi networks which give fake DNS until you log in), fixes a bug in the
  handling of reset TCP connections, and replaces README files with man pages.
  
  As the spiped build sets _POSIX_C_SOURCE for maximal portability, yet looks
  for and uses MSG_NOSIGNAL if it is available (as a performance optimization
  relative to the POSIX-compliant approach of blocking SIGPIPE), we force the
  __BSD_VISIBLE macro to be defined.
  
  Feature safe: yes

Modified:
  head/sysutils/spiped/Makefile
  head/sysutils/spiped/distinfo

Modified: head/sysutils/spiped/Makefile
==============================================================================
--- head/sysutils/spiped/Makefile	Wed Apr 17 02:40:54 2013	(r315923)
+++ head/sysutils/spiped/Makefile	Wed Apr 17 02:47:32 2013	(r315924)
@@ -1,13 +1,7 @@
-# New ports collection makefile for:		spiped secure pipe daemon
-# Date created:					2011-08-18
-# Whom:						Colin Percival
-#
 # $FreeBSD$
-#
 
 PORTNAME=	spiped
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	1.3.1
 CATEGORIES=	sysutils security
 MASTER_SITES=	http://www.tarsnap.com/spiped/
 EXTRACT_SUFX=	.tgz
@@ -18,21 +12,22 @@ COMMENT=	Daemon for creating secure symm
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-DOCFILES=	BUILDING CHANGELOG COPYRIGHT README STYLE
-READMES=	spiped spipe
+# Ask to have man pages installed
+MAKE_ARGS=	MAN1DIR=${MANPREFIX}/man/man1
+MAN1=		spiped.1 spipe.1
 
+# Force __BSD_VISIBLE on since it works and improves performance
+MAKE_ARGS+=	CFLAGS="-O2 -D__BSD_VISIBLE"
+
+PORTDOCS=	BUILDING CHANGELOG COPYRIGHT README STYLE
 PLIST_FILES=	bin/spiped bin/spipe
-PORTDOCS=	${DOCFILES} ${READMES:S/^/README-/}
 
 USE_RC_SUBR=	spiped
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if defined(PORT_OPTIONS:MDOCS)
 	${MKDIR} ${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_MAN} ${DOCFILES} ${DOCSDIR})
-.for README in ${READMES}
-	${INSTALL_MAN} ${WRKSRC}/${README}/README ${DOCSDIR}/README-${README}
-.endfor
 .endif
 
 .include <bsd.port.mk>

Modified: head/sysutils/spiped/distinfo
==============================================================================
--- head/sysutils/spiped/distinfo	Wed Apr 17 02:40:54 2013	(r315923)
+++ head/sysutils/spiped/distinfo	Wed Apr 17 02:47:32 2013	(r315924)
@@ -1,2 +1,2 @@
-SHA256 (spiped-1.2.1.tgz) = 4e2e532b2a7df8e9a771c27a1bc2889f0d834e986d4f4a02a2a12174560ea44b
-SIZE (spiped-1.2.1.tgz) = 50818
+SHA256 (spiped-1.3.1.tgz) = 8a58a983be460b88ed5a105201a0f0afacb83382208761837a62871dcca42fee
+SIZE (spiped-1.3.1.tgz) = 59362



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