diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-05 12:30:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-05 12:30:27 +0700 |
commit | aa6d927a727a5eaee4a5a3dbd2fc3fc05bc0603b (patch) | |
tree | 4faab63903fedc0d923741fdf9377ea389389cc1 /system/crashplan | |
parent | 17203c48b5eb4e0731477c93257ecc278a682db2 (diff) | |
download | slackbuilds-aa6d927a727a5eaee4a5a3dbd2fc3fc05bc0603b.tar.gz |
system/crashplan: Removed (Subscription Expired).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/crashplan')
-rw-r--r-- | system/crashplan/README | 12 | ||||
-rw-r--r-- | system/crashplan/crashplan.SlackBuild | 133 | ||||
-rw-r--r-- | system/crashplan/crashplan.info | 10 | ||||
-rw-r--r-- | system/crashplan/doinst.sh | 29 | ||||
-rw-r--r-- | system/crashplan/slack-desc | 19 |
5 files changed, 0 insertions, 203 deletions
diff --git a/system/crashplan/README b/system/crashplan/README deleted file mode 100644 index 79cccdaf86..0000000000 --- a/system/crashplan/README +++ /dev/null @@ -1,12 +0,0 @@ -CrashPlan is a backup software product that backs up personal files -once a day: - -* Free onsite backup, allowing you to back up to other computers and - attached external hard drives. -* Free offsite backup when you back up to computers belonging to people - you know, like friends and family. -* Paid cloud-storage backup: the free version of CrashPlan does not - back up to their cloud storage. - -The daemon is CrashPlanEngine, which is started by rc.crashplan. -The GUI can be launched by using the command CrashPlanDesktop. diff --git a/system/crashplan/crashplan.SlackBuild b/system/crashplan/crashplan.SlackBuild deleted file mode 100644 index cef9fc0790..0000000000 --- a/system/crashplan/crashplan.SlackBuild +++ /dev/null @@ -1,133 +0,0 @@ -#!/bin/bash -# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST -# Copyright 2009, 2010, 2011 Eric Hameleers, Eindhoven, Netherlands -# Slackware build script for crashplan -# Written by Lionel Young <redtricycle@gmail.com> -# Based on http://slackbuilds.org/template.SlackBuild - -# 20220413 bkw: Modified by SlackBuilds.org, BUILD=2: -# - allow ARCH=i586 or ARCH=i686 in the environment. -# - make .desktop file validate. -# - remove 0-byte junk file .keepme from bin dir. -# Note: this still fails sbopkglint due to shipping both 32-bit -# and 64-bit libraries (the Java code presumably decides which -# to use, at runtime). Not going to mess with this today. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=crashplan -VERSION=${VERSION:-4.3.0} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM=CrashPlan -TARGETDIR=/opt/crashplan -MANIFESTDIR=/var/crashplan # Directory to store backups to - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=x86_64 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# Pre-compiled binaries included only for x86 and x86_64 -case "$ARCH" in - i?86) ;; # OK - x86_64) ;; # OK - *) echo "$ARCH architecture not supported." ; exit 1 ;; -esac - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-install -tar xvf $CWD/${SRCNAM}_${VERSION}_Linux.tgz -cd $SRCNAM-install -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \+ - -# Repackage everything into /opt -mkdir -p $PKG/$TARGETDIR/bin/ -mkdir -p $PKG/usr/bin -mkdir -p $PKG/etc/rc.d/ -mkdir -p $PKG/usr/share/applications/ -mkdir -p $PKG/$MANIFESTDIR - -# Expand the archive -( cd $PKG/$TARGETDIR - cat $TMP/$SRCNAM-install/${SRCNAM}_${VERSION}.cpi | gzip -d -c - | cpio -i --no-preserve-owner -) - -# Make the log file world writable -chmod 777 $PKG/$TARGETDIR/log - -# create a file that has our install vars, which is required to run -echo "" > $PKG/${TARGETDIR}/install.vars -echo "TARGETDIR=${TARGETDIR}" >> $PKG/${TARGETDIR}/install.vars -echo "BINSDIR=${TARGETDIR}/bin" >> $PKG/${TARGETDIR}/install.vars -echo "MANIFESTDIR=${MANIFESTDIR}" >> $PKG/${TARGETDIR}/install.vars -echo "INITDIR=/etc/rc.d" >> $PKG/${TARGETDIR}/install.vars -echo "RUNLVLDIR=/etc/rc.d" >> $PKG/${TARGETDIR}/install.vars -NOW=`date +%Y%m%d` -echo "INSTALLDATE=$NOW" >> $PKG/${TARGETDIR}/install.vars -cat install.defaults >> $PKG/${TARGETDIR}/install.vars -JAVACOMMON=`which java` -echo "JAVACOMMON=${JAVACOMMON}" >> $PKG/${TARGETDIR}/install.vars - -# Repackage the binaries in the appropriate directories -cp -a scripts/CrashPlanDesktop scripts/CrashPlanEngine scripts/run.conf $PKG/$TARGETDIR/bin/ -ln -s ../../$TARGETDIR/bin/CrashPlanDesktop $PKG/usr/bin/CrashPlanDesktop - -# Repackage the init script -# Perform substitution on the init script; we need to make the value of INITSCRIPT available -# to what lives in /etc/rc.d -INITSCRIPT=$TARGETDIR/bin/CrashPlanEngine -SEDEXPRSUB=`echo $INITSCRIPT | sed 's/\//\\\\\//g'` -SEDEXPR="s/<INITSCRIPT>/$SEDEXPRSUB/g" -sed $SEDEXPR scripts/crashplan > $PKG/etc/rc.d/rc.crashplan.new -chmod 0755 $PKG/etc/rc.d/rc.crashplan.new - -# Desktop icon -cp -a scripts/CrashPlan.desktop $PKG/usr/share/applications/ -sed -i \ - -e "s#Categories=;#Categories=System;Utility;#" \ - -e "s#Exec=.*#Exec=${TARGETDIR}/bin/CrashPlanDesktop#" \ - -e "s#Icon=.*#Icon=${TARGETDIR}/skin/icon_app_128x128.png#" \ - -e '/^GenericName/s,\[en_CA\],,' \ - -e '/^Encoding/d' \ - $PKG/usr/share/applications/CrashPlan.desktop - -# 20220413 bkw: nobody needs this -rm -f $PKG/$TARGETDIR/bin/.keepme - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - EULA.txt README \ - $PKG/$TARGETDIR/doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/crashplan/crashplan.info b/system/crashplan/crashplan.info deleted file mode 100644 index 3851155579..0000000000 --- a/system/crashplan/crashplan.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="crashplan" -VERSION="4.3.0" -HOMEPAGE="http://www.crashplan.com" -DOWNLOAD="http://distcache.freebsd.org/ports-distfiles/CrashPlan_4.3.0_Linux.tgz" -MD5SUM="3b06038c29692b4daf05df739fd19ff7" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="zulu-openjdk8" -MAINTAINER="Lionel Young" -EMAIL="lionelyoung@gmail.com" diff --git a/system/crashplan/doinst.sh b/system/crashplan/doinst.sh deleted file mode 100644 index 6d96187db8..0000000000 --- a/system/crashplan/doinst.sh +++ /dev/null @@ -1,29 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -preserve_perms etc/rc.d/rc.crashplan.new - -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi diff --git a/system/crashplan/slack-desc b/system/crashplan/slack-desc deleted file mode 100644 index 448f1cbe20..0000000000 --- a/system/crashplan/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -crashplan: crashplan (on and off-site backup) -crashplan: -crashplan: CrashPlan is a backup software product that backs up personal files -crashplan: once a day. Free onsite backup, allowing you to back up to other -crashplan: computers and attached external hard drives. Free offsite backup -crashplan: when you back up to computers belonging to people you know, like -crashplan: friends and family. Paid cloud-storage backup; the free version of -crashplan: CrashPlan does not back up to their cloud storage. -crashplan: -crashplan: -crashplan: Home: http://www.crashplan.com |