Lines 142-147
Link Here
|
142 |
sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die |
142 |
sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die |
143 |
# bug 504370 |
143 |
# bug 504370 |
144 |
sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die |
144 |
sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die |
|
|
145 |
|
146 |
# Fix tmpfiles config for client-only (no bacula user) install |
147 |
# NOTE: Change only first occurance (user) not second (group) |
148 |
if use bacula-clientonly; then |
149 |
sed -i -e 's/bacula/root/' platforms/systemd/bacula.conf.in || die |
150 |
fi |
145 |
} |
151 |
} |
146 |
|
152 |
|
147 |
src_configure() { |
153 |
src_configure() { |
Lines 185-191
Link Here
|
185 |
--libdir=/usr/$(get_libdir) \ |
191 |
--libdir=/usr/$(get_libdir) \ |
186 |
--docdir=/usr/share/doc/${PF} \ |
192 |
--docdir=/usr/share/doc/${PF} \ |
187 |
--htmldir=/usr/share/doc/${PF}/html \ |
193 |
--htmldir=/usr/share/doc/${PF}/html \ |
188 |
--with-pid-dir=/var/run \ |
194 |
--with-pid-dir=/var/run/bacula \ |
189 |
--sysconfdir=/etc/bacula \ |
195 |
--sysconfdir=/etc/bacula \ |
190 |
--with-subsys-dir=/var/lock/subsys \ |
196 |
--with-subsys-dir=/var/lock/subsys \ |
191 |
--with-working-dir=/var/lib/bacula \ |
197 |
--with-working-dir=/var/lib/bacula \ |