diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-10 11:34:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-10 11:34:01 +0000 |
commit | cc901a8ce7c6bfe97e3b4f048619693d360ae348 (patch) | |
tree | c250ff07a4d508fa08b487b616e0ae8aff2f0d8e /www-apps/dokuwiki | |
parent | c9badf79e4669147edb94182af5776072f2ffaea (diff) |
gentoo auto-resync : 10:02:2024 - 11:34:00
Diffstat (limited to 'www-apps/dokuwiki')
-rw-r--r-- | www-apps/dokuwiki/Manifest | 2 | ||||
-rw-r--r-- | www-apps/dokuwiki/dokuwiki-20240206.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest index ec21ce301431..b6bf43ca18ef 100644 --- a/www-apps/dokuwiki/Manifest +++ b/www-apps/dokuwiki/Manifest @@ -2,5 +2,7 @@ AUX htaccess 170 BLAKE2B bcdf354e630f2e2995a56b7f435da2cff2c39f85ee70f745d43ec3c AUX htaccess-dist 1639 BLAKE2B 52fea4574320fc4e56aa061e46f7ec978a6282996188f2d86b9eea4e8b4617c561f94621ea3cf334d4eae16d164c96ce419258da40e9644b951f5c4d828acf09 SHA512 8d05756eb04a61fc9a89b814d0cf9022feb57c3de10fa74cf1964bdba7910d25448109147facccd8447a4ff446cb7a0cf8d8134642061d23b03e0921b032fc76 AUX postinstall-en.txt 1791 BLAKE2B 96a1f47933d402d7d33aa6cd54724d1f1e9fb717c3a031be6785c49f26d5bcc518388d838a5e68f3911495b51391367ac5777698a8e79e45b5160f99250745e5 SHA512 a7492810fad0c5ca6f3e724679ae753934b7a92f90663dc0e93608dca06d1a4b2ba04842e0755955b9b3e6ba63742a5b3c882d097c8c0e2df178d044f471c5b5 DIST dokuwiki-2023-04-04a.tgz 4043928 BLAKE2B a18372b04bd10760236ec4f976a87fed800601a541ebb6aaa07b302c8462286da3094aa102194a101c59ceacde99d0c865f938b8eb732cf09e8e7f0b5f40ea8e SHA512 748af27b2d226437f87461522254fca5e65c7572fdc20e75259944b388e3888a85f61120d1c22c671d3a302ac6791e463a0d3418f2fcf23bf046116107b11ab8 +DIST dokuwiki-2024-02-06.tgz 4191147 BLAKE2B fc379c06b31ce8a6ac307743a096728c39dc2098dbb787af7d21e673e8e9f34e8bf7a1e0d7c4c875bd8c80fded2603f32ef8c0a78beee12efcbffc5faa1eb823 SHA512 8584712371ab3901e7dc0e8c039004b6fbe1698db0431108a4683d3b90ba64ba920d386426bcaaea5a2576742f831b4e708b63e5f8cb2c26c827ab84adb54db9 EBUILD dokuwiki-20230404a-r1.ebuild 1879 BLAKE2B 4e04f2279ba7f5dccd8013da9575a6f2939f5dd77e321e51d6bfb58a75ea9f8ff63c8205f3af36c2ad058363b266a8502d84eccd951e0a8917307ff3308dcc92 SHA512 ae94239a891453c1745d8352eeb9361d7f2c2af13414d48da66b136f171ea96b4de47e2b3f133c5cb280d5ed4496249c68cd364eff4d7f011bb3322479c9a161 +EBUILD dokuwiki-20240206.ebuild 1869 BLAKE2B 9cd0c60fcd9336a29fe754b369e7d54378b036789cb66aa4c3c36fc4384a648cdf300e5105685ac749ff5a9d3ff587dfd30f9e86b006ab96c45c030e9d5492e8 SHA512 146f0cbff5e285b5eb39894e9d839786ab85f53c3c0effa70788c19dffdd191b5c7e748d8820555b023635731d543c5626f5a96d6ba46a6513a50fb846abb37e MISC metadata.xml 802 BLAKE2B a4dc7f053f175b1764efda3721a0cdfdb09d6e4311fd81f103bd4786185dada85accc52cb087aea8fddb957afc07efecca97202ed917f716875da028d1171577 SHA512 c3b1bb6f3d182dc08b08ec9a3407fa7e5eef31a82bdf63786e8488b9d67b3abab9c9b9e5ba4aed7e1a2da43356400eb4d6c825e9ed804c553c8a3b348efca10f diff --git a/www-apps/dokuwiki/dokuwiki-20240206.ebuild b/www-apps/dokuwiki/dokuwiki-20240206.ebuild new file mode 100644 index 000000000000..80ace2977efa --- /dev/null +++ b/www-apps/dokuwiki/dokuwiki-20240206.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +# upstream uses dashes in the datestamp +MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" + +if [[ ${PV} == *rc* ]]; then + MY_PV="${MY_BASE_PV}${PV:8:4}" + MY_P="${PN}-rc-${MY_BASE_PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://download.dokuwiki.org/src/${PN}/${PN}-rc.tgz -> ${PN}-${PV}.tgz" +else + MY_PV="${MY_BASE_PV}${PV:8:4}" + SRC_URI="https://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs" +HOMEPAGE="https://wiki.dokuwiki.org" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86" +IUSE="gd" + +RDEPEND=" + >=dev-lang/php-8.0[xml] + virtual/httpd-php:* + gd? ( || + ( + dev-lang/php[gd] + media-gfx/imagemagick + ) + ) +" + +need_httpd_cgi + +src_prepare() { + # create initial changes file + touch data/changes.log + + default +} + +src_install() { + webapp_src_preinst + + dodoc README + rm -f README COPYING + + docinto scripts + dodoc bin/* + rm -rf bin + + insinto "${MY_HTDOCSDIR}" + doins -r . + + # Copy custom .htaccess that works with both apache 2.2 and 2.4 + for dir in "conf" "data" "inc" "inc/lang"; do + insinto "${MY_HTDOCSDIR}/${dir}" + newins "${FILESDIR}/htaccess" ".htaccess" + done + + # Use custom .htaccess.dist that works with both apache 2.2 and 2.4 + insinto "${MY_HTDOCSDIR}/" + newins "${FILESDIR}/htaccess-dist" ".htaccess.dist" + + for x in $(find data/ -not -name '.htaccess'); do + webapp_serverowned "${MY_HTDOCSDIR}"/${x} + done + + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist + webapp_configfile "${MY_HTDOCSDIR}"/conf + + for x in $(find conf/ -not -name 'msg'); do + webapp_configfile "${MY_HTDOCSDIR}"/${x} + done + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} |