aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2013-04-17 10:47:32 +0800
committercperciva <cperciva@FreeBSD.org>2013-04-17 10:47:32 +0800
commitd7be9e9d94aab46c8c5de539b5fc0563120e8e9b (patch)
treed73a42e2016130cee7d3b3079ab3db669132c313
parent70380c17f4a4b288fcc7c7d111eee0b917eb45d2 (diff)
downloadfreebsd-ports-gnome-d7be9e9d94aab46c8c5de539b5fc0563120e8e9b.tar.gz
freebsd-ports-gnome-d7be9e9d94aab46c8c5de539b5fc0563120e8e9b.tar.zst
freebsd-ports-gnome-d7be9e9d94aab46c8c5de539b5fc0563120e8e9b.zip
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
-rw-r--r--sysutils/spiped/Makefile23
-rw-r--r--sysutils/spiped/distinfo4
2 files changed, 11 insertions, 16 deletions
diff --git a/sysutils/spiped/Makefile b/sysutils/spiped/Makefile
index 82ea6f6df803..4ed51c271da4 100644
--- a/sysutils/spiped/Makefile
+++ b/sysutils/spiped/Makefile
@@ -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 symmetric pipes
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>
diff --git a/sysutils/spiped/distinfo b/sysutils/spiped/distinfo
index 591f5bfa838a..e9da1edf0277 100644
--- a/sysutils/spiped/distinfo
+++ b/sysutils/spiped/distinfo
@@ -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