tomka 15/03/04 09:22:36
Modified: ChangeLog
Added:tt-rss-20150304.ebuild
Removed: tt-rss-1.14.ebuild
Log:
Bump. Upstream uses rolling release now.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key
565C32BC)
Revision ChangesPath
1.37 www-apps/tt-rss/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/tt-rss/ChangeLog?rev=1.37&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/tt-rss/ChangeLog?rev=1.37&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/tt-rss/ChangeLog?r1=1.36&r2=1.37
Index: ChangeLog
===
RCS file: /var/cvsroot/gentoo-x86/www-apps/tt-rss/ChangeLog,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ChangeLog 5 Jan 2015 16:43:57 - 1.36
+++ ChangeLog 4 Mar 2015 09:22:36 - 1.37
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/tt-rss
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/tt-rss/ChangeLog,v 1.36 2015/01/05
16:43:57 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tt-rss/ChangeLog,v 1.37 2015/03/04
09:22:36 tomka Exp $
+
+*tt-rss-20150304 (04 Mar 2015)
+
+ 04 Mar 2015; Thomas Kahle +tt-rss-20150304.ebuild,
+ -tt-rss-1.14.ebuild:
+ Bump. Upstream uses rolling release now.
*tt-rss-1.15.3 (05 Jan 2015)
1.1 www-apps/tt-rss/tt-rss-20150304.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/tt-rss/tt-rss-20150304.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/tt-rss/tt-rss-20150304.ebuild?rev=1.1&content-type=text/plain
Index: tt-rss-20150304.ebuild
===
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/tt-rss/tt-rss-20150304.ebuild,v 1.1
2015/03/04 09:22:36 tomka Exp $
EAPI=5
inherit user eutils webapp depend.php depend.apache vcs-snapshot
DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using
AJAX"
HOMEPAGE="http://tt-rss.org/";
SRC_URI="http://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] )
"
RDEPEND="${DEPEND}"
REQUIRED_USE="|| ( mysql postgres )"
need_httpd_cgi
need_php_httpd
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."
}