Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= bacula |
4 |
PORTNAME= bacula |
5 |
DISTVERSION= 5.2.12 |
5 |
DISTVERSION= 7.0.4 |
6 |
PORTREVISION?= 6 |
6 |
PORTREVISION?= 1 |
7 |
CATEGORIES?= sysutils |
7 |
CATEGORIES?= sysutils |
8 |
MASTER_SITES= SF/bacula/bacula/${PORTVERSION} |
8 |
MASTER_SITES= SF/bacula/bacula/${PORTVERSION} |
9 |
PKGNAMEPREFIX?= # |
9 |
PKGNAMEPREFIX?= # |
Lines 12-21
Link Here
|
12 |
MAINTAINER= dan@langille.org |
12 |
MAINTAINER= dan@langille.org |
13 |
COMMENT?= Network backup solution (server) |
13 |
COMMENT?= Network backup solution (server) |
14 |
|
14 |
|
15 |
USES+= libtool:keepla |
15 |
CONFLICTS_BUILD= bacula-*-5.2.12_3 |
16 |
|
16 |
|
17 |
LIB_DEPENDS+= liblzo2.so:${PORTSDIR}/archivers/lzo2 |
17 |
GNU_CONFIGURE= yes |
18 |
|
18 |
|
|
|
19 |
LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 |
20 |
|
21 |
.if ${PKGNAMESUFFIX} == "-server" |
22 |
RUN_DEPENDS= ${LOCALBASE}/lib/libbac.so:${PORTSDIR}/sysutils/bacula-client \ |
23 |
${LOCALBASE}/lib/libbacfg.so:${PORTSDIR}/sysutils/bacula-client \ |
24 |
${LOCALBASE}/lib/libbacfind.so:${PORTSDIR}/sysutils/bacula-client |
25 |
.endif |
26 |
|
27 |
UNIQUENAME?= ${PORTNAME}${PKGNAMESUFFIX} |
28 |
|
19 |
USERS= bacula |
29 |
USERS= bacula |
20 |
GROUPS= ${USERS} |
30 |
GROUPS= ${USERS} |
21 |
|
31 |
|
Lines 24-47
Link Here
|
24 |
GNU_CONFIGURE= yes |
34 |
GNU_CONFIGURE= yes |
25 |
USE_LDCONFIG= yes |
35 |
USE_LDCONFIG= yes |
26 |
|
36 |
|
|
|
37 |
USES= libtool |
38 |
|
27 |
CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include |
39 |
CPPFLAGS+= -I/usr/include/readline -I${LOCALBASE}/include |
28 |
LDFLAGS+= -L${LOCALBASE}/lib |
40 |
#LDFLAGS+= -L${LOCALBASE}/lib |
29 |
|
41 |
|
30 |
OPTIONS_DEFINE?= SQLITE3 MYSQL PGSQL MTX PYTHON NLS OPENSSL |
42 |
OPTIONS_DEFINE?= SQLITE3 MYSQL PGSQL MTX PYTHON NLS OPENSSL |
31 |
OPTIONS_DEFAULT?= NLS OPENSSL PGSQL |
43 |
OPTIONS_DEFAULT?= NLS OPENSSL PGSQL |
32 |
MTX_DESC= Install mtx for control of autochanger devices |
44 |
MTX_DESC= Install mtx for control of autochanger devices |
33 |
|
45 |
|
34 |
OPENSSL_USE= OPENSSL=yes |
46 |
.include <bsd.port.options.mk> |
35 |
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} |
|
|
36 |
OPENSSL_CONFIGURE_OFF= --with-openssl="no" |
37 |
|
47 |
|
38 |
.if ${PKGNAMESUFFIX} == "-client" || ${PKGNAMESUFFIX} == "-server" #Till end of the file |
48 |
.if ${PKGNAMESUFFIX} == "-client" || ${PKGNAMESUFFIX} == "-server" #Till end of the file |
39 |
|
49 |
|
40 |
PYTHON_USE= PYTHON=yes |
50 |
.if defined(WITH_PYTHON) |
41 |
PYTHON_CONFIGURE_ON= --with-python=yes |
51 |
USE_PYTHON= yes |
|
|
52 |
CONFIGURE_ARGS+= --with-python=yes |
53 |
.endif |
42 |
|
54 |
|
43 |
.if !defined(WITH_CLIENT_ONLY) |
55 |
.if !defined(WITH_CLIENT_ONLY) |
44 |
LIB_DEPENDS+= libbac.so:${PORTSDIR}/sysutils/bacula-client |
56 |
LIB_DEPENDS= libbac.so:${PORTSDIR}/sysutils/bacula-client |
45 |
USE_RC_SUBR?= bacula-dir bacula-sd |
57 |
USE_RC_SUBR?= bacula-dir bacula-sd |
46 |
.endif |
58 |
.endif |
47 |
|
59 |
|
Lines 48-57
Link Here
|
48 |
.if defined(WITH_CLIENT_ONLY) |
60 |
.if defined(WITH_CLIENT_ONLY) |
49 |
SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client |
61 |
SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client |
50 |
.else |
62 |
.else |
51 |
SUB_FILES+= pkg-message.server |
63 |
SUB_FILES+= pkg-install.server pkg-deinstall.server pkg-message.server |
52 |
.endif |
64 |
.endif |
53 |
|
65 |
|
54 |
MANCOMPRESSED= yes |
|
|
55 |
CONFIGURE_ARGS+=--with-tcp-wrappers=/usr/lib \ |
66 |
CONFIGURE_ARGS+=--with-tcp-wrappers=/usr/lib \ |
56 |
--enable-smartalloc \ |
67 |
--enable-smartalloc \ |
57 |
--sysconfdir=${ETCDIR} \ |
68 |
--sysconfdir=${ETCDIR} \ |
Lines 66-71
Link Here
|
66 |
--with-db-name=bacula \ |
77 |
--with-db-name=bacula \ |
67 |
--with-sbin-perm=755 \ |
78 |
--with-sbin-perm=755 \ |
68 |
--with-db-user=bacula \ |
79 |
--with-db-user=bacula \ |
|
|
80 |
--with-logdir=/var/log \ |
69 |
--with-baseport=9101 |
81 |
--with-baseport=9101 |
70 |
|
82 |
|
71 |
.if defined(WITH_CLIENT_ONLY) |
83 |
.if defined(WITH_CLIENT_ONLY) |
Lines 95-149
Link Here
|
95 |
BACULA_GID=${BACULA_GID} \ |
107 |
BACULA_GID=${BACULA_GID} \ |
96 |
BACULA_DIR=${BACULA_DIR} |
108 |
BACULA_DIR=${BACULA_DIR} |
97 |
|
109 |
|
98 |
NLS_USES= gettext |
110 |
.if ${PORT_OPTIONS:MNLS} |
99 |
NLS_CONFIGURE_ENABLE= nls |
111 |
USES+= gettext |
|
|
112 |
CONFIGURE_ARGS+= --enable-nls |
113 |
.else |
114 |
CONFIGURE_ARGS+= --disable-nls |
115 |
.endif |
100 |
|
116 |
|
|
|
117 |
# overridden if client install |
118 |
PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.server |
119 |
PKGINSTALL= ${FILESDIR}/pkg-install.server |
120 |
|
101 |
# Client only or full server version |
121 |
# Client only or full server version |
102 |
.if defined(WITH_CLIENT_ONLY) |
122 |
.if defined(WITH_CLIENT_ONLY) |
103 |
CONFFILES= fd |
123 |
CONFFILES= fd |
104 |
CONFIGURE_ARGS+= --enable-client-only |
124 |
CONFIGURE_ARGS+= --enable-client-only |
105 |
|
125 |
|
106 |
PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client |
126 |
PKGDEINSTALL= ${STAGEDIR}${FILESDIR}/pkg-deinstall.client |
107 |
PKGINSTALL= ${FILESDIR}/pkg-install.client |
127 |
PKGINSTALL= ${STAGEDIR}${FILESDIR}/pkg-install.client |
108 |
.else |
128 |
.else |
109 |
# Server only Options |
129 |
# Server only Options |
110 |
CONFFILES= sd dir |
130 |
CONFFILES= sd dir |
111 |
# Server default database |
131 |
# Server default database |
112 |
|
|
|
113 |
MYSQL_CONFIGURE_ON= --with-mysql=yes |
114 |
MYSQL_USE= MYSQL=yes |
115 |
SQLITE3_CONFIGURE_ON= --with-sqlite3=yes |
116 |
SQLITE3_LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 |
117 |
PGSQL_CONFIGURE_ON= --with-postgresql=yes |
118 |
PGSQL_USES= pgsql |
119 |
|
120 |
MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:${PORTSDIR}/misc/mtx |
121 |
|
122 |
.include <bsd.port.options.mk> |
123 |
|
124 |
.if ${PORT_OPTIONS:MMYSQL} |
132 |
.if ${PORT_OPTIONS:MMYSQL} |
|
|
133 |
CONFIGURE_ARGS+= --with-mysql=yes |
134 |
USE_MYSQL= yes |
125 |
DBTYPE= mysql |
135 |
DBTYPE= mysql |
126 |
SUB_LIST+= REQ_MYSQL=mysql REQ_PGSQL="" |
136 |
SUB_LIST+= REQ_MYSQL=mysql REQ_PGSQL="" |
127 |
.elif ${PORT_OPTIONS:MSQLITE3} |
137 |
.elif ${PORT_OPTIONS:MSQLITE3} |
|
|
138 |
CONFIGURE_ARGS+= --with-sqlite3=yes |
139 |
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 |
128 |
DBTYPE= sqlite3 |
140 |
DBTYPE= sqlite3 |
129 |
.else |
141 |
.else |
|
|
142 |
USE_PGSQL= yes |
143 |
CONFIGURE_ARGS+= --with-postgresql=yes |
130 |
DBTYPE= postgresql |
144 |
DBTYPE= postgresql |
131 |
SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql |
145 |
SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql |
132 |
.endif |
146 |
.endif |
133 |
PLIST_SUB+= DBTYPE=${DBTYPE} |
147 |
PLIST_SUB+= DBTYPE=${DBTYPE} |
134 |
|
148 |
## Install mtx |
|
|
149 |
.if ${PORT_OPTIONS:MMTX} |
150 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/mtx:${PORTSDIR}/misc/mtx |
135 |
.endif |
151 |
.endif |
|
|
152 |
.endif |
136 |
|
153 |
|
137 |
.if defined(WITH_CLIENT_ONLY) |
154 |
.if ${PORT_OPTIONS:MOPENSSL} |
138 |
MP8+= bacula-fd.8 bconsole.8 |
155 |
.include "${PORTSDIR}/Mk/bsd.openssl.mk" |
|
|
156 |
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} |
139 |
.else |
157 |
.else |
140 |
MP8+= bacula.8 bacula-dir.8 bacula-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 \ |
158 |
CONFIGURE_ARGS+= --with-openssl="no" |
141 |
btape.8 btraceback.8 dbcheck.8 bwild.8 bregex.8 |
|
|
142 |
MP1+= bsmtp.1 bacula-tray-monitor.1 bacula-bwxconsole.1 |
143 |
.endif |
159 |
.endif |
144 |
|
160 |
|
145 |
MAKE_ENV+= MAN8="${MP8}" MAN1="${MP1}" |
161 |
MAKE_ENV+= MAN8="${MAN8}" MAN1="${MAN1}" |
146 |
|
162 |
|
|
|
163 |
pre-everything:: |
164 |
.if !defined(WITH_CLIENT_ONLY) |
165 |
@${ECHO_MSG} "You may use the following build options (or make config):" |
166 |
@${ECHO_MSG} "" |
167 |
@${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon." |
168 |
@${ECHO_MSG} " WITH_MTX=yes if you want to use mtx instead of chio for autochanger control." |
169 |
@${ECHO_MSG} " WITH_PYTHON=yes Enable Python scripting in the director." |
170 |
@${ECHO_MSG} " WITH_SQLITE3=yes if you want SQLite-3 as the database (not recommended)." |
171 |
.if ! ${PORT_OPTIONS:MMYSQL} && ! ${PORT_OPTIONS:MPGSQL} |
172 |
@${ECHO_MSG} " WITH_MYSQL=yes if you want MySQL as the database." |
173 |
@${ECHO_MSG} " WITH_PGSQL=yes if you want PostgreSQL as the database." |
174 |
@${ECHO_MSG} "" |
175 |
@${ECHO_MSG} "The default DB is PostgreSQL!" |
176 |
.endif |
177 |
@${ECHO_MSG} " WITH_OPENSSL=yes Enable OpenSSL for encrypted communication." |
178 |
@${ECHO_MSG} "" |
179 |
@${ECHO_MSG} "===> Using ${DBTYPE} as the bacula database." |
180 |
@${ECHO_MSG} "" |
181 |
.endif |
182 |
|
147 |
post-patch: |
183 |
post-patch: |
148 |
# This port does not install docs. See bacula-docs for that |
184 |
# This port does not install docs. See bacula-docs for that |
149 |
${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in |
185 |
${REINPLACE_CMD} -e '/docdir/d' ${WRKSRC}/Makefile.in |
Lines 151-188
Link Here
|
151 |
@${REINPLACE_CMD} -e 's|$$(ECHO)|echo|g' ${WRKSRC}/src/filed/Makefile.in \ |
187 |
@${REINPLACE_CMD} -e 's|$$(ECHO)|echo|g' ${WRKSRC}/src/filed/Makefile.in \ |
152 |
${WRKSRC}/src/console/Makefile.in |
188 |
${WRKSRC}/src/console/Makefile.in |
153 |
# Default bconsole.conf is in ${ETCDIR} |
189 |
# Default bconsole.conf is in ${ETCDIR} |
154 |
@${REINPLACE_CMD} -e 's|./bconsole.conf|${ETCDIR}/bconsole.conf|g' ${WRKSRC}/src/console/console.c |
190 |
@${REINPLACE_CMD} -e 's|./bconsole.conf|${STAGEDIR}${ETCDIR}/bconsole.conf|g' ${WRKSRC}/src/console/console.c |
155 |
@${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in |
191 |
# @${REINPLACE_CMD} -e 's|^MAN8 =|MAN8 ?=|g' -e 's|^MAN1 =|MAN1 ?=|g' ${WRKSRC}/manpages/Makefile.in |
156 |
.if defined(WITH_CLIENT_ONLY) |
192 |
#.if defined(WITH_CLIENT_ONLY) |
157 |
# In client port only install startup script out of script dir (see below post-install) |
193 |
## In client port only install startup script out of script dir (see below post-install) |
158 |
# Dont mkdir ${PREFIX}/share/bacula cause it's empty |
194 |
## Dont mkdir ${PREFIX}/share/bacula cause it's empty |
159 |
@${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in |
195 |
# @${REINPLACE_CMD} -e 's|^\(fd_subdirs = .*\)scripts\(.*\)|\1\2|g' ${WRKSRC}/Makefile.in |
160 |
${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in |
196 |
# ${REINPLACE_CMD} -e 's|\(.*$${MKDIR} $${DESTDIR}$${scriptdir}\)|#\1|g' ${WRKSRC}/Makefile.in |
161 |
.else |
197 |
#.else |
162 |
# In server port don't install filed |
198 |
## In server port don't install filed |
163 |
@${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ |
199 |
# @${REINPLACE_CMD} -e '/^fd_subdirs = /s|src/filed||' -e 's|src/console||' \ |
164 |
-e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in |
200 |
# -e 's|src/lib||' -e 's|src/findlib||' -e 's|@FD_PLUGIN_DIR@||' ${WRKSRC}/Makefile.in |
165 |
@${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ |
201 |
# @${REINPLACE_CMD} -e 's|../lib/|$$(LOCALBASE)/lib/|g' -e 's|../findlib/|$$(LOCALBASE)/lib/|g' ${WRKSRC}/src/dird/Makefile.in \ |
166 |
${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in |
202 |
# ${WRKSRC}/src/stored/Makefile.in ${WRKSRC}/src/tools/Makefile.in |
167 |
@${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' \ |
203 |
# @${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' \ |
168 |
${WRKSRC}/src/tools/bpluginfo.c |
204 |
# ${WRKSRC}/src/tools/bpluginfo.c |
169 |
.endif |
205 |
#.endif |
170 |
|
206 |
|
|
|
207 |
.if !target(pre-install) |
171 |
pre-install: |
208 |
pre-install: |
172 |
${MKDIR} ${STAGEDIR}${BACULA_DIR} |
209 |
if [ ! -d "${STAGEDIR}${BACULA_DIR}" ]; then \ |
|
|
210 |
${ECHO_CMD} "creating ${STAGEDIR}${BACULA_DIR}" ; \ |
211 |
${MKDIR} ${STAGEDIR}${BACULA_DIR}; \ |
212 |
else \ |
213 |
${ECHO_CMD} "${STAGEDIR}${BACULA_DIR} already exists"; \ |
214 |
fi |
173 |
|
215 |
|
|
|
216 |
# Extend /etc/services and install UID/GID |
217 |
@ ${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} \ |
218 |
${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL |
219 |
.endif |
220 |
|
174 |
.if !target(post-install) |
221 |
.if !target(post-install) |
175 |
post-install: |
222 |
post-install: |
176 |
.if defined(WITH_CLIENT_ONLY) |
223 |
.if defined(WITH_CLIENT_ONLY) |
177 |
${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${STAGEDIR}${ETCDIR}/bconsole.conf.sample |
224 |
# Extend only /etc/services |
|
|
225 |
@ ${SETENV} PKG_PREFIX=${STAGEDIR}${PREFIX} \ |
226 |
${SH} ${PKGINSTALL} ${PORTNAME} |
227 |
# Console stuff |
228 |
if [ -f ${STAGEDIR}${ETCDIR}/bconsole.conf.new ]; then \ |
229 |
# ${ECHO_CMD} "etc/bconsole.conf.new" >> ${TMPPLIST}; \ |
230 |
${CHGRP} bacula ${STAGEDIR}${ETCDIR}/bconsole.conf.new; \ |
231 |
elif [ -f ${STAGEDIR}${ETCDIR}/bconsole.conf ]; then \ |
232 |
${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${STAGEDIR}${ETCDIR}/bconsole.conf.sample; \ |
233 |
${CHGRP} bacula ${STAGEDIR}${ETCDIR}/bconsole.conf.sample; \ |
234 |
# ${ECHO_CMD} "etc/bacula/bconsole.conf.sample" >> ${TMPPLIST}; \ |
235 |
fi |
236 |
|
237 |
# ensure that users in the bacula group can run bconsole |
238 |
${CHGRP} bacula ${STAGEDIR}${PREFIX}/sbin/bconsole |
178 |
.else |
239 |
.else |
|
|
240 |
# Install config files and preserve existing ones |
179 |
${INSTALL_SCRIPT} ${FILESDIR}/chio-bacula ${STAGEDIR}${PREFIX}/sbin |
241 |
${INSTALL_SCRIPT} ${FILESDIR}/chio-bacula ${STAGEDIR}${PREFIX}/sbin |
180 |
${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${STAGEDIR}${ETCDIR}/bacula-barcodes.sample |
242 |
if [ -f ${ETCDIR}/bacula-barcodes ]; then \ |
181 |
${CHMOD} o+x ${STAGEDIR}${PREFIX}/sbin/bsmtp |
243 |
${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${ETCDIR}/bacula-barcodes.new ; \ |
|
|
244 |
${ECHO_CMD} "etc/bacula/bacula-barcodes.new" >> ${TMPPLIST}; \ |
245 |
else \ |
246 |
${INSTALL_DATA} ${FILESDIR}/bacula-barcodes ${STAGEDIR}${ETCDIR}/bacula-barcodes.samples ; \ |
247 |
${ECHO_CMD} "etc/bacula/bacula-barcodes.samples" >> ${TMPPLIST}; \ |
248 |
fi |
249 |
# Add configuration files directory to packing list |
250 |
${ECHO_CMD} "@unexec ${RMDIR} %D/etc/bacula 2>/dev/null || true" >> ${TMPPLIST} |
251 |
${CHOWN} -R bacula:bacula ${STAGEDIR}${PREFIX}/share/bacula |
252 |
|
253 |
# on a fresh install, the .new suffix is not used |
254 |
if [ -f ${STAGEDIR}${ETCDIR}/bacula-dir.conf.new ]; then \ |
255 |
${CHGRP} bacula ${STAGEDIR}${ETCDIR}/bacula-dir.conf.new; \ |
256 |
else \ |
257 |
${CHGRP} bacula ${STAGEDIR}${ETCDIR}/bacula-dir.conf; \ |
258 |
fi |
259 |
|
260 |
${CHGRP} bacula ${STAGEDIR}${PREFIX}/sbin/dbcheck |
261 |
|
182 |
.endif |
262 |
.endif |
|
|
263 |
# Install leaves existing conf files untouched. Respect this here! |
183 |
for na in ${CONFFILES}; do \ |
264 |
for na in ${CONFFILES}; do \ |
184 |
${MV} ${STAGEDIR}${ETCDIR}/bacula-$$na.conf ${STAGEDIR}${ETCDIR}/bacula-$$na.conf.sample; \ |
265 |
if [ -f ${STAGEDIR}${ETCDIR}/bacula-$$na.conf.new ]; then \ |
|
|
266 |
${ECHO_CMD} "etc/bacula/bacula-$$na.conf.new" >> ${TMPPLIST}; \ |
267 |
elif [ -f ${STAGEDIR}${ETCDIR}/bacula-$$na.conf ]; then \ |
268 |
${MV} ${STAGEDIR}${ETCDIR}/bacula-$$na.conf ${STAGEDIR}${ETCDIR}/bacula-$$na.conf.sample; \ |
269 |
${ECHO_CMD} "etc/bacula/bacula-$$na.conf.sample" >> ${TMPPLIST}; \ |
270 |
fi; \ |
185 |
done |
271 |
done |
|
|
272 |
|
273 |
# Add configuration files directory to packing list |
274 |
${ECHO_CMD} "@unexec ${RMDIR} %D/etc/bacula 2>/dev/null || true" >> ${TMPPLIST} |
275 |
|
276 |
${CHGRP} wheel ${STAGEDIR}${PREFIX}/etc |
277 |
|
186 |
.endif |
278 |
.endif |
187 |
.else |
279 |
.else |
188 |
.include "${MASTERDIR}/Makefile.common" |
280 |
.include "${MASTERDIR}/Makefile.common" |