summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-01-18 13:41:26 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-01-18 13:43:50 +0000
commit0a44f2b78a7d114b0de6cf05f8ae19f4d82bbf74 (patch)
tree85bc49bbede9e1ad2f1d9d5269607a072e9343ce /www-apps/tt-rss/files
parentwww-apps/tt-rss: Bump to 20180105, security fix, other fixes (diff)
downloadgentoo-0a44f2b78a7d114b0de6cf05f8ae19f4d82bbf74.tar.gz
gentoo-0a44f2b78a7d114b0de6cf05f8ae19f4d82bbf74.tar.bz2
gentoo-0a44f2b78a7d114b0de6cf05f8ae19f4d82bbf74.zip
www-apps/tt-rss: Drop vulnerable 20160527 and 20160930 versions
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'www-apps/tt-rss/files')
-rw-r--r--www-apps/tt-rss/files/postinstall-en-with-daemon.txt19
-rw-r--r--www-apps/tt-rss/files/ttrssd.confd-r114
-rw-r--r--www-apps/tt-rss/files/ttrssd.initd-r283
-rw-r--r--www-apps/tt-rss/files/ttrssd.logrotated9
4 files changed, 0 insertions, 125 deletions
diff --git a/www-apps/tt-rss/files/postinstall-en-with-daemon.txt b/www-apps/tt-rss/files/postinstall-en-with-daemon.txt
deleted file mode 100644
index 25545842a381..000000000000
--- a/www-apps/tt-rss/files/postinstall-en-with-daemon.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Please read https://tt-rss.org/wiki/InstallationNotes.
-
-Once you have configured TT-RSS, put the path to this instance into
-the INSTANCE_DIRS variable in /etc/conf.d/ttrssd. Make sure that
-the ttrssd user can access the path, and then start the update daemon
-with
-
- /etc/init.d/ttrssd start
-
-to get your feeds updated. Add the daemon to your default runlevel,
-so that it gets launched after a system restart:
-
- rc-update add ttrssd default
-
-
-With the update to 1.7.0 the 'magpie' RSS parser has been removed.
-That means TT-RSS will use the 'simplepie' parser. If you have been
-using 'magpie' so far, the switch might cause lots of duplicate
-articles - it's a one-time thing for each instance.
diff --git a/www-apps/tt-rss/files/ttrssd.confd-r1 b/www-apps/tt-rss/files/ttrssd.confd-r1
deleted file mode 100644
index cf74794e22d6..000000000000
--- a/www-apps/tt-rss/files/ttrssd.confd-r1
+++ /dev/null
@@ -1,14 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Path to TT-RSS instances which should have running update daemon.
-# EXAMPLE: INSTANCE_DIRS="/some/webhost/htdocs/tt-rss /some/otherwebhost/htdocs/newsreader"
-INSTANCE_DIRS=""
-
-# Path to log file. Remember to alter logrotate file if you change it here.
-LOGFILE="/var/log/ttrssd.log"
-
-# User and group which run the update daemon.
-# NOTE: you should really avoid running it as root.
-TTRSSD_USER="ttrssd"
-TTRSSD_GROUP="ttrssd"
diff --git a/www-apps/tt-rss/files/ttrssd.initd-r2 b/www-apps/tt-rss/files/ttrssd.initd-r2
deleted file mode 100644
index d46d5890a1f2..000000000000
--- a/www-apps/tt-rss/files/ttrssd.initd-r2
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need logger net
- after postgres mysql
-}
-
-LOGFILE=${LOGFILE:-"/var/log/ttrssd.log"}
-TTRSSD_USER=${TTRSSD_USER:-"ttrssd"}
-TTRSSD_GROUP=${TTRSSD_GROUP:-"ttrssd"}
-INSTANCE_FOLDERS="cache lock feed-icons"
-BASE_PID="/run/ttrssd"
-
-checkconfig() {
- local instance instancepidname dir
-
- # check instances
- if [ -z "${INSTANCE_DIRS}" ]; then
- eerror "There is no defined instance directory in /etc/conf.d/ttrssd"
- return 1
- fi
-
- # verify log file accessibility
- if [ ! -e "${LOGFILE}" ]; then
- touch "${LOGFILE}" || return 1
- fi
- chown "${TTRSSD_USER}":"${TTRSSD_GROUP}" "${LOGFILE}" || return 1
-
- mkdir -p "${BASE_PID}"
-
- # check instances for errors
- for instance in ${INSTANCE_DIRS}; do
- instancepidname=$(echo "${instance}.pid" | sed -e 's|/||' -e 's|/|--|g')
-
- if [ ! -f "${instance}/update_daemon2.php" ]; then
- eerror "\"${instance}\" does not contain update_daemon2.php script."
- eerror "Please check your installation or the INSTANCE_DIRS variable."
- return 1
- fi
-
- # NOTE: This can't be done by webapp-config if we want runtime configurable TTRSSD_GROUP
- for dir in ${INSTANCE_FOLDERS}; do
- if [ -d "${instance}/${dir}" ]; then
- chown -R ":${TTRSSD_GROUP}" "${instance}/${dir}" || return 1
- chmod -R g+w "${instance}/${dir}" || return 1
- fi
- done
- done
-}
-
-start () {
- local instance instancepidname
-
- checkconfig || return 1
-
- for instance in ${INSTANCE_DIRS}; do
- instancepidname=$(echo "${instance}.pid" | sed -e 's|/||' -e 's|/|--|g')
- mypid="${BASE_PID}/${instancepidname}"
- ebegin "Starting TT-RSS update daemon in \"${instance}\""
- start-stop-daemon --start --user "${TTRSSD_USER}":"${TTRSSD_GROUP}" --background \
- --stdout "${LOGFILE}" --stderr "${LOGFILE}" \
- --make-pidfile --pidfile "${mypid}" \
- --exec /usr/bin/php -- -f "${instance}/update_daemon2.php"
- eend $?
- done
-}
-
-stop() {
- local instance instancepidname
-
- for instance in ${INSTANCE_DIRS}; do
- instancepidname=$(echo "${instance}.pid" | sed -e 's|/||' -e 's|/|--|g')
- mypid="${BASE_PID}/${instancepidname}"
- ebegin "Stopping TT-RSS update daemon in \"${instance}\""
- start-stop-daemon --stop \
- --pidfile "${mypid}" \
- --exec /usr/bin/php -- -f "${instance}/update_daemon2.php"
- eend $?
- rm -f ${instance}/lock/*.lock
- done
-}
diff --git a/www-apps/tt-rss/files/ttrssd.logrotated b/www-apps/tt-rss/files/ttrssd.logrotated
deleted file mode 100644
index 2bb0d0c1dd37..000000000000
--- a/www-apps/tt-rss/files/ttrssd.logrotated
+++ /dev/null
@@ -1,9 +0,0 @@
-/var/log/ttrssd.log {
- daily
- delaycompress
- missingok
- notifempty
- postrotate
- /etc/init.d/ttrssd restart > /dev/null
- endscript
-}