aboutsummaryrefslogtreecommitdiffstats
path: root/shells/rssh/Makefile
blob: ca034aab6c4be7f82e6c16bbb2f581242c2c9f0f (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
# Created by: enigmatyc
# $FreeBSD$

PORTNAME=   rssh
PORTVERSION=    2.3.4
PORTREVISION=   2
CATEGORIES= shells security
MASTER_SITES=   SF

MAINTAINER= jharris@widomaker.com
COMMENT=    Restricted Secure SHell only for sftp/scp/rdist/rsync/CVS

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

DEPRECATED=     Abandoned by upstream
EXPIRATION_DATE=    2019-06-11

GNU_CONFIGURE=  yes

USES=       cpe
CPE_VENDOR= pizzashack
USE_CSTD=   gnu89
OPTIONS_DEFINE= RDIST RSYNC3
RDIST_DESC= rdist support
RDIST_RUN_DEPENDS=  rdist6:net/rdist6
RDIST_CONFIGURE_ON= --with-rdist=${LOCALBASE}/bin/rdist6

RSYNC3_DESC=        rsync3 support (Debian patch)
RSYNC3_EXTRA_PATCHES=   ${FILESDIR}/optional-patch-util.c

post-patch:
    @${REINPLACE_CMD} -E -e 's,(\$$\(DESTDIR\)\$$\(sysconfdir\)/\$$\$$f),\1.dist,g' \
        -e 's,u\+s ,u+s $$\(DESTDIR\),g' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>