From: Perforce Review Daemon <p4review AT smee.org>
To: "Andraž " ruskie " Levstik" <ruskie AT mages.ath.cx>, "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT gmail.com>, "Arwed von Merkatz" <v.merkatz AT gmx.net>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "David Kowis" <dkowis+smgl-p4 AT shlrm.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Eric Sandall" <eric AT sandall.us>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "George J. Sherwood" <george AT beernabeer.com>, "Jason Flatt" <jflatt AT sourcemage.org>, "Jeremy Blosser" <jblosser AT sourcemage.org>, "Juuso Alasuutari" <iuso AT sourcemage.org>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Pol Vinogradov" <vin.public AT gmail.com>, "Robin Cook" <rcook AT wyrms.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
Subject: [SM-Commit] PERFORCE change 76932 by Eric Sandall for review
Date: Tue, 28 Mar 2006 21:50:03 +0100 (BST)
Change 76932 by eric_sandall@sandalle-moby on 2006/03/28 21:45:48
* More cleanup.
* Now no longer uses `su` (thanks Jeremy)
* Runs as boinc user (setuid/setgid) if the user wants, otherwise
root
@@ -1,2 +1,4 @@
-config_query_list BOINC_PARTS "Which part of boinc would you like to build?"
\
- both client server
+config_query_list BOINC_PARTS "Which part of boinc would you like to build?"
\
+ both client server
&&
+
+config_query BOINC_SETUID "Install boinc_client-cvs setuid/setgid so it
always runs as the boinc user?" y
@@ -2,14 +2,24 @@
* DETAILS: Added PATCHLEVEL so people get the boinc init script (if
they
haven't already) and so people with the current init script get the
fixed
version (also so wxgtk-no-unicode gets marked as optional ;)).
+ Set PATCHLEVEL=2 for yet more changes/fixes
+ * CONFIGURE: Ask if the user wants boinc_client-cvs setuid (for it to
work
+ 'out of the box' this defaults to 'y').
* DEPENDS: Made wxgtk-no-unicode optional (again...)
Added missing '&&' after first if/fi
Added dependencies on zlib and openssl
Note that the usage of libdn is through curl, not directly through
boinc
- * init.d/boinc: Fixed missing quote
- BOINC_PRAMS -> BOINC_PARMS
+ * PRE_BUILD,BUILD: Moved create_account from BUILD to PRE_BUILD
+ * INSTALL: Setuid/setgid /usr/bin/boinc_client-cvs (if the user wants
us to)
+ * init.d/boinc: BOINC_PRAMS -> BOINC_PARMS
Removed unecessary '-r' in rm for PIDFILE
- Removed quotes around the `su - boinc -c ...` command
+ Removed the usage of `su`, the client now runs as the user who runs
it
+ (or 'boinc' if the user answered 'y' to making it setuid)
+ No longer need to cd to $BOINC_HOME
+ Replace $NAME with 'boinc' as that's the name of the script, not
+ boinc_client-cvs
+ Added restart()
+ * init.d/boinc.conf: Removed BOINC_USER variable (no longer used)
2006-03-26 David Brown <dmlb2000 AT gmail.com>
* PRE_BUILD: added patch for loss of presision when type casting a
void