|
Lines 3-9
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= scponly |
4 |
PORTNAME= scponly |
| 5 |
PORTVERSION= 4.8.20110526 |
5 |
PORTVERSION= 4.8.20110526 |
| 6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
| 7 |
CATEGORIES= shells security |
7 |
CATEGORIES= shells security |
| 8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-snapshots |
8 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-snapshots |
| 9 |
DISTNAME= ${PORTNAME}-20110526 |
9 |
DISTNAME= ${PORTNAME}-20110526 |
|
Lines 11-16
Link Here
|
| 11 |
MAINTAINER= gjb@FreeBSD.org |
11 |
MAINTAINER= gjb@FreeBSD.org |
| 12 |
COMMENT= Tiny shell that only permits scp and sftp |
12 |
COMMENT= Tiny shell that only permits scp and sftp |
| 13 |
|
13 |
|
|
|
14 |
LICENSE= BSD2CLAUSE |
| 15 |
|
| 14 |
PORTDOCS= BUILDING-JAILS.TXT INSTALL README SECURITY |
16 |
PORTDOCS= BUILDING-JAILS.TXT INSTALL README SECURITY |
| 15 |
|
17 |
|
| 16 |
USES= tar:tgz |
18 |
USES= tar:tgz |
|
Lines 31-50
Link Here
|
| 31 |
|
33 |
|
| 32 |
OPTIONS_SUB= yes |
34 |
OPTIONS_SUB= yes |
| 33 |
|
35 |
|
| 34 |
BUILD_DEPENDS= sftp:${PORTSDIR}/security/openssh-portable |
36 |
.if !exists(/usr/bin/sftp) |
|
|
37 |
BUILD_DEPENDS= ${LOCALBASE}/bin/sftp:security/openssh-portable |
| 38 |
.endif |
| 35 |
DEFAULT_CHDIR_CONFIGURE_ON= --with-default-chdir=${SCPONLY_DEFAULT_CHDIR} |
39 |
DEFAULT_CHDIR_CONFIGURE_ON= --with-default-chdir=${SCPONLY_DEFAULT_CHDIR} |
| 36 |
WILDCARDS_CONFIGURE_ENABLE= wildcards |
40 |
WILDCARDS_CONFIGURE_ENABLE= wildcards |
| 37 |
GFTP_CONFIGURE_ENABLE= gftp-compat |
41 |
GFTP_CONFIGURE_ENABLE= gftp-compat |
| 38 |
CHROOT_CONFIGURE_ENABLE= chrooted-binary |
42 |
CHROOT_CONFIGURE_ENABLE= chrooted-binary |
| 39 |
CHROOT_USE= RC_SUBR=scponlyc |
43 |
CHROOT_USE= RC_SUBR=scponlyc |
| 40 |
RSYNC_BUILD_DEPENDS= rsync:${PORTSDIR}/net/rsync |
44 |
RSYNC_BUILD_DEPENDS= rsync:net/rsync |
| 41 |
RSYNC_CONFIGURE_ENABLE= rsync-compat |
45 |
RSYNC_CONFIGURE_ENABLE= rsync-compat |
| 42 |
SCP_CONFIGURE_ENABLE= scp-compat |
46 |
SCP_CONFIGURE_ENABLE= scp-compat |
| 43 |
SVN_CONFIGURE_ENABLE= svn-compat |
47 |
SVN_CONFIGURE_ENABLE= svn-compat |
| 44 |
SVN_BUILD_DEPENDS= svn:${PORTSDIR}/devel/subversion |
48 |
SVN_BUILD_DEPENDS= svn:devel/subversion |
| 45 |
SVNSERVE_BUILD_DEPENDS= svn:${PORTSDIR}/devel/subversion |
49 |
SVNSERVE_BUILD_DEPENDS= svn:devel/subversion |
| 46 |
SVNSERVE_CONFIGURE_ENABLE= svnserv-compat |
50 |
SVNSERVE_CONFIGURE_ENABLE= svnserv-compat |
| 47 |
UNISON_BUILD_DEPENDS= unison:${PORTSDIR}/net/unison |
51 |
UNISON_BUILD_DEPENDS= unison:net/unison |
| 48 |
UNISON_CONFIGURE_ENABLE= unison-compat |
52 |
UNISON_CONFIGURE_ENABLE= unison-compat |
| 49 |
WINSCP_CONFIGURE_ENABLE= winscp-compat |
53 |
WINSCP_CONFIGURE_ENABLE= winscp-compat |
| 50 |
|
54 |
|
|
Lines 62-68
Link Here
|
| 62 |
${INSTALL_DATA} ${WRKSRC}/config.h ${STAGEDIR}${EXAMPLESDIR} |
66 |
${INSTALL_DATA} ${WRKSRC}/config.h ${STAGEDIR}${EXAMPLESDIR} |
| 63 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
67 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
| 64 |
.for i in ${PORTDOCS} |
68 |
.for i in ${PORTDOCS} |
| 65 |
@${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} |
69 |
${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} |
| 66 |
.endfor |
70 |
.endfor |
| 67 |
|
71 |
|
| 68 |
.include <bsd.port.mk> |
72 |
.include <bsd.port.mk> |