removed crashplan
This commit is contained in:
parent
4d7d449a5c
commit
30ece8cbec
@ -1,23 +0,0 @@
|
||||
pkgbase = crashplan-pro
|
||||
pkgdesc = An business online/offsite backup solution
|
||||
pkgver = 4.8.3
|
||||
pkgrel = 1
|
||||
url = http://www.crashplan.com/business
|
||||
install = crashplan-pro.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom
|
||||
makedepends = grep
|
||||
makedepends = cpio
|
||||
makedepends = gzip
|
||||
depends = java-runtime
|
||||
optdepends = swt: needed by some to open the GUI
|
||||
source = http://download1.us.code42.com/installs/linux/install/CrashPlanPRO/CrashPlanPRO_4.8.3_Linux.tgz
|
||||
source = crashplan-pro
|
||||
source = crashplan-pro.service
|
||||
sha256sums = d298dee27bddb5e543e7d48997cc3f5717c4286a0190dd1224b2b9144380edf5
|
||||
sha256sums = b306d7da0dd41341512ce80ddcfb21bff8a9bb73ab5018696e69d08b89f7f1b6
|
||||
sha256sums = c631a971f300bfbfe52e3ec8faa4d7b735eaa069d73e11d6021567e29d053dc3
|
||||
|
||||
pkgname = crashplan-pro
|
||||
|
@ -1,85 +0,0 @@
|
||||
# Maintainer: Anthony Boccia <aboccia [at] boccia [dot] me>
|
||||
# Contributer: Griffin Smith <wildgriffin [at] gmail [dot] com>
|
||||
# Contributor: Bill Durr <billyburly [at] gmail [dot] com>
|
||||
pkgname=crashplan-pro
|
||||
pkgver=4.9.0
|
||||
pkgrel=0
|
||||
pkgdesc="An business online/offsite backup solution"
|
||||
url="http://www.crashplan.com/business"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
depends=('java-runtime')
|
||||
makedepends=('grep' 'cpio' 'gzip')
|
||||
optdepends=('swt: needed by some to open the GUI')
|
||||
backup=()
|
||||
install=crashplan-pro.install
|
||||
source=(https://web-eam-msp.crashplanpro.com/client/installers/CrashPlanPRO_4.9.0_1436674888490_33_Linux.tgz
|
||||
crashplan-pro
|
||||
crashplan-pro.service)
|
||||
sha256sums=('891426d6180c13a25e65bb935a9c0df36b733be121e547d47f35eb4b7175856d'
|
||||
'b306d7da0dd41341512ce80ddcfb21bff8a9bb73ab5018696e69d08b89f7f1b6'
|
||||
'c631a971f300bfbfe52e3ec8faa4d7b735eaa069d73e11d6021567e29d053dc3')
|
||||
|
||||
build() {
|
||||
cd $srcdir/crashplan-install
|
||||
|
||||
echo ""
|
||||
echo "You must review and agree to the EULA before using Crashplan PRO."
|
||||
echo "You can do so at:"
|
||||
echo " - http://support.crashplan.com/doku.php/eula"
|
||||
echo " - /usr/share/licenses/${pkgname}/LICENSE"
|
||||
echo ""
|
||||
|
||||
echo "" > install.vars
|
||||
echo "JAVACOMMON=`which java`" >> install.vars
|
||||
echo "#APP_BASENAME=CrashPlan" >> install.vars
|
||||
echo "TARGETDIR=/opt/$pkgname" >> install.vars
|
||||
echo "BINSDIR=" >> install.vars
|
||||
echo "MANIFESTDIR=/opt/$pkgname/manifest" >> install.vars
|
||||
echo "INITDIR=" >> install.vars
|
||||
echo "RUNLVLDIR=" >> install.vars
|
||||
NOW=`date +%Y%m%d`
|
||||
echo "INSTALLDATE=$NOW" >> install.vars
|
||||
|
||||
sed -imod "s|Exec=.*|Exec=/opt/$pkgname/bin/CrashPlanDesktop|" scripts/CrashPlan.desktop
|
||||
sed -imod "s|Icon=.*|Icon=/opt/$pkgname/skin/icon_app_64.74.png|" scripts/CrashPlan.desktop
|
||||
sed -imod "s|Categories=.*|Categories=System;|" scripts/CrashPlan.desktop
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p $pkgdir/opt/$pkgname
|
||||
cd $pkgdir/opt/$pkgname
|
||||
|
||||
cat $srcdir/crashplan-install/CrashPlanPRO_$pkgver.cpi | gzip -d -c - | cpio -i --no-preserve-owner
|
||||
chmod 777 $pkgdir/opt/$pkgname/log
|
||||
sed -i "s|<manifestPath>manifest</manifestPath>|<manifestPath>/opt/$pkgname/manifest</manifestPath>|g" $pkgdir/opt/$pkgname/conf/default.service.xml
|
||||
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
ln -s "/opt/$pkgname/bin/CrashPlanDesktop" $pkgdir/usr/bin/CrashPlanDesktop
|
||||
|
||||
# Fix for 32 bit: 64 bit libs cannot be stripped from symbols
|
||||
# so we just remove those libs
|
||||
if [ "$CARCH" = "i686" ]; then
|
||||
rm $pkgdir/opt/$pkgname/*64.so
|
||||
fi
|
||||
|
||||
# Fix for encoding troubles (CrashPlan ticket 178827)
|
||||
# Make sure the daemon is running using the same localization as
|
||||
# the (installing) user
|
||||
echo "" >> $srcdir/crashplan-install/scripts/run.conf
|
||||
echo "export LC_ALL=$LANG" >> $srcdir/crashplan-install/scripts/run.conf
|
||||
|
||||
install -D -m 644 $srcdir/crashplan-install/install.vars $pkgdir/opt/$pkgname/install.vars
|
||||
#Removed as of Version 4.8.0 as the EULA is no longer included in the source
|
||||
#install -D -m 644 $srcdir/crashplan-install/EULA.txt $pkgdir/opt/$pkgname/EULA.txt
|
||||
#install -D -m 644 $srcdir/crashplan-install/EULA.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -D -m 755 $srcdir/crashplan-install/scripts/CrashPlanDesktop $pkgdir/opt/$pkgname/bin/CrashPlanDesktop
|
||||
install -D -m 644 $srcdir/crashplan-install/scripts/run.conf $pkgdir/opt/$pkgname/bin/run.conf
|
||||
install -D -m 755 $srcdir/crashplan-install/scripts/CrashPlanEngine $pkgdir/opt/$pkgname/bin/CrashPlanEngine
|
||||
install -D -m 755 $srcdir/crashplan-install/scripts/CrashPlan.desktop $pkgdir/usr/share/applications/crashplan.desktop
|
||||
|
||||
# rc.d daemon
|
||||
install -D -m 755 $srcdir/crashplan-pro $pkgdir/etc/rc.d/crashplan-pro
|
||||
# systemd unit
|
||||
install -D -m 644 $srcdir/crashplan-pro.service $pkgdir/usr/lib/systemd/system/crashplan-pro.service
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
. /etc/rc.conf
|
||||
. /etc/rc.d/functions
|
||||
|
||||
if [[ -f /etc/profile.d/jre.sh ]]; then
|
||||
. /etc/profile.d/jre.sh
|
||||
elif [[ -f /etc/profile.d/openjdk6.sh ]]; then
|
||||
. /etc/profile.d/openjdk6.sh
|
||||
fi
|
||||
|
||||
WD=/opt/crashplan-pro
|
||||
CRASHPLAN=$WD/bin/CrashPlanEngine
|
||||
VARS=$WD/install.vars
|
||||
CONFIG=$WD/bin/run.conf
|
||||
|
||||
test -f $VARS || exit 0
|
||||
test -f $CONFIG || exit 0
|
||||
test -f $CRASHPLAN || exit 0
|
||||
|
||||
. $VARS
|
||||
. $CONFIG
|
||||
|
||||
|
||||
|
||||
if [[ ${LC_ALL} ]]; then
|
||||
LOCALE=`sed 's/\..*//g' <<< ${LC_ALL}`
|
||||
export LC_ALL="${LOCALE}.UTF-8"
|
||||
elif [[ ${LC_CTYPE} ]]; then
|
||||
LOCALE=`sed 's/\..*//g' <<< ${LC_CTYPE}`
|
||||
export LC_CTYPE="${LOCALE}.UTF-8"
|
||||
elif [[ ${LANG} ]]; then
|
||||
LOCALE=`sed 's/\..*//g' <<< ${LANG}`
|
||||
export LANG="${LOCALE}.UTF-8"
|
||||
else
|
||||
export LANG="en_US.UTF-8"
|
||||
fi
|
||||
|
||||
[[ `$CRASHPLAN status` != "CrashPlan Engine is stopped." ]] && PID=`$CRASHPLAN status | sed -r 's/CrashPlan Engine \(pid ([0-9]+)\).*/\1/'`
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
stat_busy "Starting CrashPlan Engine"
|
||||
PWD=`pwd`
|
||||
cd $WD
|
||||
[[ -z "$PID" ]] && nice -n 19 $CRASHPLAN start > /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
add_daemon crashplan
|
||||
stat_done
|
||||
fi
|
||||
cd $PWD
|
||||
;;
|
||||
stop)
|
||||
stat_busy "Stopping CrashPlan Engine"
|
||||
[[ ! -z "&PID" ]] && $CRASHPLAN stop &> /dev/null
|
||||
if [ $? -gt 0 ]; then
|
||||
stat_fail
|
||||
else
|
||||
rm_daemon crashplan
|
||||
stat_done
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
$CRASHPLAN status
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 <start|stop|restart|status>" >&2
|
||||
exit 3
|
||||
;;
|
||||
esac
|
||||
|
@ -1,11 +0,0 @@
|
||||
post_install () {
|
||||
INOTIFY_WATCHES=`cat /proc/sys/fs/inotify/max_user_watches`
|
||||
if [[ $INOTIFY_WATCHES -le 8192 ]]; then
|
||||
echo ""
|
||||
echo "Your system is currently configured to watch $INOTIFY_WATCHES files in real time."
|
||||
echo "CrashPlan recommends using a larger value; see the CrashPlan support site for details."
|
||||
echo "e.g. add the following line to /etc/sysctl.d/99-sysctl.conf "
|
||||
echo " fs.inotify.max_user_watches=1048576"
|
||||
echo ""
|
||||
fi
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Description=CrashPlanPRO Backup Engine
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
||||
Type=forking
|
||||
PIDFile=/opt/crashplan-pro/CrashPlanEngine.pid
|
||||
EnvironmentFile=/opt/crashplan-pro/bin/run.conf
|
||||
WorkingDirectory=/opt/crashplan-pro
|
||||
ExecStart=/opt/crashplan-pro/bin/CrashPlanEngine start
|
||||
ExecStop=/opt/crashplan-pro/bin/CrashPlanEngine stop
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user