Thank you. The script is only an extract from the whole process. I'm happy to share the full thing if anyone is interested.
-Chris- On Mon, 4 Nov 2024, 20:05 Marcin Haba, <ganius...@gmail.com> wrote: > On Mon, 4 Nov 2024 at 16:00, Chris Wilkinson <winstonia...@gmail.com> > wrote: > > > > I ran into a problem in that the make step in the build process isn’t > copying the .htaccess files to the build directory. > > Hello Chris, > > The Apache web server config provided with Baculum does not use the > .htaccess files. The web server config has everything (all directives) > needed to run Baculum. > > The .htaccess files can be useful if somebody wants to do own > customized installation with own Apache config to run Baculum and they > contain basic directives to start it. > > > I wrote a little script to do the steps. This ran without any error > though the transcript doesn’t show the .htaccess files being copied. The > make extract is below. These were on one line in the instructions but I > split them up. > > > > cd ${target}/bacula-gui-${ver}/baculum/ || exit #where the sources were > extracted to > > make build \ > > DESTDIR=${build} \ > > SAMPLETYPE=deb-template \ > > HTTPDNAME=apache2 \ > > HTTPDSITECONF=sites-available \ > > WWWDIR=${dest}/baculum > > > > where > > target=/usr/src > > ver=15.0.2 > > build=/tmp/baculum-files > > dest= /var/www/ > > > > I wonder if there is an additional build flag needed or perhaps I make a > mistake? > > Yes, nice script. Thanks for sharing it. > > I think you have all needed flags to make it working on DEB-based > systems. If you want to see all possible settings for the build > process, they are in the Makefile in > /usr/src/bacula-gui-15.0.2/baculum/ but these above are sufficient. > > Best regards, > Marcin Haba (gani) >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users