diff options
author | Lisa M. Seelye <lisa@gentoo.org> | 2006-05-11 16:50:44 +0000 |
---|---|---|
committer | Lisa M. Seelye <lisa@gentoo.org> | 2006-05-11 16:50:44 +0000 |
commit | bd0eb9035bd3d6a11c2ba92c931e2f3699723de9 (patch) | |
tree | d200d09fd4e3dd0cfd66cc37c5cf3a99f092fb13 /app-backup/bobs/files | |
parent | Fix RIP authentication problem - now the default RIP authentication mode is s... (diff) | |
download | gentoo-2-bd0eb9035bd3d6a11c2ba92c931e2f3699723de9.tar.gz gentoo-2-bd0eb9035bd3d6a11c2ba92c931e2f3699723de9.tar.bz2 gentoo-2-bd0eb9035bd3d6a11c2ba92c931e2f3699723de9.zip |
New package submitted by Ed Wildgoose @ bug 84652
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'app-backup/bobs/files')
-rw-r--r-- | app-backup/bobs/files/bobs-0.6.2.patch | 61 | ||||
-rw-r--r-- | app-backup/bobs/files/digest-bobs-0.6.2 | 3 | ||||
-rw-r--r-- | app-backup/bobs/files/postinstall-en.txt | 11 |
3 files changed, 75 insertions, 0 deletions
diff --git a/app-backup/bobs/files/bobs-0.6.2.patch b/app-backup/bobs/files/bobs-0.6.2.patch new file mode 100644 index 000000000000..f2b308731bb1 --- /dev/null +++ b/app-backup/bobs/files/bobs-0.6.2.patch @@ -0,0 +1,61 @@ +diff -r -u ../bobs-0.6.2.orig/inc/class_db.php ./inc/class_db.php +--- ../bobs-0.6.2.orig/inc/class_db.php 2004-03-28 04:21:07.000000000 +0100 ++++ ./inc/class_db.php 2005-03-09 18:47:09.727338650 +0000 +@@ -46,7 +46,13 @@ + if ( $dbcheck === FALSE ) { + $dbcheck = @dba_open($tmpfile, "c", "db4"); + if ( $dbcheck === FALSE ) { +- echo "Could not create a database of type db3 or db4 (tried both)\n"; ++ $dbcheck = @dba_open($tmpfile, "c", "gdbm"); ++ if ( $dbcheck === FALSE ) { ++ echo "Could not create a database of type db3,db4 or gdbm (tried all)\n"; ++ } else { ++ dba_close($dbcheck); ++ $this->db_type = "gdbm"; ++ } + } else { + dba_close($dbcheck); + $this->db_type = "db4"; +Only in ./inc: class_db.php.orig +diff -r -u ../bobs-0.6.2.orig/inc/templates/backup_create_databases.php ./inc/templates/backup_create_databases.php +--- ../bobs-0.6.2.orig/inc/templates/backup_create_databases.php 2004-03-28 04:21:07.000000000 +0100 ++++ ./inc/templates/backup_create_databases.php 2005-03-09 18:47:10.317245460 +0000 +@@ -14,9 +14,12 @@ + $this->id = dba_open ($db, "n", "db3"); + if ( $this->id === FALSE ) { + $this->id = dba_open ($db, "n", "db4"); +- if ( $this->id === FALSE ) { +- echo "Could not create a database of type db3 or db4 (tried both)\n"; +- } ++ if ( $this->id === FALSE ) { ++ $this->id = dba_open ($db, "n", "gdbm"); ++ if ( $this->id === FALSE ) { ++ echo "Could not create a database of type db3,db4 or gdbm (tried all)\n"; ++ } ++ } + } + return; + } +Only in ./inc/templates: backup_create_databases.php.orig +diff -r -u ../bobs-0.6.2.orig/systemcheck.php ./systemcheck.php +--- ../bobs-0.6.2.orig/systemcheck.php 2004-03-28 21:46:11.000000000 +0100 ++++ ./systemcheck.php 2005-03-09 18:47:10.736179279 +0000 +@@ -245,11 +245,14 @@ + if (!$handle) { + $handle = @dba_open("$tempfile", "c", "db4"); // open a temporary database + if (!$handle) { +- $t->assign ('STATUS', 'FAIL'); +- $t->assign ('HELP', "dba database support is not working.<br> ++ $handle = @dba_open("$tempfile", "c", "gdbm"); // open a temporary database ++ if (!$handle) { ++ $t->assign ('STATUS', 'FAIL'); ++ $t->assign ('HELP', "dba database support is not working.<br> + You need to check your php configuration and<br> + include dba database support."); +- putfail(); ++ putfail(); ++ } + } + } + if ($handle) { +Only in .: systemcheck.php.orig diff --git a/app-backup/bobs/files/digest-bobs-0.6.2 b/app-backup/bobs/files/digest-bobs-0.6.2 new file mode 100644 index 000000000000..01ae5f773f17 --- /dev/null +++ b/app-backup/bobs/files/digest-bobs-0.6.2 @@ -0,0 +1,3 @@ +MD5 21a3c755e9dfd0d39660b2c46d903de5 bobs-0.6.2.tar.gz 185605 +RMD160 6bf21f098b28d112eb30d5bdeea23a53d2d87216 bobs-0.6.2.tar.gz 185605 +SHA256 0a4f97be37d1244f88f36b7c738011d1d121ba71b2b0f9e044f929f3172e40c8 bobs-0.6.2.tar.gz 185605 diff --git a/app-backup/bobs/files/postinstall-en.txt b/app-backup/bobs/files/postinstall-en.txt new file mode 100644 index 000000000000..96bb9d525ae4 --- /dev/null +++ b/app-backup/bobs/files/postinstall-en.txt @@ -0,0 +1,11 @@ +See the INSTALL doc and man page for configuration info +Also see the http://bobs.sf.net website. + +However, quickstart is to log into the website on the admin page: + http://localhost/bobs/admin.php + password: admin +promptly change the password!! + +Then setup your details of shares to backup +Remember to start the /etc/init.d/cmdloopd script to make the +backups actually happen! |