1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

- Add openssh-portable dependency explicit when /usr/bin/sftp is not present

- Remove ${PORTSDIR} from depends
- Take maintainership

PR:		204779
Approved by:	gjb (maintainer)
Obtained from:	pfSense
Sponsored by:	Rubicon Communications (Netgate)
This commit is contained in:
Renato Botelho 2015-11-24 15:06:49 +00:00
parent 5260bfe6a1
commit 04bfb78d7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402366

View File

@ -3,14 +3,16 @@
PORTNAME= scponly
PORTVERSION= 4.8.20110526
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= shells security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-snapshots
DISTNAME= ${PORTNAME}-20110526
MAINTAINER= gjb@FreeBSD.org
MAINTAINER= garga@FreeBSD.org
COMMENT= Tiny shell that only permits scp and sftp
LICENSE= BSD2CLAUSE
PORTDOCS= BUILDING-JAILS.TXT INSTALL README SECURITY
USES= tar:tgz
@ -31,20 +33,22 @@ WINSCP_DESC= WinSCP support
OPTIONS_SUB= yes
BUILD_DEPENDS= sftp:${PORTSDIR}/security/openssh-portable
.if !exists(/usr/bin/sftp)
BUILD_DEPENDS= ${LOCALBASE}/bin/sftp:security/openssh-portable
.endif
DEFAULT_CHDIR_CONFIGURE_ON= --with-default-chdir=${SCPONLY_DEFAULT_CHDIR}
WILDCARDS_CONFIGURE_ENABLE= wildcards
GFTP_CONFIGURE_ENABLE= gftp-compat
CHROOT_CONFIGURE_ENABLE= chrooted-binary
CHROOT_USE= RC_SUBR=scponlyc
RSYNC_BUILD_DEPENDS= rsync:${PORTSDIR}/net/rsync
RSYNC_BUILD_DEPENDS= rsync:net/rsync
RSYNC_CONFIGURE_ENABLE= rsync-compat
SCP_CONFIGURE_ENABLE= scp-compat
SVN_CONFIGURE_ENABLE= svn-compat
SVN_BUILD_DEPENDS= svn:${PORTSDIR}/devel/subversion
SVNSERVE_BUILD_DEPENDS= svn:${PORTSDIR}/devel/subversion
SVN_BUILD_DEPENDS= svn:devel/subversion
SVNSERVE_BUILD_DEPENDS= svn:devel/subversion
SVNSERVE_CONFIGURE_ENABLE= svnserv-compat
UNISON_BUILD_DEPENDS= unison:${PORTSDIR}/net/unison
UNISON_BUILD_DEPENDS= unison:net/unison
UNISON_CONFIGURE_ENABLE= unison-compat
WINSCP_CONFIGURE_ENABLE= winscp-compat
@ -62,7 +66,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/config.h ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>