diff options
Diffstat (limited to 'shells/scponly/Makefile')
-rw-r--r-- | shells/scponly/Makefile | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index e57ea9d851e4..cb9f57e42259 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -24,18 +24,10 @@ # 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). @@ -44,6 +36,14 @@ # 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. @@ -56,6 +56,10 @@ # 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: # @@ -66,8 +70,8 @@ # 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 @@ -90,18 +94,10 @@ CONFIGURE_ARGS+=--with-default-chdir=${SCPONLY_DEFAULT_CHDIR} 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 @@ -113,6 +109,14 @@ 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} @@ -131,6 +135,10 @@ 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." |