1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00
freebsd-ports/shells/rssh/Makefile
Eygene Ryabinkin 53c2f6fe36 shells/rssh: mark FORBIDDEN due to being vulnerable
http://www.vuxml.org/freebsd/65b25acc-e63b-11e1-b81c-001b77d09812.html
documents rather serious vulnerability that allows people to curcumvent
protections put by rssh, thus making it a kind of non-usable tool.

Security:	65b25acc-e63b-11e1-b81c-001b77d09812
2012-08-24 04:27:34 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: rssh
# Date created: Fri Apr 16 02:04:33 CEST 2004
# Whom: enigmatyc
#
# $FreeBSD$
#
PORTNAME= rssh
PORTVERSION= 2.3.2
CATEGORIES= shells security
MASTER_SITES= SF
MAINTAINER= pav@FreeBSD.org
COMMENT= A Restricted Secure SHell only for sftp or/and scp
FORBIDDEN= http://www.vuxml.org/freebsd/65b25acc-e63b-11e1-b81c-001b77d09812.html (vulnerability)
GNU_CONFIGURE= yes
MAN1= rssh.1
MAN5= rssh.conf.5
OPTIONS= RDIST "rdist support" off
.include <bsd.port.pre.mk>
.if defined(WITH_RDIST)
RUN_DEPENDS+= ${LOCALBASE}/bin/rdist6:${PORTSDIR}/net/rdist6
CONFIGURE_ARGS+=--with-rdist=${LOCALBASE}/bin/rdist6
.endif
post-patch:
@${REINPLACE_CMD} -E -e 's,(\$$\(DESTDIR\)\$$\(sysconfdir\)/\$$\$$f),\1.dist,g' \
${WRKSRC}/Makefile.in
post-install:
@${ECHO_MSG} "updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/${PORTNAME} /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/${PORTNAME}) > /etc/shells
@${RM} /etc/shells.bak
.include <bsd.port.post.mk>