summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /www-apps
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/Manifest.gzbin11423 -> 11428 bytes
-rw-r--r--www-apps/ikiwiki/Manifest4
-rw-r--r--www-apps/ikiwiki/ikiwiki-3.20170111.ebuild111
-rw-r--r--www-apps/ikiwiki/ikiwiki-3.20171001.ebuild111
-rw-r--r--www-apps/mediawiki/Manifest4
-rw-r--r--www-apps/mediawiki/mediawiki-1.34.4.ebuild86
-rw-r--r--www-apps/mediawiki/mediawiki-1.35.0.ebuild86
-rw-r--r--www-apps/tt-rss/Manifest8
-rw-r--r--www-apps/tt-rss/tt-rss-20180105.ebuild84
-rw-r--r--www-apps/tt-rss/tt-rss-20200922.ebuild (renamed from www-apps/tt-rss/tt-rss-20190523.ebuild)49
-rw-r--r--www-apps/tt-rss/tt-rss-99999999.ebuild48
-rw-r--r--www-apps/webdavcgi/Manifest11
-rw-r--r--www-apps/webdavcgi/files/0.8.3-logout-var-expansion.patch21
-rw-r--r--www-apps/webdavcgi/files/apache-webdavcgi-0.8-example.conf59
-rw-r--r--www-apps/webdavcgi/files/postinstall-en.txt29
-rw-r--r--www-apps/webdavcgi/files/postinstall-webdavwrapper-en.txt32
-rw-r--r--www-apps/webdavcgi/files/reconfig32
-rw-r--r--www-apps/webdavcgi/files/reconfig-suid26
-rw-r--r--www-apps/webdavcgi/files/webdav-0.8.conf88
-rw-r--r--www-apps/webdavcgi/webdavcgi-0.8.3.ebuild107
-rw-r--r--www-apps/webdavcgi/webdavcgi-0.8.4.ebuild163
21 files changed, 231 insertions, 928 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz
index e440ce0bcef1..f043616ad9df 100644
--- a/www-apps/Manifest.gz
+++ b/www-apps/Manifest.gz
Binary files differ
diff --git a/www-apps/ikiwiki/Manifest b/www-apps/ikiwiki/Manifest
index ece7d1620c9f..68104a8fa7dd 100644
--- a/www-apps/ikiwiki/Manifest
+++ b/www-apps/ikiwiki/Manifest
@@ -1,7 +1,3 @@
-DIST ikiwiki_3.20170111.tar.xz 2614240 BLAKE2B b37d2e9095b38b2642bd4f2bd6114a8b313837bd409abd5c111d61a9abd2e65cc534e7efbcfdb72b148a567cc6391e576d61daf530c62b5e14269f2f25bbabf8 SHA512 78c2a624684bb1c34878ff008558a3967f6e7f5648878e931961695e582a40e4351b6e467c64ca42ba99cb403fd275265bd5d96ecd860ad8263043514d207ad4
-DIST ikiwiki_3.20171001.tar.xz 2638780 BLAKE2B 537008233f4c9612b3d1236eb15fe85a76a1bbbd1db9648197c032ec83c79ee3810dbd44f0a99576ac30e34e049662a1ae6525707cd1c786cc11081692ec57f7 SHA512 1f5c5a48aa95e6e3898fdb40826f90d554ff328c367133e69a2a2da4c9286e0e54ba2f2dcd57ff452fa3105c92b4d72297d771688661fb8ecf22b7a0cf78bd97
DIST ikiwiki_3.20190228.orig.tar.xz 2672244 BLAKE2B 43012fc14f08c491ebe382e20953b8b01e10c390c28da0184b4e45a1435ada00b1ad6ac61f28c56ba1edb2e22dca1ab1f32eb77fc8d6133b899a26023593d3bd SHA512 125147d83dae6166b45541ed9176398ba4bd22ef3389d3efb3f442e558e326e0b004583d29aa32ed4bfca489c9d55b4232f074aab5fa649e51d9edd103685172
-EBUILD ikiwiki-3.20170111.ebuild 2110 BLAKE2B ce8f7ff4fafce2203fa7a757d1bc753ef17523a334960d8bdcf449ee981c365f61bb30c99eab1578692527e6e9b32a152286e3f91d50f1ae024dd09f48857235 SHA512 86030570777dee6ac123e63a74522147072a0cb56a84bffcdcb6385168a6aed7dab12e0ab9e38f4a9c41b486d004786ab3834347bd861f51dc3618f178c48a0d
-EBUILD ikiwiki-3.20171001.ebuild 2111 BLAKE2B 5e961d6859a13084a896f7396195f53854ba69a559da5cfbfa370508e14be88854061404074fc8bd8e121bd457d98303193913a8aba6c0187c38c63a71d98c28 SHA512 ea8f2bd0d510a9d14527935d6ed7ea2b9d2bfd01c1b36d7219109b0d015b77a28cfe79cdd539d48d390133b06f3a1af8d0394b38d7d0a429af24f25ee0348e46
EBUILD ikiwiki-3.20190228.ebuild 2117 BLAKE2B a44fcc2746c47223ee18c89428b50a1d8b7bee41e705f537267ecf0eb2629b69b52669d44dae84dab6bdf595fcf7525663cdb634259af54a3b19b2f4234f724c SHA512 d8c4303b053547ad028bd1ed25f471cfa0863bdda2b6edf4aa017c6d6c2ff9c34408b558ae99741fd9051bd519f2d0824f130fdd24ed0076e8d8f32011dd9d9e
MISC metadata.xml 336 BLAKE2B 659eb5913c4c6c05924f811fac31deea3cea40dd30b32b498ea5b55341f20cf9405065dfdf5d19e82f8ba93ff3ec4d5c5adbedfa51271d6762cff10c4a5088f4 SHA512 7d31f6078d1d49aef54bd46c5e8005d4247eb1cadfd4fdec36592deef15c4450a213d29c353dd43255a10918c2146c335efdbf7b626da2cd4ea98f815e0c5141
diff --git a/www-apps/ikiwiki/ikiwiki-3.20170111.ebuild b/www-apps/ikiwiki/ikiwiki-3.20170111.ebuild
deleted file mode 100644
index b829c1877e1b..000000000000
--- a/www-apps/ikiwiki/ikiwiki-3.20170111.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module
-
-DESCRIPTION="A wiki compiler"
-HOMEPAGE="http://ikiwiki.info/"
-SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="extras minimal test"
-RESTRICT="!test? ( test )"
-KEYWORDS="amd64 ~x86"
-
-S=${WORKDIR}/${PN}-${PV}
-
-#Authen::Passphrase
-#Search::Xapian
-#Locale::gettext
-#Crypt::SSLeay
-#Text::CSV
-#Text::Typography
-#Text::Textile
-#Text::WikiFormat
-#Net::Amazon::S3
-
-EXTRA_RDEPEND="
- dev-python/docutils
- dev-perl/Digest-SHA1
- dev-perl/File-MimeInfo
- dev-perl/RPC-XML
- dev-perl/XML-Feed
- dev-perl/LWPx-ParanoidAgent
- dev-perl/Net-OpenID-Consumer
-"
-
-SUGGESTED_RDEPEND="
- dev-perl/CGI
- >=dev-perl/CGI-FormBuilder-3.0202
- >=dev-perl/CGI-Session-4.14
- dev-perl/Mail-Sendmail
- dev-perl/Term-ReadLine-Gnu
- dev-perl/XML-Simple
- media-gfx/imagemagick[perl]
-"
-
-TEST_DEPEND="
- dev-perl/File-chdir
- dev-perl/File-ReadBackwards
- dev-perl/File-MimeInfo
- dev-perl/HTML-LinkExtractor
- dev-perl/HTML-Tree
- dev-perl/Net-OpenID-Consumer
- dev-perl/RPC-XML
- dev-perl/XML-Feed
- dev-perl/XML-Twig
- dev-vcs/cvs[server]
- dev-vcs/cvsps"
-
-DEPEND="
- >=dev-lang/perl-5.10
- app-text/po4a
- dev-perl/HTML-Parser
- dev-perl/HTML-Scrubber
- dev-perl/HTML-Template
- dev-perl/URI
- dev-perl/Text-Markdown
- dev-perl/TimeDate
- dev-perl/YAML-LibYAML
-"
-
-RDEPEND="${DEPEND}
- !minimal? (
- ${SUGGESTED_RDEPEND}
- extras? (
- ${EXTRA_RDEPEND}
- )
- )
-"
-
-DEPEND="${DEPEND}
- test? ( ${TEST_DEPEND} )"
-
-SRC_TEST=do
-
-src_prepare() {
- #bug 498444 /usr/lib/plan9/lib/fortunes.index
- addpredict "/usr/lib/plan9/lib/fortunes"
-
- sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \
- "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die
-# if use w3m ; then
- sed -i 's,lib/w3m,libexec/w3m,' "${S}"/Makefile.PL || die
-# else
-# sed -i '/w3m/d' "${S}"/Makefile.PL || die
-# fi
-}
-
-src_install() {
- emake DESTDIR="${D}" pure_install
- insinto /etc/ikiwiki
- doins wikilist
-
- #insinto /usr/share/doc/${PF}/examples
- #doins -r doc/examples/*
- dohtml -r -A setup html/*
- dodoc debian/{NEWS,changelog}
-}
diff --git a/www-apps/ikiwiki/ikiwiki-3.20171001.ebuild b/www-apps/ikiwiki/ikiwiki-3.20171001.ebuild
deleted file mode 100644
index 6240b30623dc..000000000000
--- a/www-apps/ikiwiki/ikiwiki-3.20171001.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module
-
-DESCRIPTION="A wiki compiler"
-HOMEPAGE="http://ikiwiki.info/"
-SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="extras minimal test"
-RESTRICT="!test? ( test )"
-KEYWORDS="~amd64 ~x86"
-
-S=${WORKDIR}/${PN}-${PV}
-
-#Authen::Passphrase
-#Search::Xapian
-#Locale::gettext
-#Crypt::SSLeay
-#Text::CSV
-#Text::Typography
-#Text::Textile
-#Text::WikiFormat
-#Net::Amazon::S3
-
-EXTRA_RDEPEND="
- dev-python/docutils
- dev-perl/Digest-SHA1
- dev-perl/File-MimeInfo
- dev-perl/RPC-XML
- dev-perl/XML-Feed
- dev-perl/LWPx-ParanoidAgent
- dev-perl/Net-OpenID-Consumer
-"
-
-SUGGESTED_RDEPEND="
- dev-perl/CGI
- >=dev-perl/CGI-FormBuilder-3.0202
- >=dev-perl/CGI-Session-4.14
- dev-perl/Mail-Sendmail
- dev-perl/Term-ReadLine-Gnu
- dev-perl/XML-Simple
- media-gfx/imagemagick[perl]
-"
-
-TEST_DEPEND="
- dev-perl/File-chdir
- dev-perl/File-ReadBackwards
- dev-perl/File-MimeInfo
- dev-perl/HTML-LinkExtractor
- dev-perl/HTML-Tree
- dev-perl/Net-OpenID-Consumer
- dev-perl/RPC-XML
- dev-perl/XML-Feed
- dev-perl/XML-Twig
- dev-vcs/cvs[server]
- dev-vcs/cvsps"
-
-DEPEND="
- >=dev-lang/perl-5.10
- app-text/po4a
- dev-perl/HTML-Parser
- dev-perl/HTML-Scrubber
- dev-perl/HTML-Template
- dev-perl/URI
- dev-perl/Text-Markdown
- dev-perl/TimeDate
- dev-perl/YAML-LibYAML
-"
-
-RDEPEND="${DEPEND}
- !minimal? (
- ${SUGGESTED_RDEPEND}
- extras? (
- ${EXTRA_RDEPEND}
- )
- )
-"
-
-DEPEND="${DEPEND}
- test? ( ${TEST_DEPEND} )"
-
-SRC_TEST=do
-
-src_prepare() {
- #bug 498444 /usr/lib/plan9/lib/fortunes.index
- addpredict "/usr/lib/plan9/lib/fortunes"
-
- sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \
- "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die
-# if use w3m ; then
- sed -i 's,lib/w3m,libexec/w3m,' "${S}"/Makefile.PL || die
-# else
-# sed -i '/w3m/d' "${S}"/Makefile.PL || die
-# fi
-}
-
-src_install() {
- emake DESTDIR="${D}" pure_install
- insinto /etc/ikiwiki
- doins wikilist
-
- #insinto /usr/share/doc/${PF}/examples
- #doins -r doc/examples/*
- dohtml -r -A setup html/*
- dodoc debian/{NEWS,changelog}
-}
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
index 0169f99cfff6..bc6e1204acaa 100644
--- a/www-apps/mediawiki/Manifest
+++ b/www-apps/mediawiki/Manifest
@@ -1,5 +1,9 @@
AUX postinstall-1.18-en.txt 2611 BLAKE2B c4d110d0d7c3fc270b0dc7f134cf7de8f2ca4595692ac146c2e4cd1c3647e7399d44249059496960ae94490c5b188c986dab64d4b90901bd7fc44203493532a0 SHA512 2b6a0e00160c15466bf70189499816d18a5ea06f040ed79f2361842be93a584ea19033170dc59c1d78c590da85223a61b8d04730084e60bc7906648f2532578b
AUX postupgrade-1.16-en.txt 1519 BLAKE2B 39cf00073c5d12e04dd69126c7671acb5876bcdd592526d6aca475b98f9ed7abcb6d2691cef8642be04d8041fcbdaee0555937f1480f71a82c3f367f2a3d99b6 SHA512 495a2ea3074e96e570ed83e557691786524aea878fa6ee489080245a9bb1669d93e318c3871ce44918225d0e64d09e1e644538627bfb35a4a2a12d27365dc89d
DIST mediawiki-1.34.2.tar.gz 40721102 BLAKE2B fbf7e8a19cd51e1dd3eab85442ce4e65ee9591bb4d2c6faa93ecbfc43e0b6cf88501a0027a7ba0f1adb55d9946de9958abcb14f9fb95b826ba674f1aa8306553 SHA512 ea95b46b746c0c180b5cb3b8a2263a2f94207eadbb1638c2113e97b1503c3f0a4d82a2107ce4cabca4790512b81564bda49defe30ac0fdb9bddf3230d6201f8b
+DIST mediawiki-1.34.4.tar.gz 40739239 BLAKE2B a8f413c0797daa549891ea6909cfc65a51b8f7d5aec87a82aba4c4395b6d960eb1fe41e432610d28b74a9e4ae716e71f15522ef86d1a17c896a45c4851ab8044 SHA512 0caa85c00bce4640710aba865bb17674ff3efa8413c5fb2139f6c570c303c585046fa88bd6552061532e88b221505a45e8d836bbeba2da2ac0162901749353f9
+DIST mediawiki-1.35.0.tar.gz 48039474 BLAKE2B 54d4e5edd4d7531815840d180a92bdaf008e28df3ea9ad26ba27673e4c6f904f5643c0ff333efd5a7e03512b54514c9eb74c5ed1774ef7f4085dbc50dcf42f4d SHA512 0d3d5b464abc2fdea2aa798bdf7fc53d5269852d9ed3f787710528505bbccfed2796b0e2459f5776929f3f0f207a145ae4a8f13e3040322e22d59481a71cfcde
EBUILD mediawiki-1.34.2.ebuild 2547 BLAKE2B 671e90fbf8be26c4c3817e112a1c34dee51712cf44d2e35a27b20ef4b58c10014e6f0d8a22625ee6a9ca5d0637325444c90b80abd775418b86a96cccd84969e5 SHA512 39687dd0c3e6a03a13cac0d7343c1e261266b6ff5b9c9ad710d7fed2e1e853923fcc7ff038dbfa1735592bfaf0074bc5cca5ecaeac6dbfc06e0bfdd3df11c67e
+EBUILD mediawiki-1.34.4.ebuild 2550 BLAKE2B b82bf5e2217daf3aa52d5e851e21e599b05d90b0e76564b5ac9648e8e4815d5e22315f62398d6ca6cecdd9e838efebdb8195883383a1a8006f5d18b3c009ec5a SHA512 5f593fce677c7a31f6ff9e60fad0be8a93bf6eda16fc6eed080a1063591822b94522b72c9992cd3bc5b8e2f767a5a439c8b3610935368e9a4e9b824e79fc9222
+EBUILD mediawiki-1.35.0.ebuild 2562 BLAKE2B 5405b7d9ebe10daf85e6ba1468e869b89c998b54c3652064095c0fd54c33d16d32e8a29ba5667c9629eea0e9e1ca086c7fe121a4eeff4e64b7684be2852d47ba SHA512 a3b3995a0844d6fc8466a5f257efa321d9c7b681d2df3ffa6f420a244d41908b6557aa9ed64e3820e7f9c0e822b69f7af88a72fe7b492624fae1faf99bb17a44
MISC metadata.xml 246 BLAKE2B 6bdcea4d16a06756a1ab24fb076af6d88134c134f9239e658b7e5facb8cf6ed2f30d98938fd92bc8a3690e54273fd7f72420ccab04e7a6f7319e257a9f9ed618 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed
diff --git a/www-apps/mediawiki/mediawiki-1.34.4.ebuild b/www-apps/mediawiki/mediawiki-1.34.4.ebuild
new file mode 100644
index 000000000000..32020160a1b1
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.34.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit webapp
+
+MY_BRANCH=$(ver_cut 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+RDEPEND="dev-lang/php[ctype,fileinfo,iconv,json,postgres?,session,ssl,unicode,xml,xmlreader]
+ imagemagick? ( virtual/imagemagick-tools )
+ !imagemagick? ( dev-lang/php[gd] )
+ mysql? ( dev-lang/php[mysql,mysqli] )
+ sqlite? (
+ dev-db/sqlite[fts3(+)]
+ dev-lang/php[pdo,sqlite]
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_unpack() {
+ default
+
+ # remove lua binaries (bug #631554)
+ rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto databases
+ dodoc docs/databases/*
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.35.0.ebuild b/www-apps/mediawiki/mediawiki-1.35.0.ebuild
new file mode 100644
index 000000000000..8eaf0489dbea
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.35.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit webapp
+
+MY_BRANCH=$(ver_cut 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="imagemagick mysql postgres +sqlite"
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+RDEPEND=">=dev-lang/php-7.3.19[ctype,fileinfo,iconv,json,postgres?,session,ssl,unicode,xml,xmlreader]
+ imagemagick? ( virtual/imagemagick-tools )
+ !imagemagick? ( dev-lang/php[gd] )
+ mysql? ( dev-lang/php[mysql,mysqli] )
+ sqlite? (
+ dev-db/sqlite[fts3(+)]
+ dev-lang/php[pdo,sqlite]
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_unpack() {
+ default
+
+ # remove lua binaries (bug #631554)
+ rm -fr "${S}"/extensions/Scribunto/includes/engines/LuaStandalone/binaries || die "Failed to remove lua binaries"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README.md RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto databases
+ dodoc docs/databases/*
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/tt-rss/Manifest b/www-apps/tt-rss/Manifest
index 10c3ab3b19e2..aae941f6f671 100644
--- a/www-apps/tt-rss/Manifest
+++ b/www-apps/tt-rss/Manifest
@@ -4,9 +4,7 @@ AUX postinstall-en.txt 55 BLAKE2B 841988e40b1e0fb6d6a0ef331d7c87448ce87220475272
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
-DIST tt-rss-20190523.tar.gz 3336985 BLAKE2B 9f37c676b6ca263b09685ae66c4183b4b1fed2e37c2fb361aeeb15f877916967ebdb272fb60ce554c8a7596f74de7713ca2ff6c70bf1ae8a669da2bd702607e9 SHA512 22fbed0199503ecf3728ed4c2e199bbd9fc617b83ec3a09d80352512460ab9cf46abfe840143e62c747743975d2e5b9c9ce0bfb8498b8c6187ae567552a49213
-EBUILD tt-rss-20180105.ebuild 2116 BLAKE2B 420d5b05643b29abe653a53db201ac1d5bd287faf48a5ed4eb8694e183ce38fec6c36dbe77cbdbe55cdb03508e720bd3371df939dd10d0185398a2fcc3fb5838 SHA512 362544447ff951a400056ebd8a083a0d7f37dd0a6772b5b25bc46aada86d69ed6df37b6f612c8313e2b6cd4667d0e16c5cc18990730e333dbb11588d528242c9
-EBUILD tt-rss-20190523.ebuild 2123 BLAKE2B 5e741b1b68a15327824b3fb98090ee993dd2517cc0851bd1cbfce3f67f1fc5163e458aeec22767a915f2705c0c4970c8dd2bd3b4586a0ca091d50f2ab2ec0f17 SHA512 7baa07afbcb6112bfbab8409a31a63afab7f566cd764a7e110c61e62555ad330d07e8cba4d541ba1775b789b2c86f3cbb8ea15aec0748874133432f0d3441ce7
-EBUILD tt-rss-99999999.ebuild 2170 BLAKE2B 360b2ada6756ae564c7dc1497f488baebb4d1db78e93ff21c0681a40767b70bbfb5c4c161f08411cbe89cb9f3d3cdf451ba64208b4f3c2f2f7f6534ea25b0f48 SHA512 c453912dc640ba2a235601a8442061e775e0259a468df39bad3dedcd6f69999f906196076c57bcf44b79a8754558f4b3eedb0af400a31efc7077f089d6642c94
+DIST tt-rss-20200922.tar.gz 3406007 BLAKE2B 7058253fbbba1c121d11eace8a3ef024b7ef83b05fd8b10b0ba0d017fa75d16b970e2c95c13091f760b21bcf092f609d81a5649de03672b0394113412f90beb0 SHA512 90387d07af76bc90bfb2e740dcfa0b2e13ed9af679a6c9258edd053511277bc36fca8edd4b3862c3f1957fa65a827b161abf3ed7fa603d4b84514fd456947a47
+EBUILD tt-rss-20200922.ebuild 2045 BLAKE2B 3bf4f1b393e8a85e3cbc2a6f485a17754c288bc1b1d64ffd1a9a3608bffe320a89d4a084024eb86c9f27c948dbc26ac54b65b7f60626d2abad4148074ac5d0f6 SHA512 8ce815907a958ab6b14e9f180ddb8fb1672cd7645959625e2c2a49564ce1d60eb5dfb0b1a49ff05899799d008a40ba13a4ebec641e2ddd75e7760131d6fcdb30
+EBUILD tt-rss-99999999.ebuild 2126 BLAKE2B c7a0c750d2068fa9f735d981fd28e6368af46e60aa6ef4ac6fe8acd13f9d75eaf9c7d426a6d1be10ed3edf8930cd7dd336be7d17334bd5bb81e170d147a60b15 SHA512 db5e7dcacf80bd515d56bfb2b593525dcd3f53980fa6893a9031eaa7c50df4b1e6ef7007377a25dd725a6164dee44d19206586a6e2bf8bda11b417c82b570547
MISC metadata.xml 349 BLAKE2B d14bc6946ab95fa116a982d4d9ea1c76b94c1094876c32451adeb783925410e5f80323943aa8922aef9c4c7bd630038bbab07186f62cbc3aa36b2d7eec5fc306 SHA512 2b18408b092177dc05b0720635e28c8dac334d9013d1e9f30ee7288fd2158a1c47fd313f916dea4e5f1bf37ea04b15e8845f4a7331dcce43579163fb7a36bb6a
diff --git a/www-apps/tt-rss/tt-rss-20180105.ebuild b/www-apps/tt-rss/tt-rss-20180105.ebuild
deleted file mode 100644
index 9affdac7e139..000000000000
--- a/www-apps/tt-rss/tt-rss-20180105.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# 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-20190523.ebuild b/www-apps/tt-rss/tt-rss-20200922.ebuild
index fbfb5e9a9330..1c58510d1d96 100644
--- a/www-apps/tt-rss/tt-rss-20190523.ebuild
+++ b/www-apps/tt-rss/tt-rss-20200922.ebuild
@@ -1,41 +1,44 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit prefix user webapp
+inherit prefix webapp
-COMMIT="4a2836ea90c4c471029d189a8c9fe5ec10a9521b"
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"
+SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${P}.tar.gz" # Upstream git frontend blocks wget?
LICENSE="GPL-3"
KEYWORDS="~amd64 ~arm ~mips ~x86"
-IUSE="+acl daemon +mysqli postgres"
+IUSE="+acl daemon gd +mysqli postgres"
REQUIRED_USE="|| ( mysqli postgres )"
-
-DEPEND="daemon? ( acl? ( sys-apps/acl ) )"
-
-RDEPEND="${DEPEND}
- daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,cli,intl,pcntl,pdo] )
- !daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,intl,pdo] )
- virtual/httpd-php:*"
-
-DEPEND="!vhosts? ( ${DEPEND} )"
+PHP_USE="gd?,mysqli?,postgres?,curl,fileinfo,intl,json,pdo,unicode,xml"
+
+DEPEND="
+ daemon? ( acl? ( sys-apps/acl ) )
+"
+
+RDEPEND="
+ ${DEPEND}
+ daemon? (
+ acct-user/ttrssd
+ acct-group/ttrssd
+ dev-lang/php:*[${PHP_USE},cli,pcntl]
+ )
+ !daemon? (
+ dev-lang/php:*[${PHP_USE}]
+ )
+ 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
diff --git a/www-apps/tt-rss/tt-rss-99999999.ebuild b/www-apps/tt-rss/tt-rss-99999999.ebuild
index 1f6d41d337bf..9a62a5c6ac7a 100644
--- a/www-apps/tt-rss/tt-rss-99999999.ebuild
+++ b/www-apps/tt-rss/tt-rss-99999999.ebuild
@@ -1,38 +1,42 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit git-r3 prefix user webapp
+inherit git-r3 prefix 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"
+EGIT_REPO_URI="https://git.tt-rss.org/fox/${PN}.git"
LICENSE="GPL-3"
SLOT="${PV}" # Single live slot.
-IUSE="+acl daemon +mysqli postgres"
+IUSE="+acl daemon gd +mysqli postgres"
REQUIRED_USE="|| ( mysqli postgres )"
-
-DEPEND="daemon? ( acl? ( sys-apps/acl ) )"
-
-RDEPEND="${DEPEND}
- daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,cli,intl,pcntl,pdo] )
- !daemon? ( dev-lang/php:*[mysqli?,postgres?,curl,intl,pdo] )
- virtual/httpd-php:*"
-
-DEPEND="!vhosts? ( ${DEPEND} )"
+PHP_USE="gd?,mysqli?,postgres?,curl,fileinfo,intl,json,pdo,unicode,xml"
+
+DEPEND="
+ daemon? ( acl? ( sys-apps/acl ) )
+"
+
+RDEPEND="
+ ${DEPEND}
+ daemon? (
+ acct-user/ttrssd
+ acct-group/ttrssd
+ dev-lang/php:*[${PHP_USE},cli,pcntl]
+ )
+ !daemon? (
+ dev-lang/php:*[${PHP_USE}]
+ )
+ 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
diff --git a/www-apps/webdavcgi/Manifest b/www-apps/webdavcgi/Manifest
index 1644b89e9f21..70751c9f11d5 100644
--- a/www-apps/webdavcgi/Manifest
+++ b/www-apps/webdavcgi/Manifest
@@ -1,16 +1,5 @@
-AUX 0.8.3-logout-var-expansion.patch 612 BLAKE2B 46cc80a7da8616420f1b76bb710857579336b9a568ef8883753a50a6a808e8958d0dc2fe56c4584db92ac8016a85ec492fb5b8d9d93f04ec71924ea0ffbf6237 SHA512 8089e9f3614739c98b710da3c873f6667a012b16bbcfc13cb04707cdf9603677294d45a76d82a0c1e194dc15d4d8b09709448187f010181d86fcc68aae104943
-AUX apache-webdavcgi-0.8-example.conf 2406 BLAKE2B 7c29fd8c62d3f1e6e47057ef2d7d2e22567c67559a02b700cc0157b62651b1828f3e546d1a1ab04691c378833333cb96baea547f762fcf297dcf030c203230ab SHA512 9d7f521e00056836b54f3d664b837a1048b3e5dce027cd079a4b1ae2d0cdff0fe6387180f3d54ccd53c36b1c19298a27375ebd9ab4bb00bd7d0194800c0994a0
AUX apache-webdavcgi-1.1-example.conf 2621 BLAKE2B 0ef587bc87f08043c5503db0bf04259daf1c047a653203ba1794ce247d340fec722b91334f9a8b2d1af32bddc9b8e3cf1d31118d869816e8d20e46208362e4c1 SHA512 36e440c8274a46c3e415291f08eb1263694bcb512c9c5bfe6b58f8c24b4d665672788500fc31d87b104c4a654458572798a2e92ab913bd4a438e39b4e90e6ac8
-AUX postinstall-en.txt 1133 BLAKE2B 2533aaa6ad2f160f71abae43f45ca666573b1b56ee0a21ba9baf3220e1f83a5a4cf051b0b52c51d8930087cf5cfed354f82a3d0554e73a3229dba1feec4a1b69 SHA512 207132fd11a1df46e2198fe7134da5db7a15de9b0778481059b088c41d5d8c7bcf2b39d4675cd8a9e65cd546f85693b1ab4ae9b64737985180eb3ff18d292c96
-AUX postinstall-webdavwrapper-en.txt 1279 BLAKE2B 08bb5f3e64c4a41f9e5b35069daf5ab817fe985001094c16811026f2ce4ad5d92c841328d0ace3cf8a9f4d3fd6ac8172bae4ed0166b31feaa542f60161cb88e2 SHA512 b670dba1bbd11e764bf7244c0b2194de475c16228ec7c7b0864b0131c0a9a10c2a2980df9caecabfa7252a4024c6976ee7060ef94bb2d5b6e3f985d3fa9ab031
-AUX reconfig 784 BLAKE2B bf0d96a5cff5d495f32bfeba690760d4d5c56a276c17eb37b66eb7dd4965a43196401e089ef914404a09a67a3986807a36f6890ee2ac20c9d4ce5932075f3b16 SHA512 415c692c26693296fc23161d70521d233543f37aeadfc12992cf4b36ee0f25c7c2eed354831767ccf2a386d4479c53534c23800c756cc7b678ef1f5ed60e32f4
-AUX reconfig-suid 602 BLAKE2B 5abfb20ad980f533785022596f29af114ba98de8227f34588c9267530d181a32cbb1faabd85523d77e2a0bdff76b372cb9936bf5be664f2547958ac4f45e7e03 SHA512 aa1563edce254668fb43110dc7d24293e926a6d5083da4a3879bcd5b4d205f1f9feae7bd6e0e00bda5303143346f6951e65318276720013ed7744a6d2c609eb2
-AUX webdav-0.8.conf 2872 BLAKE2B 47b1ae8e0e0b15adec1ed71110f0a841a044f368f362f5ab71f0948c1b6e5a869b4d6033263dd65538ec84cc64e1661654ffab9dad58211ae35cefb3e781ca11 SHA512 1b1d8c1eb53689e02180fb0e59b0ec992da4f6656d0f9965ebeb483bf4f829da6971273d368b0a1cf8bf9df65089720bc57db76f7f8a8b85e0cf645662a2b869
AUX webdav-1.1.conf 4450 BLAKE2B 29c7dcfdc623938d90a060e4e86d70d82bceb03aba95da72c323415dfc501de975a23cacda18929126f219f540da4b015fe6871e02a551ac25b7017268bf7d58 SHA512 4e867f9d8de4eb3f864ddc0671bf048d1a8daa9e01c830045a7adb5ac712c46925f0ed60d5aeba9acb3f9c3fd259411af23c41476f06d38f3d8f3cb2027c51c8
-DIST webdavcgi-0.8.3.tar.bz2 1190975 BLAKE2B 7935474a850afde362faf244d3b6047e86f8c509e1b54e452c2cecd15a08bbbb5c91c862fc70142e8958d9d6cd687f85bd482d6472ba12b22c9027b9cdb7e106 SHA512 f50e6bb1e78a88ab6bc6452c04f2e5d0cec86f6641d1813556ae3b06c33e2c9250e623926bf1a71ea10f6ca3912e708cb54cd0956b344329de1499887e48e784
-DIST webdavcgi-0.8.4.tar.bz2 1195935 BLAKE2B 7f914d8f9f04354c6887303482ae72e8b4b24751e58aae225b1bc8182dd22e9644e1386b9d5823a610c49ebf0a5676838cfd7e0a1fcc20cce7e34c08d49966af SHA512 17d9dcfe68012820bf809bc3bd54a881fc9e66a9ddfd87d9381ec0cb08abe3f81638afba4d28ab3079ed56cf1e263b4a764b8348691f17a06743bb1ddf3a2a4e
DIST webdavcgi-1.1.1.tar.bz2 11623234 BLAKE2B a5a2b67f2666ce4180e5ed145045b8552e6e988967d99bad518d72a67a417ce600619b11af9171aa291bb4b98ec0b0c8c3ce56511d65c4e8b8c92932e8da418f SHA512 660b3e54d72c5b96c1fb329d8e0838b1dbf68e1671af3880f7e096bfdfe559909cf3e1e3069fe4877e0ffbd67d24dc4a38c3db8baaae6d62db05bde31cea789f
-EBUILD webdavcgi-0.8.3.ebuild 2766 BLAKE2B e3801bbfa9c3d418872cbadde17c726bca1570f010cd6fcff9a877dbe6a01560f74a0f174b25c116624b79d18b000aab9807cd811f8017eda7cf44c0be76ff20 SHA512 500f6552ca5daaf7595ff3c18ed361015bb191a48705212ab5b74c9b289c15b50a24a604322b3d1b8faa5438c381815b6e9ac5a56f1ccd5dbb2e9805763a8542
-EBUILD webdavcgi-0.8.4.ebuild 4781 BLAKE2B afbc05b971d90aaf849597cfbd573f948f33254c53b5ac45ddf3b4bfd4c10516eeeb14a734f3392d595873cddb3ed1a2bc65eebc0a2303b705a94944dd3c4dce SHA512 4a5ca82beca219929bd9190d18eb92a648e8eb68fc2dc91f514f2fb598b7eaeee29cf97a8f233425f7bd0662699a533b19f6f70cd6d0ccd6afa957d05bb86d9d
EBUILD webdavcgi-1.1.1.ebuild 5736 BLAKE2B 46d043b9252bdf52f75696ee6476489ebf8bde2a208f81d121b504bb4bd1e8b347bb2ae85ab650bb19e2dd6f47779387afb331219fa4e6d7e448699f5469a89d SHA512 e4fb54e0f2fee21772eae95816a4b9fca5179a5231606f904db5f61d50ecab7d1ad6922dc87d022dc199b8af5ff7b642148cc662c1413c73ae378648cc94ac8e
MISC metadata.xml 1040 BLAKE2B fb1efea181e0b46f16e8086c4e183af13f61d4113d9957cb3b9e8ded4894c13e8559989c543cc9bdd326083805d7357c64c8ffc80518ed8fe12945c947cefbb0 SHA512 af3c8574f9b2c376194b27190dd6e1acf2e7a1e01f1becf41b84de395d96e6a6c739ebfb969c772104c8bdac3de4a8e725ad95a10e8a40902595602692bdcddb
diff --git a/www-apps/webdavcgi/files/0.8.3-logout-var-expansion.patch b/www-apps/webdavcgi/files/0.8.3-logout-var-expansion.patch
deleted file mode 100644
index 739ff7f4c79b..000000000000
--- a/www-apps/webdavcgi/files/0.8.3-logout-var-expansion.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ru cgi-bin.orig/logout-dist cgi-bin/logout-dist
---- cgi-bin.orig/logout-dist 2011-03-22 17:25:52.000000000 +0100
-+++ cgi-bin/logout-dist 2012-10-03 21:44:35.057437306 +0200
-@@ -34,13 +34,13 @@
- # -----
- ### REALM: the basic authentication realm
- ### (must be equal to your AuthName value for Apache)
--REALM="Change Me"
-+REALM="${REALM:=Change Me}"
-
- ### HOMEURL: the home URL
--HOMEURL="/changemyhomeurl"
-+HOMEURL="${HOMEURL:=/changemyhomeurl}"
-
--### TIMEOUT: the refresh timeout for the logut page
--TIMEOUT=0
-+### TIMEOUT: the refresh timeout for the logout page
-+TIMEOUT=${TIMEOUT:=0}
-
- # SETUP END
-
diff --git a/www-apps/webdavcgi/files/apache-webdavcgi-0.8-example.conf b/www-apps/webdavcgi/files/apache-webdavcgi-0.8-example.conf
deleted file mode 100644
index cf1d4d4dafe0..000000000000
--- a/www-apps/webdavcgi/files/apache-webdavcgi-0.8-example.conf
+++ /dev/null
@@ -1,59 +0,0 @@
-# Example Apache HTTP server configuration snippet for WebDAV CGI
-#
-# Add the following lines to the Apache HTTP virtual host which should run
-# WebDAV CGI.
-#
-# WebDAV CGI will be accessible via http://www.example.com/webdav/ and uses
-# basic HTTP authentication (by default). For this to work, you need to add all
-# valid users to the AuthUserFile with the help of the htpasswd command:
-#
-# htpasswd -c /etc/webdavcgi-0.8/default/users.htpasswd user1
-# htpasswd /etc/webdavcgi-0.8/default/users.htpasswd user2
-#
-# Note, that if you have the UID/GID wrapper enabled (USE=suid), WebDAV CGI will
-# switch to the login user after a successful login, thus the users within the
-# AuthType need to present on the system as well.
-#
-# You probably want to review and change the following settings:
-# - /webdavcgi should point to your desired webdavwrapper, which is either
-# webdavwrapper, webdavwrapper-afs, webdavwrapper-krb or in case you disabled
-# the UID/GID wrapper (USE=-suid), webdav.pl
-#
-# - The /webdav location
-# If you change this location, make sure to reflect the new path within the
-# WebDAV CGI configuration (WEBDAVCONF -> $VIRTUAL_BASE) as well.
-#
-# - The authentication provider and/or AuthUserFile
-#
-# - The HOMEURL environment variable. After a user logs out, the browser will
-# be redirected to this URL.
-#
-# - The WEBDAVCONF environment variable has to point to your configuration
-#
-# For further informations and other configuration possibilities consult the
-# WebDAV CGI documentation which is located at http://webdavcgi.sourceforge.net
-# and the Apache HTTP server documentation at https://httpd.apache.org/docs/
-#
- ScriptAlias /webdavcgi "/usr/libexec/webdavcgi-0.8/cgi-bin/webdavwrapper"
- ScriptAlias /webdav/logout "/usr/libexec/webdavcgi-0.8/cgi-bin/logout"
-
- <Location /webdav>
- Order Allow,Deny
- Allow from all
- </Location>
-
- <Location /webdavcgi>
- AuthType Basic
- AuthName "WebDAV-CGI"
- AuthUserFile /etc/webdavcgi-0.8/default/users.htpasswd
- Require valid-user
- Order Allow,Deny
- Allow from all
- </Location>
-
-
- RewriteEngine On
-
- RewriteRule ^/webdav/logout - [L,E=REALM:WebDAV-CGI,E=HOMEURL:/webdav,E=TIMEOUT:5]
-
- RewriteRule ^/webdav /webdavcgi [PT,L,E=WEBDAVCONF:/etc/webdavcgi-0.8/default/webdav.conf,E=PERLLIB:/usr/share/webdavcgi-0.8/lib/perl,E=LOGOUTURL:/webdav/logout]
diff --git a/www-apps/webdavcgi/files/postinstall-en.txt b/www-apps/webdavcgi/files/postinstall-en.txt
deleted file mode 100644
index 8aa6f95d87a2..000000000000
--- a/www-apps/webdavcgi/files/postinstall-en.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-Before you can run WebDAV CGI you need to configure your web server and WebDAV
-CGI itself.
-
-The following configuration snippet serves as an example for the Apache HTTPD
-web server. You will have to adapt it to suite your own server and configuration
-needs.
-
- ScriptAlias /cgi-bin/ "${VHOST_CGIBINDIR}/"
-
- <Location /${VHOST_CGIBINDIR##*/}/>
- AuthType Basic
- AuthName "WebDAV-CGI"
- AuthUserFile ${VHOST_ROOT}/etc/users.htpasswd
- Require valid-user
- Order Allow,Deny
- Allow from all
- </Location>
-
- RewriteEngine On
- RewriteRule ^/${VHOST_APPDIR}/logout /${VHOST_CGIBINDIR##*/}/logout [PT,E=REALM:WebDAV-CGI,E=HOMEURL:/${VHOST_APPDIR},L]
- RewriteRule ^/${VHOST_APPDIR} /${VHOST_CGIBINDIR##*/}/webdav.pl [PT,E=WEBDAVCONF:${VHOST_ROOT}/etc/webdav.conf,E=PERLLIB:${VHOST_ROOT}/lib/perl,L]
-
-
-Afterwards you need to copy the default configuration file and edit it:
-cp -p ${VHOST_ROOT}/etc/{webdav.conf-dist,webdav.conf}
-\$EDITOR ${VHOST_ROOT}/etc/webdav.conf
-
-For further informations study the online documentation which is located at:
-http://webdavcgi.sourceforge.net/doc.html
diff --git a/www-apps/webdavcgi/files/postinstall-webdavwrapper-en.txt b/www-apps/webdavcgi/files/postinstall-webdavwrapper-en.txt
deleted file mode 100644
index 5f30d81be7b6..000000000000
--- a/www-apps/webdavcgi/files/postinstall-webdavwrapper-en.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-Before you can run WebDAV CGI you need to configure your web server and WebDAV
-CGI itself.
-
-The following configuration snippet serves as an example for the Apache HTTPD
-web server. You will have to adapt it to suite your own server and configuration
-needs.
-
- ScriptAlias /cgi-bin/ "${VHOST_CGIBINDIR}/"
-
- <Location /${VHOST_CGIBINDIR##*/}/>
- AuthType Basic
- AuthName "WebDAV-CGI"
- AuthUserFile ${VHOST_ROOT}/etc/users.htpasswd
- Require valid-user
- Order Allow,Deny
- Allow from all
- </Location>
-
- RewriteEngine On
- RewriteRule ^/${VHOST_APPDIR}/logout /${VHOST_CGIBINDIR##*/}/logout [PT,E=REALM:WebDAV-CGI,E=HOMEURL:/${VHOST_APPDIR},L]
- RewriteRule ^/${VHOST_APPDIR} /${VHOST_CGIBINDIR##*/}/webdavwrapper [PT,E=WEBDAVCONF:${VHOST_ROOT}/etc/webdav.conf,E=PERLLIB:${VHOST_ROOT}/lib/perl,L]
-
-
-Afterwards you need to copy the default configuration file and edit it:
-cp -p ${VHOST_ROOT}/etc/{webdav.conf-dist,webdav.conf}
-\$EDITOR ${VHOST_ROOT}/etc/webdav.conf
-
-Also make sure that all system users which should be able to login to WebDAV CGI
-are able to access the installed files below ${VHOST_ROOT}.
-
-For further informations study the online documentation which is located at:
-http://webdavcgi.sourceforge.net/doc.html
diff --git a/www-apps/webdavcgi/files/reconfig b/www-apps/webdavcgi/files/reconfig
deleted file mode 100644
index 07710dd7c3e9..000000000000
--- a/www-apps/webdavcgi/files/reconfig
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-confDir="etc"
-distConfFile="webdav.conf-dist"
-
-sedCmd="/bin/sed"
-
-
-function die ()
-{
- echo "reconfig error: $1" >&2
- exit 1
-}
-
-
-if [ $1 != "install" ]; then
- # nothing to be done, exit
- exit 0
-fi
-
-# Set the correct path within the config file
-distConfFilePath="${VHOST_ROOT}/${confDir}/${distConfFile}"
-if ! ${sedCmd} -i -e "s|^\(\$INSTALL_BASE\)=.*|\1='${VHOST_ROOT}/';|" \
- ${distConfFilePath}
-then
- die "Setting INSTALL_BASE path in ${distConfFilePath} failed"
-fi
-
-
-# Adding logout support
-# see: http://webdavcgi.sourceforge.net/doc.html#logout
-echo "\$HEADER = '<div class=\"header\">WebDAV CGI - Web interface: You are logged in as <span title="'.`id -a`.'">' .\$ENV{REMOTE_USER}.'</span> (<a href="/logout">Logout</a>).</div>';" >> ${distConfFilePath}
diff --git a/www-apps/webdavcgi/files/reconfig-suid b/www-apps/webdavcgi/files/reconfig-suid
deleted file mode 100644
index d7fb87722614..000000000000
--- a/www-apps/webdavcgi/files/reconfig-suid
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-webDavWrapper="webdavwrapper"
-webDavWrapperPath="${VHOST_CGIBINDIR}/${webDavWrapper}"
-
-chmodCmd="/bin/chmod"
-chownCmd="/bin/chown"
-
-
-function die ()
-{
- echo "reconfig error: $1" >&2
- exit 1
-}
-
-if [ $1 = "install" ]; then
- # In order to change the user and group ID at runtime, the webdavwrapper
- # needs to be run as root (set-user-ID and set-group-ID bit)
- if ! ${chownCmd} root:root ${webDavWrapperPath}; then
- die "Chown for ${webDavWrapperPath} failed"
- fi
-
- if ! ${chmodCmd} 6755 ${webDavWrapperPath}; then
- die "Setting SUID and SGID bit on ${webDavWrapperPath} failed"
- fi
-fi
diff --git a/www-apps/webdavcgi/files/webdav-0.8.conf b/www-apps/webdavcgi/files/webdav-0.8.conf
deleted file mode 100644
index 8563df7ad617..000000000000
--- a/www-apps/webdavcgi/files/webdav-0.8.conf
+++ /dev/null
@@ -1,88 +0,0 @@
-## -- INSTALL_BASE
-## folder path to the webdav.conf, .css, .js, and. msg files for the Web
-## interface
-## (don't forget the trailing slash)
-$INSTALL_BASE='/usr/share/webdavcgi-0.8/';
-
-## -- VIRTUAL_BASE
-## only neccassary if you use redirects or rewrites from a VIRTUAL_BASE to
-## the DOCUMENT_ROOT;
-## regular expressions are allowed
-## EXAMPLE: $VIRTUAL_BASE = '/';
-$VIRTUAL_BASE = '/webdav';
-
-## -- DOCUMENT_ROOT
-## by default the server document root
-## (don't forget a trailing slash '/'):
-$DOCUMENT_ROOT = '/home/';
-
-## -- UMASK
-## mask for file/folder creation
-## (it does not change permission of existing files/folders):
-$UMASK = 0007;
-
-## -- ENABLE_DAVMOUNT
-## enables DAV mount button in the folder navigation of the Web interface
-$ENABLE_DAVMOUNT = 1;
-
-## -- ENABLE_COMPRESSION
-## enables/disables gzip content encoding for the Web interface
-$ENABLE_COMPRESSION = 0;
-
-## -- PAGE_LIMIT
-## limits number of files/folders shown in the Web interface
-$PAGE_LIMIT=100;
-
-## -- PAGE_LIMITS
-## allowed selectable limits (-1 = show all)
-@PAGE_LIMITS = ( 5, 10, 15, 20, 30, 50, 100, -1);
-
-## -- DBI_(SRC/USER/PASS)
-## database setup for LOCK/UNLOCK/PROPPATCH/PROPFIND data
-##
-## SQLite config
-## If users share the same folder they should use the same database
-## in this case you have to use a single file writeable for all users.
-#$DBI_SRC='dbi:SQLite:dbname=/var/lib/webdavcgi/0.8/default/webdav.db';
-#$DBI_USER='';
-#$DBI_PASS='';
-#$CREATE_DB = !-e '/var/lib/webdavcgi/0.8/default/webdav.db';
-
-## MySQL config
-#$DBI_SRC='DBI:mysql:database=webdavcgi;host=localhost;port=3306';
-#$DBI_USER='mysqluser';
-#$DBI_PASS='changeme';
-#$CREATE_DB=0;
-
-## PostgreSQL config
-#$DBI_SRC='dbi:Pg:dbname=webdavcgi;host=localhost;port=5432';
-#$DBI_USER='pguser';
-#$DBI_PASS='changeme';
-#$CREATE_DB = 0;
-
-## -- HEADER
-## content after body tag in the Web interface
-$HEADER = '<div class="header">WebDAV CGI - Web interface: You are logged in as <span title=.`id -a`.>' .$ENV{REMOTE_USER}.'</span> (<a href="'.$ENV{LOGOUTURL}.'">Logout</a>).</div>';
-
-## -- ENABLE_CALDAV
-## Disable CalDAV support for Lightning/Sunbird/iCal/iPhone calender/task
-## support
-$ENABLE_CALDAV = 0;
-
-## -- ENABLE_GROUPDAV
-## Disables GroupDAV (http://groupdav.org/draft-hess-groupdav-01.txt)
-$ENABLE_GROUPDAV = 0;
-
-## -- ENABLE_THUMBNAIL
-## Disable image thumbnail support and media rss feed for folder listings of the
-## Web interface.
-## If enabled the default icons for images will be replaced by thumbnails
-## and if the mouse is over a icon the icon will be zoomed to the size of
-## $THUMBNAIL_WIDTH.
-$ENABLE_THUMBNAIL = 0;
-
-## -- THUMBNAIL_CACHEDIR
-## defines the path to a cache directory for image thumbnails
-## this is neccessary if you enable the thumbnail cache ($ENABLE_THUMBNAIL_CACHE)
-## EXAMPLE: $THUMBNAIL_CACHEDIR=".thumbs";
-$THUMBNAIL_CACHEDIR="/var/cache/webdavcgi/0.8/default/thumbnails";
diff --git a/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild b/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild
deleted file mode 100644
index b2e189821039..000000000000
--- a/www-apps/webdavcgi/webdavcgi-0.8.3.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs webapp
-
-DESCRIPTION="A Perl CGI for accessing and sharing files, or calendar/addressbooks via WebDAV"
-HOMEPAGE="http://webdavcgi.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-WEBAPP_MANUAL_SLOT="yes"
-KEYWORDS="~amd64"
-IUSE="mysql postgres rcs samba +sqlite +suid"
-
-DEPEND=""
-RDEPEND="dev-perl/Archive-Zip
- dev-perl/File-Copy-Link
- dev-perl/PerlIO-gzip
- dev-perl/Quota
- dev-perl/TimeDate
- dev-perl/URI
- dev-perl/UUID-Tiny
- dev-perl/XML-Simple
- media-gfx/graphicsmagick[perl]
- mysql? ( dev-perl/DBD-mysql )
- virtual/perl-Module-Load
- postgres? ( dev-perl/DBD-Pg )
- rcs? ( dev-perl/Rcs )
- samba? ( dev-perl/Filesys-SmbClient )
- sqlite? ( dev-perl/DBD-SQLite )
- dev-perl/CGI
- virtual/perl-File-Spec"
-
-need_httpd_cgi
-
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-CGIBINDIR="cgi-bin"
-
-src_prepare() {
- epatch "${FILESDIR}/${PV}-logout-var-expansion.patch"
-}
-
-src_compile() {
- if use suid; then
- # There are several webdavwrappers, TODO: make it configureable
- export WEBDAVWRAPPER="webdavwrapper"
-
- $(tc-getCC) ${LDFLAGS} ${CFLAGS} \
- -o "${CGIBINDIR}/${WEBDAVWRAPPER}" \
- helper/webdavwrapper.c || die "compile ${WEBDAVWRAPPER} failed"
- fi
-}
-
-src_install() {
- webapp_src_preinst
-
- local htdocsDir='htdocs'
- local confDir='etc'
-
- local installDirs="$confDir lib locale"
-
- insinto "${MY_HTDOCSDIR}"
- doins -r "${htdocsDir}"/*
-
- exeinto "${MY_CGIBINDIR}"
- newexe "${CGIBINDIR}/logout-dist" logout
-
- doexe "${CGIBINDIR}/webdav.pl"
- use suid && doexe "${CGIBINDIR}/${WEBDAVWRAPPER}"
-
- local currentDir
- for currentDir in ${installDirs}; do
- dodir "${MY_HOSTROOTDIR}/${currentDir}"
- insinto "${MY_HOSTROOTDIR}/${currentDir}"
- doins -r "${currentDir}"/*
- done
-
- webapp_configfile "${MY_HOSTROOTDIR}/${confDir}"/{webdav.conf-dist,mime.types}
-
- use mysql && webapp_sqlscript mysql sql/mysql.sql
- use postgres && webapp_sqlscript postgres sql/postgresql.sql
-
- dodoc CHANGELOG TODO
- dohtml -r doc/*
-
- webapp_hook_script "${FILESDIR}/reconfig"
-
- webapp_src_install
-
- # In order to change the user and group ID at runtime, the webdavwrapper
- # needs to be run as root (set-user-ID and set-group-ID bit)
- if use suid; then
- einfo "Setting SUID and SGID bit for ${WEBDAVWRAPPER}"
- fowners root:root "${MY_CGIBINDIR}/${WEBDAVWRAPPER}"
- fperms 6755 "${MY_CGIBINDIR}/${WEBDAVWRAPPER}"
- webapp_postinst_txt en "${FILESDIR}/postinstall-${WEBDAVWRAPPER}-en.txt"
- webapp_hook_script "${FILESDIR}/reconfig-suid"
- else
- ewarn "You have the 'suid' USE flag disabled"
- ewarn "WebDAV CGI won't be able to switch user ids"
- webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
- fi
-}
diff --git a/www-apps/webdavcgi/webdavcgi-0.8.4.ebuild b/www-apps/webdavcgi/webdavcgi-0.8.4.ebuild
deleted file mode 100644
index 45fbb4226ce9..000000000000
--- a/www-apps/webdavcgi/webdavcgi-0.8.4.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils toolchain-funcs versionator
-
-DESCRIPTION="A Perl CGI for accessing and sharing files, or calendar/addressbooks via WebDAV"
-HOMEPAGE="http://webdavcgi.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-
-# Provide slotting on minor versions. WebDAV CGI is a web application which
-# can be shared by multiple instances and thus major updates shouldn't be
-# enforced to all users/instances at the same time.
-SLOT="$(get_version_component_range 1-2)"
-
-KEYWORDS="~amd64"
-IUSE="afs kerberos mysql postgres rcs samba +sqlite +suid"
-
-DEPEND=""
-RDEPEND="!www-apps/webdavcgi:0
- afs? ( net-fs/openafs )
- dev-lang/perl
- dev-perl/Archive-Zip
- dev-perl/File-Copy-Link
- dev-perl/PerlIO-gzip
- dev-perl/Quota
- dev-perl/TimeDate
- dev-perl/URI
- dev-perl/UUID-Tiny
- dev-perl/XML-Simple
- kerberos? ( virtual/krb5 )
- media-gfx/graphicsmagick[perl]
- mysql? ( dev-perl/DBD-mysql )
- virtual/perl-Module-Load
- postgres? ( dev-perl/DBD-Pg )
- rcs? ( dev-perl/Rcs )
- samba? ( dev-perl/Filesys-SmbClient )
- sqlite? ( dev-perl/DBD-SQLite )
- dev-perl/CGI
- virtual/perl-File-Spec
- || ( virtual/httpd-cgi virtual/httpd-fastcgi )"
-
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-CGIBINDIR="cgi-bin"
-
-src_compile() {
- if use suid; then
- WEBDAVWRAPPERS="webdavwrapper" # Standard UID/GID wrapper
-
- use afs && WEBDAVWRAPPERS+=" webdavwrapper-afs"
- use kerberos && WEBDAVWRAPPERS+=" webdavwrapper-krb"
-
- export WEBDAVWRAPPERS
-
- local wrapper
- for wrapper in ${WEBDAVWRAPPERS}; do
- $(tc-getCC) ${LDFLAGS} ${CFLAGS} \
- -o "${CGIBINDIR}/${wrapper}" \
- "helper/${wrapper}.c" || die "compile ${wrapper} failed"
- done
- fi
-}
-
-src_install() {
- exeinto "/usr/libexec/${PN}-${SLOT}/${CGIBINDIR}"
- newexe "${CGIBINDIR}/logout-dist" "logout"
- doexe "${CGIBINDIR}/webdav.pl"
-
- use afs && doexe "${CGIBINDIR}/afswrapper"
- use samba && doexe "${CGIBINDIR}/smbwrapper"
-
- if use suid; then
- # In order to change the user and group ID at runtime, the webdavwrapper
- # needs to be run as root (set-user-ID and set-group-ID bit)
- exeopts -o root -g root -m 6755
-
- local wrapper
- for wrapper in ${WEBDAVWRAPPERS}; do
- einfo "Installing UID/GID wrapper ${wrapper}"
- doexe "${CGIBINDIR}/${wrapper}"
- done
-
- # reset install opts
- exeopts
- else
- ewarn "You have the 'suid' USE flag disabled"
- ewarn "WebDAV CGI won't be able to switch user ids"
- fi
-
- local confDir='etc'
- local webdavConfDir="/etc/${PN}-${SLOT}/default"
-
- export WEBDAVCONFIG="${webdavConfDir}/webdav.conf"
-
- insinto "${webdavConfDir}"
- doins "${confDir}/mime.types"
- newins "${FILESDIR}/webdav-${SLOT}.conf" "webdav.conf"
-
- local installBaseDir="/usr/share/${PN}-${SLOT}"
- local currentDir
- for currentDir in htdocs lib locale; do
- insinto "${installBaseDir}/${currentDir}"
- doins -r "${currentDir}"/*
- done
-
- if use mysql || use postgres; then
- local sqlDir='sql'
- insinto "${installBaseDir}/${sqlDir}"
- use mysql && "${sqlDir}/mysql.sql"
- use postgres && "${sqlDir}/postgresql.sql"
- fi
-
- if use sqlite; then
- # Directory where the SQLite database resides
- local sqliteRootDir="/var/lib/${PN}/${SLOT}"
- keepdir "${sqliteRootDir}"
-
- # Default database directory where all users are able to create and
- # share the databases, this can be changed within the config file and
- # restricted to user/group only access if required.
- export SQLITEDIR="${sqliteRootDir}/default"
- keepdir "${SQLITEDIR}"
- fperms 1777 "${SQLITEDIR}"
- fi
-
- # Default thumbnail directory, writable by all users
- export THUMBNAILDIR="/var/cache/${PN}/${SLOT}/default/thumbnails"
- keepdir "${THUMBNAILDIR}"
- fperms 1777 "${THUMBNAILDIR}"
-
- export APACHEEXAMPLECONFIG="apache-webdavcgi-${SLOT}-example.conf"
- dodoc CHANGELOG TODO
- dodoc "${FILESDIR}/${APACHEEXAMPLECONFIG}"
- dohtml -r doc/*
-}
-
-pkg_postinst() {
- ewarn "In order to allow different users to create and share files,"
- ewarn "some directories were installed with world write access by default."
- ewarn "To set restrictive permissions, add all WebDAV CGI users to a"
- ewarn "common group, and allow access to the following directories by this"
- ewarn "group only."
- ewarn "Thumbnail directory: ${THUMBNAILDIR}"
- use sqlite && ewarn "SQLite directory: ${SQLITEDIR}"
-
- ewarn
- ewarn "Until bug #456180 is fixed, you probably have to re-emerge"
- ewarn "media-gfx/graphicsmagick"
-
- elog
- elog "The WebDAV CGI config is located at ${WEBDAVCONFIG}."
- elog
- elog "An example Apache HTTP server configuration snippet is available in"
- elog "/usr/share/doc/${PF} in the file ${APACHEEXAMPLECONFIG}"
-
- einfo
- einfo "Detailed installation and configuration instructions can be found at"
- einfo "http://webdavcgi.sourceforge.net/"
-}