miniflux: update to 2.0.10. (#864)
This commit is contained in:
parent
e951332e69
commit
574a464faf
3 changed files with 10 additions and 33 deletions
|
@ -1,7 +0,0 @@
|
||||||
1. The pdo_sqlite extension needs to be enabled in /etc/php/php.ini.
|
|
||||||
2. The open_basedir directive in /etc/php/php.ini needs to contain
|
|
||||||
/var/lib/miniflux to allow file operations below it.
|
|
||||||
3. The process running miniflux should be configured to use the miniflux
|
|
||||||
group to be able to write to /var/lib/miniflux.
|
|
||||||
4. A cron job for the miniflux user should be configured to update feeds:
|
|
||||||
cd /usr/share/webapps/miniflux && php cronjob.php
|
|
|
@ -1,32 +1,16 @@
|
||||||
# Template file for 'miniflux'
|
# Template file for 'miniflux'
|
||||||
pkgname=miniflux
|
pkgname=miniflux
|
||||||
version=1.2.3
|
version=2.0.10
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
build_style=go
|
||||||
wrksrc=$pkgname
|
go_import_path="github.com/miniflux/miniflux"
|
||||||
conf_files="/usr/share/webapps/${pkgname}/config.php"
|
|
||||||
system_accounts="${pkgname}"
|
system_accounts="${pkgname}"
|
||||||
miniflux_homedir="/var/lib/${pkgname}"
|
miniflux_homedir="/var/lib/${pkgname}"
|
||||||
make_dirs="/var/lib/${pkgname} 2770 ${pkgname} ${pkgname}"
|
make_dirs="/var/lib/${pkgname} 2770 ${pkgname} ${pkgname}"
|
||||||
hostmakedepends="unzip"
|
depends="postgresql"
|
||||||
depends="php-sqlite"
|
short_desc="Minimalist and opinionated feed reader written in Go"
|
||||||
short_desc="A minimalist web-based RSS reader"
|
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
license="AGPL-3"
|
license="Apache-2.0"
|
||||||
homepage="http://miniflux.net"
|
homepage="https://miniflux.app"
|
||||||
distfiles="${homepage}/${pkgname}-${version}.zip"
|
distfiles="https://github.com/miniflux/miniflux/archive/${version}.tar.gz"
|
||||||
checksum=841eaf9bd537da79e20184391b1cef50c7661e50882c8e15fad655a83aeaf4be
|
checksum=9169c22fc71f6c9d0f310654f1bd2c74ba0a53414afacb23b7e017c80a81f4ea
|
||||||
|
|
||||||
do_install() {
|
|
||||||
local dest=usr/share/webapps/${pkgname}
|
|
||||||
|
|
||||||
vmkdir $dest
|
|
||||||
vcopy ./* $dest
|
|
||||||
|
|
||||||
sed -e "s|\('DATA_DIRECTORY',\).*)|\1 '/var/lib/${pkgname}')|" \
|
|
||||||
-e "s|\('DEBUG',\).*)|\1 false)|" \
|
|
||||||
-e "s|\('ENABLE_AUTO_UPDATE',\).*)|\1 false)|" \
|
|
||||||
config.default.php > ${DESTDIR}/${dest}/config.php
|
|
||||||
|
|
||||||
rm ${DESTDIR}/$dest/LICENSE
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
site="https://github.com/fguillot/miniflux/tags"
|
site="https://github.com/miniflux/miniflux/tags"
|
||||||
pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'
|
pattern='archive/v?\K[\d.]+(?=\.tar\.gz)'
|
||||||
|
|
Loading…
Reference in a new issue