public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/selfoss/
Date: Fri, 26 Nov 2021 10:50:45 +0000 (UTC)	[thread overview]
Message-ID: <1637923843.57ed3f4e626014f5ef61b87a67a1e872520f0be2.xgqt@gentoo> (raw)

commit:     57ed3f4e626014f5ef61b87a67a1e872520f0be2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 10:49:59 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 10:50:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ed3f4e

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 <AT> gentoo.org>

 www-apps/selfoss/Manifest            |  1 +
 www-apps/selfoss/metadata.xml        | 13 ++++++++++
 www-apps/selfoss/selfoss-2.18.ebuild | 47 ++++++++++++++++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/www-apps/selfoss/Manifest b/www-apps/selfoss/Manifest
new file mode 100644
index 000000000000..d0b0248d66bc
--- /dev/null
+++ b/www-apps/selfoss/Manifest
@@ -0,0 +1 @@
+DIST selfoss-2.18.zip 2881068 BLAKE2B aaf45ed5fa005cbfba0954a50412b37ec26e17de4308e9604a942861d63ade64149a048936871526f8b45a948555e6d5335152cc18c8664f9668d2e61350b4eb SHA512 6966458f4ef803ac87df7a2650aed73d6d99922f84d21f64950964b752535d3a1ddd8c585ce2ca5a3f58fb9f2de76fa7a0932ce2eb62faa753ed2398b6ebb748

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.ebuild b/www-apps/selfoss/selfoss-2.18.ebuild
new file mode 100644
index 000000000000..b8631a04cd07
--- /dev/null
+++ b/www-apps/selfoss/selfoss-2.18.ebuild
@@ -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."
+}


             reply	other threads:[~2021-11-26 10:50 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 10:50 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-26 14:31 [gentoo-commits] repo/gentoo:master commit in: www-apps/selfoss/ Maciej Barć
2021-11-26 18:04 Maciej Barć
2022-02-05  6:34 Sam James
2022-02-07  6:32 Sam James
2022-10-12 16:48 Maciej Barć
2023-03-04  5:29 Arthur Zamarin
2023-03-04  5:47 Arthur Zamarin
2023-03-04  8:13 Arthur Zamarin
2023-04-03  1:56 Maciej Barć
2023-08-10 22:19 Maciej Barć
2023-09-02 16:22 Sam James
2023-09-02 16:22 Sam James
2023-09-02 16:22 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1637923843.57ed3f4e626014f5ef61b87a67a1e872520f0be2.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox