From: "Thomas Kahle" <tomka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/tt-rss/
Date: Thu, 24 Sep 2015 12:24:12 +0000 (UTC) [thread overview]
Message-ID: <1443097446.88a9c6fb57535c0a6a496072c46494d8e8d44ed3.tomka@gentoo> (raw)
commit: 88a9c6fb57535c0a6a496072c46494d8e8d44ed3
Author: Thomas Kahle <tomka <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 12:23:28 2015 +0000
Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 12:24:06 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a9c6fb
www-apps/tt-rss: Bump to new rolling release.
Package-Manager: portage-2.2.20.1
| 1 +
| 89 ++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
--git a/www-apps/tt-rss/Manifest b/www-apps/tt-rss/Manifest
index ce27bc1..9f14d15 100644
--- a/www-apps/tt-rss/Manifest
+++ b/www-apps/tt-rss/Manifest
@@ -1,2 +1,3 @@
DIST tt-rss-20150304.tar.bz2 2021676 SHA256 72ec8863c0697a311c3a7b641ade8be4a0e85674aead50bdf03637d76b4eeac3 SHA512 6b26e6a4e0c41bd48efa3506b441adec7ef95c80c208784482e77a382ab4473d152f9ef6436c5e398563c76de634b99a1e1b13efeeb82d30659d4ccf21117ff7 WHIRLPOOL 799c8df18fb5b10c76ce3eb97be77611c0438be7f9b3cd9d4d85cde2d4951c5690b905b3938b574c1810d0ec81d1c246c62769b199a93c72ec0bb4564e56358f
DIST tt-rss-20150624.tar.bz2 2071177 SHA256 544833ffbdb83497270aa3c3599ad78f58b23bbaf9d492a3b73bd156b806edc7 SHA512 270f88ae84778cf2a5df1dcda2bdc58a0ed8f4988c124728d4aad29324dc86b1b0245c5b651c738febc9447a5533ca68e2655966409a45651c6df3a08e203c1e WHIRLPOOL 8e30b32beb6eba33e6f87c06900804f6f1f3a11ec0ce4c565e7558577f2bea813e082e7d76acb83f0c0aa5a387ef8266f3fc218def482e9508c492e7df5b3b7a
+DIST tt-rss-20150924.tar.bz2 2089704 SHA256 e66521e806014c094181839c9d446fdfbae18a91cfaaaa99fccc9e9f6d27f46d SHA512 b97cf54e4988caac67c5a0985ce7dac9ac2c60f9bedc86d29c83e939082f988cea0de02433b72d9238980e6bb32dea1e10a867ca8cd9ad084f8d7690bf76d3c9 WHIRLPOOL 7add018455697283f11471f3ae967bdb48b447d492972b8a92b77b0f034d6ad297c30c49173233f0b54985837ba51799ad1195a482da86939392e6629b6c89c2
--git a/www-apps/tt-rss/tt-rss-20150924.ebuild b/www-apps/tt-rss/tt-rss-20150924.ebuild
new file mode 100644
index 0000000..a8c5261
--- /dev/null
+++ b/www-apps/tt-rss/tt-rss-20150924.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit user eutils webapp vcs-snapshot
+
+DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX"
+HOMEPAGE="http://tt-rss.org/"
+SRC_URI="https://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~mips ~x86"
+IUSE="daemon +mysql postgres"
+
+DEPEND="
+ daemon? ( dev-lang/php:*[mysql?,postgres?,pcntl,curl] )
+ !daemon? ( dev-lang/php:*[mysql?,postgres?,curl] )
+ virtual/httpd-php:*
+"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+need_httpd_cgi # From webapp.eclass
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ if use daemon; then
+ enewgroup ttrssd
+ enewuser ttrssd -1 /bin/sh /dev/null ttrssd
+ fi
+}
+
+src_prepare() {
+ # Customize config.php-dist so that the right 'DB_TYPE' is already set (according to the USE flag)
+ einfo "Customizing config.php-dist..."
+
+ if use mysql && ! use postgres; then
+ sed -i \
+ -e "/define('DB_TYPE',/{s:pgsql:mysql:}" \
+ config.php-dist || die
+ fi
+
+ sed -i \
+ -e "/define('DB_TYPE',/{s:// \(or mysql\):// pgsql \1:}" \
+ config.php-dist || die
+
+ # per 462578
+ epatch_user
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "/${MY_HTDOCSDIR}"
+ doins -r *
+ keepdir "/${MY_HTDOCSDIR}"/feed-icons
+
+ for DIR in cache lock feed-icons; do
+ webapp_serverowned -R "${MY_HTDOCSDIR}/${DIR}"
+ done
+
+ # In the old days we put a config.php directly and tried to
+ # protect it with the following which did not work reliably.
+ # These days we only install the config.php-dist file.
+ # webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ if use daemon; then
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-with-daemon.txt
+ newinitd "${FILESDIR}"/ttrssd.initd-r2 ttrssd
+ newconfd "${FILESDIR}"/ttrssd.confd-r1 ttrssd
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/ttrssd.logrotated ttrssd
+
+ elog "After upgrading, please restart ttrssd"
+ else
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ fi
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ elog "You need to merge config.php and config.php-dist manually now."
+ webapp_pkg_postinst
+}
next reply other threads:[~2015-09-24 12:24 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 12:24 Thomas Kahle [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-09-24 12:24 [gentoo-commits] repo/gentoo:master commit in: www-apps/tt-rss/ Thomas Kahle
2016-01-24 15:21 Thomas Kahle
2016-01-24 15:21 Thomas Kahle
2016-05-27 11:46 Thomas Kahle
2016-05-27 11:46 Thomas Kahle
2016-09-30 11:46 Thomas Kahle
2016-09-30 11:46 Thomas Kahle
2016-10-12 7:38 Thomas Kahle
2016-10-12 21:26 Thomas Kahle
2017-01-07 15:56 James Le Cuirot
2017-11-26 23:26 David Seifert
2018-01-18 13:44 James Le Cuirot
2018-02-11 11:36 Michał Górny
2019-05-26 21:01 James Le Cuirot
2019-05-27 21:18 James Le Cuirot
2020-09-23 21:42 James Le Cuirot
2020-09-23 21:42 James Le Cuirot
2021-01-10 22:27 Sam James
2021-02-13 13:02 James Le Cuirot
2022-01-02 14:09 Florian Schmaus
2022-01-02 14:09 Florian Schmaus
2022-08-04 16:53 James Le Cuirot
2022-10-08 9:51 James Le Cuirot
2022-12-09 23:36 James Le Cuirot
2023-09-19 7:59 James Le Cuirot
2024-02-11 22:37 James Le Cuirot
2024-10-12 15:01 James Le Cuirot
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=1443097446.88a9c6fb57535c0a6a496072c46494d8e8d44ed3.tomka@gentoo \
--to=tomka@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