Hello community, here is the log from the commit of package boinc-client for openSUSE:Factory checked in at 2011-12-15 16:05:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/boinc-client (Old) and /work/SRC/openSUSE:Factory/.boinc-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boinc-client", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/boinc-client/boinc-client.changes 2011-09-23 01:52:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.boinc-client.new/boinc-client.changes 2011-12-15 16:05:23.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Sep 30 20:07:45 UTC 2011 - [email protected] + +- add libtool as buildrequire to make the spec file more reliable + +------------------------------------------------------------------- +Tue Aug 30 18:18:14 UTC 2011 - [email protected] + +- fixed Bug bnc#714623 (/var/lock/subsys unsupported) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boinc-client.spec ++++++ --- /var/tmp/diff_new_pack.oc3342/_old 2011-12-15 16:05:25.000000000 +0100 +++ /var/tmp/diff_new_pack.oc3342/_new 2011-12-15 16:05:25.000000000 +0100 @@ -91,7 +91,7 @@ #BuildRequires: gnutls-devel BuildRequires: libcurl-devel >= 7.17.1 BuildRequires: libjpeg-devel -#BuildRequires: libtool +BuildRequires: libtool BuildRequires: libxslt #BuildRequires: m4 #BuildRequires: make @@ -132,7 +132,6 @@ %package -n boinc-manager - Summary: GUI to control and monitor %{name} Group: Productivity/Scientific/Astronomy Requires: %{name} = %{version}-%{release} @@ -150,7 +149,6 @@ %lang_package -n boinc-manager %package devel - Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} @@ -162,7 +160,6 @@ %package -n libboinc%{soname} - Summary: Shared Libs for %{name} Group: System/Libraries @@ -175,7 +172,6 @@ %package doc - Summary: Documentation files for %{name} Group: Documentation/Other %if 0%{?suse_version} >= 1120 @@ -328,7 +324,7 @@ exit 0 %post -%{fillup_and_insserv boinc-client} +%fillup_and_insserv boinc-client %preun %stop_on_removal boinc-client ++++++ boinc-init.patch ++++++ --- /var/tmp/diff_new_pack.oc3342/_old 2011-12-15 16:05:25.000000000 +0100 +++ /var/tmp/diff_new_pack.oc3342/_new 2011-12-15 16:05:25.000000000 +0100 @@ -26,7 +26,7 @@ +# Name of group to run as: +# -+BOINCGROUP=boinc ++BOINCUSER=boinc + # Working directory. Could be /home/boinc, /var/lib/boinc, etc.. # The reason I prefer /var/lib/boinc is that this works best for a @@ -40,7 +40,18 @@ BOINCEXE=${bindir}/${BOINCEXE_NAME} BOINCCMD_NAME=boinccmd BOINCCMD=${bindir}/${BOINCCMD_NAME} -@@ -178,8 +182,8 @@ export TERM=dumb +@@ -161,9 +165,7 @@ BOINCOPTS= + # Subsys lock file ... + + # If there is the subsys directory, then use it ... +-if [ -d /var/lock/subsys/ ]; then +- LOCKFILE=/var/lock/subsys/${BOINCEXE_NAME} +-elif [ -d /var/lock ]; then ++if [ -d /var/lock ]; then + LOCKFILE=/var/lock/${BOINCEXE_NAME} + elif [ -d /var/run ]; then + LOCKFILE=/var/run/${BOINCEXE_NAME}.lock +@@ -178,8 +180,8 @@ export TERM=dumb # but if the functions are not found we create our own simple replacements. # (The idea for replacing the functions comes from OpenAFS. Thanks guys!) @@ -51,25 +62,23 @@ else if printf "Hello" >/dev/null 2>/dev/null ; then # printf works -@@ -279,7 +283,7 @@ if [ ! -d $BOINCDIR ]; then +@@ -279,7 +281,7 @@ if [ ! -d $BOINCDIR ]; then echo -n "Creating $BOINCDIR " if mkdir -p $BOINCDIR 2>/dev/null ; then if [ -n "$BOINCUSER" ] ; then - if chown $BOINCUSER $BOINCDIR ; then -+ if chown $BOINCUSER:$BOINCGROUP $BOINCDIR ; then ++ if chown $BOINCUSER $BOINCGROUP $BOINCDIR ; then echo_success else echo_failure -@@ -329,8 +333,10 @@ if [ "${USERNOW}" = "${BOINCUSER}" ] ; t +@@ -329,8 +331,8 @@ if [ "${USERNOW}" = "${BOINCUSER}" ] ; t exit 8 fi elif [ "${USERNOW}" = "root" ] ; then - cmd="if test -O ${BOINCDIR} ; then echo success ; fi" - if [ -z `su $BOINCUSER -c "$cmd"` ]; then -+ #cmd="if test -O ${BOINCDIR} ; then echo success ; fi" -+ #if [ -z `su $BOINCUSER -c "$cmd"` ]; then -+ if [ -z `sudo -u $BOINCUSER /bin/sh -c "if test -O ${BOINCDIR} ; -+ then echo success ; fi"` ]; then ++ # cmd="if test -O ${BOINCDIR} ; then echo success ; fi" ++ # if [ -z `su $BOINCUSER -c "$cmd"` ]; then echo -n ERROR: $BOINCDIR is not owned by $BOINCUSER. echo_failure echo ++++++ sysconfig.boinc-client ++++++ --- /var/tmp/diff_new_pack.oc3342/_old 2011-12-15 16:05:25.000000000 +0100 +++ /var/tmp/diff_new_pack.oc3342/_new 2011-12-15 16:05:25.000000000 +0100 @@ -22,8 +22,8 @@ # it will probably be one of the following: #LOCKFILE=/var/lock/${BOINCEXE_NAME} #LOCKFILE=/var/run/${BOINCEXE_NAME}.lock -LOCKFILE=/var/lock/subsys/${BOINCEXE_NAME} - +#LOCKFILE=/var/lock/subsys/${BOINCEXE_NAME} +LOCKFILE=/var/run/${BOINCEXE_NAME}.lock # BOINC options: for the command line when running the client. # Be aware that --allow_remote_gui_rpc opens up your machine to the world! -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
