+++ /dev/null
-tt-rss for Debian
------------------
-
- -- Florent USSEIL <swiip81@gmail.com> Mon, 31 May 2010 20:58:32 +0100
+++ /dev/null
-Alias /tt-rss /usr/share/tt-rss/www
+++ /dev/null
-tt-rss (1.5.11) unstable; urgency=low
-
- * New release
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Mon, 21 May 2012 10:42:48 +0400
-
-tt-rss (1.5.10) unstable; urgency=low
-
- * New release
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Tue, 21 Feb 2012 12:41:04 +0400
-
-tt-rss (1.5.9+git20120124) unstable; urgency=low
-
- * New snapshot
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Mon, 23 Jan 2012 23:09:42 +0400
-
-tt-rss (1.5.9+git20120123) unstable; urgency=low
-
- * New snapshot
- * Fix image and export cache directories
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Mon, 23 Jan 2012 10:45:57 +0400
-
-tt-rss (1.5.9) unstable; urgency=low
-
- * New release
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Sat, 21 Jan 2012 09:15:07 +0400
-
-tt-rss (1.5.8.1+git20111227) unstable; urgency=low
-
- * New snapshot
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Tue, 27 Dec 2011 13:03:00 +0400
-
-tt-rss (1.5.8.1) unstable; urgency=low
-
- * New release
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Thu, 22 Dec 2011 22:28:48 +0400
-
-tt-rss (1.5.8) unstable; urgency=low
-
- * New release
- * Changelog: http://tt-rss.org/redmine/versions/show/69
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Tue, 20 Dec 2011 15:33:11 +0400
-
-tt-rss (1.5.7) unstable; urgency=low
-
- * New release
- * Changelog: http://tt-rss.org/redmine/versions/show/67
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Tue, 22 Nov 2011 14:30:07 +0400
-
-tt-rss (1.5.6+git20111120) unstable; urgency=low
-
- * Change architecture to "all"
- * New code snapshot
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Sun, 20 Nov 2011 10:50:22 +0400
-
-tt-rss (1.5.6+git20111111) unstable; urgency=low
-
- * Snapshot built for local repository
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Fri, 11 Nov 2011 13:33:16 +0400
-
-tt-rss (1.5.6-1) unstable; urgency=low
-
- * Reworked for 1.5.x
- * Split into three packages: common, mysql, pgsql
-
- -- Andrew Dolgov <fox@madoka.volgo-balt.ru> Thu, 10 Nov 2011 23:47:21 +0400
-
-tt-rss (1.5.2-1) unstable; urgency=low
-
- * New upstream
- * Rework automatic article catchup
- * Use tmhOAuth instead of twitteroauth for Twitter feeds
- * Remove or add labels manually through the headline context menu
- * Bug #300: Wrong URL for cached images
- * Bug #308: Certain feed URL fails to download working with Tiny Tiny RSS
- * Bug #310: sanity_config.php includes 'DB_PORT'
- * Bug #314: https-feeds with authentification fail to download
- * Bug #315: /mobile version missing feature
- * Bug #323: Multiple persistent XSS in TT Rss v. 1.50
- * Bug #325: Can not subscribe to Twitter feeds
- * Bug #326: MagpieRSS messes up Atom feeds' titles
- * Feature #285: Feed view layout preference
- * Feature #304: Search bar
- * Feature #312: Accessibility request - focus content pane after render
-
- -- Florent USSEIL <swiip81@gmail.com> Wed, 23 Mar 2011 16:39:38 +0100
-
-tt-rss (1.5.1-1) unstable; urgency=low
-
- * Bugfix release
- * Bug #279: Feed list escapes special characters incorrectly
- * Bug #281: Add better PHP sanity checks
- * Bug #283: Icon path not valid from api
- * Bug #287: Remove cookie for published feeds
- * Bug #292: Keyboard shortcut missing
- * Bug #296: The define of PHP_EXECUTABLE in Update.php is at the wrong place.
- * Bug #298: \n instead of newline in customized stylesheet
- * Bug #300: Wrong URL for cached images
- * Bug #302: When adding a feed, if not logged it, it forgets the feed
- * Bug #303: RSS URL for published feeds incorrect
- * Feature #284: feed update timestamp in the UI
- * Feature #295: Skip login form if ALLOW_REMOTE_USER_AUTH is true
-
- -- Florent USSEIL <swiip81@gmail.com> Sat, 22 Jan 2011 10:14:32 +0100
-
-tt-rss (1.5.0-1) unstable; urgency=low
-
- * New upstream
- * Bugfixes :
- * GeneratedFeeds improvements
- * Added experimental digest mode (digest.php)
- * API enhancements
- * PHP5 with JSON support is now required
- * Add support for forwarding articles by email
- * Use HTML5 localStorage for client-side caching
- * Per-user timezone support
- * Allow filtering by article tags
- * Automatically determine feeds from the website URL
- * Support for feed-to-feed linking has been removed
- * Support for Google Gears has been removed
- * Optional full-text search using Sphinx engine
- * User interface refactored using Dijit framework
- * Add support for Twitter feeds using OAuth
- * Make plaintext URLs (e.g. in Twitter feeds) clickable
-
- -- Florent USSEIL <swiip81@gmail.com> Thu, 21 Dec 2010 19:27:32 +0100
-
-tt-rss (1.4.3-1) unstable; urgency=low
-
- * New upstream
- * Support import and export of tt-rss settings using OPML (when using DOMDocument import path)
- * Replace confusing ENABLE_SIMPLEPIE option with DEFAULT_UPDATE_METHOD
- * Properly deal with stuck child processes in forking update daemon
- * Feed preferences: add "Subscribe in Tiny Tiny RSS" bookmarklet
- * Bugfixes :
- * #269: Add navigation to the mobile view
-
- -- Florent USSEIL <swiip81@gmail.com> Sat, 11 Sep 2010 14:27:32 +0200
-
-tt-rss (1.4.2-1) unstable; urgency=low
-
- * New upstream
- * Allow filtering by article author
- * Bundle new version of php-gettext which should solve translation not working on 64-bit servers
- * Fix PHP warning in classic mobile mode
- * Other bugfixes
-
- -- Florent USSEIL <swiip81@gmail.com> Mon, 31 May 2010 20:58:32 +0100
-
-tt-rss (1.4.1-1) unstable; urgency=low
-
- * New upstream bugfix release.
- * Bugfixes
- * Minor interface improvements
- * Re-added updated compact three-pane theme
- * Support dock badges in Fluid
-
- -- Florent USSEIL <swiip81@gmail.com> Wed, 21 Apr 2010 23:35:02 +0100
-
-tt-rss (1.3.4) unstable; urgency=low
-
- * New upstream bugfix release.
- * Improved support for Lolcats.
- * Usability and performance improvements.
- * Updated translations.
-
- -- Florent USSEIL <swiip81@gmail.com> Fri, 30 Oct 2009 19:53:02 +0100
-
-tt-rss (1.3.3) unstable; urgency=low
-
- * New upstream bugfix release.
-
- -- Florent USSEIL <swiip81@gmail.com> Thu, 26 May 2009 21:49:02 +0100
-
-tt-rss (1.3.2) unstable; urgency=low
-
- * New upstream bugfix release.
-
- -- Florent USSEIL <swiip81@gmail.com> Wed, 1 Apr 2009 19:50:02 +0100
-
-
-tt-rss (1.3.1-1) unstable; urgency=low
-
- * Initial release
- * Thanks to Marcelo Jorge Vieira for his 1.2.19 package
-
- -- Florent USSEIL <swiip81@gmail.com> Sat, 28 Feb 2009 14:22:06 +0100
+++ /dev/null
---- config.php-dist 2011-12-13 19:22:16.820796058 +0400
-+++ config.php-dist.mysql 2011-12-14 12:08:35.747296079 +0400
-@@ -3,12 +3,12 @@
- // *** Database configuration (important!) ***
- // *******************************************
-
-- define('DB_TYPE', "pgsql"); // or mysql
-- define('DB_HOST', "localhost");
-- define('DB_USER', "fox");
-- define('DB_NAME', "fox");
-- define('DB_PASS', "XXXXXX");
-- //define('DB_PORT', '5432'); // when neeeded, PG-only
-+ include_once('/etc/tt-rss-mysql/database.php');
-+ define('DB_TYPE', $dbtype);
-+ define('DB_HOST', $dbserver);
-+ define('DB_USER', $dbuser);
-+ define('DB_NAME', $dbname);
-+ define('DB_PASS', $dbpass);
-
- define('MYSQL_CHARSET', 'UTF8');
- // Connection charset for MySQL. If you have a legacy database and/or experience
-@@ -35,11 +35,11 @@
- define('PHP_EXECUTABLE', '/usr/bin/php');
- // Path to PHP executable, used for various command-line tt-rss programs
-
-- define('LOCK_DIRECTORY', 'lock');
-+ define('LOCK_DIRECTORY', '/var/lock/tt-rss');
- // Directory for lockfiles, must be writable to the user you run
- // daemon process or cronjobs under.
-
-- define('CACHE_DIR', 'cache');
-+ define('CACHE_DIR', '/var/cache/tt-rss');
- // Local cache directory for RSS feed content.
-
+++ /dev/null
---- config.php-dist 2011-12-13 19:22:16.820796058 +0400
-+++ config.php-dist.pgsql 2011-12-14 12:10:11.203290174 +0400
-@@ -3,12 +3,12 @@
- // *** Database configuration (important!) ***
- // *******************************************
-
-- define('DB_TYPE', "pgsql"); // or mysql
-- define('DB_HOST', "localhost");
-- define('DB_USER', "fox");
-- define('DB_NAME', "fox");
-- define('DB_PASS', "XXXXXX");
-- //define('DB_PORT', '5432'); // when neeeded, PG-only
-+ include_once('/etc/tt-rss-pgsql/database.php');
-+ define('DB_TYPE', $dbtype);
-+ define('DB_HOST', $dbserver);
-+ define('DB_USER', $dbuser);
-+ define('DB_NAME', $dbname);
-+ define('DB_PASS', $dbpass);
-
- define('MYSQL_CHARSET', 'UTF8');
- // Connection charset for MySQL. If you have a legacy database and/or experience
-@@ -35,11 +35,11 @@
- define('PHP_EXECUTABLE', '/usr/bin/php');
- // Path to PHP executable, used for various command-line tt-rss programs
-
-- define('LOCK_DIRECTORY', 'lock');
-+ define('LOCK_DIRECTORY', '/var/lock/tt-rss');
- // Directory for lockfiles, must be writable to the user you run
- // daemon process or cronjobs under.
-
-- define('CACHE_DIR', 'cache');
-+ define('CACHE_DIR', '/var/cache/tt-rss');
- // Local cache directory for RSS feed content.
-
+++ /dev/null
-Source: tt-rss
-Section: web
-Priority: extra
-Maintainer: Andrew Dolgov <cthulhoo@gmail.com>
-Build-Depends: cdbs, debhelper (>= 7)
-Standards-Version: 3.7.3
-Homepage: http://tt-rss.org/
-
-Package: tt-rss-common
-Architecture: all
-Depends: php5, ${misc:Depends}
-Suggests: php5-curl
-Description: Tiny Tiny RSS is a web-based news feed (RSS/Atom)
- aggregator, designed to allow you to read news from any location,
- while feeling as close to a real desktop application as possible.
-
-Package: tt-rss-mysql
-Architecture: all
-Depends: tt-rss-common (= ${source:Version}), php5, php5-mysql, apache2, mysql-server, dbconfig-common, ${misc:Depends}
-Suggests: php-apc
-Conflicts: tt-rss-pgsql
-Description: Tiny Tiny RSS is a web-based news feed (RSS/Atom)
- aggregator, designed to allow you to read news from any location,
- while feeling as close to a real desktop application as possible.
-
-Package: tt-rss-pgsql
-Architecture: all
-Depends: tt-rss-common (= ${source:Version}), php5, php5-pgsql, apache2, postgresql, dbconfig-common, ${misc:Depends}
-Suggests: php-apc
-Conflicts: tt-rss-mysql
-Description: Tiny Tiny RSS is a web-based news feed (RSS/Atom)
- aggregator, designed to allow you to read news from any location,
- while feeling as close to a real desktop application as possible.
+++ /dev/null
-This package was debianized by Florent USSEIL <swiip81@gmail.com> on
-Sat, 28 Feb 2009 14:22:06 +0100.
-
-Further extended for newer versions of tt-rss by Andrew Dolgov <cthulhoo@gmail.com>
-
-It was downloaded from http://tt-rss.org/
-
-Upstream Author(s):
-
- Andrew Dolgov <cthulhoo@gmail.com>
-
-Copyright:
-
- (c) 2005-2009, Andrew Dolgov
-
-License:
-
- GPLv2
- Public License can be found in `/usr/share/common-licenses/GPL-2'
-
-The Debian packaging is (C) 2009, Florent USSEIL <swiip81@gmail.com> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
+++ /dev/null
-[type: gettext/rfc822deb] tt-rss-mysql.templates
+++ /dev/null
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: metal@alucinados.com\n"
-"POT-Creation-Date: 2007-10-03 23:33-0300\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: boolean
-#. Description
-#: ../tt-rss.templates:1001 ../tt-rss-mysql.templates:1001
-#: ../tt-rss-pgsql.templates:1001
-msgid "Do you want to configure apache2?"
-msgstr ""
+++ /dev/null
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-
-PACKAGE_MYSQL=tt-rss-mysql
-PACKAGE_PGSQL=tt-rss-pgsql
-
-define install_rule
- cp debian/$1/usr/share/doc/$1/config.php-dist debian/$1/etc/$1/config.php
- mkdir -p debian/$1/usr/share/tt-rss/www/
- ln -sf /etc/$1/config.php debian/$1/usr/share/tt-rss/www/
- patch debian/$1/etc/$1/config.php < debian/config.php-dist-$1.diff
-endef
-
-binary-install/tt-rss-mysql::
- $(call install_rule,$(PACKAGE_MYSQL))
- mkdir -p debian/$(PACKAGE_MYSQL)/usr/share/dbconfig-common/data/$(PACKAGE_MYSQL)/install
- cp debian/$(PACKAGE_MYSQL)/usr/share/tt-rss/www/schema/ttrss_schema_mysql.sql debian/$(PACKAGE_MYSQL)/usr/share/dbconfig-common/data/$(PACKAGE_MYSQL)/install/mysql
-
-binary-install/tt-rss-pgsql::
- $(call install_rule,$(PACKAGE_PGSQL))
- mkdir -p debian/$(PACKAGE_PGSQL)/usr/share/dbconfig-common/data/$(PACKAGE_PGSQL)/install
- cp debian/$(PACKAGE_PGSQL)/usr/share/tt-rss/www/schema/ttrss_schema_pgsql.sql debian/$(PACKAGE_PGSQL)/usr/share/dbconfig-common/data/$(PACKAGE_PGSQL)/install/pgsql
-
+++ /dev/null
-3.0 (native)
+++ /dev/null
-*.php usr/share/tt-rss/www/
-*.css usr/share/tt-rss/www/
-js usr/share/tt-rss/www/
-include usr/share/tt-rss/www/
-*.xsl usr/share/tt-rss/www/
-api usr/share/tt-rss/www
-help usr/share/tt-rss/www/
-classes usr/share/tt-rss/www/
-images usr/share/tt-rss/www/
-lib usr/share/tt-rss/www/
-locale usr/share/tt-rss/www/
-mobile usr/share/tt-rss/www/
-templates usr/share/tt-rss/www/
-themes usr/share/tt-rss/www/
-utils usr/share/tt-rss/www/
-
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-mysql
-
-case "$1" in
- configure)
-
- # source debconf stuff
- if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- fi
-
-
- echo "create misc folders"
- if [ ! -d /usr/share/tt-rss/www/feed-icons/ ]; then
- install -d -m775 -gwww-data /usr/share/tt-rss/www/feed-icons
- fi
-
- if [ ! -d /var/lock/tt-rss ]; then
- install -d -m775 -gwww-data /var/lock/tt-rss
- fi
-
- if [ ! -d /var/cache/tt-rss/htmlpurifier ]; then
- install -d -m775 -gwww-data /var/cache/tt-rss/htmlpurifier
- fi
-
- if [ ! -d /var/cache/tt-rss/magpie ]; then
- install -d -m775 -gwww-data /var/cache/tt-rss/magpie
- fi
-
- if [ ! -d /var/cache/tt-rss/simplepie ]; then
- install -d -m775 -gwww-data /var/cache/tt-rss/simplepie
- fi
-
- if [ ! -d /var/cache/tt-rss/export ]; then
- install -d -m775 -gwww-data /var/cache/tt-rss/export
- fi
-
- if [ ! -d /var/cache/tt-rss/images ]; then
- install -d -m775 -gwww-data /var/cache/tt-rss/images
- fi
-
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-# source debconf stuff
-if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
-fi
-
-
-if [ "$1" = "purge" ]; then
- rm -rf /usr/share/tt-rss/www/feed-icons
- rm -rf /var/lock/tt-rss
- rm -rf /var/cache/tt-rss
-fi
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-. /usr/share/debconf/confmodule
-
-PACKAGE=tt-rss-mysql
-
-# restart webserver
-db_input medium $PACKAGE/webserver || true
-db_go || true
-
-# dbconfig-common
-if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
- . /usr/share/dbconfig-common/dpkg/config.mysql
- dbc_first_version="1.3.1"
- dbc_go $PACKAGE $@
-fi
-
+++ /dev/null
-# /etc/cron.d/tt-rss-mysql: crontab fragment for tt-rss-mysql
-# This update feeds for tiny tiny RSS every 20min
-
-12,42 * * * * www-data /usr/bin/wget --output-document=/dev/null --quiet http://localhost/tt-rss/public.php?op=globalUpdateFeeds&daemon=1
+++ /dev/null
-debian/apache.conf etc/tt-rss-mysql/
-config.php-dist usr/share/doc/tt-rss-mysql/
-schema/ttrss_schema_mysql.sql usr/share/tt-rss/www/schema/
-schema/versions/mysql usr/share/tt-rss/www/schema/versions/
-
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-mysql
-
-case "$1" in
- configure)
-
- # source debconf stuff
- if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- fi
-
- # debconf messages
- db_get $PACKAGE/webserver || true
- WEBSERVER="$RET";
-
- # webserver configuration
- if $WEBSERVER; then
- if [ ! -d /etc/apache2/conf.d/ ]; then
- install -d -m755 /etc/apache2/conf.d/
- fi
-
- if [ ! -e /etc/apache2/conf.d/$PACKAGE.conf ]; then
- ln -s /etc/$PACKAGE/apache.conf /etc/apache2/conf.d/$PACKAGE.conf
- #sed -e "s#tt-rss/www#$PACKAGE/www#" -i /etc/$PACKAGE/apache.conf
- fi
- if apache2ctl configtest 2>/dev/null; then
- invoke-rc.d apache2 force-reload || true
- else
- echo "apache need to be reload manualy"
- fi
- fi
-
- # dbconfig-common
- . /usr/share/dbconfig-common/dpkg/postinst.mysql
- dbc_first_version="1.3.1"
- dbc_generate_include="php:/etc/$PACKAGE/database.php"
- dbc_generate_include_owner="root:www-data"
- dbc_generate_include_perms="0640"
- dbc_go $PACKAGE $@
-
- echo "Install ok on http://localhost/tt-rss/"
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-mysql
-
-# source debconf stuff
-if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
-fi
-
-# Un-configure and restart webservers
-db_get $PACKAGE/webserver || true
-WEBSERVER="$RET";
-if $WEBSERVER; then
- if [ -L /etc/apache2/conf.d/$PACKAGE.conf ]; then
- rm -f /etc/apache2/conf.d/$PACKAGE.conf
- fi
-fi
-
-if apache2ctl configtest 2>/dev/null; then
- invoke-rc.d apache2 force-reload || true
-else
- echo "apache need to be manually reloaded"
-fi
-
-# dbconfig-common
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
- . /usr/share/dbconfig-common/dpkg/postrm.mysql
- dbc_go $PACKAGE $@
-fi
-
-if [ "$1" = "purge" ]; then
- # remove database config
- rm -f /etc/$PACKAGE/database.php
- if which ucf >/dev/null 2>&1; then
- ucf --purge /etc/$PACKAGE/database.php
- fi
- db_purge
-fi
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-mysql
-
-# source debconf stuff
-. /usr/share/debconf/confmodule
-
-. /usr/share/dbconfig-common/dpkg/prerm.mysql
-dbc_go $PACKAGE $@
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-Template: tt-rss-mysql/webserver
-Type: boolean
-_Description: Do you want to configure apache2?
+++ /dev/null
-#!/bin/sh
-set -e
-
-. /usr/share/debconf/confmodule
-
-PACKAGE=tt-rss-pgsql
-
-# restart webserver
-db_input medium $PACKAGE/webserver || true
-db_go || true
-
-# dbconfig-common
-if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
- . /usr/share/dbconfig-common/dpkg/config.pgsql
- dbc_first_version="1.3.1"
- dbc_go $PACKAGE $@
-fi
-
+++ /dev/null
-# /etc/cron.d/tt-rss-pgsql: crontab fragment for tt-rss-pgsql
-# This update feeds for tiny tiny RSS every 20min
-
-12,42 * * * * www-data /usr/bin/wget --output-document=/dev/null --quiet http://localhost/tt-rss/public.php?op=globalUpdateFeeds&daemon=1
+++ /dev/null
-debian/apache.conf etc/tt-rss-pgsql/
-config.php-dist usr/share/doc/tt-rss-pgsql/
-schema/ttrss_schema_pgsql.sql usr/share/tt-rss/www/schema/
-schema/versions/pgsql usr/share/tt-rss/www/schema/versions/
-
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-pgsql
-
-case "$1" in
- configure)
-
- # source debconf stuff
- if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- fi
-
- # debconf messages
- db_get $PACKAGE/webserver || true
- WEBSERVER="$RET";
-
- # webserver configuration
- if $WEBSERVER; then
- if [ ! -d /etc/apache2/conf.d/ ]; then
- install -d -m755 /etc/apache2/conf.d/
- fi
-
- if [ ! -e /etc/apache2/conf.d/$PACKAGE.conf ]; then
- ln -s /etc/$PACKAGE/apache.conf /etc/apache2/conf.d/$PACKAGE.conf
- #sed -e "s#tt-rss/www#$PACKAGE/www#" -i /etc/$PACKAGE/apache.conf
- fi
- if apache2ctl configtest 2>/dev/null; then
- invoke-rc.d apache2 force-reload || true
- else
- echo "apache need to be reload manualy"
- fi
- fi
-
- # dbconfig-common
- . /usr/share/dbconfig-common/dpkg/postinst.pgsql
- dbc_first_version="1.3.1"
- dbc_generate_include="php:/etc/$PACKAGE/database.php"
- dbc_generate_include_owner="root:www-data"
- dbc_generate_include_perms="0640"
- dbc_go $PACKAGE $@
-
- echo "Install ok on http://localhost/tt-rss/"
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-exit 0
-
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-pgsql
-
-# source debconf stuff
-if [ -f /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
-fi
-
-# Un-configure and restart webservers
-db_get $PACKAGE/webserver || true
-WEBSERVER="$RET";
-if $WEBSERVER; then
- if [ -L /etc/apache2/conf.d/$PACKAGE.conf ]; then
- rm -f /etc/apache2/conf.d/$PACKAGE.conf
- fi
-fi
-
-if apache2ctl configtest 2>/dev/null; then
- invoke-rc.d apache2 force-reload || true
-else
- echo "apache need to be manually reloaded"
-fi
-
-# dbconfig-common
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql ]; then
- . /usr/share/dbconfig-common/dpkg/postrm.pgsql
- dbc_go $PACKAGE $@
-fi
-
-if [ "$1" = "purge" ]; then
- # remove database config
- rm -f /etc/$PACKAGE/database.php
- if which ucf >/dev/null 2>&1; then
- ucf --purge /etc/$PACKAGE/database.php
- fi
- db_purge
-fi
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-PACKAGE=tt-rss-pgsql
-
-# source debconf stuff
-. /usr/share/debconf/confmodule
-
-. /usr/share/dbconfig-common/dpkg/prerm.pgsql
-dbc_go $PACKAGE $@
-
-exit 0
-#DEBHELPER#
+++ /dev/null
-Template: tt-rss-pgsql/webserver
-Type: boolean
-_Description: Do you want to configure apache2?
+++ /dev/null
-version=3
-http://tt-rss.org/download/tt-rss-(.*)\.tar.gz