From 2de0b6a33def545ef111e316e467566f8b5cd314 Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Fri, 20 Dec 2019 16:44:50 +0000 Subject: www-apps/glpi: Add 9.4.5 release. Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) --- www-apps/glpi/Manifest | 1 + www-apps/glpi/glpi-9.4.5.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 www-apps/glpi/glpi-9.4.5.ebuild diff --git a/www-apps/glpi/Manifest b/www-apps/glpi/Manifest index 9872889..debaa13 100644 --- a/www-apps/glpi/Manifest +++ b/www-apps/glpi/Manifest @@ -2,3 +2,4 @@ DIST glpi-9.2.tgz 30890041 BLAKE2B 6c5d17f5178c74e0098bb6942d30118fc1511b6d4b343 DIST glpi-9.3.3.tgz 33661056 BLAKE2B db6421bb0b6b78c22dc157d36825c8ca681f181e1dc16dc3376768772f7c41623eb5a7509203a821fd559a2be5065470a52f01460dd4f5120987d891441fbab2 SHA512 acee505bdb024d66fc750d4ddc148a82174386cd1fee6eb8042e3df87244d56fb986d70bf4528bfb4eb57d00fba56897f4bb7b0624e4f5f1c04572c4d64243fc DIST glpi-9.4.0-beta.tgz 34681631 BLAKE2B e0b77a405a51e4c2370d3d19981f8d26f8f7367c913c0fa9ea7695f1ec883b4d58f79a45db5be9cd3e593dba6379bbf24fd1bda150466a4d109b0e136fcd49a9 SHA512 90bc8811ed35a00c0a935d2de576a8f4780c557651d389092475501f274f2888feb346dba19d9423d2ad33e924b50b106c08309fee4f44213745f30bca8a54a7 DIST glpi-9.4.2.tgz 34831683 BLAKE2B f2e4d953200164d84769e14a5dee65b1444f160727bb6955ac9b1995d78cc4135b9c726fcd8dd04a13fcd75248513578cba375fd6bf11217ee00defa85533206 SHA512 88b3156c55160c3f199cacaffcb9c4fe321c42999506a0c94c8e8006f68ee2d4d812c6ad64b46ccf7371ca5bcd71cb52f98210002b0044ad7668f6a4b4c2fd9d +DIST glpi-9.4.5.tgz 35073134 BLAKE2B 700cd2ad3a803254ec5dded8d91a93f729c89a9f575bcc72480e4eedd35abba6e057708ca14858fcdbb1ce55e543f0fb27d1e1e73cd0dcbbbf78c87f75a2babe SHA512 3fb8289047967193abaaee824ae42d6bb4127f46ab3de09a57fca5ca1c07543dcfa3861df0549444c789fd10a6793fa549b2d85a3c425cc79ba986826f5cd579 diff --git a/www-apps/glpi/glpi-9.4.5.ebuild b/www-apps/glpi/glpi-9.4.5.ebuild new file mode 100644 index 0000000..d4d5c1a --- /dev/null +++ b/www-apps/glpi/glpi-9.4.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit webapp + +MY_PN="glpi-project" +MY_P=${P/_/-} +MY_PV=${PV/_/-} + +DESCRIPTION="The Information Resource-Manager with an additional Administration Interface." +HOMEPAGE="http://www.glpi-project.org/" +SRC_URI="https://github.com/${MY_PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tgz" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + app-admin/webapp-config +" +RDEPEND=" + dev-lang/php[curl,json,mysqli,session,unicode] + virtual/mysql +" +S="${WORKDIR}/${PN}" + +pkg_config () { + + webapp_pkg_setup +} + +src_install () { + + webapp_src_preinst + + einfo "Installing files" + insinto "${MY_HTDOCSDIR}" + doins -r . + + # Protect config files + webapp_configfile -R config .htaccess + + # Allow writing to the config and files directories + for dir in config files .htaccess ; do + + webapp_serverowned -R "${MY_HTDOCSDIR}/${dir}" + done + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} -- cgit v1.2.3-65-gdbad