public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/dokuwiki/
Date: Wed, 12 Aug 2020 02:26:57 +0000 (UTC)	[thread overview]
Message-ID: <1597199198.7ebd3acb7d81cc48edf6130ed4fe7360beb02784.jmbsvicetto@gentoo> (raw)

commit:     7ebd3acb7d81cc48edf6130ed4fe7360beb02784
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 02:26:20 2020 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 02:26:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebd3acb

www-apps/dokuwiki: 20200729 version bump.

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>

 www-apps/dokuwiki/Manifest                 |  1 +
 www-apps/dokuwiki/dokuwiki-20200729.ebuild | 86 ++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest
index 64daffe8e74..c99ec334ccd 100644
--- a/www-apps/dokuwiki/Manifest
+++ b/www-apps/dokuwiki/Manifest
@@ -2,3 +2,4 @@ DIST dokuwiki-2016-06-26e.tgz 3464178 BLAKE2B cdeebee2f36cc899fcffe1d6df6f5beee8
 DIST dokuwiki-2017-02-19e.tgz 3505643 BLAKE2B 99fedb175fa8e1330a4ad14ed8d593edfc1edb9aeb7d8b9100e940fb4c5bfac9dada2fe395e030cff18b8c809e36211fc9d0bdc22d5be3fae7f243343704218a SHA512 6fadb64f9d8394731f346708849d8828b33f4f775e23bca97896b2e06bbfc3b70a6fc17d63dcef8199fdb0aaf0b8291eb0eebcdff7b81524b2d454229eb20be4
 DIST dokuwiki-2018-04-22a.tgz 3749191 BLAKE2B bb03b771e857a2db16ebd44d3f888af8e3c9dcd6fb5da2a549dc7c942ad87cb1e0aee6d3ed78edaa9df864804bf51cd18a17cf8a4123d12fac39405fe661bc04 SHA512 bf1dd7411abadedb395c9e12c7a9f5586fe078e59556b1ce66a5351c06f338406eca944d7589f40d8a9eb098da6ed0edc256f83ec8b19f6335415e2fe6c31284
 DIST dokuwiki-2018-04-22b.tgz 3745314 BLAKE2B 56c349c72038db83b5ae199ac1d6d00ef8566a00fdf2bc5a782e808e5205ae3ba5cfa47bdfc4f7fb0b2e493a22eed006517cfb46f7c0c57de748cfb800942f58 SHA512 6fc1fba8d93296d7cc795a4067e409339b3ce965ad38aefa42f1974d267ac05f199185e895a60d355ebe8371c68345fa51f2aea5871f955dbba1cdbdf8bedebf
+DIST dokuwiki-2020-07-29.tgz 3821413 BLAKE2B bd14ec2450365befb85afdefc6bb078f10bdf1659d85adac3bbb2f502d29f3e706fb277d65810103e66b0c692f7166ed3c8d9e780489c08fb7ef9695de550d75 SHA512 093474bf5d5bb2c95400692927cbc8ffbe7666f178ffaa648a043ef05a2b32471feeed5de282c36b41e6e80e0a065909ea2ced8ecffc7fb339bda902697d596c

diff --git a/www-apps/dokuwiki/dokuwiki-20200729.ebuild b/www-apps/dokuwiki/dokuwiki-20200729.ebuild
new file mode 100644
index 00000000000..1b6c72ea09b
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20200729.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
+
+# 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 ~ppc ~sparc ~x86"
+IUSE="gd"
+
+DEPEND=""
+RDEPEND="
+	>=dev-lang/php-5.3[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
+}


             reply	other threads:[~2020-08-12  2:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12  2:26 Jorge Manuel B. S. Vicetto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  9:27 [gentoo-commits] repo/gentoo:master commit in: www-apps/dokuwiki/ Viorel Munteanu
2024-08-30  9:27 Viorel Munteanu
2024-08-30  9:27 Viorel Munteanu
2024-02-12 12:48 Viorel Munteanu
2024-02-12 12:48 Viorel Munteanu
2024-02-10  7:29 Viorel Munteanu
2023-05-18  4:18 Viorel Munteanu
2023-05-18  4:18 Viorel Munteanu
2023-04-14  6:58 Viorel Munteanu
2023-04-14  6:58 Viorel Munteanu
2022-11-01  4:25 Jakov Smolić
2022-08-30  6:05 Andreas Sturmlechner
2021-12-26  0:20 Sam James
2021-04-25  5:19 Sam James
2021-01-10 22:27 Sam James
2020-08-12  2:29 Jorge Manuel B. S. Vicetto
2019-02-01 10:53 Jorge Manuel B. S. Vicetto
2018-07-25 19:47 Jorge Manuel B. S. Vicetto
2018-07-25 19:37 Jorge Manuel B. S. Vicetto
2017-08-24 10:00 Jorge Manuel B. S. Vicetto
2017-04-26 21:06 Patrice Clement
2017-04-16  2:35 Jorge Manuel B. S. Vicetto
2017-04-16  2:32 Jorge Manuel B. S. Vicetto
2016-08-15 13:15 Brian Evans
2016-07-14 22:01 Jorge Manuel B. S. Vicetto
2015-10-18 18:18 Mikle Kolyada
2015-08-20 20:56 Jorge Manuel B. S. Vicetto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1597199198.7ebd3acb7d81cc48edf6130ed4fe7360beb02784.jmbsvicetto@gentoo \
    --to=jmbsvicetto@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox