[pkg-boinc-commits] r340 - branches/experimental/boinc/debian
trunk/boinc/debian/extra
Frank S. Thomas
fst-guest at costa.debian.org
Tue Jan 17 13:22:55 UTC 2006
Author: fst-guest
Date: 2006-01-17 13:22:54 +0000 (Tue, 17 Jan 2006)
New Revision: 340
Removed:
trunk/boinc/debian/extra/boinc_applinks
Modified:
branches/experimental/boinc/debian/boinc-client.install
branches/experimental/boinc/debian/control
branches/experimental/boinc/debian/rules
Log:
* Enabled boinc-server and install boinc_applinks in BOINC's experimental
branch.
* Removed boinc_applinks from trunk.
Modified: branches/experimental/boinc/debian/boinc-client.install
===================================================================
--- branches/experimental/boinc/debian/boinc-client.install 2006-01-17 13:08:40 UTC (rev 339)
+++ branches/experimental/boinc/debian/boinc-client.install 2006-01-17 13:22:54 UTC (rev 340)
@@ -1,2 +1,3 @@
debian/extra/gui_rpc_auth.cfg etc/boinc-client
+debian/extra/boinc_applinks usr/bin
debian/tmp/usr/bin/boinc_cmd usr/bin
Modified: branches/experimental/boinc/debian/control
===================================================================
--- branches/experimental/boinc/debian/control 2006-01-17 13:08:40 UTC (rev 339)
+++ branches/experimental/boinc/debian/control 2006-01-17 13:22:54 UTC (rev 340)
@@ -9,7 +9,7 @@
Package: boinc-client
Section: net
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base (>= 3.0-6)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, adduser, lsb-base (>= 3.0-6)
Suggests: boinc-manager | kboincspy
Description: BOINC core client
This package contains the BOINC core client program, that is required to
@@ -52,3 +52,17 @@
to develop and compile applications which utilizes the BOINC infrastructure.
.
Homepage: http://boinc.berkeley.edu
+
+Package: boinc-server
+Section: net
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python2.3-mysqldb, mysql-server-5.0 | virtual-mysql-server, apache2 | httpd-cgi, php4 | php5, php4-cli | php5-cli, php4-mysql | php5-mysql
+Description: BOINC server applications and data files
+ The Berkeley Open Infrastructure for Network Computing (BOINC) is a
+ software platform for distributed computing using volunteered computer
+ resources.
+ .
+ This package contains the daemons and tools to create and run BOINC
+ projects.
+ .
+ Homepage: http://boinc.berkeley.edu
Modified: branches/experimental/boinc/debian/rules
===================================================================
--- branches/experimental/boinc/debian/rules 2006-01-17 13:08:40 UTC (rev 339)
+++ branches/experimental/boinc/debian/rules 2006-01-17 13:22:54 UTC (rev 340)
@@ -151,14 +151,14 @@
# "BOINC Manager.mo" is empty and useless.
rm -rf debian/boinc-manager/usr/share/locale/en_US/
-# #
-# # boinc-server
-# #
-## Fix some file permissions.
-# chmod +x debian/boinc-server/usr/share/boinc-server/html/ops/db_update.php
-# chmod +x debian/boinc-server/usr/share/boinc-server/html/ops/watchdogs.php
-# chmod +x debian/boinc-server/usr/share/boinc-server/html/ops/wd_nresults_changing.php
-# chmod +x debian/boinc-server/usr/share/boinc-server/tools/watch_tcp
+ #
+ # boinc-server
+ #
+# Fix some file permissions.
+ chmod +x debian/boinc-server/usr/share/boinc-server/html/ops/db_update.php
+ chmod +x debian/boinc-server/usr/share/boinc-server/html/ops/watchdogs.php
+ chmod +x debian/boinc-server/usr/share/boinc-server/html/ops/wd_nresults_changing.php
+ chmod +x debian/boinc-server/usr/share/boinc-server/tools/watch_tcp
binary-arch: build install-arch
dh_testdir -a
Deleted: trunk/boinc/debian/extra/boinc_applinks
===================================================================
--- trunk/boinc/debian/extra/boinc_applinks 2006-01-17 13:08:40 UTC (rev 339)
+++ trunk/boinc/debian/extra/boinc_applinks 2006-01-17 13:22:54 UTC (rev 340)
@@ -1,85 +0,0 @@
-#!/usr/bin/python2.3
-# -*- coding: utf-8 -*-
-#
-# This script creates symlinks for anonymous BOINC applications.
-# Copyright © 2006 Debian BOINC Maintainers
-# <pkg-boinc-devel at lists.alioth.debian.org>
-#
-# This file is licensed under the terms of the GNU General Public License,
-# Version 2 or any later version published by the Free Software Foundation.
-#
-# $Id$
-
-import optparse
-import os
-import sys
-
-APPS_INFO_DIR = '/usr/share/boinc-apps/info/'
-
-def main():
- if not os.path.isdir(APPS_INFO_DIR):
- sys.exit(0)
-
- opts = parse_options()
-
- projects = {}
-
- for file in os.listdir(APPS_INFO_DIR):
- if file.endswith('.py'):
- if opts.project == '' or file[:-3] == opts.project:
- execfile(APPS_INFO_DIR + file)
-
- for project in projects:
- for url in projects[project]['urls']:
- project_dir = opts.data_dir + '/projects/' + url + '/'
- my_makedirs(project_dir, opts.create)
- my_symlink(projects[project]['app_info'],
- project_dir + 'app_info.xml', opts.create)
-
- for app_src in projects[project]['apps']:
- app_dst = project_dir + os.path.basename(app_src)
- my_symlink(app_src, app_dst, opts.create)
- return
-
-def my_makedirs(path, bool):
- if bool == False:
- return
-
- try:
- os.makedirs(path)
- except OSError:
- pass
-
- return
-
-def my_symlink(src, dst, bool):
- if os.path.isfile(dst) and not os.path.islink(dst):
- return
- elif os.path.islink(dst):
- os.remove(dst)
-
- if bool == True:
- os.symlink(src, dst)
-
- return
-
-def parse_options():
- parser = optparse.OptionParser()
-
- parser.add_option('--create', action='store_true', dest='create',
- default=True, help='create symlinks and project directories')
-
- parser.add_option('--remove', action='store_false', dest='create',
- help='remove symlinks')
-
- parser.add_option('--data-dir', dest='data_dir', default='', metavar='DIR',
- help='destination directory for the symlinks')
-
- parser.add_option('--project', dest='project', default='',
- metavar='PROJECT', help='create only symlinks for project PROJECT')
-
- (opts, args) = parser.parse_args()
- return opts
-
-if __name__ == '__main__':
- main()
More information about the pkg-boinc-commits
mailing list