blob: bfe5b37fccabff4cfece321eec34977890718231 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: enigmatyc
# $FreeBSD$
PORTNAME= rssh
PORTVERSION= 2.3.4
CATEGORIES= shells security
MASTER_SITES= SF
MAINTAINER= jharris@widomaker.com
COMMENT= Restricted Secure SHell only for sftp or/and scp
GNU_CONFIGURE= yes
MAN1= rssh.1
MAN5= rssh.conf.5
OPTIONS_DEFINE= RDIST
RDIST_DESC= rdist support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRDIST}
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.mk>
|