Deleted package: cryptpad

This commit is contained in:
2020-05-13 19:55:04 +02:00
parent 588bfb1a42
commit 294a285692
5 changed files with 0 additions and 90 deletions

View File

@@ -1,22 +0,0 @@
pkgbase = cryptpad
pkgdesc = Realtime collaborative visual editor with zero knowlege server
pkgver = 3.9.0
pkgrel = 1
url = https://github.com/xwiki-labs/cryptpad
arch = any
license = AGPL3
makedepends = npm
makedepends = bower
makedepends = git
depends = nodejs
source = https://github.com/xwiki-labs/cryptpad/archive/3.9.0.tar.gz
source = cryptpad.service
source = cryptpad.sysusers
source = cryptpad.tmpfiles
sha256sums = 23ae9d0c7c5758a55b43a75d0224a161652e943e3a7b818a183799c39f0897cf
sha256sums = 522851fbe4e0e41fd6ece8b2b0ed17bbae0233a58328b7994a5207aa341a635b
sha256sums = 999a271d64b75c7c447fdb21486b27463c04679677e57ea9551a3b0429c618f6
sha256sums = fa710a977248c1cd2482d4624325d3f8ac8479c9d748dd636077f55f48906d44
pkgname = cryptpad

View File

@@ -1,52 +0,0 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=cryptpad
pkgver=3.9.0
pkgrel=1
pkgdesc="Realtime collaborative visual editor with zero knowlege server"
arch=('any')
url="https://github.com/xwiki-labs/cryptpad"
license=('AGPL3')
depends=('nodejs')
makedepends=('npm' 'bower' 'git')
source=("https://github.com/xwiki-labs/cryptpad/archive/$pkgver.tar.gz"
"cryptpad.service"
"cryptpad.sysusers"
"cryptpad.tmpfiles")
sha256sums=('23ae9d0c7c5758a55b43a75d0224a161652e943e3a7b818a183799c39f0897cf'
'522851fbe4e0e41fd6ece8b2b0ed17bbae0233a58328b7994a5207aa341a635b'
'999a271d64b75c7c447fdb21486b27463c04679677e57ea9551a3b0429c618f6'
'fa710a977248c1cd2482d4624325d3f8ac8479c9d748dd636077f55f48906d44')
package() {
cd "${srcdir}/$pkgname-$pkgver"
npm install -g --user root --prefix "${pkgdir}"/usr --cache "${srcdir}/npm-cache"
bower install --allow-root
rm -r "${pkgdir}"/usr
# make sure directory permissions are acceptable
find . -type d -exec chmod 755 {} +
# Documentation
install -t "${pkgdir}"/usr/share/doc/$pkgname -Dm 644 docs/ARCHITECTURE.md -Dm 644 docs/example.nginx.conf -Dm 644 CHANGELOG.md
# Cryptpad
install -d "${pkgdir}"/usr/share/$pkgname
cp -r {customize.dist,historyKeeper.js,import,lib,node_modules,rpc.js,scripts,server.js,storage,www,package.json} "${pkgdir}"/usr/share/$pkgname
# Config
sed -e "s|\(Path: '\)\./|\1/var/lib/cryptpad/|" \
-e "s|'/var/lib/cryptpad/data/logs'|false|" \
-e "s|logToStdout: false|logToStdout: true|" \
-i config/config.example.js
install -Dm 644 config/config.example.js "${pkgdir}/etc/webapps/$pkgname/config.example.js"
ln -s "/etc/webapps/$pkgname" "${pkgdir}"/usr/share/$pkgname/config
# systemd
install -Dm 644 "${srcdir}"/cryptpad.sysusers "${pkgdir}"/usr/lib/sysusers.d/cryptpad.conf
install -Dm 644 "${srcdir}"/cryptpad.service "${pkgdir}"/usr/lib/systemd/system/cryptpad.service
install -Dm 644 "${srcdir}"/cryptpad.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/cryptpad.conf
}

View File

@@ -1,11 +0,0 @@
[Unit]
Description=CryptPad service
[Service]
ExecStart=/usr/bin/node /usr/share/cryptpad/server.js
WorkingDirectory=/usr/share/cryptpad
User=cryptpad
[Install]
WantedBy=multi-user.target

View File

@@ -1,2 +0,0 @@
u cryptpad - "CryptPad" /var/lib/cryptpad

View File

@@ -1,3 +0,0 @@
d /var/lib/cryptpad 0755 cryptpad cryptpad -
Z /var/lib/cryptpad - cryptpad cryptpad -