Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 19:10:14 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334442 - in head/sysutils/linux-crashplan: . files
Message-ID:  <201311201910.rAKJAEkm028070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Wed Nov 20 19:10:14 2013
New Revision: 334442
URL: http://svnweb.freebsd.org/changeset/ports/334442

Log:
  sysutils/linux-crashplan: allow staging
  
  - Allow staging
  - Workaround problem starting up crashplan with SMP

Modified:
  head/sysutils/linux-crashplan/Makefile
  head/sysutils/linux-crashplan/files/crashplan.in

Modified: head/sysutils/linux-crashplan/Makefile
==============================================================================
--- head/sysutils/linux-crashplan/Makefile	Wed Nov 20 18:32:58 2013	(r334441)
+++ head/sysutils/linux-crashplan/Makefile	Wed Nov 20 19:10:14 2013	(r334442)
@@ -3,6 +3,7 @@
 
 PORTNAME=	linux-crashplan
 DISTVERSION=	3.5.3
+PORTREVISION=	1
 CATEGORIES=	sysutils linux
 MASTER_SITES=	http://download.crashplan.com/installs/linux/install/CrashPlan/
 DISTNAME=	CrashPlan_3.5.3_Linux
@@ -26,7 +27,6 @@ SHEBANG_FILES=	scripts/CrashPlanEngine s
 ONLY_FOR_ARCHS=	i386 amd64
 
 NO_BUILD=	yes
-NO_STAGE=	yes
 
 CRASHDIR=	${PREFIX}/share/crashplan
 
@@ -38,15 +38,15 @@ post-patch:
 	@${REINPLACE_CMD} 's/GUI_JAVA_OPTS="/GUI_JAVA_OPTS="-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider /' ${WRKSRC}/scripts/run.conf
 
 do-install:
-	@${MKDIR} ${CRASHDIR}
-	cd ${CRASHDIR} && ${CAT} ${WRKSRC}/CrashPlan_${DISTVERSION}.cpi | ${GZIP_CMD} -d -c - | ${CPIO} -i --no-preserve-owner
-	${INSTALL_SCRIPT} ${WRKSRC}/scripts/CrashPlanDesktop ${PREFIX}/bin/
-	${INSTALL_SCRIPT} ${WRKSRC}/scripts/CrashPlanEngine ${CRASHDIR}/bin/
-	${CP} ${WRKSRC}/scripts/run.conf ${CRASHDIR}/bin/
-	${ECHO_CMD} > ${CRASHDIR}/install.vars
-	${ECHO_CMD} "TARGETDIR=${CRASHDIR}" >> ${CRASHDIR}/install.vars
-	${ECHO_CMD} "BINSDIR=${CRASHDIR}/bin" >> ${CRASHDIR}/install.vars
-	${ECHO_CMD} "JAVACOMMON=${LOCALBASE}/linux-sun-jre1.6.0/bin/java" >> ${CRASHDIR}/install.vars
-	${CAT} ${WRKSRC}/install.defaults >> ${CRASHDIR}/install.vars
+	@${MKDIR} ${STAGEDIR}${CRASHDIR}
+	cd ${STAGEDIR}${CRASHDIR} && ${CAT} ${WRKSRC}/CrashPlan_${DISTVERSION}.cpi | ${GZIP_CMD} -d -c - | ${CPIO} -i --no-preserve-owner
+	${INSTALL_SCRIPT} ${WRKSRC}/scripts/CrashPlanDesktop ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/scripts/CrashPlanEngine ${STAGEDIR}${CRASHDIR}/bin/
+	${CP} ${WRKSRC}/scripts/run.conf ${STAGEDIR}${CRASHDIR}/bin/
+	${ECHO_CMD} > ${STAGEDIR}${CRASHDIR}/install.vars
+	${ECHO_CMD} "TARGETDIR=${CRASHDIR}" >> ${STAGEDIR}${CRASHDIR}/install.vars
+	${ECHO_CMD} "BINSDIR=${CRASHDIR}/bin" >> ${STAGEDIR}${CRASHDIR}/install.vars
+	${ECHO_CMD} "JAVACOMMON=${LOCALBASE}/linux-sun-jre1.6.0/bin/java" >> ${STAGEDIR}${CRASHDIR}/install.vars
+	${CAT} ${WRKSRC}/install.defaults >> ${STAGEDIR}${CRASHDIR}/install.vars
 
 .include <bsd.port.mk>

Modified: head/sysutils/linux-crashplan/files/crashplan.in
==============================================================================
--- head/sysutils/linux-crashplan/files/crashplan.in	Wed Nov 20 18:32:58 2013	(r334441)
+++ head/sysutils/linux-crashplan/files/crashplan.in	Wed Nov 20 19:10:14 2013	(r334442)
@@ -10,7 +10,7 @@
 name="crashplan"
 rcvar=${name}_enable
 
-command="%%PREFIX%%/share/crashplan/bin/CrashPlanEngine"
+command="/usr/bin/cpuset -l 0 %%PREFIX%%/share/crashplan/bin/CrashPlanEngine"
 
 pidfile="/var/run/CrashPlanEngine.pid"
 



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