diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /www-apps/selfoss | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'www-apps/selfoss')
-rw-r--r-- | www-apps/selfoss/Manifest | 3 | ||||
-rw-r--r-- | www-apps/selfoss/metadata.xml | 13 | ||||
-rw-r--r-- | www-apps/selfoss/selfoss-2.18-r2.ebuild | 52 |
3 files changed, 68 insertions, 0 deletions
diff --git a/www-apps/selfoss/Manifest b/www-apps/selfoss/Manifest new file mode 100644 index 000000000000..e804f7b21165 --- /dev/null +++ b/www-apps/selfoss/Manifest @@ -0,0 +1,3 @@ +DIST selfoss-2.18.zip 2881068 BLAKE2B aaf45ed5fa005cbfba0954a50412b37ec26e17de4308e9604a942861d63ade64149a048936871526f8b45a948555e6d5335152cc18c8664f9668d2e61350b4eb SHA512 6966458f4ef803ac87df7a2650aed73d6d99922f84d21f64950964b752535d3a1ddd8c585ce2ca5a3f58fb9f2de76fa7a0932ce2eb62faa753ed2398b6ebb748 +EBUILD selfoss-2.18-r2.ebuild 1049 BLAKE2B b4cbd72d406930217914f5affc1323e3fcce86a5693fce903cf98c86a8d7c86d6d41d8a5bf1f4e50d0b34fcc6f47ef99fcd86c6dd5f01cd132cb95761cfd1869 SHA512 b1c4fb5bf120ab7f8ba93464a87705d36ee0ceaf8e6a4fcbc01a627313071f982e6627caa5461f70402cb63a8dd09d48ea1cbf68a402f3e27a6d219d5c7eaf43 +MISC metadata.xml 399 BLAKE2B fa8d417f568b0f201dd9255f74bba466564bb98d42c10dd8d6c43549d593afb056cb632744d1cd476a26ddb0ae22a6b1b23a53d046bc5f0b20bee0bba533eca3 SHA512 110dd84ce0e3a62ab1cd6a689a8a67bf39f6702229a7e8376bb61c2bc7325b9eeb7f0de3f25b8c844dc77d76d2fa2becd45b25b9588de3cb685e9377a966ba7b diff --git a/www-apps/selfoss/metadata.xml b/www-apps/selfoss/metadata.xml new file mode 100644 index 000000000000..c4743712a400 --- /dev/null +++ b/www-apps/selfoss/metadata.xml @@ -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> diff --git a/www-apps/selfoss/selfoss-2.18-r2.ebuild b/www-apps/selfoss/selfoss-2.18-r2.ebuild new file mode 100644 index 000000000000..14e394637122 --- /dev/null +++ b/www-apps/selfoss/selfoss-2.18-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 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] + <dev-lang/php-8 + virtual/httpd-php + || ( + dev-db/mysql + dev-db/postgresql + dev-db/sqlite + ) +" + +DOC_CONTENTS="Default selfoss config is installed as defaults.ini; +Copy that config to config.ini and customize as you wish." + +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 + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |