www-apps/selfoss: new package; add version 2.18

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2021-11-26 11:50:43 +01:00
parent 1d7c7e65f3
commit 57ed3f4e62
3 changed files with 61 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST selfoss-2.18.zip 2881068 BLAKE2B aaf45ed5fa005cbfba0954a50412b37ec26e17de4308e9604a942861d63ade64149a048936871526f8b45a948555e6d5335152cc18c8664f9668d2e61350b4eb SHA512 6966458f4ef803ac87df7a2650aed73d6d99922f84d21f64950964b752535d3a1ddd8c585ce2ca5a3f58fb9f2de76fa7a0932ce2eb62faa753ed2398b6ebb748
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@gentoo.org</email>
<name>Maciej Barć</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/fossar/selfoss/issues</bugs-to>
<remote-id type="github">SSilence/selfoss</remote-id>
</upstream>
</pkgmetadata>
+47
View File
@@ -0,0 +1,47 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit webapp
DESCRIPTION="The multipurpose rss reader, live stream, mashup, aggregation web application"
HOMEPAGE="https://selfoss.aditu.de/"
SRC_URI="https://github.com/SSilence/${PN}/releases/download/${PV}/${P}.zip"
S="${WORKDIR}"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
BDEPEND="app-arch/unzip"
RDEPEND="
>=dev-lang/php-5.4.0[curl,gd]
virtual/httpd-php
|| (
dev-db/mysql
dev-db/postgresql
dev-db/sqlite
)
"
pkg_setup() {
webapp_pkg_setup
}
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
webapp_serverowned -R "${MY_HTDOCSDIR}"/public
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
webapp_src_install
}
pkg_postinst() {
elog "Default selfoss config is installed as defaults.ini;"
elog "Copy that config to config.ini and customize as you wish."
}