Lines 4-10
Link Here
|
4 |
PORTNAME= bareos |
4 |
PORTNAME= bareos |
5 |
DISTVERSIONPREFIX= Release/ |
5 |
DISTVERSIONPREFIX= Release/ |
6 |
DISTVERSION= 15.2.2 |
6 |
DISTVERSION= 15.2.2 |
7 |
PORTREVISION?= 3 |
7 |
PORTREVISION?= 4 |
8 |
CATEGORIES?= sysutils |
8 |
CATEGORIES?= sysutils |
9 |
PKGNAMEPREFIX?= # |
9 |
PKGNAMEPREFIX?= # |
10 |
PKGNAMESUFFIX?= -server |
10 |
PKGNAMESUFFIX?= -server |
Lines 32-42
Link Here
|
32 |
CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include |
32 |
CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include |
33 |
LDFLAGS+= -L${LOCALBASE}/lib |
33 |
LDFLAGS+= -L${LOCALBASE}/lib |
34 |
|
34 |
|
35 |
OPTIONS_DEFINE?= MTX PYTHON NDMP NLS OPENSSL |
35 |
OPTIONS_DEFINE?= MTX PYTHON NDMP NLS OPENSSL SCSICRYPTO |
36 |
OPTIONS_DEFAULT?= NLS OPENSSL PGSQL |
36 |
OPTIONS_DEFAULT?= NLS OPENSSL PGSQL |
37 |
OPTIONS_SUB= yes |
37 |
OPTIONS_SUB= yes |
38 |
MTX_DESC= Install mtx for control of autochanger devices |
38 |
MTX_DESC= Install mtx for control of autochanger devices |
39 |
NDMP_DESC= Enable build of NDMP support |
39 |
NDMP_DESC= Enable build of NDMP support |
|
|
40 |
SCSICRYPTO_DESC= Build LTO AME crypto plugin |
40 |
|
41 |
|
41 |
.if ${PKGNAMESUFFIX} == "-server" |
42 |
.if ${PKGNAMESUFFIX} == "-server" |
42 |
OPTIONS_SINGLE_DATABASE= SQLITE3 MYSQL PGSQL |
43 |
OPTIONS_SINGLE_DATABASE= SQLITE3 MYSQL PGSQL |
Lines 47-52
Link Here
|
47 |
NDMP_CONFIGURE_OFF= --enable-ndmp=no |
48 |
NDMP_CONFIGURE_OFF= --enable-ndmp=no |
48 |
.endif |
49 |
.endif |
49 |
|
50 |
|
|
|
51 |
SCSICRYPTO_CONFIGURE_ON= --enable-scsi-crypto=yes |
52 |
SCSICRYPTO_CONFIGURE_OFF= --enable-scsi-crypto=no |
53 |
|
50 |
OPENSSL_USE= OPENSSL=yes |
54 |
OPENSSL_USE= OPENSSL=yes |
51 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
55 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
52 |
OPENSSL_CONFIGURE_OFF= --with-openssl="no" |
56 |
OPENSSL_CONFIGURE_OFF= --with-openssl="no" |
Lines 184-189
Link Here
|
184 |
# In server port don't install filed |
188 |
# In server port don't install filed |
185 |
@${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ |
189 |
@${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ |
186 |
-e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in |
190 |
-e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in |
|
|
191 |
@${REINPLACE_CMD} -e 's|\.\./\.\./lib/libbareos|$$(LOCALBASE)/lib/libbareos|g' \ |
192 |
${WRKSRC}/src/plugins/dird/Makefile.in \ |
193 |
${WRKSRC}/src/plugins/filed/Makefile.in \ |
194 |
${WRKSRC}/src/plugins/stored/Makefile.in |
187 |
@${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ |
195 |
@${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ |
188 |
${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in |
196 |
${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in |
189 |
@${REINPLACE_CMD} -e 's|fd_plugins.h|filed/fd_plugins.h|g' -e 's|dir_plugins.h|dird/dir_plugins.h|g' -e 's|stored.h|stored/stored.h|g' \ |
197 |
@${REINPLACE_CMD} -e 's|fd_plugins.h|filed/fd_plugins.h|g' -e 's|dir_plugins.h|dird/dir_plugins.h|g' -e 's|stored.h|stored/stored.h|g' \ |