Lines 15-20
Link Here
|
15 |
# |
15 |
# |
16 |
# Core funcionality: |
16 |
# Core funcionality: |
17 |
# |
17 |
# |
|
|
18 |
# SCPONLY_DEFAULT_CHDIR=DIR |
19 |
# default: undefined |
20 |
# example: public_html |
21 |
# define if you want to make users `cd' to this directory after authentication |
22 |
# |
18 |
# WITHOUT_SCPONLY_WILDCARDS |
23 |
# WITHOUT_SCPONLY_WILDCARDS |
19 |
# default: undefined |
24 |
# default: undefined |
20 |
# define if you want to disable wildcard processing. |
25 |
# define if you want to disable wildcard processing. |
Lines 39-44
Link Here
|
39 |
# default: undefined |
44 |
# default: undefined |
40 |
# define if you want to enable rsync compatibility. |
45 |
# define if you want to enable rsync compatibility. |
41 |
# |
46 |
# |
|
|
47 |
# WITH_SCPONLY_SVN |
48 |
# default: undefined |
49 |
# define if you want to enable subversion compatibility. |
50 |
# |
42 |
# WITH_SCPONLY_UNISON |
51 |
# WITH_SCPONLY_UNISON |
43 |
# default: undefined |
52 |
# default: undefined |
44 |
# define if you want to enable unison compatibility. |
53 |
# define if you want to enable unison compatibility. |
Lines 53-59
Link Here
|
53 |
# to be installed. |
62 |
# to be installed. |
54 |
|
63 |
|
55 |
PORTNAME= scponly |
64 |
PORTNAME= scponly |
56 |
PORTVERSION= 3.11 |
65 |
PORTVERSION= 4.0 |
57 |
PORTREVISION= 0 |
66 |
PORTREVISION= 0 |
58 |
CATEGORIES= shells |
67 |
CATEGORIES= shells |
59 |
MASTER_SITES= http://www.sublimation.org/scponly/ |
68 |
MASTER_SITES= http://www.sublimation.org/scponly/ |
Lines 69-74
Link Here
|
69 |
|
78 |
|
70 |
.include <bsd.port.pre.mk> |
79 |
.include <bsd.port.pre.mk> |
71 |
|
80 |
|
|
|
81 |
.if defined(SCPONLY_DEFAULT_CHDIR) && !empty(SCPONLY_DEFAULT_CHDIR) |
82 |
CONFIGURE_ARGS+=--with-default-chdir=${SCPONLY_DEFAULT_CHDIR} |
83 |
.endif |
84 |
|
72 |
.if defined(WITHOUT_SCPONLY_WILDCARDS) |
85 |
.if defined(WITHOUT_SCPONLY_WILDCARDS) |
73 |
CONFIGURE_ARGS+=--disable-wildcards |
86 |
CONFIGURE_ARGS+=--disable-wildcards |
74 |
.endif |
87 |
.endif |
Lines 96-101
Link Here
|
96 |
CONFIGURE_ARGS+=--enable-rsync-compat |
109 |
CONFIGURE_ARGS+=--enable-rsync-compat |
97 |
.endif |
110 |
.endif |
98 |
|
111 |
|
|
|
112 |
.if defined(WITH_SCPONLY_SVN) |
113 |
BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion |
114 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
115 |
CONFIGURE_ARGS+=--enable-svn-compat |
116 |
.endif |
117 |
|
99 |
.if defined(WITH_SCPONLY_UNISON) |
118 |
.if defined(WITH_SCPONLY_UNISON) |
100 |
BUILD_DEPENDS+= unison:${PORTSDIR}/net/unison |
119 |
BUILD_DEPENDS+= unison:${PORTSDIR}/net/unison |
101 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |
120 |
RUN_DEPENDS+= ${BUILD_DEPENDS} |