ports/security/pssh/Makefile
Brooks Davis a4694ad913 Fix a couple bugs and remove the IGNORE variable:
- select can be interrupted and return EINTR so we need to loop around it
   while it does so rather than treating it as a fatal error.
 - all process creations are matched with a wait() so having a SIGCHLD
   handler that performs a wait(-1) is pointless and racy.  We tend to
   loose the race over half the time and as a result were reporting
   successful processes as failed.

Add a couple features:
 - Skip commented lines in the host specification.
 - Allow '-' as an alias for stdin in the host file specification.
2007-07-06 20:30:24 +00:00

39 lines
1010 B
Makefile

# Ports collection makefile for: pssh
# Date created: Mon Jul 2, 2007
# Whom: Brooks Davis <brooks@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pssh
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= security net sysutils
MASTER_SITES= http://www.theether.org/pssh/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
MAINTAINER= brooks@FreeBSD.org
COMMENT= Parallel versions of the openssh tools
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools \
rsync:${PORTSDIR}/net/rsync
USE_PYTHON= YES
USE_PYDISTUTILS=yes
PLIST_SUB+= PSSH_EGG=${PSSH_EGG} \
EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PSSH_EGG=${PSSH_EGG} \
EGG="pssh==${PORTVERSION}"
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -N -O1 -s ${PREFIX}/bin -S ${PYTHON_SITELIBDIR} dist/${PSSH_EGG}
EASY_INSTALL_CMD= easy_install-${PYTHON_VER}
PSSH_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
.include <bsd.port.mk>