From 955b62f15918b9bdce0f5a9244949b69f2ff7b31 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 28 Jun 2023 11:50:22 +0200 Subject: [PATCH] Deleted package: wallabag now in [extra] --- wallabag/.SRCINFO | 27 -------------------- wallabag/.gitignore | 5 ---- wallabag/LICENSE | 14 ---------- wallabag/PKGBUILD | 54 --------------------------------------- wallabag/README.md | 18 ------------- wallabag/wallabag.install | 46 --------------------------------- 6 files changed, 164 deletions(-) delete mode 100644 wallabag/.SRCINFO delete mode 100644 wallabag/.gitignore delete mode 100644 wallabag/LICENSE delete mode 100644 wallabag/PKGBUILD delete mode 100644 wallabag/README.md delete mode 100644 wallabag/wallabag.install diff --git a/wallabag/.SRCINFO b/wallabag/.SRCINFO deleted file mode 100644 index e249f79..0000000 --- a/wallabag/.SRCINFO +++ /dev/null @@ -1,27 +0,0 @@ -pkgbase = wallabag - pkgdesc = Self hostable application for saving web pages - pkgver = 2.4.2 - pkgrel = 1 - url = http://www.wallabag.org/ - install = wallabag.install - arch = any - license = MIT - makedepends = systemd - depends = php7>=7.2 - depends = php7-gd - depends = php7-tidy - depends = pcre - optdepends = php7-pgsql: For postgres storage - optdepends = php7-sqlite: For sqlite storage - optdepends = rabbitmq: For async import - optdepends = redis: For async import - options = !strip - backup = etc/webapps/wallabag/parameters.yml - backup = usr/share/webapps/wallabag/parameters.yml - backup = var/lib/wallabag/data/db/wallabag.sqlite - backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite - source = https://github.com/wallabag/wallabag/releases/download/2.4.2/wallabag-2.4.2.tar.gz - sha256sums = da56ec37ed3d78a4b4132e8a248ac4997442eefaad6f831805304a8c317569d8 - -pkgname = wallabag - diff --git a/wallabag/.gitignore b/wallabag/.gitignore deleted file mode 100644 index 2baac1a..0000000 --- a/wallabag/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*tar.gz -*pkg.tar.xz -src/ -pkg/ -vendor.zip diff --git a/wallabag/LICENSE b/wallabag/LICENSE deleted file mode 100644 index 012ddd9..0000000 --- a/wallabag/LICENSE +++ /dev/null @@ -1,14 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2004 Sam Hocevar - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - diff --git a/wallabag/PKGBUILD b/wallabag/PKGBUILD deleted file mode 100644 index 16aa772..0000000 --- a/wallabag/PKGBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: Cedric Girard -# Contributor: Philipp Schmitt (philippschmittco) - -pkgname=wallabag -pkgver=2.4.2 -pkgrel=1 -pkgdesc='Self hostable application for saving web pages' -arch=('any') -url='http://www.wallabag.org/' -license=('MIT') -makedepends=('systemd') -depends=( - 'php7>=7.2' - 'php7-gd' - 'php7-tidy' - 'pcre' -) -optdepends=( - 'php7-pgsql: For postgres storage' - 'php7-sqlite: For sqlite storage' - 'rabbitmq: For async import' - 'redis: For async import' -) -install="$pkgname.install" -options=(!strip) -source=("https://github.com/wallabag/wallabag/releases/download/${pkgver}/wallabag-${pkgver}.tar.gz") -sha256sums=('da56ec37ed3d78a4b4132e8a248ac4997442eefaad6f831805304a8c317569d8') -backup=("etc/webapps/${pkgname}/parameters.yml" - "usr/share/webapps/${pkgname}/parameters.yml" - "var/lib/${pkgname}/data/db/wallabag.sqlite" - "usr/share/webapps/${pkgname}/data/db/wallabag.sqlite") - -package() { - cd "${pkgdir}" - mkdir -p usr/share/webapps - mv "${srcdir}/${pkgver}" "usr/share/webapps/${pkgname}" - - WALLABAG_CONF_DIR="${pkgdir}/usr/share/webapps/${pkgname}/app/config" - - install -d "${pkgdir}/etc/webapps/${pkgname}/" - mv "${WALLABAG_CONF_DIR}"/parameters.yml "${pkgdir}/etc/webapps/${pkgname}/" - chown -R http:http "${pkgdir}/etc/webapps/${pkgname}" - ln -s "/etc/webapps/${pkgname}/parameters.yml" "${WALLABAG_CONF_DIR}"/ - - _VAR_DIR="${pkgdir}/var/lib/${pkgname}/" - install -d "$_VAR_DIR" - mv "${pkgdir}/usr/share/webapps/${pkgname}/"{data,var} "$_VAR_DIR" - ln -s "/var/lib/${pkgname}/"{data,var} "${pkgdir}/usr/share/webapps/${pkgname}/" - chown -R http:http "$_VAR_DIR" - - sed -i "${_VAR_DIR}/var/bootstrap.php.cache" -e "s@__DIR__.'/../@'/usr/share/webapps/${pkgname}/@" - - chown -R http:http "${pkgdir}/usr/share/webapps/${pkgname}/"{bin/,app/config/,vendor/,web/} -} diff --git a/wallabag/README.md b/wallabag/README.md deleted file mode 100644 index b751a27..0000000 --- a/wallabag/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# wallabag - -## Description - -AUR package for wallabag - -## Installation - -``` bash -git clone https://github.com/pschmitt/aur-wallabag /tmp/wallabag -cd /tmp/wallabag -makepkg -si -``` - -## Links - -* AUR page: https://aur.archlinux.org/packages/wallabag -* Upstream: http://www.wallabag.org/ and https://github.com/wallabag/wallabag diff --git a/wallabag/wallabag.install b/wallabag/wallabag.install deleted file mode 100644 index 41c43e2..0000000 --- a/wallabag/wallabag.install +++ /dev/null @@ -1,46 +0,0 @@ - -post_install() { - echo "" - echo "==> Installed in : /usr/share/webapps/wallabag" - echo "" - echo "==> Config is at /etc/webapps/wallabag/parameters.yml" - echo "" - echo -n "Change the configuration to fit to your current setup, and then " - echo "init wallabag by launching:" - echo "php7 /usr/share/webapps/wallabag/bin/console wallabag:install --env=prod" - echo "" - echo -n "To setup your webserver and enable the needed php extensions, " - echo "please read: https://doc.wallabag.org/en/master/user/installation.html" -} - - -pre_upgrade() { - # save old untracked config and make it tracked - if [[ -f /usr/share/webapps/wallabag/app/config/parameters.yml && \ - ! -h /usr/share/webapps/wallabag/app/config/parameters.yml ]]; - then install -Dm644 \ - /usr/share/webapps/wallabag/app/config/parameters.yml \ - -t /etc/webapps/wallabag/ - fi - # also move `data` and `var` to /var/lib/wallabag/ - if [[ -d /usr/share/webapps/wallabag/data && \ - ! -h /usr/share/webapps/wallabag/data && \ - -d /usr/share/webapps/wallabag/var && \ - ! -h /usr/share/webapps/wallabag/var ]]; then - install -d /var/lib/wallabag/ - chown http:http /var/lib/wallabag/ - mv /usr/share/webapps/wallabag/{data,var} /var/lib/wallabag/ - fi -} - -post_upgrade() { - rm -rf /var/lib/wallabag/var/cache/* - echo "" - echo "=====================================================================================================" - echo " You need to execute any database migration with: " - echo "cd /usr/share/webapps/wallabag && sudo -u http php7 bin/console --env=prod doctrine:migrations:migrate" - echo " " - echo " Check the release notes for any other step: https://github.com/wallabag/wallabag/releases " - echo "=====================================================================================================" - echo "" -}