summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-19 20:11:46 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-19 20:11:46 +0000
commit5b5df25227111ef465caf5c52bcfb66dac3219cd (patch)
tree31b713cac6188358125cbb66b8804030328740f0 /www-apps
parent02e2208f46f4e2c00fb9743cbc47350bdd233bfa (diff)
gentoo resync : 19.01.2018
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/Manifest.gzbin16177 -> 16183 bytes
-rw-r--r--www-apps/blohg/Manifest2
-rw-r--r--www-apps/blohg/blohg-0.13-r3.ebuild (renamed from www-apps/blohg/blohg-0.13-r2.ebuild)4
-rw-r--r--www-apps/davical/Manifest4
-rw-r--r--www-apps/davical/davical-1.1.7.ebuild57
-rw-r--r--www-apps/davical/metadata.xml15
-rw-r--r--www-apps/novnc/Manifest3
-rw-r--r--www-apps/novnc/novnc-0.6.2-r1.ebuild47
-rw-r--r--www-apps/novnc/novnc-9999.ebuild47
-rw-r--r--www-apps/tt-rss/Manifest18
-rw-r--r--www-apps/tt-rss/files/permissions25
-rw-r--r--www-apps/tt-rss/files/postinstall-en-with-daemon-r1.txt14
-rw-r--r--www-apps/tt-rss/files/postinstall-en-with-daemon.txt19
-rw-r--r--www-apps/tt-rss/files/postinstall-en.txt7
-rw-r--r--www-apps/tt-rss/files/ttrssd.confd-r114
-rw-r--r--www-apps/tt-rss/files/ttrssd.confd-r247
-rw-r--r--www-apps/tt-rss/files/ttrssd.initd-r283
-rw-r--r--www-apps/tt-rss/files/ttrssd.initd-r388
-rw-r--r--www-apps/tt-rss/files/ttrssd.logrotated-r1 (renamed from www-apps/tt-rss/files/ttrssd.logrotated)3
-rw-r--r--www-apps/tt-rss/tt-rss-20160527.ebuild88
-rw-r--r--www-apps/tt-rss/tt-rss-20160930.ebuild88
-rw-r--r--www-apps/tt-rss/tt-rss-20180105.ebuild84
-rw-r--r--www-apps/tt-rss/tt-rss-99999999.ebuild87
-rw-r--r--www-apps/wordpress/Manifest2
-rw-r--r--www-apps/wordpress/wordpress-4.9.2.ebuild55
25 files changed, 557 insertions, 344 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz
index a74c0aaac978..15869c9cf9fa 100644
--- a/www-apps/Manifest.gz
+++ b/www-apps/Manifest.gz
Binary files differ
diff --git a/www-apps/blohg/Manifest b/www-apps/blohg/Manifest
index 702e001fade1..876220404a44 100644
--- a/www-apps/blohg/Manifest
+++ b/www-apps/blohg/Manifest
@@ -1,5 +1,5 @@
AUX use-recent-libgit2.patch 724 BLAKE2B 393c488bf71af9a7ae89c53a64739a729043ba1408722e8b64636ca6e099d859c63c4421eb821b26a89423e8dfdfaca9c95fccffee1b76d50b25b0d772169580 SHA512 fab12807128e60d6c9105947ca313233ea00e8b81329d9eb92e5307d24f0ec7b1173de6d1b6b6571bf2e8ce4820dc8d7c1e5dac0a3dfed14157357532b99d1e9
DIST blohg-0.13.tar.gz 75003 BLAKE2B 6b9760ffa99ca85a40e35c81341e395fdfc00256f5e80091c6883e54f050d4cf3f345c4752b635b1297d15e0055c182e00e74165451d695bb396c869c285646f SHA512 de8643e85e3f72827408d726bbe2f8674dcc6dcf1efdc47d33a934892071f8365cb54e63a6adb803361c7fd04032b2ac4e786c442676e8a8132b6d3221696865
-EBUILD blohg-0.13-r2.ebuild 1713 BLAKE2B 598db5d82a289cbeff0132741099e20f990107075a33ee9c8b5f13d552024bc49501312027a182d3607390dcbc18cb80873dd385d6a0cfcaf268db2dea103c4e SHA512 040054a42203df846da96b8c3c3fc86d9704e704a92c330361cb2e0f221db5457fdd4b66ea512abeb2a8239a3601868ba5132f6cffa745794ab5358d6e0a06d4
+EBUILD blohg-0.13-r3.ebuild 1713 BLAKE2B 36f257e1b693901d7a20a283eb529ee13c79777518f117360d83593836601cde55c8609753ccfe33fd598ec032a6a5894b24513316bb8c0b38b1189567474f82 SHA512 97a4086d973f53a313adca71d283674a80679e2a822c1cc2d081754c8985388d58c1cd1e029984980426da097c7f1cedba9b1e37355c00c36ad259629d68188d
EBUILD blohg-9999.ebuild 1648 BLAKE2B 17f1cb12c1e71759ef1954e9ab287eb970197519d586eea0262239b14c07aeb270a7402ced8ff74a96ea8b9c4e967bfc0ffc24aba9a4aceef86170d19a7dd231 SHA512 a2a1d8a11ff880bf5b0531a43e3d9bd11918fbed9262b77bfd3759aa0708036831fe0c1199612c6514eae3f7fb48b4a371f0b7ece8ac97afd3ec4591743a84f3
MISC metadata.xml 983 BLAKE2B b57921e5e260e283cc261200cefcba516918e21ab44ff009a5fb08c58036cd39263de239e65e20714bac823bd7d0c6889dbd0737904109af635809cd16ce2f55 SHA512 39e0799c5a6e685ea188c12b8e2ddd34178fce3630a0cb84308a66c710730e8aeaeaf23444e4f8091ec2adf6eb1da3ea7bf74e1df1adb3d5caa2205da99cc6f8
diff --git a/www-apps/blohg/blohg-0.13-r2.ebuild b/www-apps/blohg/blohg-0.13-r3.ebuild
index f28eb4067fe4..f9a9daaf2eb1 100644
--- a/www-apps/blohg/blohg-0.13-r2.ebuild
+++ b/www-apps/blohg/blohg-0.13-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -32,7 +32,7 @@ REQUIRED_USE="|| ( git mercurial )
RDEPEND="
>=dev-python/click-2.0
- =dev-python/docutils-0.11*
+ >=dev-python/docutils-0.11
>=dev-python/flask-0.10.1
>=dev-python/flask-babel-0.7
>=dev-python/frozen-flask-0.7
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest
index 5029ffb4e762..235c8d6a749d 100644
--- a/www-apps/davical/Manifest
+++ b/www-apps/davical/Manifest
@@ -7,8 +7,10 @@ DIST davical-1.0.2.tar.gz 2739740 BLAKE2B 1f8c117d52d577a4364407e35552ca59aeaaea
DIST davical-1.1.0.tar.gz 2967572 BLAKE2B e36f5d20323996f48173c3cde32d4b8600dd019fb13f649edc053588679bea5b1753df70db4997277db251a8ef862cece9a32e230c48929cb8728109de3cb3cd SHA512 5c272418b5c324d0ea4cbdd9c1124171ecd1fe1f3df4953569b02a47359469539205ff48e92aa19abaa667bb7c69f1b8b8196d79e549645009ac0b7bbddd7c18
DIST davical-1.1.1.tar.gz 2979425 BLAKE2B 06dd2bda2459b113c94d19128979da2ed6fc06442591812116afd69aee94ab7ac2ebb31b58afe2d4335f8e49bb1f52d2fcfac7a8a31b6643f11143c4ef61521b SHA512 6f0b2a13ba6698ea1a7d16988c795888820a08d125ac3d622b6c9fc21f831b698e8ce2c9c7ae25e64252f38502e473daabbd0626c5b2450646efb7cdb7f5b31e
DIST davical-1.1.3.1.tar.gz 3031220 BLAKE2B 1a4bd7d2c027647095e76033f6689c31da3626a8862a8ab80287e48879c41348fc8dd18a59a2e8e02bf1ceb1d0c7ae8ae5ffce6cb720051a145048f0fb3903e5 SHA512 1944c4750799e9388adcaf1d5df6a2a5daccc34dd7274673a6b27cf0c32b2357d3cdd6d7c0928ea182408ce5111530f6b0e2eb6d882eb47ee1dcfa6eb8d4fe4b
+DIST davical-1.1.7.tar.gz 1818904 BLAKE2B ce6ffca5786963e2363832d994380f066812d2cd49c729270dcd92b98214c9a5be7b20ff678947ae7b300c39bdc31c5adb39cbb3d54c0bad4109809947b65811 SHA512 2bec19a85da5d626dcabc47c0c3a76e435d42a26da3e3a747a072c79a4dd955c012864580ad7ecd17b6c901acbebd77d17be9c74cef8ca19b12cba4b442c1d70
EBUILD davical-1.0.2-r2.ebuild 1524 BLAKE2B 388fc6bc7544d8e5693a4d4ed28415d10f913d75ecc376358872c848f46d0e73698e8994ab14416e944c2e78ea221987c4f18565eda3107c465344d234c30c23 SHA512 a153225166179a94097083eeeff752728074a682a0eef566875a3e0ab5887fa5e670b5f35740f0264aab3cb65f97c685edab42c18ba7c3317f226aa32211b681
EBUILD davical-1.1.0-r1.ebuild 1504 BLAKE2B 30825d086cd43b1c77e1399ee7e97cbd86e8070281853950f26e3f576f3566eae2d0f0de573e57eb57e59c9881585f6248a6c6dc444a26efc546199bdfae618b SHA512 516ba880869db947f76387a4e6d355dbe1392256901dd447840be61ac8fb1dde762f6b9166b2bea754e63f2d26f782dc40d50f56e893d873476de28ed42eabb1
EBUILD davical-1.1.1-r2.ebuild 1499 BLAKE2B 6bf05d17a8797f8e78ab8e8591eb2e04a2ef9417d8e8b8f1e63dc01d228b01dabf369ebe219119b944fb9e7ec05b18168019070f10edc66786a4d33ba0d7a82f SHA512 68373843aebb1da62840a1891cfa7cb6c6cb593d50e4dc48da25f925bd0657316a5553f14cc152b2a962d5394baf1a924fb4e37a2bc85b1806f35fe1824b10d8
EBUILD davical-1.1.3.1-r2.ebuild 1567 BLAKE2B 53e2a2241b69454f9800decf4f10602f988c2bc44a44c8fc6051405df31d5633f570e3ff637416b926895381fcc1eff47687cb01e95064d493f7911487a6a39e SHA512 be1cefe42341c70c85480da6298f6cb9b80abf417d9e22de310473212db464284c62c8afb3d83965caea34c813e19da3ef76aba4df279b2fe8ca865178094aba
-MISC metadata.xml 289 BLAKE2B ece359bbc1cd696797428b31c61c58e5d63559ec8bfb734e3869421e1ddccbebe109c854225c924ba71d0321cea7ef3a63b1dee3d56b728a4d53bfd34eca8e37 SHA512 eb4947560bda57063dd746f397daafccc5d30e8aa694d75419a2dd4da56461fd6c82274c13e1ac01f8bad0d742c00f4116c20ceefe50f383988c9d12be27c90c
+EBUILD davical-1.1.7.ebuild 1295 BLAKE2B 4d482667b73ab9824701c1d07f4e642b433fb563cdf36abb0072b8c11e72bedf6db60093d9f15406c09e9fa5223d47bd7762373d3c95ac1bee402274bc116c7e SHA512 34a01e0ab0e4b59556296b507e020b7c0f16fdc0facd1d3640f6a8491133e620e187babdf8aa47bfaa51359cd142513767a644d60de6aebedbe84cba811ddaf6
+MISC metadata.xml 464 BLAKE2B f84e3f2c3b622eea5925ed066e9885aa1adb55d2f62245da5a63118bd99b30e36c10f21cd001da54a35926489860ee92cbde495552a52faf2f70dfd87807035d SHA512 74382454cf5fad3dc417c8c5be290919a3e86fae9f7508eadc995a0253e18350f1ef8ba9b0085f174e7fb15b14b5cd5630180dcbc2178132409d858182c31b84
diff --git a/www-apps/davical/davical-1.1.7.ebuild b/www-apps/davical/davical-1.1.7.ebuild
new file mode 100644
index 000000000000..fbd56f271c65
--- /dev/null
+++ b/www-apps/davical/davical-1.1.7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp vcs-snapshot
+
+DESCRIPTION="A CalDAV and CardDAV Server"
+HOMEPAGE="http://davical.org/"
+SRC_URI="https://gitlab.com/${PN}-project/${PN}/repository/archive.tar.gz?ref=r${PV} -> ${PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=dev-php/awl-0.59
+ sys-devel/gettext"
+RDEPEND="app-admin/pwgen
+ dev-lang/php:*[calendar,curl,pdo,postgres,xml]
+ dev-perl/DBI
+ dev-perl/DBD-Pg
+ dev-perl/YAML
+ >=dev-php/awl-0.59
+ virtual/httpd-php"
+
+need_httpd
+
+src_compile() {
+ emake built-locale
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc INSTALL CREDITS README TODO ChangeLog
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/. htdocs/.htaccess
+
+ einfo "Installing main files and i18n"
+ insinto "${MY_HOSTROOTDIR}/${PN}"
+ doins -r inc locale
+ rm "${ED}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die
+
+ einfo "Installing sql files"
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r dba/.
+
+ insinto /etc/${PN}
+ doins -r config/. "${FILESDIR}/vhost-example"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh"
+ fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database"
+}
diff --git a/www-apps/davical/metadata.xml b/www-apps/davical/metadata.xml
index a7029b1a1086..4d67caebe64c 100644
--- a/www-apps/davical/metadata.xml
+++ b/www-apps/davical/metadata.xml
@@ -1,8 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
+ <maintainer type="person">
+ <email>till2.schaefer@uni-dortmund.de</email>
+ <name>Till Schäfer</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">davical-project/davical</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/www-apps/novnc/Manifest b/www-apps/novnc/Manifest
index de3ccce0ee78..f2be2acdf8d0 100644
--- a/www-apps/novnc/Manifest
+++ b/www-apps/novnc/Manifest
@@ -1,6 +1,7 @@
AUX noVNC.confd 104 BLAKE2B da90c8f2ae649e65bbbcd8c894581d0dd187bfbb8bbb20393eb67ee1bef12c98890bce9ff3cf0731bed21bb844cc4f02ae363b75173d16d13e891d5512d45ac3 SHA512 9e784f668965b55b562b020fb32d4674267583647b950dd19aa297856b5a4509f2a7b9891e9575bc823a379aa237d4499dfeb1a2b2f537052e5ae471828e888f
AUX noVNC.initd 697 BLAKE2B 18032906a808e14944dfae2eddc6bbdb22dbbf620ec307a892e077e818a2e4e4c056c05c7cf8bae6d8ce0818dc8c48a6ccc4c42972a5b47862b96933d8536c7a SHA512 8b131686c5add6e7ea859ba433a325ff7f0b9a5c9a11199f0d4025229e56e2c5e725ebfa2cde146f5df4b8bd4b71cdde1f08e87d0217d61bb18b683221b4595a
DIST novnc-0.6.2.tar.gz 600675 BLAKE2B f9779a9f03ba653f77090639112cd0c967ff5925d2f9897da6508fd077fb79a2f543467e32210572935a642e06fbbcac4a44c34b4342474f54ef7ec7a9bdbf4f SHA512 245d205f8935c82722a55d6cfcd2cea1825176c0cd695fd0eec34aa19cdc3b766fed62e741ff41b0a8c4a3b3cbabc5a39dfa6ad8ffa6169f5b88420a4a845a7c
+EBUILD novnc-0.6.2-r1.ebuild 1021 BLAKE2B 6c1136a747c928c2bf9d20e565369f44291d0893325a3ba316b922266d9f17615e50446702d08830c49951e48514713a49732d4ee51054c665b73f8141e1e209 SHA512 8fab040422d6423e8481ceb98a9460c1fd90cf9fdaba3004a9f61886e213a19153b43aa2ef2b58799d1713e8f39b7efb3fb8fc551d8dd878b3557f1d736d4db4
EBUILD novnc-0.6.2.ebuild 1311 BLAKE2B 724c7c30b038d2d0950f8e0ad0ccdc84f3b86b1bf94f08b74ae77135c945eea3e9b93617d1a39113aa0baae9e4fa1d604cf7a925c4a921635760e4961131a134 SHA512 88ca686dc5be5acabae7adfeb918bbaa7b9f3a05c3092e05632f8009576baaa41af90ceb3f4e1022a2c85a12b19fb8d317f4853f59364035d7c5139f12cfb0c3
-EBUILD novnc-9999.ebuild 1239 BLAKE2B 445312939b8c6f7564357e90d557e16b1329dc3c4a947d5218943246366490a1a0f7df4d60e61e58749d7856958f55462fd79d33a9fa41c8431089f572dd8574 SHA512 292abea22fee5b4e81c6f2e8e83c772cb8d41462b595bfdc7ea6ecf769f2740bb7fb29d903e828d43e52a23a0b70c265f2c03a034831fa165aac0a5be40add0c
+EBUILD novnc-9999.ebuild 1020 BLAKE2B f6672bb565b8206e63e98d56743d116a4f921e3f487cd2248182c31d5fba7af3f543a2829ac511284156ff7928bea9b998842de16bf80bc9f01f0c06cafbf1f8 SHA512 918e660fcf4cb486b93b1de87fcc9315fb4de0d5e7cd0f7cd2cceebe4718d045bcf1b32cbe47bc94d610c135e887b9ff7666d33bbf19adb7a434ae650e6514e0
MISC metadata.xml 341 BLAKE2B 11a60501b1f7725f315055b98ecda3928e1755ad88983b8c7c4900ba053325ecb030b68e70e453c2860e67ec13337918da68422cb5c5cd432fda06b2a8027c70 SHA512 a41f01affc9fcb0cf61dba100f01ffe730a1278218c120f6a7d2c699a13d24868b6f7936c8ed5a28625e7c68a646e99556e745cead53c676037a5acbc92ffba8
diff --git a/www-apps/novnc/novnc-0.6.2-r1.ebuild b/www-apps/novnc/novnc-0.6.2-r1.ebuild
new file mode 100644
index 000000000000..4c195c185f3a
--- /dev/null
+++ b/www-apps/novnc/novnc-0.6.2-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="noVNC is a VNC client implemented using HTML5 technologies"
+HOMEPAGE="https://kanaka.github.com/noVNC/"
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kanaka/noVNC.git"
+else
+ SRC_URI="https://github.com/kanaka/noVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+fi
+
+S="${WORKDIR}/noVNC-${PV}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/websockify[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+
+python_compile() {
+ echo
+}
+
+src_install() {
+ exeinto /usr/share/novnc/utils
+ for f in utils/*; do
+ [[ ! $f = utils/README.md ]] && doexe $f
+ done
+
+ dodoc README.md LICENSE.txt
+
+ insinto /usr/share/novnc
+ doins -r *.html include/ images/
+ dosym images/favicon.ico /usr/share/novnc/favicon.ico
+}
diff --git a/www-apps/novnc/novnc-9999.ebuild b/www-apps/novnc/novnc-9999.ebuild
index 3bcb1d55fc69..fb8b22ba491e 100644
--- a/www-apps/novnc/novnc-9999.ebuild
+++ b/www-apps/novnc/novnc-9999.ebuild
@@ -1,20 +1,27 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-inherit distutils-r1 git-2
+inherit distutils-r1
DESCRIPTION="noVNC is a VNC client implemented using HTML5 technologies"
HOMEPAGE="https://kanaka.github.com/noVNC/"
-EGIT_REPO_URI="https://github.com/kanaka/noVNC.git"
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/kanaka/noVNC.git"
+else
+ SRC_URI="https://github.com/kanaka/noVNC/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+fi
+
S="${WORKDIR}/noVNC-${PV}"
LICENSE="LGPL-3"
SLOT="0"
-KEYWORDS=""
IUSE=""
DEPEND=""
@@ -27,28 +34,14 @@ python_compile() {
}
src_install() {
- dodir /usr/share/novnc/utils
- dodir /usr/share/novnc/include
- dodir /usr/share/novnc/images
-
exeinto /usr/share/novnc/utils
- doexe utils/b64-to-binary.pl
- doexe utils/img2js.py
- doexe utils/inflator.partial.js
- doexe utils/json2graph.py
- doexe utils/launch.sh
- doexe utils/parse.js
- doexe utils/u2x11
-
- docinto /usr/share/novnc/docs
- dodoc README.md
- dodoc LICENSE.txt
-
- cp -pPR *.html "${D}/usr/share/novnc/"
- cp -pPR include/* "${D}/usr/share/novnc/include/"
- cp -pPR images/* "${D}/usr/share/novnc/images/"
- dosym images/favicon.ico /usr/share/novnc/favicon.ico
+ for f in utils/*; do
+ [[ ! f = utils/README.md ]] && doexe $f
+ done
+
+ dodoc README.md LICENSE.txt
- newconfd "${FILESDIR}/noVNC.confd" noVNC
- newinitd "${FILESDIR}/noVNC.initd" noVNC
+ insinto /usr/share/novnc
+ doins -r *.html include/ images/
+ dosym images/favicon.ico /usr/share/novnc/favicon.ico
}
diff --git a/www-apps/tt-rss/Manifest b/www-apps/tt-rss/Manifest
index 59a7ff41f0cd..30108820053e 100644
--- a/www-apps/tt-rss/Manifest
+++ b/www-apps/tt-rss/Manifest
@@ -1,10 +1,10 @@
-AUX postinstall-en-with-daemon.txt 717 BLAKE2B 8e2c3b8b48a52f5efccff766e50d89ca1220158286f0138ec6fe0afeb81593e20d8d26328990f15eb3cdcbcd65cad21c428142dce216403e7d82c2d80bce6cfc SHA512 ccda24aa1f3e2a9cf1acf26f814f6d6261ab830691141e72c298d09967bf3e560ef4aa27d0c4ac6f3ece8525ca74f7c88a2bf1e431c750d92c55bafe49f3bd05
-AUX postinstall-en.txt 330 BLAKE2B 0ecd0fc99f5e8740e0cd26d748689aa3c1c4b693fa3e4f4ba8201d6c0d7c8966f73d9c82475e74fa80e70abefee6eb311df6f5813ee7888c468f47ab194c4960 SHA512 13affa8082e89c108dcc96257c1f4cddfdbf795514d7f81dab38ec21415ab87c4c908aa55cd475b295afba6707c40b76ed3be81c8897aef88cbd509c6c45bf4f
-AUX ttrssd.confd-r1 534 BLAKE2B d9e3258e80ae8bbf83622c9a3dd7a3b7c6367214cc8166ed819343b0837cc78d945ab90c074c7753be67759fa6a64ee92df48b10f9b5cd1c4fcf48e9ae0f7fb5 SHA512 989ae279a7f384d8870ed78e85350a64bf169d8cfc4decada3fa44820fa49385558b0ae3468404b51e8dc75d5ef48732c8e456fcd405f2b2e0892e3172003479
-AUX ttrssd.initd-r2 2383 BLAKE2B fd530ee6999d9a7dbdd72f7340a125ca5d06bd7832fa7bf29ea8d8e3cf0931e75887c45d5cc8033bf1062f87e5990d2776b45cadace6eb14415a8ec9e5fe328d SHA512 082c904db5463ce6f16cc35167283a8bb1962fb16dbafcaa168caf1c13afc9bf59d082c90c681f7649fc1d1586eb5ebbb2563014d78440c4f5254b7a7052cbaf
-AUX ttrssd.logrotated 118 BLAKE2B d6d69c3651997d066f5a8472662bafe28b8cfb1474206c9d7e77fadb05396a011588d25ba8239a955b656f6df9255f6d3c4c68f3e9f3254b3c7f5db1154f5484 SHA512 e56085ea83ec1f1c80edf253e315b7197f884972f6dea439958cdcf217c44592a9eac75cc96494136aaa5a8e1eae6304527ef2d144ba797716ca58ff16641019
-DIST tt-rss-20160527.tar.bz2 2064633 BLAKE2B 406c2ff551e2ba616a8f4696d7deaf8a3f85e4f86f0b09f57507af7f4657930f11fc0aa9df467af5ad2c56657d95e12b75bae721da4d86480b06bbbc0ab72744 SHA512 8d482303868a08f4d65ef252f71f66ec3219d4f67e968a026a0302d29930cd5af45cedea81171db2ff0927497079d3bedd8fd70e4e9904f5d9987a92a6dfcb89
-DIST tt-rss-20160930.tar.bz2 2072888 BLAKE2B e6ca0a72730cdf9a1106d7098e6a6bfc9bf35f545a67e9b569552644b23543b4168000afe2e5fbf5a1fd81371e72e570e270a77d5345bca5f22d79c1a86409b0 SHA512 d420e7efdf7d17e153ef0aa487a330379afe20fe9e9a6209de40b797d36e425cbcbdf2280eaf5ada8b9bef1ae37146253556ff602bbff22a9a7c311ff525d9e2
-EBUILD tt-rss-20160527.ebuild 2156 BLAKE2B 7f29412c230d2f629c1f3468dd67140f2aec5844a426206ff2def40d67db28f4501aa4d18aeb33f35543d7eee24b482339a2e514a5c60de92fbdb133946872a0 SHA512 5f21268c529b8980c8da26142fe85ec7e3dde38d68f3c57e832dc519436483400a51566ad9ed652b75780d925c4c7d0d7c8f938a57878c4b5e08263f21626c1f
-EBUILD tt-rss-20160930.ebuild 2156 BLAKE2B 7f29412c230d2f629c1f3468dd67140f2aec5844a426206ff2def40d67db28f4501aa4d18aeb33f35543d7eee24b482339a2e514a5c60de92fbdb133946872a0 SHA512 5f21268c529b8980c8da26142fe85ec7e3dde38d68f3c57e832dc519436483400a51566ad9ed652b75780d925c4c7d0d7c8f938a57878c4b5e08263f21626c1f
+AUX permissions 1188 BLAKE2B 9c9813f987c6e2f45f5118f8ba5093e7e68bf02f47e8dfc76eca853b2eb84b535f55379e916e90091961ac3362564d338f741637a2bf80583e594b6881fb91c7 SHA512 c7c383438911d79740f0fd6ff48d934f76fb5074c0c20a6e9da029c546c525f8405cebf987690dedce2e8f53832edbb6a111389bc25183d8c9166866638612d7
+AUX postinstall-en-with-daemon-r1.txt 539 BLAKE2B b81a0b1021b3c9a44bae9a172befc5c16a852c0fa2c6c20dc0317605ebd92fdcc9baae7ef3cd3dbade6a3722c52e1514122feeb26627a6503ffb2add4516a2e1 SHA512 2a78184ce2dd1a3feaf8ae8761378ad388cdfd7bb81f407a1c7de676bf46749adc6e374df03300a558ad0adf3ccbf886b6eda9aab49068ce63743ff124a0e386
+AUX postinstall-en.txt 55 BLAKE2B 841988e40b1e0fb6d6a0ef331d7c87448ce8722047527245ef6f3b6bf66d45a77fb2b034a257ce6f3a0d1dc076207c21a5bd9e3c489c39a3ec2a9b60530a9a06 SHA512 aac36537f3e03407df5f6baa14ee06ff148b63b7d2b2a323d26b7efd2ce91d1d1859a95fc1210559de4baabfacee27c7da4e6e72cbfadc05a1987816fc21b912
+AUX ttrssd.confd-r2 1581 BLAKE2B ce18840ddb58704abb9311d02e27cfc179bba43668b90cb358082466d55bb54acdb5806f73cb24dbc758981c477eeb6a50c472043323abaf50572f7d2eeee4b1 SHA512 15957854718a4decf7ac9784e955fc090755343008facd3d65d7e72f3e00df170215514a5435378180110c6f4584df9e5580eb45775816eb3f5c58d09e03d249
+AUX ttrssd.initd-r3 2338 BLAKE2B 6ddcb12c548ef6b34196da7539b5ec2f061db46f041912647ea2741208004d25cc7d51d88375aa06b5866a7ef44995088cc9002d625666bdaaf687733b699a8f SHA512 eb6a9824562f49d42e94522c074719720686cd2d3fb3d0ac13ce5d83fdeae6b17a5047e79e761aea084eb8ff6e6aa733d49131324f8a00406935f8e0b962764b
+AUX ttrssd.logrotated-r1 135 BLAKE2B dc653add518cd3ed5296097d51ca2346e102edcbad5ec82397713ded489e8ed8e49af928331e58b80152f13bddc37d673c67440df388651c875cfbd37ff62080 SHA512 c292020a55688c6edb4306d9d8144ad7d30be94fda08467b8bbe560c7bf02b0877d9591123a226dd030e9a9c01b79df4a3696e54fd1ece0dbdef1c285cdae97a
+DIST tt-rss-20180105.tar.gz 3070929 BLAKE2B 2370104c70f5381d690a29b216269c749bf1f7c6b925eb9499b741e5df3e686d95fce430a144946fd915414481280b67e6d0c881edcdd13aee0fa344dc0bec3f SHA512 86ceec3646629ad7fd3fde2f3c3237e48ad96bd08b46e73c34c76507d9b17613ea309e1bd5e6e85a0d9eb96029e54b54e5ee367c56aab31be3dcec9169c5ada5
+EBUILD tt-rss-20180105.ebuild 2116 BLAKE2B 420d5b05643b29abe653a53db201ac1d5bd287faf48a5ed4eb8694e183ce38fec6c36dbe77cbdbe55cdb03508e720bd3371df939dd10d0185398a2fcc3fb5838 SHA512 362544447ff951a400056ebd8a083a0d7f37dd0a6772b5b25bc46aada86d69ed6df37b6f612c8313e2b6cd4667d0e16c5cc18990730e333dbb11588d528242c9
+EBUILD tt-rss-99999999.ebuild 2163 BLAKE2B 2147dd308815ea48e4b91bb62606647d18736772068ea82e5ea52dd155e15a523c271ea1691f65459101d0df5151a2b4dd0f06af4db828ee31261c1be6094186 SHA512 15ff6fc2390ad194a7f7b26e7b448c8e9062b0ab79b9c60edd2e5edc9bf5ca6bcb275469ec7a1a0a0fba0971bf1f1a843908f373862a34644071e484be68d3b4
MISC metadata.xml 389 BLAKE2B 08c9c9d84ee77a3d5f2522a290a4ade86c3277e798683159b2bf1ac71b9134fa642f842b264d45a33e9cd482441e0cc9bf4d7c57885a96d95176f0041679177d SHA512 b110cbd05579291bcb90e8bc884d974aebf6fcb3179db2ac6d249e7636cadd457511d4f0c11b8f112a2ff88f3f23dd80beb2c59b598b0769244a5010dcd71280
diff --git a/www-apps/tt-rss/files/permissions b/www-apps/tt-rss/files/permissions
new file mode 100644
index 000000000000..a26b87f4e715
--- /dev/null
+++ b/www-apps/tt-rss/files/permissions
@@ -0,0 +1,25 @@
+#!/bin/bash -e
+
+cd "${MY_INSTALLDIR}"
+
+if [[ $1 = install ]]; then
+ # We need to lock down cache/ for the operations below to be
+ # safe. The permissions match the webapp-config defaults but these
+ # can be changed and existing installations may also differ.
+ chown root:root cache/
+ chmod 00755 cache/
+
+ chgrp --no-dereference ttrssd feed-icons/ lock/ cache/*/
+ chmod g+ws feed-icons/ lock/ cache/*/
+
+ # Files within lock/ are exclusively written by the update
+ # daemon. Files within feed-icons/ are always unlinked before
+ # modification. Only cache/ holds files that are modified in place
+ # by both processes and therefore ACLs are required to ensure that
+ # the files themselves are created as group writable.
+ if ! setfacl --modify d:g::rwX cache/*/; then
+ echo "WARNING: ACLs are not available on this filesystem. Either enable them or set TTRSSD_USER to your PHP user in /etc/conf.d/ttrssd to avoid permission issues."
+ elif [[ -n $(find cache/ -type f ! -name ".*" ! \( -group ttrssd -perm -020 \) -print -quit) ]]; then
+ echo "WARNING: Files that are not writable by the ttrssd group found within the cache directory. Either delete them or correct their permissions."
+ fi
+fi
diff --git a/www-apps/tt-rss/files/postinstall-en-with-daemon-r1.txt b/www-apps/tt-rss/files/postinstall-en-with-daemon-r1.txt
new file mode 100644
index 000000000000..8c72406d76d2
--- /dev/null
+++ b/www-apps/tt-rss/files/postinstall-en-with-daemon-r1.txt
@@ -0,0 +1,14 @@
+Please read https://tt-rss.org/wiki/InstallationNotes.
+
+Once you have configured TT-RSS, tweak /etc/conf.d/ttrssd to your
+needs if you have not already done so. If ACLs are unavailable on the
+filesystem you have just installed to then you will need to set
+TTRSSD_USER to your PHP user. When everything is ready, (re)start the
+update daemon like so:
+
+ /etc/init.d/ttrssd restart
+
+This will periodically update your feeds in the background. Add the
+daemon to your default runlevel to start it on every boot:
+
+ rc-update add ttrssd default
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 7d269d7165f2..000000000000
--- a/www-apps/tt-rss/files/postinstall-en-with-daemon.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Please read http://tt-rss.org/redmine/projects/tt-rss/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/postinstall-en.txt b/www-apps/tt-rss/files/postinstall-en.txt
index 7b4b279e5be4..67a16111f3d5 100644
--- a/www-apps/tt-rss/files/postinstall-en.txt
+++ b/www-apps/tt-rss/files/postinstall-en.txt
@@ -1,6 +1 @@
-Please read http://tt-rss.org/redmine/projects/tt-rss/wiki/InstallationNotes
-
-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.
+Please read https://tt-rss.org/wiki/InstallationNotes.
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.confd-r2 b/www-apps/tt-rss/files/ttrssd.confd-r2
new file mode 100644
index 000000000000..b169b548bb9a
--- /dev/null
+++ b/www-apps/tt-rss/files/ttrssd.confd-r2
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Space-separated paths of TT-RSS instances that you want to start the
+# update daemon for. If left empty, these will be automatically
+# detected using data from /var/db/webapps/tt-rss. Instances without
+# the update_daemon2.php script present will be skipped.
+#
+# Default:
+# INSTANCE_DIRS=""
+# Example:
+# INSTANCE_DIRS="/some/webhost/htdocs/tt-rss /some/otherwebhost/htdocs/newsreader"
+#
+INSTANCE_DIRS=""
+
+# Path to the log files. One log file will be created for each TT-RSS
+# instance. Update the logrotate file after changing this.
+#
+# Default:
+# LOG_DIR="/var/log/ttrssd"
+#
+LOG_DIR="/var/log/ttrssd"
+
+# User to run the update daemon as. You should not run this as
+# root. If ACLs are unavailable on the filesystem used by the TT-RSS
+# instances then choosing the same user that serves the PHP web
+# interface is recommended to avoid permission issues. You *must* add
+# this user to the ttrssd group. If the PHP user is not the same as
+# the web server user (e.g. apache or nginx) then this user must be
+# added to the ttrssd group too.
+#
+# Default:
+# TTRSSD_USER="ttrssd"
+#
+TTRSSD_USER="ttrssd"
+
+# Additional options to pass to the update daemon. If you want to pass
+# different options to different TT-RSS instances then create symlinks
+# of the ttrssd init.d script (e.g. ttrssd.foo, ttrssd.bar) and
+# configure INSTANCE_DIRS and TTRSSD_OPTS for each of these.
+#
+# Default:
+# TTRSSD_OPTS=""
+# Example:
+# TTRSSD_OPTS="--tasks=1 --interval=300"
+#
+TTRSSD_OPTS=""
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.initd-r3 b/www-apps/tt-rss/files/ttrssd.initd-r3
new file mode 100644
index 000000000000..a6f3b8a78ef1
--- /dev/null
+++ b/www-apps/tt-rss/files/ttrssd.initd-r3
@@ -0,0 +1,88 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+ after postgresql mysql
+}
+
+PID_DIR="/run/ttrssd"
+LOG_DIR=${LOG_DIR:-"/var/log/ttrssd"}
+TTRSSD_USER=${TTRSSD_USER:-"ttrssd"}
+
+setup() {
+ mkdir -p "${PID_DIR}" "${LOG_DIR}" || return 1
+ chown "${TTRSSD_USER}":ttrssd "${LOG_DIR}" || return 1
+}
+
+list_instance_dirs() {
+ if [ -z "${INSTANCE_DIRS}" ]; then
+ cut -d" " -f4 /var/db/webapps/tt-rss/*/installs 2>/dev/null
+ else
+ printf "%s\n" ${INSTANCE_DIRS}
+ fi
+}
+
+instance_dir_to_name() {
+ local name=${1#/}
+ echo ${name//\//--}
+}
+
+start() {
+ setup || return 1
+ local instance_dir instance_name ret=1
+
+ IFS=$'\n'
+ for instance_dir in $(list_instance_dirs); do
+ if [ -d "${instance_dir}" ]; then
+ if [ ! -f "${instance_dir}"/update_daemon2.php ]; then
+ ewarn "TT-RSS instance in ${instance_dir} has no update_daemon2.php script"
+ elif [ ! -f "${instance_dir}"/config.php ]; then
+ eerror "TT-RSS instance in ${instance_dir} is not configured"
+ else
+ instance_name=$(instance_dir_to_name "${instance_dir}")
+ ebegin "Starting TT-RSS update daemon in ${instance_dir}"
+ start-stop-daemon --start --user "${TTRSSD_USER}":ttrssd \
+ --background --wait 2000 \
+ --stdout "${LOG_DIR}/${instance_name}.log" \
+ --stderr "${LOG_DIR}/${instance_name}.log" \
+ --make-pidfile --pidfile "${PID_DIR}/${instance_name}.pid" \
+ --exec /usr/bin/php -- -f "${instance_dir}"/update_daemon2.php \
+ -- ${TTRSSD_OPTS}
+ eend $? && ret=0
+ fi
+ else
+ eerror "TT-RSS instance in ${instance_dir} is missing"
+ fi
+ done
+ unset IFS
+
+ # Succeed if at least one started.
+ return ${ret}
+}
+
+stop() {
+ local instance_dir instance_name
+
+ IFS=$'\n'
+ for instance_dir in $(list_instance_dirs); do
+ instance_name=$(instance_dir_to_name "${instance_dir}")
+
+ [ -f "${PID_DIR}/${instance_name}.pid" ] ||
+ [ -f "${instance_dir}"/update_daemon2.php ] ||
+ continue
+
+ ebegin "Stopping TT-RSS update daemon in ${instance_dir}"
+ start-stop-daemon --stop --retry 5 --pidfile "${PID_DIR}/${instance_name}.pid" \
+ --exec /usr/bin/php -- -f "${instance_dir}"/update_daemon2.php \
+ -- ${TTRSSD_OPTS}
+ eend $?
+
+ rm -f "${instance_dir}"/lock/*.lock
+ done
+ unset IFS
+
+ # Always succeed.
+ return 0
+}
diff --git a/www-apps/tt-rss/files/ttrssd.logrotated b/www-apps/tt-rss/files/ttrssd.logrotated-r1
index 9616a98c3029..c2bf08f75619 100644
--- a/www-apps/tt-rss/files/ttrssd.logrotated
+++ b/www-apps/tt-rss/files/ttrssd.logrotated-r1
@@ -1,5 +1,6 @@
-/var/log/ttrssd.log {
+/var/log/ttrssd/*.log {
daily
+ delaycompress
missingok
notifempty
postrotate
diff --git a/www-apps/tt-rss/tt-rss-20160527.ebuild b/www-apps/tt-rss/tt-rss-20160527.ebuild
deleted file mode 100644
index 5803aae4ddba..000000000000
--- a/www-apps/tt-rss/tt-rss-20160527.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit user eutils webapp vcs-snapshot
-
-DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX"
-HOMEPAGE="http://tt-rss.org/"
-SRC_URI="https://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-KEYWORDS="~amd64 ~mips ~x86"
-IUSE="daemon +mysqli postgres"
-
-DEPEND="
- daemon? ( dev-lang/php:*[mysqli?,postgres?,pcntl,curl] )
- !daemon? ( dev-lang/php:*[mysqli?,postgres?,curl] )
- virtual/httpd-php:*
-"
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="|| ( mysqli postgres )"
-
-need_httpd_cgi # From webapp.eclass
-
-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 mysqli && ! 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."
- webapp_pkg_postinst
-}
diff --git a/www-apps/tt-rss/tt-rss-20160930.ebuild b/www-apps/tt-rss/tt-rss-20160930.ebuild
deleted file mode 100644
index 5803aae4ddba..000000000000
--- a/www-apps/tt-rss/tt-rss-20160930.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit user eutils webapp vcs-snapshot
-
-DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX"
-HOMEPAGE="http://tt-rss.org/"
-SRC_URI="https://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-KEYWORDS="~amd64 ~mips ~x86"
-IUSE="daemon +mysqli postgres"
-
-DEPEND="
- daemon? ( dev-lang/php:*[mysqli?,postgres?,pcntl,curl] )
- !daemon? ( dev-lang/php:*[mysqli?,postgres?,curl] )
- virtual/httpd-php:*
-"
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="|| ( mysqli postgres )"
-
-need_httpd_cgi # From webapp.eclass
-
-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 mysqli && ! 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."
- webapp_pkg_postinst
-}
diff --git a/www-apps/tt-rss/tt-rss-20180105.ebuild b/www-apps/tt-rss/tt-rss-20180105.ebuild
new file mode 100644
index 000000000000..9affdac7e139
--- /dev/null
+++ b/www-apps/tt-rss/tt-rss-20180105.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit prefix user webapp
+
+COMMIT="c30f5e18119d1935e8fe6d422053b127e8f4f1b3"
+DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX"
+HOMEPAGE="https://tt-rss.org/"
+SRC_URI="https://git.tt-rss.org/git/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~arm ~mips ~x86"
+IUSE="+acl daemon +mysqli postgres"
+REQUIRED_USE="|| ( mysqli postgres )"
+
+DEPEND="daemon? ( acl? ( sys-apps/acl ) )"
+
+RDEPEND="${DEPEND}
+ daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,cli,pcntl,pdo] )
+ !daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,pdo] )
+ virtual/httpd-php:*"
+
+DEPEND="!vhosts? ( ${DEPEND} )"
+
+need_httpd_cgi # From webapp.eclass
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ if use daemon; then
+ enewgroup ttrssd
+ enewuser ttrssd -1 /bin/sh /dev/null ttrssd
+ fi
+}
+
+src_configure() {
+ hprefixify config.php-dist
+
+ sed -i -r \
+ -e "/'DB_TYPE'/s:,.*:, '$(usex mysqli mysql pgsql)'); // mysql or pgsql:" \
+ -e "/'CHECK_FOR_UPDATES'/s/true/false/" \
+ config.php-dist || die
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r *
+
+ # When updating, grep the plugins directory for additional CACHE_DIR
+ # instances as they cannot be created later due to permissions.
+ dodir "${MY_HTDOCSDIR}"/cache/starred-images
+
+ local dir
+ for dir in "${ED}${MY_HTDOCSDIR}"/{cache/*,feed-icons,lock}/; do
+ webapp_serverowned "${dir#${ED}}"
+ done
+
+ if use daemon; then
+ webapp_hook_script "${FILESDIR}"/permissions
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-with-daemon-r1.txt
+
+ newinitd "${FILESDIR}"/ttrssd.initd-r3 ttrssd
+ newconfd "${FILESDIR}"/ttrssd.confd-r2 ttrssd
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/ttrssd.logrotated-r1 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-dist into config.php manually when upgrading."
+ webapp_pkg_postinst
+}
diff --git a/www-apps/tt-rss/tt-rss-99999999.ebuild b/www-apps/tt-rss/tt-rss-99999999.ebuild
new file mode 100644
index 000000000000..b611aa54bd70
--- /dev/null
+++ b/www-apps/tt-rss/tt-rss-99999999.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3 prefix user webapp
+
+DESCRIPTION="Tiny Tiny RSS - A web-based news feed (RSS/Atom) aggregator using AJAX"
+HOMEPAGE="https://tt-rss.org/"
+EGIT_REPO_URI="https://git.tt-rss.org/git/${PN}.git"
+LICENSE="GPL-3"
+SLOT="${PV}" # Single live slot.
+IUSE="+acl daemon +mysqli postgres"
+REQUIRED_USE="|| ( mysqli postgres )"
+
+DEPEND="daemon? ( acl? ( sys-apps/acl ) )"
+
+RDEPEND="${DEPEND}
+ daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,cli,pcntl,pdo] )
+ !daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,pdo] )
+ virtual/httpd-php:*"
+
+DEPEND="!vhosts? ( ${DEPEND} )"
+
+need_httpd_cgi # From webapp.eclass
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ if use daemon; then
+ enewgroup ttrssd
+ enewuser ttrssd -1 /bin/sh /dev/null ttrssd
+ fi
+}
+
+src_configure() {
+ hprefixify config.php-dist
+
+ sed -i -r \
+ -e "/'DB_TYPE'/s:,.*:, '$(usex mysqli mysql pgsql)'); // mysql or pgsql:" \
+ config.php-dist || die
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r *
+
+ # When updating, grep the plugins directory for additional CACHE_DIR
+ # instances as they cannot be created later due to permissions.
+ dodir "${MY_HTDOCSDIR}"/cache/starred-images
+
+ local dir
+ for dir in "${ED}${MY_HTDOCSDIR}"/{cache/*,feed-icons,lock}/; do
+ webapp_serverowned "${dir#${ED}}"
+ done
+
+ if use daemon; then
+ webapp_hook_script "${FILESDIR}"/permissions
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-with-daemon-r1.txt
+
+ newinitd "${FILESDIR}"/ttrssd.initd-r3 ttrssd
+ newconfd "${FILESDIR}"/ttrssd.confd-r2 ttrssd
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/ttrssd.logrotated-r1 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-dist into config.php manually when upgrading."
+
+ if use vhosts && [[ -n ${REPLACING_VERSIONS} ]]; then
+ elog
+ elog "The live ebuild does not automatically upgrade your installations so"
+ elog "don't forget to do so manually."
+ fi
+
+ webapp_pkg_postinst
+}
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
index 9ff13d1af286..820145d4e352 100644
--- a/www-apps/wordpress/Manifest
+++ b/www-apps/wordpress/Manifest
@@ -2,8 +2,10 @@ AUX postinstall-en.txt 1554 BLAKE2B 0a6e291b6d590e03fe4702a9e01f88a59fc4d820f95b
AUX postupgrade-en.txt 1653 BLAKE2B cf2e403046ff8646b7dfffaec7c267633fa735f1be7448f76c9bfeefb2372c169453123db169d70bf871dc4c1ee1a239aeb17a25a1de582b23b38a7d589fd1c2 SHA512 3fa8b143a4cd8e23798423427ec31174947eeccfdbc5611dca3b32e02484f68602713dd75c3153db344de4151de1924fbaa6807e360fddeda79fa0dc70005913
DIST wordpress-4.8.3.tar.gz 8184961 BLAKE2B 47e6195c44dd203cdfeadae0a8427f1d231f3cc3ef4487b4f9e9fb8662169f3b592caca23e1139dcf8bfd8334e451de8eafd4aa27be4b681dc4613f0857bdd05 SHA512 696be1c24dec869d896e22b408b17009e8c482545237156f17d4b5f2d726876a17c3cc5c3de632126229747589d74f7b188c06d2a79878efc800bd6db273d709
DIST wordpress-4.9.1.tar.gz 9638827 BLAKE2B fb80f5b41df3abb9e28ab492c645c368b1f62b46ba78fc255b4eaa77e54d7801c51f85bdded809cce27027592ca0ccda0a88d8ff67afc0ad5183dd510d9f5d96 SHA512 1835d8fd0df9931487489d2e67285e7c73ec1783df39621cfbfe52aa8a0b3cba05fd3b842c7fd67ab2b76009f33337dae650f22dd6a3c4aa71eae100541b8a58
+DIST wordpress-4.9.2.tar.gz 8807744 BLAKE2B 88c2c9decde312600548e03a14e3721dc82a3a57e59910f9ad85a323beb4ac8faba7de48f46bbc43c78e6862fb93c181b5b6bb690142f5e897c84dd621c9e58f SHA512 013d49b7a7d478888937e1acb49b6543b820c8d1c5b5a3bd86f9629d44640a4c399e84b2604a359c26986bc0e29836094c8444e152c4aa5bcffe9f7a4620f731
DIST wordpress-4.9.tar.gz 9638753 BLAKE2B 98df805843f8f48c8678205e7fbdd5fa4d223ce0b772c02ff52d5f5d21559ae56f33023dd3881bdea244c46f8ae6c5ca31a7d6b0da75661d616f67d28253a673 SHA512 b7898730d42839406b9270b945c687e80bc1025dcf23dfa1455576f0fc9dffb3b8c082b6fc6d1b6915791ce33c7327c8ce28bbf2beafdc7154ab0e29660c4cc7
EBUILD wordpress-4.8.3.ebuild 1263 BLAKE2B be5742a77197835f9f1492732ca24bc4db29fa9fcfe4d5c756f6e2732b5457e2e88c6b0606fcb5b887e5b43488a04510996808da9fc6857b86017695d6cb9595 SHA512 2f4e9d8aa679e09cee89af28ca894df07339663cf0dc47b9ffaac558d95635b52d5c57d08c6eaa49a587f3a323c4de1294cee4dfa62058f2a77ad329039fdc39
EBUILD wordpress-4.9.1.ebuild 1263 BLAKE2B be5742a77197835f9f1492732ca24bc4db29fa9fcfe4d5c756f6e2732b5457e2e88c6b0606fcb5b887e5b43488a04510996808da9fc6857b86017695d6cb9595 SHA512 2f4e9d8aa679e09cee89af28ca894df07339663cf0dc47b9ffaac558d95635b52d5c57d08c6eaa49a587f3a323c4de1294cee4dfa62058f2a77ad329039fdc39
+EBUILD wordpress-4.9.2.ebuild 1263 BLAKE2B 8dd8a3be63b647649417f0ad97f5c31039ddec6c200cb34679cebc74bcf35ba6c79a568e2d3f3a1e3a3f5abc2799b1ccb99f3f8eef88d6e9821b952794d40583 SHA512 9026b3ea5f9f341cd2c7cb531ed546b8e87c0520a9bc8e5207db83fb1457b220d7a62d3b46bbd9cf56f990f62965e20ab4f29f2e1cc9a4b4e0e61b880d2ad2c7
EBUILD wordpress-4.9.ebuild 1263 BLAKE2B be5742a77197835f9f1492732ca24bc4db29fa9fcfe4d5c756f6e2732b5457e2e88c6b0606fcb5b887e5b43488a04510996808da9fc6857b86017695d6cb9595 SHA512 2f4e9d8aa679e09cee89af28ca894df07339663cf0dc47b9ffaac558d95635b52d5c57d08c6eaa49a587f3a323c4de1294cee4dfa62058f2a77ad329039fdc39
MISC metadata.xml 392 BLAKE2B 736fb06bba21342a9cdd29ce815b1325098bc11798675534a4d299bcbaeb29f46d1eab8bebd90e2539187e82294510d06827ac068611797ad441e7c024bee6b8 SHA512 f63f0ac7c836f4f8c21d69b021d6e4d6f4257f80fd1995f180509379c7ab82028a89d1be22a381e36aad34b21d94e29c2471b48d6b31dd1a634150991e7b6c33
diff --git a/www-apps/wordpress/wordpress-4.9.2.ebuild b/www-apps/wordpress/wordpress-4.9.2.ebuild
new file mode 100644
index 000000000000..19231ee76d17
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.9.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp
+
+DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
+HOMEPAGE="https://wordpress.org/"
+SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="virtual/httpd-php
+ || ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
+
+S=${WORKDIR}/${PN}
+
+need_httpd_cgi
+
+IUSE="+akismet examples +themes vhosts"
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc readme.html
+ rm readme.html license.txt || die
+
+ if ! use akismet ; then
+ rm -R wp-content/plugins/akismet/ || die
+ fi
+ if ! use examples ; then
+ rm wp-content/plugins/hello.php || die
+ fi
+ if ! use themes ; then
+ rm -R wp-content/themes/*/ || die
+ fi
+
+ [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/index.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
+ webapp_serverowned "${MY_HTDOCSDIR}"
+
+ webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
+
+ webapp_src_install
+}