Import dsh-0.25.7.
dsh is an implementation of a wrapper for executing multiple remote shell (rsh/remsh/ssh) commands. rsh/remsh/ssh are wrappers for executing shell (ksh/bash/zsh/tcsh/sh .. etc... ) on remote hosts. from rpe with some tweaks ok sthen@
This commit is contained in:
parent
5c597331cf
commit
77b61b50d6
36
sysutils/dsh/Makefile
Normal file
36
sysutils/dsh/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/08/27 14:36:17 ajacoutot Exp $
|
||||
|
||||
COMMENT= dancers shell or distributed shell
|
||||
|
||||
DISTNAME= dsh-0.25.7
|
||||
CATEGORIES= sysutils net
|
||||
|
||||
HOMEPAGE= http://www.netfort.gr.jp/~dancer/software/
|
||||
MASTER_SITES= ${HOMEPAGE}downloads/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += c dshconfig
|
||||
|
||||
LIB_DEPENDS= net/libdshconfig
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
LIBS="-lintl -liconv"
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
|
||||
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples
|
||||
|
||||
post-configure:
|
||||
@perl -pi -e 's,rsh,ssh,' ${WRKSRC}/dsh.conf
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/dsh/distinfo
Normal file
2
sysutils/dsh/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (dsh-0.25.7.tar.gz) = w57beT4fVAkHtJCBKIZKuoZLyTnF2JPFCoDhbHORld8=
|
||||
SIZE (dsh-0.25.7.tar.gz) = 391977
|
15
sysutils/dsh/patches/patch-parameter_c
Normal file
15
sysutils/dsh/patches/patch-parameter_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-parameter_c,v 1.1.1.1 2012/08/27 14:36:17 ajacoutot Exp $
|
||||
|
||||
parameter.c:132: warning: passing argument 1 of 'getnetgrent' from incompatible pointer type
|
||||
|
||||
--- parameter.c.orig Mon Aug 27 08:44:54 2012
|
||||
+++ parameter.c Mon Aug 27 08:45:08 2012
|
||||
@@ -127,7 +127,7 @@ read_machinenetgroup(linkedlist * machinelist,
|
||||
#endif
|
||||
if (setnetgrent(groupname) WORKAROUND_SETNETGRENT)
|
||||
{
|
||||
- char *hostp=NULL, *userp=NULL, *domainp=NULL;
|
||||
+ const char *hostp=NULL, *userp=NULL, *domainp=NULL;
|
||||
|
||||
while (getnetgrent(&hostp, &userp, &domainp))
|
||||
{
|
3
sysutils/dsh/pkg/DESCR
Normal file
3
sysutils/dsh/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
dsh is an implementation of a wrapper for executing multiple remote
|
||||
shell (rsh/remsh/ssh) commands. rsh/remsh/ssh are wrappers for executing
|
||||
shell (ksh/bash/zsh/tcsh/sh .. etc... ) on remote hosts.
|
12
sysutils/dsh/pkg/PLIST
Normal file
12
sysutils/dsh/pkg/PLIST
Normal file
@ -0,0 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/08/27 14:36:17 ajacoutot Exp $
|
||||
@bin bin/dsh
|
||||
man/ja/
|
||||
man/ja/man1/
|
||||
@man man/ja/man1/dsh.1
|
||||
man/ja/man5/
|
||||
@man man/ja/man5/dsh.conf.5
|
||||
@man man/man1/dsh.1
|
||||
@man man/man5/dsh.conf.5
|
||||
share/examples/dsh.conf
|
||||
@sample ${SYSCONFDIR}/dsh.conf
|
||||
share/locale/ja/LC_MESSAGES/dsh.mo
|
Loading…
x
Reference in New Issue
Block a user