Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2012 12:25:07 +0300
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/169679: net/boinc-client update to 7.0.28
Message-ID:  <20120706092507.GA1300@pm513-1.comsys.ntu-kpi.kiev.ua>
Resent-Message-ID: <201207060930.q669UCrj065855@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169679
>Category:       ports
>Synopsis:       net/boinc-client update to 7.0.28
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 06 09:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko
>Release:        FreeBSD 9.0-STABLE amd64
>Organization:
>Environment:
>Description:

This is update for net/boinc-client to 7.0.28.

Changes to previous port:

* Corrected pkg-plist

* Simplified and updated Makefile

Since BOINC source code is distributed from BOINC Subversion repository,
it is necessary to generate source:

1. Create BOINC-client directory with scripts.  See shar archive bellow.

2. Install subversion, gmake, gm4, pkg-config, autoconf, automake, libtool.
   (use automake 1.12, one Makefile.am is not ready for 1.12.1)

3. Cd to BOINC-client and run

% ./boinc-client-get.sh

It should get code from SVN (~200 Mbytes).

4. Run these scripts:

% ./BOINC-client-copy.sh
% ./BOINC-client-setup.sh
% ./BOINC-client-simplify.sh
% ./BOINC-client-package.sh

If everything is correct, you'll get boinc-client-7.0.28.tar.xz (~4.5 Mbytes)
Port's Makefile has distinfo for this file generated on my system and
I got updates via the "svn diff" command.

>How-To-Repeat:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	BOINC-client
#	BOINC-client/BOINC-client-copy.sh
#	BOINC-client/BOINC-client-package.sh
#	BOINC-client/BOINC-client-setup.sh
#	BOINC-client/BOINC-client-simplify.sh
#	BOINC-client/boinc-client-get.sh
#	BOINC-client/boinc-client-version.sh
#
echo c - BOINC-client
mkdir -p BOINC-client > /dev/null 2>&1
echo x - BOINC-client/BOINC-client-copy.sh
sed 's/^X//' >BOINC-client/BOINC-client-copy.sh << '9281447033ab9c853910402bdc947ce2'
X#!/bin/sh
X
X. boinc-client-version.sh
X
Xecho "Removing ${boinc_client_dir} ..."
Xrm -rf ${boinc_client_dir}
X
Xecho "Creating ${boinc_client_dir} ..."
Xcp -Rp ${boinc_core_dir} ${boinc_client_dir}
9281447033ab9c853910402bdc947ce2
echo x - BOINC-client/BOINC-client-package.sh
sed 's/^X//' >BOINC-client/BOINC-client-package.sh << '57367a0d38afcb307302ca761c0b8b50'
X#!/bin/sh
X
X. boinc-client-version.sh
X
Xname=${boinc_client_dir}.tar.xz
Xecho "Removing ${name} ..."
Xrm -f ${name}
X
Xecho "Tar archiving ${boinc_client_dir} ..."
Xtar -cf ${boinc_client_dir}.tar ${boinc_client_dir}
X
Xecho "XZ compressing ${boinc_client_dir}.tar ..."
Xxz ${boinc_client_dir}.tar
57367a0d38afcb307302ca761c0b8b50
echo x - BOINC-client/BOINC-client-setup.sh
sed 's/^X//' >BOINC-client/BOINC-client-setup.sh << '2d2c2b8b7b029f6d1e95bcf8a8fb57c4'
X#!/bin/sh
X
X. boinc-client-version.sh
X
Xcd ${boinc_client_dir} && ./_autosetup
X
2d2c2b8b7b029f6d1e95bcf8a8fb57c4
echo x - BOINC-client/BOINC-client-simplify.sh
sed 's/^X//' >BOINC-client/BOINC-client-simplify.sh << '65f3d337aab2149d21e73ac8e36cc2e6'
X#!/bin/sh
X
X. boinc-client-version.sh
X
Xclear_dir()
X{
X	( cd $1 ; ls | while read name ; do
X		if [ "${name}" != "Makefile.in" -a \
X		     "${name}" != "Makefile.am" -a -f ${name} ]; then
X			n=${name%\.in}
X			if [ "${name}" == "${n}" ]; then
X				rm ${name}
X			fi
X		fi
X	done )
X}
X
Xcd ${boinc_client_dir}
Xif [ $? -ne 0 ]; then
X	echo "Cannot cd to ${boinc_client_dir}"
X	exit 1
Xfi
X
Xrm -rf	.svn \
X	autom4te.cache \
X	win_build \
X	samples \
X	mac_build \
X	mac_installer \
X	rboinc \
X	coprocs \
X	clientgui/mac clientgui/msw \
X	client/android client/os2 client/win \
X	clientctrl \
X	stripchart \
X	clienttray \
X	clientscr/res clientscr/progress \
X	languages \
X	lib/mac \
X	packages/linux \
X	doc/bolt doc/logo doc/sim doc/source \
X	curl \
X	clientgui/res/templates \
X	clientgui/sqlite3.c \
X	api/ttf \
X	html
X
Xrm -f	clientgui/res/*.zip clientgui/res/*.ico clientgui/res/*.icns
X
Xrm -f	clientgui/skins/GridRepublic/graphic/Thumbs.db
X
Xfor dir in db test py/Boinc py sched apps tools vda clientscr \
X    doc doc/manpages packages packages/generic/sea packages/solaris; do
X	clear_dir ${dir}
Xdone
X
Xfor dir in boincclient boincdevel boinclibs boincmanager boincserver .; do
X	clear_dir packages/solaris/CSW/${dir}
Xdone
X
X(cd locale; for dir in 	\
X    ar be bg ca cs cy da de el es fa fi fr gl hr he hu it ja ko lt lv \
X    nb nl nn pl pt_BR pt_PT ro ru sk sl sv_SE tr uk zh_CN zh_TW ; do
X	find ${dir} \
X	    \( ! \( -name BOINC-Client.mo -or -name BOINC-Manager.mo \) \
X	    -type f \) -exec rm -- {} \;
Xdone )
X
Xrm -rf	locale/templates
X
Xrm -f	checkin_notes*
X
Xrm -rf	zip/boinc_zip.xcodeproj \
X	zip/zip/unix/Packaging zip/unzip/unix/Packaging \
X	zip/zip/macos zip/zip/win32 zip/unzip/macos zip/unzip/win32
X
65f3d337aab2149d21e73ac8e36cc2e6
echo x - BOINC-client/boinc-client-get.sh
sed 's/^X//' >BOINC-client/boinc-client-get.sh << '44e21126847c39c5131c90accaf61218'
X#!/bin/sh
X
X. boinc-client-version.sh
X
Xsvn co http://boinc.berkeley.edu/svn/tags/boinc_core_release_${svn_version}
44e21126847c39c5131c90accaf61218
echo x - BOINC-client/boinc-client-version.sh
sed 's/^X//' >BOINC-client/boinc-client-version.sh << 'b5c84f1f89661c8ea8ba1c15249bb395'
Xversion=7.0.28
Xsvn_version=`echo ${version} | sed y/./_/`
Xboinc_client_dir=boinc-client-${version}
Xboinc_core_dir=boinc_core_release_${svn_version}
b5c84f1f89661c8ea8ba1c15249bb395
exit

>Fix:
diff -ruN boinc-client.orig/Makefile boinc-client/Makefile
--- boinc-client.orig/Makefile	2012-06-11 11:34:37.000000000 +0300
+++ boinc-client/Makefile	2012-07-05 14:50:49.000000000 +0300
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	boinc-client
-PORTVERSION=	7.0.25
-PORTREVISION=	4
+PORTVERSION=	7.0.28
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	pav
@@ -150,9 +149,10 @@
 
 post-install:
 .if ${PORT_OPTIONS:MMANAGER}
+	${MKDIR} ${PREFIX}/share/boinc
 	${MKDIR} ${LOCALBASE}/share/pixmaps
 . for name in 16 32 48
-	cd ${LOCALBASE}/share/pixmaps ; ${LN} -sf ${PREFIX}/share/boinc/boincmgr.${name}x${name}.png
+	${INSTALL_DATA} ${WRKSRC}/clientgui/res/boincmgr.${name}x${name}.png ${LOCALBASE}/share/pixmaps
 . endfor
 . if ${PORT_OPTIONS:MSKINS}
 	${CP} -R ${WRKSRC}/clientgui/skins ${PREFIX}/share/boinc
@@ -161,9 +161,9 @@
 	${CP} -R ${WRKSRC}/clientgui/skins/Default ${PREFIX}/share/boinc/skins
 . endif
 .endif
-	${INSTALL_DATA} ${WRKSRC}/config.h ${PREFIX}/include/boinc
-	${INSTALL_DATA} ${WRKSRC}/lib/std_fixes.h ${PREFIX}/include/boinc
-	${INSTALL_DATA} ${WRKSRC}/api/reduce.h ${PREFIX}/include/boinc
+. for name in config.h api/reduce.h lib/std_fixes.h
+	${INSTALL_DATA} ${WRKSRC}/${name} ${PREFIX}/include/boinc
+. endfor
 .if ${PORT_OPTIONS:MX11}
 . for name in api/boinc_gl.h api/graphics_api.h api/graphics_data.h \
 	api/txf_util.h
diff -ruN boinc-client.orig/distinfo boinc-client/distinfo
--- boinc-client.orig/distinfo	2012-04-15 15:57:50.000000000 +0300
+++ boinc-client/distinfo	2012-07-05 13:11:21.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (boinc-client-7.0.25.tar.xz) = b73dc1ab8e390e7f015964462dd4b02aa01f01ec1bb8dfcfb0faea8c4957bec5
-SIZE (boinc-client-7.0.25.tar.xz) = 4568300
+SHA256 (boinc-client-7.0.28.tar.xz) = a8d208b7145e911e856db4d4cdcfa843e26b445a948c11e40ad03ae3fdd657fa
+SIZE (boinc-client-7.0.28.tar.xz) = 4529336
diff -ruN boinc-client.orig/pkg-plist boinc-client/pkg-plist
--- boinc-client.orig/pkg-plist	2012-04-23 23:49:14.000000000 +0300
+++ boinc-client/pkg-plist	2012-07-05 14:01:50.000000000 +0300
@@ -39,6 +39,7 @@
 include/boinc/prefs.h
 include/boinc/procinfo.h
 include/boinc/proxy_info.h
+include/boinc/reduce.h
 include/boinc/stackwalker_imports.h
 include/boinc/stackwalker_win.h
 include/boinc/std_fixes.h
@@ -51,7 +52,6 @@
 %%X11%%include/boinc/boinc_gl.h
 %%X11%%include/boinc/graphics_api.h
 %%X11%%include/boinc/graphics_data.h
-%%X11%%include/boinc/reduce.h
 %%X11%%include/boinc/txf_util.h
 lib/libboinc.a
 lib/libboinc.la
@@ -73,9 +73,6 @@
 %%X11%%lib/libboinc_graphics2.la
 %%X11%%lib/libboinc_graphics2.so
 %%X11%%lib/libboinc_graphics2.so.7
-%%BOINC_MANAGER%%share/boinc/boincmgr.16x16.png
-%%BOINC_MANAGER%%share/boinc/boincmgr.32x32.png
-%%BOINC_MANAGER%%share/boinc/boincmgr.48x48.png
 %%SKINS%%share/boinc/skins/Charity Engine/graphic/arwLeft.png
 %%SKINS%%share/boinc/skins/Charity Engine/graphic/arwLeftClick.png
 %%SKINS%%share/boinc/skins/Charity Engine/graphic/arwRight.png
@@ -135,7 +132,6 @@
 %%BOINC_MANAGER%%share/boinc/skins/Default/workunit_running_image.png
 %%BOINC_MANAGER%%share/boinc/skins/Default/workunit_suspended_image.png
 %%BOINC_MANAGER%%share/boinc/skins/Default/workunit_waiting_image.png
-%%SKINS%%share/boinc/skins/GridRepublic/graphic/Thumbs.db
 %%SKINS%%share/boinc/skins/GridRepublic/graphic/arwLeft.png
 %%SKINS%%share/boinc/skins/GridRepublic/graphic/arwLeftClick.png
 %%SKINS%%share/boinc/skins/GridRepublic/graphic/arwRight.png
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120706092507.GA1300>