Changeset 536
- Timestamp:
- 04/03/2006 01:33:46 (6 years ago)
- Location:
- box/trunk
- Files:
-
- 29 edited
-
bin/bbackupd/bbackupd-config (modified) (1 diff)
-
bin/bbackupquery/Makefile.extra (modified) (1 diff)
-
bin/bbackupquery/makedocumentation.pl (modified) (1 diff)
-
bin/bbstored/Makefile.extra (modified) (1 diff)
-
bin/bbstored/bbstored-certs (modified) (1 diff)
-
bin/bbstored/bbstored-config (modified) (1 diff)
-
configure.ac (modified) (3 diffs)
-
distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl (modified) (1 diff)
-
infrastructure/makebuildenv.pl (modified) (2 diffs)
-
infrastructure/makedistribution.pl (modified) (1 diff)
-
infrastructure/makeparcels.pl (modified) (1 diff)
-
infrastructure/setupexternal.pl (modified) (1 diff)
-
lib/backupclient/Makefile.extra (modified) (2 diffs)
-
lib/common/Makefile.extra (modified) (1 diff)
-
lib/common/makeexception.pl (modified) (1 diff)
-
lib/compress/Makefile.extra (modified) (1 diff)
-
lib/crypto/Makefile.extra (modified) (1 diff)
-
lib/raidfile/Makefile.extra (modified) (1 diff)
-
lib/raidfile/raidfile-config (modified) (1 diff)
-
lib/server/Makefile.extra (modified) (1 diff)
-
lib/server/makeprotocol.pl (modified) (1 diff)
-
runtest.pl (modified) (1 diff)
-
test/backupstorefix/testbackupstorefix.cpp (modified) (8 diffs)
-
test/backupstorefix/testfiles/testbackupstorefix.pl (modified) (1 diff)
-
test/basicserver/Makefile.extra (modified) (1 diff)
-
test/bbackupd/testfiles/bbackupd.conf (modified) (1 diff)
-
test/bbackupd/testfiles/extcheck1.pl (modified) (1 diff)
-
test/bbackupd/testfiles/extcheck2.pl (modified) (1 diff)
-
test/bbackupd/testfiles/notifyscript.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupd/bbackupd-config
r353 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/bin/bbackupquery/Makefile.extra
r217 r536 2 2 # AUTOGEN SEEDING 3 3 autogen_Documentation.cpp: makedocumentation.pl documentation.txt 4 perlmakedocumentation.pl4 $(PERL) makedocumentation.pl 5 5 6 6 -
box/trunk/bin/bbackupquery/makedocumentation.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/bin/bbstored/Makefile.extra
r217 r536 6 6 # AUTOGEN SEEDING 7 7 autogen_BackupProtocolServer.cpp autogen_BackupProtocolServer.h: $(MAKEPROTOCOL) backupprotocol.txt 8 perl$(GEN_CMD_SRV)8 $(PERL) $(GEN_CMD_SRV) 9 9 -
box/trunk/bin/bbstored/bbstored-certs
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/bin/bbstored/bbstored-config
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/configure.ac
r487 r536 3 3 4 4 AC_PREREQ(2.59) 5 AC_INIT([Box Backup], 0. 09, [box@fluffy.co.uk])5 AC_INIT([Box Backup], 0.10, [box@fluffy.co.uk]) 6 6 AC_CONFIG_SRCDIR([lib/common/Box.h]) 7 7 AC_CONFIG_HEADERS([lib/common/BoxConfig.h]) … … 26 26 # Use -rdynamic if we have gcc. This is needed for backtrace 27 27 AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic']) 28 fi 29 AC_PATH_PROG([PERL], [perl], [no]) 30 if test "x$PERL" != "xno"; then 31 AC_DEFINE_UNQUOTED([PERL_EXECUTABLE], ["$PERL"], [Location of the perl executable]) 32 else 33 AC_MSG_ERROR([[perl executable was not found]]) 28 34 fi 29 35 … … 204 210 205 211 ### Output files 206 AC_CONFIG_FILES([infrastructure/BoxPlatform.pm]) 212 AC_CONFIG_FILES([bin/bbackupd/bbackupd-config 213 bin/bbackupquery/makedocumentation.pl 214 bin/bbstored/bbstored-certs 215 bin/bbstored/bbstored-config 216 infrastructure/BoxPlatform.pm 217 infrastructure/makebuildenv.pl 218 infrastructure/makeparcels.pl 219 lib/common/makeexception.pl 220 lib/raidfile/raidfile-config 221 lib/server/makeprotocol.pl 222 runtest.pl 223 test/backupstorefix/testfiles/testbackupstorefix.pl 224 test/bbackupd/testfiles/extcheck1.pl 225 test/bbackupd/testfiles/extcheck2.pl 226 test/bbackupd/testfiles/notifyscript.pl]) 207 227 AC_OUTPUT 208 228 209 229 # Configure the Box build system 210 230 echo 211 perl./infrastructure/makebuildenv.pl &&212 perl./infrastructure/makeparcels.pl231 $PERL ./infrastructure/makebuildenv.pl && 232 $PERL ./infrastructure/makeparcels.pl 213 233 214 234 # Write summary of important info -
box/trunk/distribution/boxbackup/contrib/cygwin/install-cygwin-service.pl
r217 r536 1 #! /usr/bin/perl-w1 #!@PERL@ -w 2 2 3 3 -
box/trunk/infrastructure/makebuildenv.pl
r362 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 use Symbol; … … 498 498 AR = ar 499 499 RANLIB = ranlib 500 PERL = \@PERL\@ 500 501 .ifdef RELEASE 501 502 CXXFLAGS = -DNDEBUG $release_flags -Wall $include_paths $extra_platform_defines -DBOX_VERSION="\\"$product_version\\"" -
box/trunk/infrastructure/makedistribution.pl
r458 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 use Symbol; -
box/trunk/infrastructure/makeparcels.pl
r456 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 3 3 use strict; -
box/trunk/infrastructure/setupexternal.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/lib/backupclient/Makefile.extra
r217 r536 6 6 # AUTOGEN SEEDING 7 7 autogen_BackupProtocolClient.cpp autogen_BackupProtocolClient.h: $(MAKEPROTOCOL) ../../bin/bbstored/backupprotocol.txt 8 perl$(GEN_CMD_SRV)8 $(PERL) $(GEN_CMD_SRV) 9 9 10 10 … … 13 13 # AUTOGEN SEEDING 14 14 autogen_BackupStoreException.h autogen_BackupStoreException.cpp: $(MAKEEXCEPTION) BackupStoreException.txt 15 perl$(MAKEEXCEPTION) BackupStoreException.txt15 $(PERL) $(MAKEEXCEPTION) BackupStoreException.txt 16 16 -
box/trunk/lib/common/Makefile.extra
r217 r536 4 4 # AUTOGEN SEEDING 5 5 autogen_CommonException.h autogen_CommonException.cpp: $(MAKEEXCEPTION) CommonException.txt 6 perl$(MAKEEXCEPTION) CommonException.txt6 $(PERL) $(MAKEEXCEPTION) CommonException.txt 7 7 8 8 # AUTOGEN SEEDING 9 9 autogen_ConversionException.h autogen_ConversionException.cpp: $(MAKEEXCEPTION) ConversionException.txt 10 perl$(MAKEEXCEPTION) ConversionException.txt10 $(PERL) $(MAKEEXCEPTION) ConversionException.txt 11 11 -
box/trunk/lib/common/makeexception.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 3 3 # global exception list file -
box/trunk/lib/compress/Makefile.extra
r217 r536 4 4 # AUTOGEN SEEDING 5 5 autogen_CompressException.h autogen_CompressException.cpp: $(MAKEEXCEPTION) CompressException.txt 6 perl$(MAKEEXCEPTION) CompressException.txt6 $(PERL) $(MAKEEXCEPTION) CompressException.txt 7 7 -
box/trunk/lib/crypto/Makefile.extra
r217 r536 4 4 # AUTOGEN SEEDING 5 5 autogen_CipherException.cpp autogen_CipherException.h: $(MAKEEXCEPTION) CipherException.txt 6 perl$(MAKEEXCEPTION) CipherException.txt6 $(PERL) $(MAKEEXCEPTION) CipherException.txt 7 7 -
box/trunk/lib/raidfile/Makefile.extra
r217 r536 4 4 # AUTOGEN SEEDING 5 5 autogen_RaidFileException.h autogen_RaidFileException.cpp: $(MAKEEXCEPTION) RaidFileException.txt 6 perl$(MAKEEXCEPTION) RaidFileException.txt6 $(PERL) $(MAKEEXCEPTION) RaidFileException.txt 7 7 -
box/trunk/lib/raidfile/raidfile-config
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/lib/server/Makefile.extra
r217 r536 4 4 # AUTOGEN SEEDING 5 5 autogen_ServerException.h autogen_ServerException.cpp: $(MAKEEXCEPTION) ServerException.txt 6 perl$(MAKEEXCEPTION) ServerException.txt6 $(PERL) $(MAKEEXCEPTION) ServerException.txt 7 7 8 8 # AUTOGEN SEEDING 9 9 autogen_ConnectionException.h autogen_ConnectionException.cpp: $(MAKEEXCEPTION) ConnectionException.txt 10 perl$(MAKEEXCEPTION) ConnectionException.txt10 $(PERL) $(MAKEEXCEPTION) ConnectionException.txt 11 11 -
box/trunk/lib/server/makeprotocol.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/runtest.pl
r219 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 3 3 use lib 'infrastructure'; -
box/trunk/test/backupstorefix/testbackupstorefix.cpp
r217 r536 313 313 314 314 // Run the perl script to create the initial directories 315 TEST_THAT_ABORTONFAIL(::system( "perltestfiles/testbackupstorefix.pl init") == 0);315 TEST_THAT_ABORTONFAIL(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl init") == 0); 316 316 317 317 int bbackupd_pid = LaunchServer("../../bin/bbackupd/bbackupd testfiles/bbackupd.conf", "testfiles/bbackupd.pid"); … … 368 368 RUN_CHECK 369 369 // Check everything is as it was 370 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl check 0") == 0);370 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl check 0") == 0); 371 371 // Check the random file doesn't exist 372 372 { … … 426 426 RUN_CHECK 427 427 // Check 428 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl check 1") == 0);428 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl check 1") == 0); 429 429 430 430 // Check the modified file doesn't exist … … 472 472 RUN_CHECK 473 473 // Check everything is as it should be 474 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl check 2") == 0);474 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl check 2") == 0); 475 475 { 476 476 BackupStoreDirectory dir; … … 528 528 RUN_CHECK 529 529 // Check everything is as it should be 530 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl check 3") == 0);530 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl check 3") == 0); 531 531 { 532 532 BackupStoreDirectory dir; … … 542 542 RUN_CHECK 543 543 // Check everything is where it is predicted to be 544 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl check 4") == 0);544 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl check 4") == 0); 545 545 546 546 // ------------------------------------------------------------------------------------------------ … … 553 553 RUN_CHECK 554 554 // Check everything is where it should be 555 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl check 5") == 0);555 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl check 5") == 0); 556 556 557 557 // ------------------------------------------------------------------------------------------------ … … 567 567 RUN_CHECK 568 568 // Check everything is where it should be 569 TEST_THAT(::system( "perltestfiles/testbackupstorefix.pl reroot 6") == 0);569 TEST_THAT(::system(PERL_EXECUTABLE " testfiles/testbackupstorefix.pl reroot 6") == 0); 570 570 571 571 -
box/trunk/test/backupstorefix/testfiles/testbackupstorefix.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/test/basicserver/Makefile.extra
r217 r536 7 7 # AUTOGEN SEEDING 8 8 autogen_TestProtocolServer.cpp: $(MAKEPROTOCOL) testprotocol.txt 9 perl$(GEN_CMD_SRV)9 $(PERL) $(GEN_CMD_SRV) 10 10 11 11 autogen_TestProtocolServer.h: $(MAKEPROTOCOL) testprotocol.txt 12 perl$(GEN_CMD_SRV)12 $(PERL) $(GEN_CMD_SRV) 13 13 14 14 15 15 # AUTOGEN SEEDING 16 16 autogen_TestProtocolClient.cpp: $(MAKEPROTOCOL) testprotocol.txt 17 perl$(GEN_CMD_CLI)17 $(PERL) $(GEN_CMD_CLI) 18 18 19 19 autogen_TestProtocolClient.h: $(MAKEPROTOCOL) testprotocol.txt 20 perl$(GEN_CMD_CLI)20 $(PERL) $(GEN_CMD_CLI) 21 21 -
box/trunk/test/bbackupd/testfiles/bbackupd.conf
r217 r536 24 24 CommandSocket = testfiles/bbackupd.sock 25 25 26 NotifyScript = perltestfiles/notifyscript.pl26 NotifyScript = @PERL@ testfiles/notifyscript.pl 27 27 28 28 Server -
box/trunk/test/bbackupd/testfiles/extcheck1.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/test/bbackupd/testfiles/extcheck2.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 use strict; 3 3 -
box/trunk/test/bbackupd/testfiles/notifyscript.pl
r217 r536 1 #! /usr/bin/perl1 #!@PERL@ 2 2 3 3
Note: See TracChangeset
for help on using the changeset viewer.
