1 |
commit: 5f09d78d3c83fc54f10dea76008a6aa83e2b0ce0 |
2 |
Author: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 27 11:46:08 2016 +0000 |
4 |
Commit: Thomas Kahle <tomka <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 27 11:46:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f09d78d |
7 |
|
8 |
www-apps/tt-rss: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
www-apps/tt-rss/Manifest | 1 - |
13 |
www-apps/tt-rss/tt-rss-20150924.ebuild | 89 ---------------------------------- |
14 |
2 files changed, 90 deletions(-) |
15 |
|
16 |
diff --git a/www-apps/tt-rss/Manifest b/www-apps/tt-rss/Manifest |
17 |
index 304245b..8e198b5 100644 |
18 |
--- a/www-apps/tt-rss/Manifest |
19 |
+++ b/www-apps/tt-rss/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST tt-rss-20150924.tar.bz2 2089704 SHA256 e66521e806014c094181839c9d446fdfbae18a91cfaaaa99fccc9e9f6d27f46d SHA512 b97cf54e4988caac67c5a0985ce7dac9ac2c60f9bedc86d29c83e939082f988cea0de02433b72d9238980e6bb32dea1e10a867ca8cd9ad084f8d7690bf76d3c9 WHIRLPOOL 7add018455697283f11471f3ae967bdb48b447d492972b8a92b77b0f034d6ad297c30c49173233f0b54985837ba51799ad1195a482da86939392e6629b6c89c2 |
22 |
DIST tt-rss-20160124.tar.bz2 2059978 SHA256 90706f133db74d86aba3f8488c99ed1c886948a92c64bdb7ecaca3c3129ddf59 SHA512 d41ae8b2086e1e0ff2d69427fe9ccb8d0710e5acffe3137c408c01fc20cc3fbb30f2d4859624c14ac0ba4429deea91fa57f54b2a56a2e480f0352509610c3a25 WHIRLPOOL 09b4c5515c8a19c3cfcd330761fcb9534185df8cb3ef7832c28f0200d15846b031817e72204cf28881101ad2ecc867ad4369f22afef9947b8b82521feb07083b |
23 |
DIST tt-rss-20160527.tar.bz2 2064633 SHA256 fd0beae76848eff39d9413820f9c575baf41283d2635bdb0e37cfc286bcc3a2c SHA512 8d482303868a08f4d65ef252f71f66ec3219d4f67e968a026a0302d29930cd5af45cedea81171db2ff0927497079d3bedd8fd70e4e9904f5d9987a92a6dfcb89 WHIRLPOOL 247ef0bc9d2049936a16340f2a5f26be8eb2d4d072d290d254ebc9666c81456f7d59271813be1ed3963537e6f86cf2b28f4447af8bcc559a64d8f2ce0d7f6952 |
24 |
|
25 |
diff --git a/www-apps/tt-rss/tt-rss-20150924.ebuild b/www-apps/tt-rss/tt-rss-20150924.ebuild |
26 |
deleted file mode 100644 |
27 |
index a8c5261..0000000 |
28 |
--- a/www-apps/tt-rss/tt-rss-20150924.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,89 +0,0 @@ |
31 |
-# Copyright 1999-2015 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Id$ |
34 |
- |
35 |
-EAPI=5 |
36 |
- |
37 |
-inherit user eutils webapp vcs-snapshot |
38 |
- |
39 |
-DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX" |
40 |
-HOMEPAGE="http://tt-rss.org/" |
41 |
-SRC_URI="https://dev.gentoo.org/~tomka/files/${P}.tar.bz2" |
42 |
- |
43 |
-LICENSE="GPL-3" |
44 |
-KEYWORDS="~amd64 ~mips ~x86" |
45 |
-IUSE="daemon +mysql postgres" |
46 |
- |
47 |
-DEPEND=" |
48 |
- daemon? ( dev-lang/php:*[mysql?,postgres?,pcntl,curl] ) |
49 |
- !daemon? ( dev-lang/php:*[mysql?,postgres?,curl] ) |
50 |
- virtual/httpd-php:* |
51 |
-" |
52 |
-RDEPEND="${DEPEND}" |
53 |
- |
54 |
-REQUIRED_USE="|| ( mysql postgres )" |
55 |
- |
56 |
-need_httpd_cgi # From webapp.eclass |
57 |
- |
58 |
-pkg_setup() { |
59 |
- webapp_pkg_setup |
60 |
- |
61 |
- if use daemon; then |
62 |
- enewgroup ttrssd |
63 |
- enewuser ttrssd -1 /bin/sh /dev/null ttrssd |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- # Customize config.php-dist so that the right 'DB_TYPE' is already set (according to the USE flag) |
69 |
- einfo "Customizing config.php-dist..." |
70 |
- |
71 |
- if use mysql && ! use postgres; then |
72 |
- sed -i \ |
73 |
- -e "/define('DB_TYPE',/{s:pgsql:mysql:}" \ |
74 |
- config.php-dist || die |
75 |
- fi |
76 |
- |
77 |
- sed -i \ |
78 |
- -e "/define('DB_TYPE',/{s:// \(or mysql\):// pgsql \1:}" \ |
79 |
- config.php-dist || die |
80 |
- |
81 |
- # per 462578 |
82 |
- epatch_user |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- webapp_src_preinst |
87 |
- |
88 |
- insinto "/${MY_HTDOCSDIR}" |
89 |
- doins -r * |
90 |
- keepdir "/${MY_HTDOCSDIR}"/feed-icons |
91 |
- |
92 |
- for DIR in cache lock feed-icons; do |
93 |
- webapp_serverowned -R "${MY_HTDOCSDIR}/${DIR}" |
94 |
- done |
95 |
- |
96 |
- # In the old days we put a config.php directly and tried to |
97 |
- # protect it with the following which did not work reliably. |
98 |
- # These days we only install the config.php-dist file. |
99 |
- # webapp_configfile "${MY_HTDOCSDIR}"/config.php |
100 |
- |
101 |
- if use daemon; then |
102 |
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en-with-daemon.txt |
103 |
- newinitd "${FILESDIR}"/ttrssd.initd-r2 ttrssd |
104 |
- newconfd "${FILESDIR}"/ttrssd.confd-r1 ttrssd |
105 |
- insinto /etc/logrotate.d/ |
106 |
- newins "${FILESDIR}"/ttrssd.logrotated ttrssd |
107 |
- |
108 |
- elog "After upgrading, please restart ttrssd" |
109 |
- else |
110 |
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
111 |
- fi |
112 |
- |
113 |
- webapp_src_install |
114 |
-} |
115 |
- |
116 |
-pkg_postinst() { |
117 |
- elog "You need to merge config.php and config.php-dist manually now." |
118 |
- webapp_pkg_postinst |
119 |
-} |