diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-17 18:40:51 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-17 18:40:51 +0000 |
commit | 6a246b2a897f7fa24b2c7e7175c2fcd4e4ca5c8d (patch) | |
tree | c40d2908ba7169f8fa3d9363cebec8683a46e9e8 /shells/scponly | |
parent | Oops, correct usage of LIB_DEPENDS introduced by previous commit. (diff) |
o Update to 3.7.
o Take up more safety default setting.
PR: ports/48480, ports/48492, ports/50899
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
Adam Jette <jettea@fuzzynerd.com>
Miguel Mendez <flynn@energyhq.homeip.net>
Reviewed by: Sergey A. Osokin <osa@FreeBSD.org.ru>
Miguel Mendez <flynn@energyhq.homeip.net>
Ken McGlothlen <mcglk@artlogix.com> (maintainer)
Approved by: Ken McGlothlen <mcglk@artlogix.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=79164
Diffstat (limited to 'shells/scponly')
-rw-r--r-- | shells/scponly/Makefile | 88 | ||||
-rw-r--r-- | shells/scponly/distinfo | 2 | ||||
-rw-r--r-- | shells/scponly/pkg-plist | 5 |
3 files changed, 90 insertions, 5 deletions
diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index 0fbe591ffd25..99e2fb09cfd8 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -5,17 +5,97 @@ # $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: +# +# WITH_SCPONLY_WILDCARDS +# default: undefined +# define if you want to enable wildcard processing. +# +# WITH_SCPONLY_SCP +# default: undefined +# define if you want to enable vanilla scp compatibility. +# +# WITH_SCPONLY_GFTP +# default: undefined +# define if you want to enable gftp compatibility. +# +# WITH_SCPONLY_WINSCP +# default: undefined +# define if you want to enable WinSCP compatibility. +# +# WITH_SCPONLY_RSYNC +# default: undefined +# define if you want to enable rsync 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= 3.4 +PORTVERSION= 3.7 CATEGORIES= shells MASTER_SITES= http://www.sublimation.org/scponly/ EXTRACT_SUFX= .tgz MAINTAINER= mcglk@artlogix.com -COMMENT= A tiny shell which only permits scp and sftp +COMMENT= A tiny shell that only permits scp and sftp -MAN8= scponly.8 +MAN8= scponly.8 GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-chrooted-binary + +.include <bsd.port.pre.mk> + +.if defined(WITH_SCPONLY_WILDCARDS) +CONFIGURE_ARGS+=--enable-wildcards +.else +CONFIGURE_ARGS+=--disable-wildcards +.endif + +.if defined(WITH_SCPONLY_SCP) +CONFIGURE_ARGS+=--enable-scp-compat +.else +CONFIGURE_ARGS+=--disable-scp-compat +.endif + +.if defined(WITH_SCPONLY_GFTP) +CONFIGURE_ARGS+=--enable-gftp +.else +CONFIGURE_ARGS+=--disable-gftp +.endif + +.if defined(WITH_SCPONLY_WINSCP) +CONFIGURE_ARGS+=--enable-winscp-compat +.else +CONFIGURE_ARGS+=--disable-winscp-compat +.endif + +.if defined(WITH_SCPONLY_RSYNC) && exists(${LOCALBASE}/bin/rsync) +CONFIGURE_ARGS+=--enable-rsync-compat +.else +CONFIGURE_ARGS+=--disable-rsync-compat +.endif + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/scponly +.for i in README INSTALL TODO + @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/scponly +.endfor +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/shells/scponly/distinfo b/shells/scponly/distinfo index dda07fed4917..13e41243fc7c 100644 --- a/shells/scponly/distinfo +++ b/shells/scponly/distinfo @@ -1 +1 @@ -MD5 (scponly-3.4.tgz) = c450ede9777f75483f7ab49a5ba446e1 +MD5 (scponly-3.7.tgz) = 6873df71eb44f91412f72158cc2b844e diff --git a/shells/scponly/pkg-plist b/shells/scponly/pkg-plist index c5900e85ac4f..44f6777393ce 100644 --- a/shells/scponly/pkg-plist +++ b/shells/scponly/pkg-plist @@ -1,3 +1,8 @@ bin/scponly +sbin/scponlyc etc/scponly/debuglevel +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/TODO @dirrm etc/scponly +%%PORTDOCS%%@dirrm %%DOCSDIR%% |