[pkg-boinc-commits] r352 - in trunk/boinc/debian: . extra manpages
Frank S. Thomas
fst-guest at costa.debian.org
Thu Jan 26 19:21:03 UTC 2006
Author: fst-guest
Date: 2006-01-26 19:21:02 +0000 (Thu, 26 Jan 2006)
New Revision: 352
Added:
trunk/boinc/debian/extra/remote_hosts.cfg
Modified:
trunk/boinc/debian/boinc-client.README.Debian
trunk/boinc/debian/boinc-client.install
trunk/boinc/debian/boinc-client.postinst
trunk/boinc/debian/changelog
trunk/boinc/debian/manpages/boinc_cmd.xml
Log:
Added remote_hosts.cfg conffile to the boinc-client package.
Modified: trunk/boinc/debian/boinc-client.README.Debian
===================================================================
--- trunk/boinc/debian/boinc-client.README.Debian 2006-01-20 23:17:15 UTC (rev 351)
+++ trunk/boinc/debian/boinc-client.README.Debian 2006-01-26 19:21:02 UTC (rev 352)
@@ -50,5 +50,10 @@
% mv -f /var/lib/boinc-client/gui_rpc_auth.cfg /etc/boinc-client/
% ln -s /etc/boinc-client/gui_rpc_auth.cfg /var/lib/boinc-client/gui_rpc_auth.cfg
+ If your old BOINC data directory contains a 'remote_hosts.cfg' file, move
+ this file to /etc/boinc-client/, too:
+ % mv -f /var/lib/boinc-client/remote_hosts.cfg /etc/boinc-client/
+ % ln -s /etc/boinc-client/remote_hosts.cfg /var/lib/boinc-client/remote_hosts.cfg
+
5. Start the BOINC core client again:
% /etc/init.d/boinc-client start
Modified: trunk/boinc/debian/boinc-client.install
===================================================================
--- trunk/boinc/debian/boinc-client.install 2006-01-20 23:17:15 UTC (rev 351)
+++ trunk/boinc/debian/boinc-client.install 2006-01-26 19:21:02 UTC (rev 352)
@@ -1,2 +1,3 @@
debian/extra/gui_rpc_auth.cfg etc/boinc-client
+debian/extra/remote_hosts.cfg etc/boinc-client
debian/tmp/usr/bin/boinc_cmd usr/bin
Modified: trunk/boinc/debian/boinc-client.postinst
===================================================================
--- trunk/boinc/debian/boinc-client.postinst 2006-01-20 23:17:15 UTC (rev 351)
+++ trunk/boinc/debian/boinc-client.postinst 2006-01-26 19:21:02 UTC (rev 352)
@@ -4,6 +4,7 @@
set -e
BOINC_DIR=/var/lib/boinc-client
+CONF_DIR=/etc/boinc-client
case "$1" in
configure)
@@ -17,15 +18,24 @@
mkdir $BOINC_DIR 2>/dev/null || true
chown boinc:boinc $BOINC_DIR 2>/dev/null || true
- # Move old gui_rpc_auth.cfg files to /etc/boinc-client/ and create
- # a symlink for the BOINC core client.
+ # Move old gui_rpc_auth.cfg and remote_hosts.cfg files to
+ # /etc/boinc-client/ and create symlinks for the BOINC core client.
+
if [ ! -L $BOINC_DIR/gui_rpc_auth.cfg -a \
-f $BOINC_DIR/gui_rpc_auth.cfg ]; then
- mv -f $BOINC_DIR/gui_rpc_auth.cfg /etc/boinc-client/gui_rpc_auth.cfg
+ mv -f $BOINC_DIR/gui_rpc_auth.cfg $CONF_DIR/gui_rpc_auth.cfg
fi
+
+ if [ ! -L $BOINC_DIR/remote_hosts.cfg -a \
+ -f $BOINC_DIR/remote_hosts.cfg ]; then
+ mv -f $BOINC_DIR/remote_hosts.cfg $CONF_DIR/remote_hosts.cfg
+ fi
- ln -sf /etc/boinc-client/gui_rpc_auth.cfg $BOINC_DIR/gui_rpc_auth.cfg
- chown boinc:boinc $BOINC_DIR/gui_rpc_auth.cfg
+ ln -sf $CONF_DIR/gui_rpc_auth.cfg $BOINC_DIR/gui_rpc_auth.cfg
+ ln -sf $CONF_DIR/remote_hosts.cfg $BOINC_DIR/remote_hosts.cfg
+
+ chown boinc:boinc $BOINC_DIR/gui_rpc_auth.cfg \
+ $BOINC_DIR/remote_hosts.cfg
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/boinc/debian/changelog
===================================================================
--- trunk/boinc/debian/changelog 2006-01-20 23:17:15 UTC (rev 351)
+++ trunk/boinc/debian/changelog 2006-01-26 19:21:02 UTC (rev 352)
@@ -6,8 +6,10 @@
[ Frank S. Thomas ]
* Added boinc-manager.README.Debian to explain how to set the web browser
that the BOINC Manager uses.
+ * Added the conffile "remote_hosts.cfg" to "/etc/boinc-client/". Old files
+ are handled the same way as old "gui_rpc_auth.cfg" files.
- -- Frank S. Thomas <frank at thomas-alfeld.de> Sun, 15 Jan 2006 12:54:19 +0100
+ -- Frank S. Thomas <frank at thomas-alfeld.de> Thu, 26 Jan 2006 19:25:20 +0100
boinc (5.2.15-1) experimental; urgency=low
Added: trunk/boinc/debian/extra/remote_hosts.cfg
===================================================================
--- trunk/boinc/debian/extra/remote_hosts.cfg 2006-01-20 23:17:15 UTC (rev 351)
+++ trunk/boinc/debian/extra/remote_hosts.cfg 2006-01-26 19:21:02 UTC (rev 352)
@@ -0,0 +1,7 @@
+# This file contains a list of hostnames or IP adresses (one per line)
+# of remote hosts, that are allowed to connect and to control the local
+# BOINC core client via GUI RPCs.
+# Lines beginning with a # or a ; will be ignored.
+#
+#host.example.com
+#192.168.0.180
Modified: trunk/boinc/debian/manpages/boinc_cmd.xml
===================================================================
--- trunk/boinc/debian/manpages/boinc_cmd.xml 2006-01-20 23:17:15 UTC (rev 351)
+++ trunk/boinc/debian/manpages/boinc_cmd.xml 2006-01-26 19:21:02 UTC (rev 352)
@@ -78,6 +78,7 @@
<refsect1>
<title>OPTIONS</title>
+ <para></para>
<variablelist>
<varlistentry>
@@ -237,9 +238,11 @@
</varlistentry>
<varlistentry>
- <term>
- <option>--get_host_info</option>
- </term>
+ <term><option>--get_host_info</option></term>
+ <listitem>
+ <para>Show system information about the host where the BOINC core
+ client is running.</para>
+ </listitem>
</varlistentry>
<varlistentry>
@@ -330,10 +333,10 @@
<refsect1>
<title>AUTHOR</title>
- <para>This manual page was written by &dhusername; for the &debian;
- project (but may be used by others). Permission is granted to copy,
- distribute and/or modify this document under the terms of the &gnu;
- General Public License, Version 2 or any later version published
+ <para>This manual page was written by &dhusername; <&dhemail;> for
+ the &debian; project (but may be used by others). Permission is granted
+ to copy, distribute and/or modify this document under the terms of the
+ &gnu; General Public License, Version 2 or any later version published
by the Free Software Foundation.</para>
</refsect1>
</refentry>
More information about the pkg-boinc-commits
mailing list