summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-06-18 19:16:41 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-06-18 19:16:41 +0000
commitb336292c16003d395d2f58b7cc1c4cf1fb868ba5 (patch)
tree1fe597e9a925c9cded16c9368c9a96831652b10e
parentscience/afni: Upgrade to 19.1.20 (diff)
net/shmux: Update to 1.0.3
While I'm here: * Switch to GitHub and update the WWW field to avoid redirects. * Modernize the option knobs. * Update the license that has changed with the new release. * Add "localbase" to USES to fix a bug that has been there a long time if the PCRE option was enabled. Before that the configure script was able to find libpcre but used bogus paths for the -I and -L compiler flags which produced a binary that was never linked against libpcre. PR: 238618 Submitted by: Thomas Merkel <tm@NetBSD.org> Approved by: portmgr (blanket, unmaintained port)
Notes
Notes: svn path=/head/; revision=504497
-rw-r--r--net/shmux/Makefile26
-rw-r--r--net/shmux/distinfo5
-rw-r--r--net/shmux/pkg-descr2
3 files changed, 13 insertions, 20 deletions
diff --git a/net/shmux/Makefile b/net/shmux/Makefile
index 7d622d1e76e2..eef63268e8b5 100644
--- a/net/shmux/Makefile
+++ b/net/shmux/Makefile
@@ -2,18 +2,19 @@
# $FreeBSD$
PORTNAME= shmux
-DISTVERSION= 1.0.2
-PORTREVISION= 3
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0.3
CATEGORIES= net
-MASTER_SITES= http://web.taranis.org/shmux/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to run commands on multiple hosts using shell commands
-LICENSE= BSD4CLAUSE
+LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= ncurses tar:tgz
+USES= localbase ncurses
+USE_GITHUB= yes
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
@@ -23,18 +24,9 @@ OPTIONS_DEFINE= FPING PCRE
OPTIONS_DEFAULT= FPING
FPING_DESC= Use fping utility
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MFPING}
-RUN_DEPENDS+= fping:net/fping
-.endif
-
-.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+= libpcre.so:devel/pcre
-CONFIGURE_ARGS+= --with-pcre=${LOCALBASE}/lib
-.else
-CONFIGURE_ARGS+= --with-pcre=no
-.endif
+FPING_RUN_DEPENDS= fping:net/fping
+PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
+PCRE_CONFIGURE_WITH= pcre=${LOCALBASE}/lib
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/net/shmux/distinfo b/net/shmux/distinfo
index 20b335424f48..920d83f1e615 100644
--- a/net/shmux/distinfo
+++ b/net/shmux/distinfo
@@ -1,2 +1,3 @@
-SHA256 (shmux-1.0.2.tgz) = 0886aaca4936926d526988d85df403fa1679a60c355f1be8432bb4bc1e36580f
-SIZE (shmux-1.0.2.tgz) = 110473
+TIMESTAMP = 1560860410
+SHA256 (shmux-shmux-v1.0.3_GH0.tar.gz) = c9f8863e2550e23e633cf5fc7a9c4c52d287059f424ef78aba6ecd98390fb9ab
+SIZE (shmux-shmux-v1.0.3_GH0.tar.gz) = 116613
diff --git a/net/shmux/pkg-descr b/net/shmux/pkg-descr
index 1f2392d80a72..6f7cc02ed9ce 100644
--- a/net/shmux/pkg-descr
+++ b/net/shmux/pkg-descr
@@ -5,4 +5,4 @@ the children is received by shmux and either (optionally) output in turn to the
user using an easy to read format, or written to files for later processing
making it well suited for use in scripts.
-WWW: http://web.taranis.org/shmux/
+WWW: https://github.com/shmux/shmux