summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/tt-rss/ChangeLog7
-rw-r--r--www-apps/tt-rss/Manifest32
-rw-r--r--www-apps/tt-rss/tt-rss-1.5.11.ebuild74
3 files changed, 97 insertions, 16 deletions
diff --git a/www-apps/tt-rss/ChangeLog b/www-apps/tt-rss/ChangeLog
index a9b4460a206e..9d7b16763eed 100644
--- a/www-apps/tt-rss/ChangeLog
+++ b/www-apps/tt-rss/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/tt-rss
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/tt-rss/ChangeLog,v 1.9 2012/03/07 21:54:55 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tt-rss/ChangeLog,v 1.10 2012/05/23 18:46:21 hwoarang Exp $
+
+*tt-rss-1.5.11 (23 May 2012)
+
+ 23 May 2012; Markos Chandras <hwoarang@gentoo.org> +tt-rss-1.5.11.ebuild:
+ Version bump. Bug #416915
*tt-rss-1.5.10 (07 Mar 2012)
diff --git a/www-apps/tt-rss/Manifest b/www-apps/tt-rss/Manifest
index 46c6ed600b70..1763440d3b42 100644
--- a/www-apps/tt-rss/Manifest
+++ b/www-apps/tt-rss/Manifest
@@ -7,29 +7,31 @@ AUX ttrssd.confd 177 RMD160 0f69720fe21e3ecc4fa84b265e70d8880fcae53e SHA1 4446fd
AUX ttrssd.initd 1365 RMD160 dad187906cb0fa3ef3f0efb7fe91058a436005a5 SHA1 30356efb5e4933c2947bb480583a4df4d49d1170 SHA256 aa84056d0f34070bb6d3b24088d3165480d96ce02dca597f9c44d7aaa2048152
AUX ttrssd.logrotated 118 RMD160 f2646794119f67f365ef02dce079ab06eedf6825 SHA1 4d1e93a8df05488baf23067a983e5a70d8e4dc91 SHA256 51bfd5dc544d7fdbe90d2fea9874a0d6558d5533a1186c6fa2f797bea89342da
DIST tt-rss-1.5.10.tar.gz 2752801 RMD160 20694c01b56c34c1282d2dbbf0a12c740951edbc SHA1 a5d3ec7b97cd3c0446c7a1123746983df10a54f0 SHA256 a80d292b85fd254d4ebe26a781a75ef696c5649cc6f702f8b3e51442c64986e7
+DIST tt-rss-1.5.11.tar.gz 2755392 RMD160 cf4da5b50ace80b0074f16197e1ab9dd8452b178 SHA1 c22502c48c8843fb45242cbd9fddf806f64a1368 SHA256 3a3edbfe59b08ea57d322bdeeb06be1970226c854691542753dc12f0fc9e876e
DIST tt-rss-1.5.7.tar.gz 2808220 RMD160 9541c4b2d5f4b4cf47d0510495c04d5991addba7 SHA1 b086f52de3a6d50d111c35c0f589152e68ab6917 SHA256 5599f1f90f29c21e7e6531b74e7a40721e771fc6f1106d754923cfc1a2124264
DIST tt-rss-1.5.8.1.tar.gz 2750347 RMD160 34debfd095b8783ce4c58239c28fc709c15ce92f SHA1 18ac3498e787d91f1c573ade9457a34593e0d773 SHA256 110f6cb6b5127e9970a02abe37022f415205abfd2c533970498ea8bc629a0bec
DIST tt-rss-1.5.9.tar.gz 2816459 RMD160 403c8eaf48f783a374e8db0a26d059c165b1587d SHA1 40a4df62f34ed56e4e14971f42472ba909e5f3ef SHA256 280121f2f8fc38ff5fbd8ccf1d31f0fa7e433e57ad6f8dfffc971a1f75b0c691
EBUILD tt-rss-1.5.10.ebuild 2160 RMD160 c05e65440bab058e34ff8868b3dc1f37c1f840e3 SHA1 53c00dab183cd671a616392f886da9145cc79890 SHA256 68a86b831be91780a375a4cdde68319652f53135dd1b16774079f5e9067567ec
+EBUILD tt-rss-1.5.11.ebuild 2160 RMD160 cabca5c814ddcc4f1be3554b6f78c010f215c95d SHA1 23d6e9dd06a374f5a6fa03612a3daa67b4228e45 SHA256 c73906e29bda6019186d7c047ded93686a2eca4e4507858917616df2a8af2769
EBUILD tt-rss-1.5.7.ebuild 2082 RMD160 886a13b644294cf3a9eaf878bfcc3986f3858b31 SHA1 0fad029d8fb60330142bd64d7298b213a496d4e8 SHA256 3f9b12397ef8300dae40be19018fbbbcf941ce67983e590b207e541c044b329a
EBUILD tt-rss-1.5.8.1.ebuild 2083 RMD160 6c8f0f7b0583fde5fddc9a91ccf2ba67c4bb1dc3 SHA1 e38a5ea2361c024fb549fcb5d3ce216a1f91987a SHA256 d17bd1d2e299bd2f8d0eaef6683bc9521ebecee9b85d22f9c3ff1826a5ad2734
EBUILD tt-rss-1.5.9.ebuild 2159 RMD160 64b5156681f1dafecad748237100efd550202af6 SHA1 2686e9633cf5f7c6ef30dadb9c7ec7e54a3a7ad6 SHA256 b62a0eaf8431b7acfa9970afe578f6501331715dc782d52902ec2355630fc162
-MISC ChangeLog 1987 RMD160 e5907ec612e1d280cef0f2331f1b4be4d91201fe SHA1 061772b716e38a04be18f58a49c7932b81143e89 SHA256 fe8404848d3b11d999d106759645d70ebaee09444ff1d20bc52f2212b3c2b2cf
+MISC ChangeLog 2123 RMD160 823b4cde335660e2600654d362f019a69df4e0fb SHA1 2b52f11d58287713789f6c7a6c5ac6c952ac9ffd SHA256 279e26f847b547532acb4492851a09efe9fa2f957ef4d03bd1388c0b5e707a51
MISC metadata.xml 549 RMD160 c1331c3470dc6bebb5823af200cf087b3e292d61 SHA1 115dad0a7ecf068d8ac2037a78572255e85d463c SHA256 f364007d61e0c2025e3f87f542d4abf3aab20ff6bf23ebd9980ccec03c3e1352
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJPV9ixAAoJEPqDWhW0r/LCTrAP/jQZYkGq7J4rDfOhpx/Icomj
-La6yYv0jxNROQE6TpFdnZCQupcWHhhMdm9u4wDIcJfN6/6ZEdvgL5URtgEQqzW4U
-E/G9HAlQwgyNPFbJ5Z9sfJb50jECP47pkYolmke46ii7bmmYaTCTJ4/cdDHNa83b
-5J1VNi1MbzDalRWZabFHUf6H+LWZAPq5310YSiP+ddp6FQR/VmEcSELpyaakDrvB
-SbT5QltREP7XMvDs1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cwRaG6sS0iCvFDrnQdRxVL7v+OzfswKNZX47FV7m5gtTzAHEuEWJQ+cZ
+l7tA1oVetj0R8h2I2cS/7+vF84qtzZ0hs8O38mHDH3hm7/pCQonNstCXli7JN+9q
+xQeMm0Nj9usKNFoi5Ega
+=7/Om
-----END PGP SIGNATURE-----
diff --git a/www-apps/tt-rss/tt-rss-1.5.11.ebuild b/www-apps/tt-rss/tt-rss-1.5.11.ebuild
new file mode 100644
index 000000000000..4541c654f6f0
--- /dev/null
+++ b/www-apps/tt-rss/tt-rss-1.5.11.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tt-rss/tt-rss-1.5.11.ebuild,v 1.1 2012/05/23 18:46:21 hwoarang Exp $
+
+EAPI="2"
+
+inherit eutils webapp depend.php depend.apache
+
+DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX"
+HOMEPAGE="http://tt-rss.org/"
+SRC_URI="http://tt-rss.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64"
+IUSE="daemon mysql postgres"
+
+DEPEND=" daemon? ( dev-lang/php[mysql?,postgres?,pcntl,curl] )
+ !daemon? ( dev-lang/php[mysql?,postgres?,curl] )"
+RDEPEND="${DEPEND}"
+
+need_httpd_cgi
+need_php_httpd
+use daemon && need_php_cli
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ use mysql && require_php_with_use mysql
+ use postgres && require_php_with_use postgres
+
+ if use daemon; then
+ enewgroup ttrssd
+ enewuser ttrssd -1 /bin/sh /dev/null ttrssd
+ fi
+}
+
+src_prepare() {
+ # Customize config.php so that the right 'DB_TYPE' is already set (according to the USE flag)
+ einfo "Customizing config.php..."
+ mv config.php{-dist,} || die "Could not rename config.php-dist to config.php."
+
+ if use mysql && ! use postgres; then
+ sed -e "/define('DB_TYPE',/{s:pgsql:mysql:}" -i config.php || die "sed failed"
+ fi
+
+ sed -e "/define('DB_TYPE',/{s:// \(or mysql\):// pgsql \1:}" -i config.php \
+ || die "sed failed"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "/${MY_HTDOCSDIR}"
+ doins -r * || die "Could not copy the files to ${MY_HTDOCSDIR}."
+ keepdir "/${MY_HTDOCSDIR}"/feed-icons
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}"/ttrssd.logrotated ttrssd || die "Installing ttrssd logrotate config failed."
+
+ for DIR in cache cache/htmlpurifier cache/magpie cache/simplepie cache/images cache/export lock feed-icons; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${DIR}"
+ done
+
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+ if use daemon; then
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-with-daemon.txt
+ newinitd "${FILESDIR}"/ttrssd.initd ttrssd
+ newconfd "${FILESDIR}"/ttrssd.confd ttrssd
+ else
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ fi
+
+ webapp_src_install
+}