summaryrefslogtreecommitdiff
path: root/net/torrentflux/files/patch-html+admin.php
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2005-10-20 18:37:56 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2005-10-20 18:37:56 +0000
commitcbf3b9754b347c98942050a3e346a15af160e3b7 (patch)
treec63d165f42a9c3b473f3a0e221386d5c571aec84 /net/torrentflux/files/patch-html+admin.php
parentFix pkg-plist. (diff)
Add port net/torrentflux, a PHP based BitTorrent client that runs on a web server.
Unfortunately some manual configuration is necessary, so set NO_PACKAGE (which is probably a dumb idea). Feel free to fix this. While I'm here, sort CVSROOT-ports/modules.
Notes
Notes: svn path=/head/; revision=145959
Diffstat (limited to 'net/torrentflux/files/patch-html+admin.php')
-rw-r--r--net/torrentflux/files/patch-html+admin.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/torrentflux/files/patch-html+admin.php b/net/torrentflux/files/patch-html+admin.php
new file mode 100644
index 000000000000..4ebbd05d3d52
--- /dev/null
+++ b/net/torrentflux/files/patch-html+admin.php
@@ -0,0 +1,12 @@
+--- html/admin.php.orig Fri Sep 30 19:40:51 2005
++++ html/admin.php Sun Oct 2 01:48:40 2005
+@@ -212,6 +212,9 @@
+ case "mysql":
+ $sCommand = "mysqldump -h ".$cfg["db_host"]." -u ".$cfg["db_user"]." --password=".$cfg["db_pass"]." --all -f ".$cfg["db_name"]." > ".$sql_file;
+ break;
++ case "sqlite":
++ $sCommand = "sqlite ".$cfg["db_host"]." .dump > ".$sql_file;
++ break;
+ default:
+ // no support for backup-on-demand.
+ $sCommand = "";