Lines 112-128
Link Here
|
112 |
CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} |
112 |
CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} |
113 |
.endif |
113 |
.endif |
114 |
|
114 |
|
115 |
.if defined (AMANDA_USER) |
115 |
AMANDA_USER?= operator |
116 |
CONFIGURE_ARGS+= --with-user=${AMANDA_USER} |
116 |
AMANDA_GROUP?= operator |
117 |
.else |
|
|
118 |
CONFIGURE_ARGS+= --with-user=operator |
119 |
.endif |
120 |
|
117 |
|
121 |
.if defined (AMANDA_GROUP) |
118 |
CONFIGURE_ARGS+= --with-user=${AMANDA_USER} |
122 |
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} |
119 |
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} |
123 |
.else |
|
|
124 |
CONFIGURE_ARGS+= --with-group=operator |
125 |
.endif |
126 |
|
120 |
|
127 |
.if defined (AMANDA_UDPPORTRANGE) |
121 |
.if defined (AMANDA_UDPPORTRANGE) |
128 |
CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} |
122 |
CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} |
Lines 191-199
Link Here
|
191 |
${WRKSRC}/example/disklist \ |
185 |
${WRKSRC}/example/disklist \ |
192 |
${PREFIX}/share/examples/amanda |
186 |
${PREFIX}/share/examples/amanda |
193 |
${MKDIR} ${PREFIX}/var/amanda/gnutar-lists |
187 |
${MKDIR} ${PREFIX}/var/amanda/gnutar-lists |
194 |
${CHOWN} operator:operator ${PREFIX}/var/amanda/gnutar-lists |
188 |
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} ${PREFIX}/var/amanda/gnutar-lists |
195 |
${TOUCH} /etc/amandates |
189 |
${TOUCH} /etc/amandates |
196 |
${CHOWN} operator:operator /etc/amandates |
190 |
${CHOWN} ${AMANDA_USER}:${AMANDA_GROUP} /etc/amandates |
197 |
|
191 |
|
198 |
.if defined (AMANDA_SERVER) |
192 |
.if defined (AMANDA_SERVER) |
199 |
CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} |
193 |
CONFIGURE_ARGS+= --with-index-server=${AMANDA_SERVER} |
Lines 208-224
Link Here
|
208 |
CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} |
202 |
CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} |
209 |
.endif |
203 |
.endif |
210 |
|
204 |
|
211 |
.if defined (AMANDA_USER) |
205 |
AMANDA_USER?= operator |
212 |
CONFIGURE_ARGS+= --with-user=${AMANDA_USER} |
206 |
AMANDA_GROUP?= operator |
213 |
.else |
|
|
214 |
CONFIGURE_ARGS+= --with-user=operator |
215 |
.endif |
216 |
|
207 |
|
217 |
.if defined (AMANDA_GROUP) |
208 |
CONFIGURE_ARGS+= --with-user=${AMANDA_USER} |
218 |
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} |
209 |
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP} |
219 |
.else |
|
|
220 |
CONFIGURE_ARGS+= --with-group=operator |
221 |
.endif |
222 |
|
210 |
|
223 |
.if defined (AMANDA_UDPPORTRANGE) |
211 |
.if defined (AMANDA_UDPPORTRANGE) |
224 |
CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} |
212 |
CONFIGURE_ARGS+= --with-udpportrange=${AMANDA_UDPPORTRANGE} |