Index: head/shells/scponly/Makefile =================================================================== --- head/shells/scponly/Makefile (revision 151854) +++ head/shells/scponly/Makefile (revision 151855) @@ -1,165 +1,173 @@ # New ports collection makefile for: scponly # Date created: 2002/07/23 # Whom: mcglk@artlogix.com # # $FreeBSD$ # # There are many knobs to tune scponly towards your specific wishes # and preferences. # You can activate a knob by typing something like # "make -DKNOB" or "make KNOB=yes" instead of just "make" # # A description of the several possibilities is available here: # # # Core funcionality: # # SCPONLY_DEFAULT_CHDIR=DIR # default: undefined # example: public_html # define if you want to make users `cd' to this directory after authentication # # WITHOUT_SCPONLY_WILDCARDS # default: undefined # define if you want to disable wildcard processing. # -# WITHOUT_SCPONLY_SCP -# default: undefined -# define if you want to disable vanilla scp compatibility. -# # WITHOUT_SCPONLY_GFTP # default: undefined # define if you want to disable gftp compatibility. # -# WITHOUT_SCPONLY_WINSCP -# default: undefined -# define if you want to disable WinSCP compatibility. -# # WITH_SCPONLY_CHROOT # default: undefined # define if you want to use chroot functionality (set UID to root). # # WITH_SCPONLY_RSYNC # default: undefined # define if you want to enable rsync compatibility. # +# WITH_SCPONLY_SCP +# default: undefined +# define if you want to enable vanilla scp compatibility. +# +# WITH_SCPONLY_SFTP_LOGGING +# default: undefined +# define if you want to enable sftp logging compatibility. +# # WITH_SCPONLY_SVN # default: undefined # define if you want to enable subversion compatibility. # # WITH_SCPONLY_SVNSERVE # default: undefined # define if you want to enable subversion compatibility with svn+ssh:// # # WITH_SCPONLY_UNISON # default: undefined # define if you want to enable unison compatibility. # +# WITH_SCPONLY_WINSCP +# default: undefined +# define if you want to enable WinSCP compatibility. # +# # Additional knobs: # # NOPORTDOCS # default: undefined # This knob prevents the ports system from installing additional # documentation. If you define this, only the manpage is going # to be installed. PORTNAME= scponly -PORTVERSION= 4.1 -PORTREVISION= 2 +PORTVERSION= 4.2 +PORTREVISION= 0 CATEGORIES= shells MASTER_SITES= http://www.sublimation.org/scponly/ EXTRACT_SUFX= .tgz MAINTAINER= rushani@FreeBSD.org COMMENT= A tiny shell that only permits scp and sftp MAN8= scponly.8 GNU_CONFIGURE= yes PLIST_SUB+= SCPONLY_CHROOT="@comment " .include .if defined(SCPONLY_DEFAULT_CHDIR) && !empty(SCPONLY_DEFAULT_CHDIR) CONFIGURE_ARGS+=--with-default-chdir=${SCPONLY_DEFAULT_CHDIR} .endif .if defined(WITHOUT_SCPONLY_WILDCARDS) CONFIGURE_ARGS+=--disable-wildcards .endif -.if defined(WITHOUT_SCPONLY_SCP) -CONFIGURE_ARGS+=--disable-scp-compat -.endif - .if defined(WITHOUT_SCPONLY_GFTP) CONFIGURE_ARGS+=--disable-gftp-compat .endif -.if defined(WITHOUT_SCPONLY_WINSCP) -CONFIGURE_ARGS+=--disable-winscp-compat -.endif - .if defined(WITH_SCPONLY_CHROOT) PLIST_SUB= SCPONLY_CHROOT="" CONFIGURE_ARGS+=--enable-chrooted-binary .endif .if defined(WITH_SCPONLY_RSYNC) BUILD_DEPENDS+= rsync:${PORTSDIR}/net/rsync RUN_DEPENDS+= ${BUILD_DEPENDS} CONFIGURE_ARGS+=--enable-rsync-compat .endif +.if defined(WITH_SCPONLY_SCP) +CONFIGURE_ARGS+=--enable-scp-compat +.endif + +.if defined(WITH_SCPONLY_SFTP_LOGGING) +CONFIGURE_ARGS+=--enable-sftp-logging-compat +.endif + .if defined(WITH_SCPONLY_SVN) BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion RUN_DEPENDS+= ${BUILD_DEPENDS} CONFIGURE_ARGS+=--enable-svn-compat .endif .if defined(WITH_SCPONLY_SVNSERVE) BUILD_DEPENDS+= svnserve:${PORTSDIR}/devel/subversion RUN_DEPENDS+= ${BUILD_DEPENDS} CONFIGURE_ARGS+=--enable-svnserv-compat .endif .if defined(WITH_SCPONLY_UNISON) BUILD_DEPENDS+= unison:${PORTSDIR}/net/unison RUN_DEPENDS+= ${BUILD_DEPENDS} CONFIGURE_ARGS+=--enable-unison-compat +.endif + +.if defined(WITH_SCPONLY_WINSCP) +CONFIGURE_ARGS+=--enable-winscp-compat .endif pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} "You can enable chroot functionality by defining WITH_SCPONLY_CHROOT." @${ECHO_MSG} "" post-install: @${ECHO_MSG} "Updating /etc/shells" @${CP} /etc/shells /etc/shells.bak @(${GREP} -v ${PREFIX}/bin/scponly /etc/shells.bak; \ ${ECHO_CMD} ${PREFIX}/bin/scponly) > /etc/shells @${RM} /etc/shells.bak .if defined(WITH_SCPONLY_CHROOT) @${CP} /etc/shells /etc/shells.bak @(${GREP} -v ${PREFIX}/sbin/scponlyc /etc/shells.bak; \ ${ECHO_CMD} ${PREFIX}/sbin/scponlyc) > /etc/shells @${RM} /etc/shells.bak @${MKDIR} ${EXAMPLESDIR} @${INSTALL_SCRIPT} ${WRKSRC}/setup_chroot.sh ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/config.h ${EXAMPLESDIR} @${ECHO_MSG} "" @${ECHO_MSG} "To setup chroot cage, run following command:" @${ECHO_MSG} " cd ${EXAMPLESDIR}/ && ${SH} setup_chroot.sh" @${ECHO_MSG} "" .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in README INSTALL TODO @${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} .endfor .endif .include Property changes on: head/shells/scponly/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/shells/scponly/distinfo =================================================================== --- head/shells/scponly/distinfo (revision 151854) +++ head/shells/scponly/distinfo (revision 151855) @@ -1,2 +1,3 @@ -MD5 (scponly-4.1.tgz) = 32e4b87dc46c78573010c1146e9744f0 -SIZE (scponly-4.1.tgz) = 93138 +MD5 (scponly-4.2.tgz) = 270dedc527d6fbc68b152b8bb3c8a864 +SHA256 (scponly-4.2.tgz) = 517b5b5966fa78ae3319221a56a6a2e19edf9f4d9910b1a37ca32748104b00f3 +SIZE (scponly-4.2.tgz) = 96736 Property changes on: head/shells/scponly/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property