Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Nov 2014 13:40:02 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372068 - head/sysutils/pdsh
Message-ID:  <201411021340.sA2De260015627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Nov  2 13:40:01 2014
New Revision: 372068
URL: https://svnweb.freebsd.org/changeset/ports/372068
QAT: https://qat.redports.org/buildarchive/r372068/

Log:
  - Update to version 2.29 [1]
  - Rework pkg-descr [1]
  - Use options helpers, subs
  - Fix shebang in dshbak script
  - Remove @dirrm from plist
  
  PR:		194272 [1] (based on)
  Approved by:	maintainer timeout

Modified:
  head/sysutils/pdsh/Makefile
  head/sysutils/pdsh/distinfo
  head/sysutils/pdsh/pkg-descr
  head/sysutils/pdsh/pkg-plist

Modified: head/sysutils/pdsh/Makefile
==============================================================================
--- head/sysutils/pdsh/Makefile	Sun Nov  2 13:20:53 2014	(r372067)
+++ head/sysutils/pdsh/Makefile	Sun Nov  2 13:40:01 2014	(r372068)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pdsh
-PORTVERSION=	2.28
-PORTREVISION=	1
+PORTVERSION=	2.29
 CATEGORIES=	sysutils
 MASTER_SITES=	GOOGLE_CODE
 
@@ -14,54 +13,21 @@ LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
 # :keepla because port uses lt_dlopen
-USES=		libtool:keepla perl5 tar:bzip2
+USES=		libtool:keepla perl5 shebangfix tar:bzip2
 USE_PERL5=	build
+SHEBANG_FILES=	scripts/dshbak
 
 OPTIONS_DEFINE=		SSH DSHGROUPS NETGROUP READLINE RSH
 OPTIONS_DEFAULT=	SSH DSHGROUPS
+OPTIONS_SUB=		yes
 DSHGROUPS_DESC=		DSH groups supprt
+DSHGROUPS_CONFIGURE_WITH=	dshgroups
 NETGROUP_DESC=		NIS Netgroup support
+NETGROUP_CONFIGURE_WITH=netgroup
+READLINE_CONFIGURE_WITH=readline
+READLINE_LIB_DEPENDS=	libreadline.so.6:${PORTSDIR}/devel/readline
 RSH_DESC=		RSH support
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSSH}
-CONFIGURE_ARGS+=	--with-ssh
-PLIST_SUB+=		SSH=""
-.else
-CONFIGURE_ARGS+=	--without-ssh
-PLIST_SUB+=		SSH="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MDSHGROUPS}
-CONFIGURE_ARGS+=	--with-dshgroups
-PLIST_SUB+=		DSH=""
-.else
-CONFIGURE_ARGS+=	--without-dshgroups
-PLIST_SUB+=		DSH="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MNETGROUP}
-CONFIGURE_ARGS+=	--with-netgroup
-PLIST_SUB+=		NETGROUP=""
-.else
-CONFIGURE_ARGS+=	--without-netgroup
-PLIST_SUB+=		NETGROUP="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MREADLINE}
-CONFIGURE_ARGS+=	--with-readline
-LIB_DEPENDS+=		libreadline.so.6:${PORTSDIR}/devel/readline
-.else
-CONFIGURE_ARGS+=	--without-readline
-.endif
-
-.if ${PORT_OPTIONS:MRSH}
-CONFIGURE_ARGS+=	--with-rsh
-PLIST_SUB+=		RSH=""
-.else
-CONFIGURE_ARGS+=	--without-rsh
-PLIST_SUB+=		RSH="@comment "
-.endif
+RSH_CONFIGURE_WITH=	rsh
+SSH_CONFIGURE_WITH=	ssh
 
 .include <bsd.port.mk>

Modified: head/sysutils/pdsh/distinfo
==============================================================================
--- head/sysutils/pdsh/distinfo	Sun Nov  2 13:20:53 2014	(r372067)
+++ head/sysutils/pdsh/distinfo	Sun Nov  2 13:40:01 2014	(r372068)
@@ -1,2 +1,2 @@
-SHA256 (pdsh-2.28.tar.bz2) = 251a09f9e19ac23c042d2b32d2d709bd268413797ba4fecc1599087e5763838a
-SIZE (pdsh-2.28.tar.bz2) = 487934
+SHA256 (pdsh-2.29.tar.bz2) = 57f0903bf782afe00874267b59e0f4adefa79da4c48d0257c5ae2bef02f87fcf
+SIZE (pdsh-2.29.tar.bz2) = 470693

Modified: head/sysutils/pdsh/pkg-descr
==============================================================================
--- head/sysutils/pdsh/pkg-descr	Sun Nov  2 13:20:53 2014	(r372067)
+++ head/sysutils/pdsh/pkg-descr	Sun Nov  2 13:40:01 2014	(r372068)
@@ -1,6 +1,6 @@
-Pdsh is a an efficient, multithreaded remote shell client which executes
-commands on multiple remote hosts in parallel. Pdsh implements dynamically
-loadable modules for extended functionality such as new remote shell services
-and remote host selection.
+Pdsh is a high-performance, parallel remote shell utility. It uses a sliding
+window of threads to execute remote commands, conserving socket resources while
+allowing some connections to timeout if needed. It was originally written as a
+replacement for IBM's DSH on clusters at LLNL.
 
 WWW: http://code.google.com/p/pdsh/

Modified: head/sysutils/pdsh/pkg-plist
==============================================================================
--- head/sysutils/pdsh/pkg-plist	Sun Nov  2 13:20:53 2014	(r372067)
+++ head/sysutils/pdsh/pkg-plist	Sun Nov  2 13:40:01 2014	(r372068)
@@ -5,9 +5,9 @@ bin/rpdcp
 lib/pdsh/execcmd.a
 lib/pdsh/execcmd.la
 lib/pdsh/execcmd.so
-%%DSH%%lib/pdsh/dshgroup.a
-%%DSH%%lib/pdsh/dshgroup.la
-%%DSH%%lib/pdsh/dshgroup.so
+%%DSHGROUPS%%lib/pdsh/dshgroup.a
+%%DSHGROUPS%%lib/pdsh/dshgroup.la
+%%DSHGROUPS%%lib/pdsh/dshgroup.so
 %%NETGROUP%%lib/pdsh/netgroup.a
 %%NETGROUP%%lib/pdsh/netgroup.la
 %%NETGROUP%%lib/pdsh/netgroup.so
@@ -21,4 +21,3 @@ man/man1/dshbak.1.gz
 man/man1/pdcp.1.gz
 man/man1/pdsh.1.gz
 man/man1/rpdcp.1.gz
-@dirrm lib/pdsh



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