Index: head/sysutils/linux-crashplan/Makefile =================================================================== --- head/sysutils/linux-crashplan/Makefile (revision 393473) +++ head/sysutils/linux-crashplan/Makefile (revision 393474) @@ -1,43 +1,43 @@ # Created by: William Grzybowski # $FreeBSD$ PORTNAME= linux-crashplan -DISTVERSION= 3.7.0 +DISTVERSION= 4.3.0 CATEGORIES= sysutils linux MASTER_SITES= http://download.crashplan.com/installs/linux/install/CrashPlan/ DISTNAME= CrashPlan_${DISTVERSION}_Linux -MAINTAINER= wg@FreeBSD.org +MAINTAINER= subtil@gmail.com COMMENT= Backs up data to remote servers or hard drives RUN_DEPENDS= linux-sun-jre17>=0:${PORTSDIR}/java/linux-sun-jre17 \ bash:${PORTSDIR}/shells/bash WRKSRC= ${WRKDIR}/CrashPlan-install USE_LINUX= yes USE_LINUX_APPS= expat fontconfig xorglibs USE_RC_SUBR= crashplan USES= shebangfix tar:tgz SHEBANG_FILES= scripts/CrashPlanEngine scripts/CrashPlanDesktop ONLY_FOR_ARCHS= i386 amd64 NO_BUILD= yes CRASHDIR= ${PREFIX}/share/crashplan do-install: @${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.7.0/bin/java" >> ${STAGEDIR}${CRASHDIR}/install.vars ${CAT} ${WRKSRC}/install.defaults >> ${STAGEDIR}${CRASHDIR}/install.vars .include Index: head/sysutils/linux-crashplan/distinfo =================================================================== --- head/sysutils/linux-crashplan/distinfo (revision 393473) +++ head/sysutils/linux-crashplan/distinfo (revision 393474) @@ -1,2 +1,2 @@ -SHA256 (CrashPlan_3.7.0_Linux.tgz) = 596cbbd2d852229a726c44caeae5ef79b7c0fc8e092286c867b401669eb19c16 -SIZE (CrashPlan_3.7.0_Linux.tgz) = 22110542 +SHA256 (CrashPlan_4.3.0_Linux.tgz) = 4fbb23ccd47db8aef7029c923520a22a7dfe6e5585d27ff29ef395752934b0d3 +SIZE (CrashPlan_4.3.0_Linux.tgz) = 26368468 Index: head/sysutils/linux-crashplan/files/patch-CrashPlanDesktop =================================================================== --- head/sysutils/linux-crashplan/files/patch-CrashPlanDesktop (revision 393473) +++ head/sysutils/linux-crashplan/files/patch-CrashPlanDesktop (revision 393474) @@ -1,17 +1,17 @@ ---- scripts/CrashPlanDesktop.orig 2013-09-23 11:40:09.770062319 -0300 -+++ scripts/CrashPlanDesktop 2013-09-23 12:08:29.635060972 -0300 -@@ -4,9 +4,11 @@ - SCRIPTDIR=$(dirname $SCRIPT) +--- scripts/CrashPlanDesktop ++++ scripts/CrashPlanDesktop +@@ -5,9 +5,11 @@ SCRIPTDIR=$(dirname $SCRIPT) TARGETDIR="$SCRIPTDIR/.." + export SWT_GTK3=0 -. ${TARGETDIR}/install.vars -. ${TARGETDIR}/bin/run.conf +. /usr/local/share/crashplan/install.vars cd ${TARGETDIR} -${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop > ${TARGETDIR}/log/ui_output.log 2> ${TARGETDIR}/log/ui_error.log & +. bin/run.conf -+: ${LOGDIR=/var/log/crashplan} ++${LOGDIR=/var/log/crashplan} + +${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop > ${LOGDIR}/ui_output.log 2> ${LOGDIR}/ui_error.log & Index: head/sysutils/linux-crashplan/files/patch-CrashPlanEngine =================================================================== --- head/sysutils/linux-crashplan/files/patch-CrashPlanEngine (revision 393473) +++ head/sysutils/linux-crashplan/files/patch-CrashPlanEngine (revision 393474) @@ -1,30 +1,20 @@ ---- scripts/CrashPlanEngine.orig 2013-04-08 20:36:04.000000000 -0300 -+++ scripts/CrashPlanEngine 2013-09-23 10:54:57.806062403 -0300 -@@ -11,7 +11,7 @@ +--- scripts/CrashPlanEngine ++++ scripts/CrashPlanEngine +@@ -11,7 +11,7 @@ standard_startup() { cd $TARGETDIR - nice -n 19 $JAVACOMMON $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $TARGETDIR/log/engine_output.log 2> $TARGETDIR/log/engine_error.log & + nice -n 19 $JAVACOMMON $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $LOGDIR/engine_output.log 2> $LOGDIR/engine_error.log & if [[ $! -gt 0 ]]; then echo $! > $PIDFILE -@@ -80,7 +80,7 @@ +@@ -80,7 +80,7 @@ do_startup() { } _findpid() { - /bin/ps -eo 'pid,cmd'| grep 'app=CrashPlanService' | grep -v grep | awk '{ print $1 }' + /bin/ps -ewwo 'pid,command'| grep 'app=CrashPlanService' | grep -v grep | awk '{ print $1 }' } SCRIPT=$(ls -l $0 | awk '{ print $NF }') -@@ -91,7 +91,8 @@ - DESC="CrashPlan Engine" - NAME=CrashPlanEngine - DAEMON=$TARGETDIR/lib/com.backup42.desktop.jar --PIDFILE="$TARGETDIR/${NAME}.pid" -+PIDFILE="/var/run/${NAME}.pid" -+: ${LOGDIR=/var/log/crashplan} - - if [[ -f $TARGETDIR/install.vars ]]; then - . $TARGETDIR/install.vars Index: head/sysutils/linux-crashplan/pkg-message =================================================================== --- head/sysutils/linux-crashplan/pkg-message (nonexistent) +++ head/sysutils/linux-crashplan/pkg-message (revision 393474) @@ -0,0 +1,8 @@ +For users upgrading from previous versions of CrashPlan, note that the headless +mode configuration has been changed significantly and older clients will no +longer connect. Please check the Code42 website for up to date instructions on +setting up a headless CrashPlan server. + +On FreeBSD, the authentication token file can be found in +/compat/linux/var/lib/CrashPlan/.ui_info + Property changes on: head/sysutils/linux-crashplan/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/linux-crashplan/pkg-plist =================================================================== --- head/sysutils/linux-crashplan/pkg-plist (revision 393473) +++ head/sysutils/linux-crashplan/pkg-plist (revision 393474) @@ -1,100 +1,94 @@ bin/CrashPlanDesktop etc/rc.d/crashplan share/crashplan/bin/.keepme share/crashplan/bin/CrashPlanEngine share/crashplan/bin/restartLinux.sh share/crashplan/bin/run.conf share/crashplan/conf/custom_sample.properties share/crashplan/conf/default.service.xml share/crashplan/conf/service.log.properties share/crashplan/conf/ui.log.properties share/crashplan/conf/ui.properties share/crashplan/conf/upgradeui.log.properties share/crashplan/conf/upgradeui.properties share/crashplan/doc/readme.html share/crashplan/doc/readme.odt share/crashplan/doc/readme.pdf share/crashplan/doc/readme.rtf share/crashplan/install.vars share/crashplan/jniwrap.lic share/crashplan/lang/txt.properties share/crashplan/lang/txt_ca.properties share/crashplan/lang/txt_da.properties share/crashplan/lang/txt_de.properties share/crashplan/lang/txt_en.properties share/crashplan/lang/txt_es.properties share/crashplan/lang/txt_es_ES.properties share/crashplan/lang/txt_fi.properties share/crashplan/lang/txt_fr.properties share/crashplan/lang/txt_hu.properties share/crashplan/lang/txt_it.properties share/crashplan/lang/txt_ja.properties share/crashplan/lang/txt_nl.properties share/crashplan/lang/txt_no.properties share/crashplan/lang/txt_pl.properties share/crashplan/lang/txt_pt.properties share/crashplan/lang/txt_sv.properties share/crashplan/lang/txt_th.properties share/crashplan/lang/txt_tr.properties share/crashplan/lang/txt_zh.properties share/crashplan/lang/txt_zh_TW.properties +share/crashplan/lib/bcprov-jdk15on.jar share/crashplan/lib/c42_protolib.jar share/crashplan/lib/com.backup42.desktop.jar share/crashplan/lib/com.jniwrapper.jniwrap.jar share/crashplan/lib/com.jniwrapper.macpack.jar share/crashplan/lib/com.jniwrapper.winpack.jar share/crashplan/lib/commons-collections-3.2.1-mini.jar share/crashplan/lib/commons-jxpath-1.1.jar +share/crashplan/lib/guava-18.0.jar share/crashplan/lib/jna-3.2.5.jar share/crashplan/lib/json-20070829.jar share/crashplan/lib/json-lib-2.4.jar share/crashplan/lib/jtux.jar share/crashplan/lib/log4j-1.2.16.jar share/crashplan/lib/miglayout15-swt.jar share/crashplan/lib/org.eclipse.core.commands_3.6.1.v20120814-150512.jar share/crashplan/lib/org.eclipse.equinox.common_3.6.100.v20120522-1841.jar share/crashplan/lib/org.eclipse.jface_3.8.101.v20120817-083647.jar share/crashplan/lib/org.eclipse.osgi_3.8.1.v20120830-144521.jar share/crashplan/lib/protobuf-java-2.4.1.jar share/crashplan/lib/rhino-1.7r3.jar share/crashplan/lib/sbbi-upnplib-1.0.4.jar share/crashplan/lib/slf4j-api-1.6.1.jar share/crashplan/lib/slf4j-log4j12-1.6.1.jar share/crashplan/lib/swt-64.jar share/crashplan/lib/swt.jar share/crashplan/lib/trove-3.0.2.jar share/crashplan/lib/twitter4j.jar share/crashplan/libjniwrap.so share/crashplan/libjniwrap64.so share/crashplan/libjtux.so share/crashplan/libjtux64.so share/crashplan/libmd5.so share/crashplan/libmd564.so share/crashplan/skin/icon_app_128x128.png share/crashplan/skin/icon_app_16x16.png share/crashplan/skin/icon_app_32x32.png share/crashplan/skin/icon_app_64x64.png share/crashplan/skin/logo_main.png share/crashplan/skin/skin.properties share/crashplan/skin/splash_default.png share/crashplan/skin/splash_plus.png share/crashplan/skin/window_bg.jpg share/crashplan/upgrade/start.bat share/crashplan/upgrade/start.sh share/crashplan/upgrade/startDesktop.bat share/crashplan/upgrade/startDesktop.sh share/crashplan/upgrade/startDesktopLinux.sh share/crashplan/upgrade/startDesktopSolaris.sh share/crashplan/upgrade/startFirst.sh share/crashplan/upgrade/startLinux.sh share/crashplan/upgrade/startSolaris.sh -@dirrmtry share/crashplan/upgrade/UpgradeUI -@dirrmtry share/crashplan/upgrade -@dirrmtry share/crashplan/skin -@dirrmtry share/crashplan/log -@dirrmtry share/crashplan/lib -@dirrmtry share/crashplan/lang -@dirrmtry share/crashplan/doc -@dirrmtry share/crashplan/conf -@dirrmtry share/crashplan/bin -@dirrmtry share/crashplan +@dir share/crashplan/log +@dir share/crashplan/upgrade/UpgradeUI