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 | |
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')
-rw-r--r-- | app-backup/bobs/ChangeLog | 10 | ||||
-rw-r--r-- | app-backup/bobs/Manifest | 24 | ||||
-rw-r--r-- | app-backup/bobs/bobs-0.6.2.ebuild | 72 | ||||
-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 | ||||
-rw-r--r-- | app-backup/bobs/metadata.xml | 8 |
7 files changed, 189 insertions, 0 deletions
diff --git a/app-backup/bobs/ChangeLog b/app-backup/bobs/ChangeLog new file mode 100644 index 000000000000..3e4eec055992 --- /dev/null +++ b/app-backup/bobs/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-backup/bobs +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bobs/ChangeLog,v 1.1 2006/05/11 16:50:44 lisa Exp $ + +*bobs-0.6.2 (11 May 2006) + + 11 May 2006; Lisa Seelye <lisa@gentoo.org> +files/bobs-0.6.2.patch, + +files/postinstall-en.txt, +metadata.xml, +bobs-0.6.2.ebuild: + New backup package submitted by Ed Wildgoose, gentoo@wildgooses.com. Bug 84652 + diff --git a/app-backup/bobs/Manifest b/app-backup/bobs/Manifest new file mode 100644 index 000000000000..9c19e09ebfb8 --- /dev/null +++ b/app-backup/bobs/Manifest @@ -0,0 +1,24 @@ +AUX bobs-0.6.2.patch 2617 RMD160 a9ddcf805dab1a599247b08185dda862a4df21ef SHA1 5a4fcea0ad93ff381b05f327b16864ee15616459 SHA256 9479cbb34c1cf27e56948f1224043c372406d7d52fd46b27937c01b0dd075569 size 2617 +MD5 6db95e8cb35da13300f31c01dc522adf files/bobs-0.6.2.patch 2617 +RMD160 a9ddcf805dab1a599247b08185dda862a4df21ef files/bobs-0.6.2.patch 2617 +SHA256 9479cbb34c1cf27e56948f1224043c372406d7d52fd46b27937c01b0dd075569 files/bobs-0.6.2.patch 2617 +AUX postinstall-en.txt 379 RMD160 0577888491de60f220c34f4880ba3e7c6111b844 SHA1 eab005a50d4251a046935fb46160835e228fd77b SHA256 811e7dccb496d30aef98930eb08de5b3c9207e43fc37231ae6d4bb9eb43d0e83 size 379 +MD5 bb9950e98cc27f239c56c7a24d2414c3 files/postinstall-en.txt 379 +RMD160 0577888491de60f220c34f4880ba3e7c6111b844 files/postinstall-en.txt 379 +SHA256 811e7dccb496d30aef98930eb08de5b3c9207e43fc37231ae6d4bb9eb43d0e83 files/postinstall-en.txt 379 +DIST bobs-0.6.2.tar.gz 185605 RMD160 6bf21f098b28d112eb30d5bdeea23a53d2d87216 SHA256 0a4f97be37d1244f88f36b7c738011d1d121ba71b2b0f9e044f929f3172e40c8 size 185605 +EBUILD bobs-0.6.2.ebuild 2162 RMD160 deef51c147528aa485223d1e57a7a663b7cb4563 SHA1 23c0c2225a3519bae506d394d866840bb8426313 SHA256 5487e16fcc8231fc6bdec410bf40c055eb7ccb7461d614631f37839a782a6f21 size 2162 +MD5 31bfe81c36d7079a407967edc4fb1f9f bobs-0.6.2.ebuild 2162 +RMD160 deef51c147528aa485223d1e57a7a663b7cb4563 bobs-0.6.2.ebuild 2162 +SHA256 5487e16fcc8231fc6bdec410bf40c055eb7ccb7461d614631f37839a782a6f21 bobs-0.6.2.ebuild 2162 +MISC ChangeLog 359 RMD160 4f6765a87226b800d9bde11a1ffd881bff3f37d1 SHA1 5ed6b0ca10edae1ca6500dffb9fb600ac3525540 SHA256 8024a0957fb4664d374babfcafb0d2b75c595ff5c523f24a54de9154d02db365 size 359 +MD5 509fad9d6880625579aa5f760ad5f9ee ChangeLog 359 +RMD160 4f6765a87226b800d9bde11a1ffd881bff3f37d1 ChangeLog 359 +SHA256 8024a0957fb4664d374babfcafb0d2b75c595ff5c523f24a54de9154d02db365 ChangeLog 359 +MISC metadata.xml 229 RMD160 361faad2aa64dc56553b74541a2b31f2ca2cce87 SHA1 0749e155f785cbd2eedd01806ca945627353d811 SHA256 dd8168978da302bbe4ca583614aa9721a9bedf46c72e6259c73a47decae7dae9 size 229 +MD5 d0e7f9b59837d3f49d369021366e563d metadata.xml 229 +RMD160 361faad2aa64dc56553b74541a2b31f2ca2cce87 metadata.xml 229 +SHA256 dd8168978da302bbe4ca583614aa9721a9bedf46c72e6259c73a47decae7dae9 metadata.xml 229 +MD5 29afd072c79ccb6b5a9f16999b1ab036 files/digest-bobs-0.6.2 232 +RMD160 f76d06177b98eea605e3a7fd8107fea2be29b6b1 files/digest-bobs-0.6.2 232 +SHA256 0ce2776845f41b4e6800ee169d8e4086e07b67d6f779ac332e50b8808a98c5a4 files/digest-bobs-0.6.2 232 diff --git a/app-backup/bobs/bobs-0.6.2.ebuild b/app-backup/bobs/bobs-0.6.2.ebuild new file mode 100644 index 000000000000..a761341d24f8 --- /dev/null +++ b/app-backup/bobs/bobs-0.6.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/bobs/bobs-0.6.2.ebuild,v 1.1 2006/05/11 16:50:44 lisa Exp $ + +inherit webapp eutils + +DESCRIPTION="The Browsable Online Backup System" +HOMEPAGE="http://bobs.sourceforge.net/" + +SRC_URI="mirror://sourceforge/bobs/${P}.tar.gz" + +LICENSE="GPL-2" + +KEYWORDS="x86" + +IUSE="" + +DEPEND="virtual/php" + +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${PF}.patch + + # Original configure looks for httpd process. Hardwire to apache2... + sed -e "s:\$(ps -C httpd:\$(ps -C apache2:" \ + -i 'configure' || "Autodetect of Apache user failed" + # Slightly nasty fixup for some problems in the orig Makefile + # Otherwise it doesn't respect that prefix given to "make install" + sed -e "s:\$(myBOBSDATA):\$(DESTDIR)\$(myBOBSDATA):" \ + -i 'Makefile.am' || "Makefile bodge failed" + sed -e "s:\$(top_srcdir)/mkinstalldirs\\$(myWEBDIR):\$(top_srcdir)/mkinstalldirs \$(DESTDIR)\$(myWEBDIR):" \ + -i 'inc/servers/Makefile.am' || "Makefile bodge failed" + sed -e "s:chown -R \$(myHTTPDUSER) \$(myWEBDIR):chown -R \$(myHTTPDUSER)\\$(DESTDIR)\$(myWEBDIR):" \ + -i 'inc/servers/Makefile.am' || "Makefile bodge failed" + # Modify the webdir to match the webapp format + sed -e "s:myWEBDIR=\$with_webdir/bobs:myWEBDIR=\$with_webdir:" \ + -i 'configure' || "configure bodge failed" +} + +src_compile() { + ./configure \ + --with-webdir=/usr/share/webapps/${PN}/${PV}/htdocs \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + webapp_src_preinst + + make DESTDIR=${D} install || die + keepdir /var/bobsdata/current/process/session + keepdir /var/bobsdata/current/process/cmd + keepdir /var/bobsdata/current/process/mounts + webapp_configfile ${MY_HTDOCSDIR}/inc/excludes/default.excludelist + webapp_configfile ${MY_HTDOCSDIR}/inc/config.php + webapp_configfile ${MY_HTDOCSDIR}/inc/servers/testserver.share.ini + + dodir /var/bobsdata/incoming + dodir /var/bobsdata/incremental + + # Why doesn't this next line work? + chown -R root:apache ${D}/var/bobsdata/ + einfo "/var/bobsdata MUST be accessible to the apache user" + + dodoc README INSTALL TODO + + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + + webapp_src_install +} 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! diff --git a/app-backup/bobs/metadata.xml b/app-backup/bobs/metadata.xml new file mode 100644 index 000000000000..e6355a579bc7 --- /dev/null +++ b/app-backup/bobs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>app-backup</herd> +<maintainer> + <email>app-backup@gentoo.org</email> +</maintainer> +</pkgmetadata> |