src/win32/Makefile \
src/win32/console/bconsole.conf \
src/win32/wx-console/wx-console.conf \
+ src/win32/pebuilder/Makefile \
$PFILES ],
[(echo "Doing make of dependencies"; ${MAKE:-make} depend;) ]
)
exit 1
fi
- ac_config_files="$ac_config_files autoconf/Make.common Makefile rescue/Makefile rescue/linux/Makefile rescue/linux/floppy/Makefile rescue/linux/cdrom/Makefile rescue/linux/cdrom/bacula/Makefile rescue/freebsd/Makefile rescue/solaris/Makefile scripts/startmysql scripts/stopmysql scripts/btraceback scripts/startit scripts/stopit scripts/bconsole scripts/gconsole scripts/bacula scripts/devel_bacula scripts/Makefile scripts/logrotate scripts/bacula.desktop.gnome1 scripts/bacula.desktop.gnome2 scripts/bacula.desktop.gnome1.consolehelper scripts/bacula.desktop.gnome2.consolehelper scripts/bacula.desktop.gnome1.xsu scripts/bacula.desktop.gnome2.xsu scripts/gnome-console.console_apps scripts/mtx-changer scripts/bacula-tray-monitor.desktop doc/Makefile src/Makefile src/host.h src/console/Makefile src/console/bconsole.conf src/gnome-console/Makefile src/gnome-console/gnome-console.conf src/gnome2-console/Makefile src/gnome2-console/gnome-console.conf src/wx-console/Makefile src/wx-console/wx-console.conf src/tray-monitor/Makefile src/tray-monitor/tray-monitor.conf src/dird/Makefile src/dird/bacula-dir.conf src/lib/Makefile src/stored/Makefile src/stored/bacula-sd.conf src/filed/Makefile src/filed/bacula-fd.conf src/filed/win32/Makefile src/cats/Makefile src/cats/make_catalog_backup src/cats/delete_catalog_backup src/cats/create_postgresql_database src/cats/update_postgresql_tables src/cats/make_postgresql_tables src/cats/grant_postgresql_privileges src/cats/drop_postgresql_tables src/cats/drop_postgresql_database src/cats/create_mysql_database src/cats/update_mysql_tables src/cats/make_mysql_tables src/cats/grant_mysql_privileges src/cats/drop_mysql_tables src/cats/drop_mysql_database src/cats/create_sqlite_database src/cats/update_sqlite_tables src/cats/make_sqlite_tables src/cats/grant_sqlite_privileges src/cats/drop_sqlite_tables src/cats/drop_sqlite_database src/cats/sqlite src/cats/mysql src/cats/create_bdb_database src/cats/update_bdb_tables src/cats/make_bdb_tables src/cats/grant_bdb_privileges src/cats/drop_bdb_tables src/cats/drop_bdb_database src/cats/create_bacula_database src/cats/update_bacula_tables src/cats/grant_bacula_privileges src/cats/make_bacula_tables src/cats/drop_bacula_tables src/cats/drop_bacula_database src/findlib/Makefile src/tools/Makefile src/win32/winbacula.nsi src/win32/baculafd/bacula-fd.conf src/win32/Makefile src/win32/console/bconsole.conf src/win32/wx-console/wx-console.conf $PFILES"
+ ac_config_files="$ac_config_files autoconf/Make.common Makefile rescue/Makefile rescue/linux/Makefile rescue/linux/floppy/Makefile rescue/linux/cdrom/Makefile rescue/linux/cdrom/bacula/Makefile rescue/freebsd/Makefile rescue/solaris/Makefile scripts/startmysql scripts/stopmysql scripts/btraceback scripts/startit scripts/stopit scripts/bconsole scripts/gconsole scripts/bacula scripts/devel_bacula scripts/Makefile scripts/logrotate scripts/bacula.desktop.gnome1 scripts/bacula.desktop.gnome2 scripts/bacula.desktop.gnome1.consolehelper scripts/bacula.desktop.gnome2.consolehelper scripts/bacula.desktop.gnome1.xsu scripts/bacula.desktop.gnome2.xsu scripts/gnome-console.console_apps scripts/mtx-changer scripts/bacula-tray-monitor.desktop doc/Makefile src/Makefile src/host.h src/console/Makefile src/console/bconsole.conf src/gnome-console/Makefile src/gnome-console/gnome-console.conf src/gnome2-console/Makefile src/gnome2-console/gnome-console.conf src/wx-console/Makefile src/wx-console/wx-console.conf src/tray-monitor/Makefile src/tray-monitor/tray-monitor.conf src/dird/Makefile src/dird/bacula-dir.conf src/lib/Makefile src/stored/Makefile src/stored/bacula-sd.conf src/filed/Makefile src/filed/bacula-fd.conf src/filed/win32/Makefile src/cats/Makefile src/cats/make_catalog_backup src/cats/delete_catalog_backup src/cats/create_postgresql_database src/cats/update_postgresql_tables src/cats/make_postgresql_tables src/cats/grant_postgresql_privileges src/cats/drop_postgresql_tables src/cats/drop_postgresql_database src/cats/create_mysql_database src/cats/update_mysql_tables src/cats/make_mysql_tables src/cats/grant_mysql_privileges src/cats/drop_mysql_tables src/cats/drop_mysql_database src/cats/create_sqlite_database src/cats/update_sqlite_tables src/cats/make_sqlite_tables src/cats/grant_sqlite_privileges src/cats/drop_sqlite_tables src/cats/drop_sqlite_database src/cats/sqlite src/cats/mysql src/cats/create_bdb_database src/cats/update_bdb_tables src/cats/make_bdb_tables src/cats/grant_bdb_privileges src/cats/drop_bdb_tables src/cats/drop_bdb_database src/cats/create_bacula_database src/cats/update_bacula_tables src/cats/grant_bacula_privileges src/cats/make_bacula_tables src/cats/drop_bacula_tables src/cats/drop_bacula_database src/findlib/Makefile src/tools/Makefile src/win32/winbacula.nsi src/win32/baculafd/bacula-fd.conf src/win32/Makefile src/win32/console/bconsole.conf src/win32/wx-console/wx-console.conf src/win32/pebuilder/Makefile $PFILES"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"src/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/win32/Makefile" ;;
"src/win32/console/bconsole.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/console/bconsole.conf" ;;
"src/win32/wx-console/wx-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/wx-console/wx-console.conf" ;;
+ "src/win32/pebuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/win32/pebuilder/Makefile" ;;
"$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
"src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:autoconf/config.h.in" ;;
dummy:
-all: bacula bconsole wx-console installer
+all: bacula bconsole wx-console pebuilder installer
bacula: dummy
wx-console: dummy
(cd wx-console; env MAKEFLAGS= ${NMAKE} CFG="wx-console - Win32 Release" /f wx-console.mak)
+pebuilder: bacula bconsole wx-console
+ (cd pebuilder; make)
+
#
# Quickie debug installation
#
(cd baculafd; make clean)
(cd console; make clean)
(cd wx-console; make clean)
+ (cd pebuilder; make clean)
distclean: clean
rm -rf baculafd/Release baculafd/Debug
rm -f winbacula-*.exe
+ rm -f winbacula-bartpe-*.zip
--- /dev/null
+#
+# Makefile to build the BartPE plugin
+#
+#
+# D. Scott Barninger, Nov 2004
+#
+
+srcdir = .
+VPATH = .
+.PATH: .
+
+# one up
+basedir = ..
+# top dir
+topdir = ../../..
+# this dir relative to top dir
+thisdir = src/win32/pebuilder
+
+first_rule: all
+
+dummy:
+
+all: pebuilder zip
+
+pebuilder:
+ cp -f ../baculafd/bacula-fd.conf bacula/files/
+ cp -f ../console/bconsole.conf bacula/files/
+ cp -f ../wx-console/wx-console.conf bacula/files/
+ cp -f ../baculafd/Release/bacula-fd.exe bacula/files/
+ cp -f ../console/Release/bconsole.exe bacula/files/
+ cp -f ../wx-console/Release/wx-console.exe bacula/files/
+ cp -f ../../../../depkgs-win32/pthreads/pthreadVCE.dll bacula/files/
+ cp -f ../License.txt bacula/files/
+
+zip: pebuilder
+ zip -r ../winbacula-bartpe-@VERSION@.zip bacula README
+
+depend:
+
+
+#-------------------------------------------------------------------------
+
+
+install:
+
+uninstall:
+
+
+clean:
+ rm -f bacula/files/*
+
+# clean for distribution
+distclean: clean
--- /dev/null
+Bacula plugin for BartPE
+http://www.nu2.nu/pebuilder/
+Wed Nov 10 2004
+Copyright 2004 D. Scott Barninger <barninger at fairfieldcomputers.com>
+Licensed under the GNU GPL v2
+
+Copy the bacula plugin folder to the plugins directory of your
+BartPE build directory. Edit the config files in the files directory
+to suit your bacula installation.
+
+Build your BartPE disk according to the instructions at
+http://www.nu2.nu/pebuilder/#build along with whatever other plugins
+you want. Be sure that 'Bacula Client' is enabled on the plugin selection screen.
--- /dev/null
+; PE Builder v3 plug-in INF file for bacula
+; Copyright 2004 D. Scott Barninger
+; licensed under the GNU GPL v2
+
+[Version]
+Signature= "$Windows NT$"
+
+[PEBuilder]
+Name="Bacula Client"
+Enable=1
+
+[WinntDirectories]
+a="Programs\bacula",3
+
+[SourceDisksFiles]
+files\bacula-fd.exe=a,,1
+files\bacula-fd.conf=a,,1
+files\bconsole.exe=a,,1
+files\bconsole.conf=a,,1
+files\License.txt=a,,1
+files\pthreadVCE.dll=a,,1
+files\wx-console.exe=a,,1
+files\wx-console.conf=a,,1
+
+[Append]
+nu2menu.xml, bacula_nu2menu.xml
--- /dev/null
+<!-- Nu2Menu entry -->
+<!-- Copyright 2004 D. Scott Barninger -->
+<!-- licensed under the GNU GPL v2 -->
+<NU2MENU>
+ <MENU ID="Programs">
+ <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\bacula\bacula-fd.exe))" CMD="RUN" FUNC="@Null(@ChangeDir(@GetProgramDrive()\Programs\bacula))@GetProgramDrive()\Programs\bacula\bacula-fd.exe /install">Install Bacula Client Service</MITEM>
+ <MITEM TYPE="ITEM" CMD="RUN" FUNC="net start bacula">Start Bacula Client Service</MITEM>
+ <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\bacula\wx-console.exe))" CMD="RUN" FUNC="@Null(@ChangeDir(@GetProgramDrive()\Programs\bacula))@GetProgramDrive()\Programs\bacula\wx-console.exe">Bacula WX-Console</MITEM>
+ </MENU>
+</NU2MENU>