Lines 24-41
Link Here
|
24 |
# default: undefined |
24 |
# default: undefined |
25 |
# define if you want to disable wildcard processing. |
25 |
# define if you want to disable wildcard processing. |
26 |
# |
26 |
# |
27 |
# WITHOUT_SCPONLY_SCP |
|
|
28 |
# default: undefined |
29 |
# define if you want to disable vanilla scp compatibility. |
30 |
# |
31 |
# WITHOUT_SCPONLY_GFTP |
27 |
# WITHOUT_SCPONLY_GFTP |
32 |
# default: undefined |
28 |
# default: undefined |
33 |
# define if you want to disable gftp compatibility. |
29 |
# define if you want to disable gftp compatibility. |
34 |
# |
30 |
# |
35 |
# WITHOUT_SCPONLY_WINSCP |
|
|
36 |
# default: undefined |
37 |
# define if you want to disable WinSCP compatibility. |
38 |
# |
39 |
# WITH_SCPONLY_CHROOT |
31 |
# WITH_SCPONLY_CHROOT |
40 |
# default: undefined |
32 |
# default: undefined |
41 |
# define if you want to use chroot functionality (set UID to root). |
33 |
# define if you want to use chroot functionality (set UID to root). |
Lines 44-49
Link Here
|
44 |
# default: undefined |
36 |
# default: undefined |
45 |
# define if you want to enable rsync compatibility. |
37 |
# define if you want to enable rsync compatibility. |
46 |
# |
38 |
# |
|
|
39 |
# WITH_SCPONLY_SCP |
40 |
# default: undefined |
41 |
# define if you want to enable vanilla scp compatibility. |
42 |
# |
43 |
# WITH_SCPONLY_SFTP_LOGGING |
44 |
# default: undefined |
45 |
# define if you want to enable sftp logging compatibility. |
46 |
# |
47 |
# WITH_SCPONLY_SVN |
47 |
# WITH_SCPONLY_SVN |
48 |
# default: undefined |
48 |
# default: undefined |
49 |
# define if you want to enable subversion compatibility. |
49 |
# define if you want to enable subversion compatibility. |
Lines 56-61
Link Here
|
56 |
# default: undefined |
56 |
# default: undefined |
57 |
# define if you want to enable unison compatibility. |
57 |
# define if you want to enable unison compatibility. |
58 |
# |
58 |
# |
|
|
59 |
# WITH_SCPONLY_WINSCP |
60 |
# default: undefined |
61 |
# define if you want to enable WinSCP compatibility. |
62 |
# |
59 |
# |
63 |
# |
60 |
# Additional knobs: |
64 |
# Additional knobs: |
61 |
# |
65 |
# |
Lines 66-73
Link Here
|
66 |
# to be installed. |
70 |
# to be installed. |
67 |
|
71 |
|
68 |
PORTNAME= scponly |
72 |
PORTNAME= scponly |
69 |
PORTVERSION= 4.1 |
73 |
PORTVERSION= 4.2 |
70 |
PORTREVISION= 2 |
74 |
PORTREVISION= 0 |
71 |
CATEGORIES= shells |
75 |
CATEGORIES= shells |
72 |
MASTER_SITES= http://www.sublimation.org/scponly/ |
76 |
MASTER_SITES= http://www.sublimation.org/scponly/ |
73 |
EXTRACT_SUFX= .tgz |
77 |
EXTRACT_SUFX= .tgz |
Lines 90-107
Link Here
|
90 |
CONFIGURE_ARGS+=--disable-wildcards |
94 |
CONFIGURE_ARGS+=--disable-wildcards |
91 |
.endif |
95 |
.endif |
92 |
|
96 |
|
93 |
.if defined(WITHOUT_SCPONLY_SCP) |
|
|
94 |
CONFIGURE_ARGS+=--disable-scp-compat |
95 |
.endif |
96 |
|
97 |
.if defined(WITHOUT_SCPONLY_GFTP) |
97 |
.if defined(WITHOUT_SCPONLY_GFTP) |
98 |
CONFIGURE_ARGS+=--disable-gftp-compat |
98 |
CONFIGURE_ARGS+=--disable-gftp-compat |
99 |
.endif |
99 |
.endif |
100 |
|
100 |
|
101 |
.if defined(WITHOUT_SCPONLY_WINSCP) |
|
|
102 |
CONFIGURE_ARGS+=--disable-winscp-compat |
103 |
.endif |
104 |
|
105 |
.if defined(WITH_SCPONLY_CHROOT) |
101 |
.if defined(WITH_SCPONLY_CHROOT) |
106 |
PLIST_SUB= SCPONLY_CHROOT="" |
102 |
PLIST_SUB= SCPONLY_CHROOT="" |
107 |
CONFIGURE_ARGS+=--enable-chrooted-binary |
103 |
CONFIGURE_ARGS+=--enable-chrooted-binary |
Lines 113-118
Link Here
|
113 |
CONFIGURE_ARGS+=--enable-rsync-compat |
109 |
CONFIGURE_ARGS+=--enable-rsync-compat |
114 |
.endif |
110 |
.endif |
115 |
|
111 |
|
|
|
112 |
.if defined(WITH_SCPONLY_SCP) |
113 |
CONFIGURE_ARGS+=--enable-scp-compat |
114 |
.endif |
115 |
|
116 |
.if defined(WITH_SCPONLY_SFTP_LOGGING) |
117 |
CONFIGURE_ARGS+=--enable-sftp-logging-compat |
118 |
.endif |
119 |
|
116 |
.if defined(WITH_SCPONLY_SVN) |
120 |
.if defined(WITH_SCPONLY_SVN) |
117 |
BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion |
121 |
BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion |
118 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
122 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
Lines 131-136
Link Here
|
131 |
CONFIGURE_ARGS+=--enable-unison-compat |
135 |
CONFIGURE_ARGS+=--enable-unison-compat |
132 |
.endif |
136 |
.endif |
133 |
|
137 |
|
|
|
138 |
.if defined(WITH_SCPONLY_WINSCP) |
139 |
CONFIGURE_ARGS+=--enable-winscp-compat |
140 |
.endif |
141 |
|
134 |
pre-everything:: |
142 |
pre-everything:: |
135 |
@${ECHO_MSG} "" |
143 |
@${ECHO_MSG} "" |
136 |
@${ECHO_MSG} "You can enable chroot functionality by defining WITH_SCPONLY_CHROOT." |
144 |
@${ECHO_MSG} "You can enable chroot functionality by defining WITH_SCPONLY_CHROOT." |