From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 15 21:20:09 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB4AB1065674 for ; Wed, 15 Dec 2010 21:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 74E148FC1B for ; Wed, 15 Dec 2010 21:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBFLK5mk099450 for ; Wed, 15 Dec 2010 21:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBFLK5En099449; Wed, 15 Dec 2010 21:20:05 GMT (envelope-from gnats) Date: Wed, 15 Dec 2010 21:20:05 GMT Message-Id: <201012152120.oBFLK5En099449@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Mykola Dzham Cc: Subject: Re: ports/152718: Add user serviceable knobs to port sysutils/pdsh X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mykola Dzham List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 21:20:10 -0000 The following reply was made to PR ports/152718; it has been noted by GNATS. From: Mykola Dzham To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/152718: Add user serviceable knobs to port sysutils/pdsh Date: Wed, 15 Dec 2010 22:33:52 +0200 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Approve with minimal changes: bump portversion and remove space. Modified patch attached. -- LEFT-(UANIC|RIPE) JID: levsha@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 --/9DWx/yDrRhgMJTb Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="pdsh-2.23_2.patch" Index: Makefile =================================================================== RCS file: /usr/local/arch/csup/ports/sysutils/pdsh/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 30 Nov 2010 01:24:10 -0000 1.4 +++ Makefile 15 Dec 2010 20:18:41 -0000 @@ -7,7 +7,7 @@ PORTNAME= pdsh PORTVERSION= 2.23 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE @@ -16,11 +16,57 @@ LICENSE= GPLv2 -CONFIGURE_ARGS= --with-ssh USE_BZIP2= yes GNU_CONFIGURE= yes USE_PERL5_BUILD=yes +OPTIONS= SSH "Enable SSH support" On \ + DSHGROUPS "Enable DSH groups" On \ + NETGROUP "Enable NIS Netgroup support" Off \ + READLINE "Enable GNU readline support" Off \ + RSH "Enable RSH support" Off + +.include + +.if defined(WITH_SSH) +CONFIGURE_ARGS+= --with-ssh +PLIST_SUB+= SSH="" +.else +CONFIGURE_ARGS+= --without-ssh +PLIST_SUB+= SSH="@comment " +.endif + +.if defined(WITH_DSHGROUPS) +CONFIGURE_ARGS+= --with-dshgroups +PLIST_SUB+= DSH="" +.else +CONFIGURE_ARGS+= --without-dshgroups +PLIST_SUB+= DSH="@comment " +.endif + +.if defined(WITH_NETGROUP) +CONFIGURE_ARGS+= --with-netgroup +PLIST_SUB+= NETGROUP="" +.else +CONFIGURE_ARGS+= --without-netgroup +PLIST_SUB+= NETGROUP="@comment " +.endif + +.if defined(WITH_READLINE) +CONFIGURE_ARGS+= --with-readline +LIB_DEPENDS+= readline:${PORTSDIR}/devel/readline +.else +CONFIGURE_ARGS+= --without-readline +.endif + +.if defined(WITH_RSH) +CONFIGURE_ARGS+= --with-rsh +PLIST_SUB+= RSH="" +.else +CONFIGURE_ARGS+= --without-rsh +PLIST_SUB+= RSH="@comment " +.endif + MAN1= dshbak.1 pdcp.1 pdsh.1 MLINKS= pdcp.1 rpdcp.1 Index: pkg-plist =================================================================== RCS file: /usr/local/arch/csup/ports/sysutils/pdsh/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 30 Nov 2010 01:24:10 -0000 1.2 +++ pkg-plist 15 Dec 2010 20:18:41 -0000 @@ -6,10 +6,16 @@ lib/pdsh/execcmd.a lib/pdsh/execcmd.la lib/pdsh/execcmd.so -lib/pdsh/sshcmd.a -lib/pdsh/sshcmd.la -lib/pdsh/sshcmd.so -lib/pdsh/xrcmd.a -lib/pdsh/xrcmd.la -lib/pdsh/xrcmd.so +%%DSH%%lib/pdsh/dshgroup.a +%%DSH%%lib/pdsh/dshgroup.la +%%DSH%%lib/pdsh/dshgroup.so +%%NETGROUP%%lib/pdsh/netgroup.a +%%NETGROUP%%lib/pdsh/netgroup.la +%%NETGROUP%%lib/pdsh/netgroup.so +%%SSH%%lib/pdsh/sshcmd.a +%%SSH%%lib/pdsh/sshcmd.la +%%SSH%%lib/pdsh/sshcmd.so +%%RSH%%lib/pdsh/xrcmd.a +%%RSH%%lib/pdsh/xrcmd.la +%%RSH%%lib/pdsh/xrcmd.so @dirrm lib/pdsh --/9DWx/yDrRhgMJTb--