mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
43de1db1ac
http://www.pizzashack.org/rssh/security.shtml - update to 2.2.2 - use REINPLACE_CMD instead of the patch file - correct the knob for RDIST PR: 73143 Submitted by: leeym
48 lines
1.1 KiB
Makefile
48 lines
1.1 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.2.2
|
|
CATEGORIES= shells security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= enigmatyc@laposte.net
|
|
COMMENT= A Restricted Secure SHell only for sftp or/and scp
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
MAN1= rssh.1
|
|
MAN5= rssh.conf.5
|
|
PLIST_FILES= bin/rssh etc/rssh.conf.dist libexec/rssh_chroot_helper
|
|
|
|
OPTIONS= RSYNC "rsync support" off \
|
|
RDIST "rdist support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
IGNORE= wordexp() is not supported on 4.x
|
|
.endif
|
|
|
|
.if defined(WITH_RSYNC)
|
|
RUN_DEPENDS+= ${LOCALBASE}/bin/rsync:${PORTSDIR}/net/rsync
|
|
CONFIGURE_ARGS+=--with-rsync=${LOCALBASE}/bin/rsync
|
|
.endif
|
|
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|