A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /usr/share/webapps/Stikked/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /usr/share/webapps/Stikked/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /usr/share/webapps/Stikked/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /usr/share/webapps/Stikked/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /usr/share/webapps/Stikked/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /usr/share/webapps/Stikked/application/libraries/Process.php
Line: 45
Function: parse_code

File: /usr/share/webapps/Stikked/application/models/Pastes.php
Line: 517
Function: syntax

File: /usr/share/webapps/Stikked/application/controllers/Main.php
Line: 693
Function: getPaste

File: /usr/share/webapps/Stikked/index.php
Line: 315
Function: require_once

etherpad-lite PKGBUILD - sleepmap

etherpad-lite PKGBUILD

From dave, 3 Years ago, written in Bash, viewed 239 times.
URL https://paste.sleepmap.de/view/18a61d4f Embed
Download Paste or View Raw
  1. # Maintainer: Ruben Kelevra <ruben@freifunk-nrw.de>
  2. # Contributors: Timothée Ravier <tim@siosm.fr>, Jonas Heinrich <onny@project-insanity.org>, David Runge <dave@sleepmap.de>
  3.  
  4. pkgname=etherpad-lite
  5. pkgver=1.5.7
  6. pkgrel=2
  7. epoch=1
  8. pkgdesc="Lightweight fork of etherpad based on javascript"
  9. arch=(any)
  10. url="http://etherpad.org"
  11. _watch=('http://etherpad.org','Documentation <small>v([d.]*)</small>')
  12. license=('GPL2')
  13. depends=('curl' 'python2' 'openssl' 'nodejs' 'git' 'npm')
  14. optdepends=('sqlite: to use sqlite as databse'
  15.             'mariadb: to use mariadb as database'
  16.             'postgresql: to use postgresql as database')
  17. conflicts=('etherpad-lite-git')
  18. backup=('etc/webapps/etherpad-lite/settings.json')
  19. install='etherpad-lite.install'
  20. source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ether/${pkgname}/archive/${pkgver}.tar.gz"
  21.         "etherpad-lite.service")
  22. sha512sums=('688205194347f0e4e6f78deb0b189ceaa4f2255efcbaa503d0b6459de8505dd475aa9151399dd818b6cac232bc0b71e5a0fbd6d43f56cb5ce1f9eafcccb3925b'
  23.             '7b775171da97a3e7ad44a2b1b319970fd307a88e90a171c49bf70d2382767175e98bb21c7054e38ee6c066bd2dfadf94d28a9ff31d4f21145ec4441caa13c4d7')
  24.  
  25. prepare() {
  26.   cd "$srcdir/$pkgname-$pkgver/"
  27.   sed -i '48 i NODE_V_MAIN=$(echo $NODE_VERSION | cut -d "." -f 1)' bin/installDeps.sh
  28.   sed -i '54d' bin/installDeps.sh
  29.   sed -i '54 i if [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ] && [ ! $NODE_V_MINOR = "v0.12" ] && [ ! $NODE_V_MAIN = "v4" ]; then' bin/installDeps.sh
  30.   sed -i '56d' bin/installDeps.sh
  31.   sed -i '56 i     echo You are running a wrong version of node, or io.js is not installed. You are using $NODE_VERSION, we need node v0.10.x or higher >&2' bin/installDeps.sh
  32. }
  33.  
  34. build() {
  35.   cd "$pkgname-$pkgver"
  36.   export PYTHON=python2
  37.   ./bin/installDeps.sh
  38. }
  39.  
  40. package() {
  41.   cd "$srcdir/$pkgname-$pkgver/"
  42.   install -Dm640 "settings.json" "${pkgdir}/etc/webapps/${pkgname}/settings.json"
  43.   install -Dm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
  44.   install -Dm644 "CHANGELOG.md" "${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG.md"
  45.   install -Dm644 "CONTRIBUTING.md" "${pkgdir}/usr/share/doc/${pkgname}/CONTRIBUTING.md"
  46.   install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
  47.   install -Dm644 "settings.json.template" "${pkgdir}/usr/share/doc/${pkgname}/settings.json.template"
  48.   install -d "${pkgdir}/usr/share/webapps/${pkgname}"
  49.   rsync
  50.     --delete
  51.     --exclude 'CHANGELOG.md'
  52.     --exclude 'CONTRIBUTING.md'
  53.     --exclude 'LICENSE'
  54.     --exclude 'README.md'
  55.     --exclude 'Makefile'
  56.     --exclude 'settings.json.template'
  57.     --exclude 'settings.json'
  58.     --exclude '.git'
  59.     --exclude '.gitignore'
  60.     --exclude '.travis.yml'
  61.     --exclude 'bin/buildDebian.sh'
  62.     --exclude 'bin/buildForWindows.sh'
  63.     --exclude 'bin/deb-src'
  64.     --exclude 'bin/installOnWindows.bat'
  65.     --exclude 'doc/'
  66.     --exclude 'start.bat'
  67.     --exclude 'tests/'
  68.     --exclude 'var/'
  69.     -a .
  70.     "${pkgdir}/usr/share/webapps/${pkgname}"
  71.   ln -s /etc/webapps/${pkgname}/settings.json "${pkgdir}"/usr/share/webapps/${pkgname}/settings.json
  72. }
  73.  

Reply to "etherpad-lite PKGBUILD"

Here you can reply to the paste above

captcha