diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2019-05-21 18:38:17 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2019-05-21 18:38:17 +0000 |
commit | 1eabe720b524e58f86f778157d0ba8ad1f3d2acf (patch) | |
tree | cc3cf20fe65c6537e7fc1df10f0dd19d024d8a00 | |
parent | net-analyzer/munin: Drop old ebuilds from overlay. (diff) | |
download | jmbsvicetto-1eabe720b524e58f86f778157d0ba8ad1f3d2acf.tar.gz jmbsvicetto-1eabe720b524e58f86f778157d0ba8ad1f3d2acf.tar.bz2 jmbsvicetto-1eabe720b524e58f86f778157d0ba8ad1f3d2acf.zip |
www-apps/glpi: Version bump to release 9.4.2.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r-- | www-apps/glpi/Manifest | 1 | ||||
-rw-r--r-- | www-apps/glpi/glpi-9.4.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/glpi/Manifest b/www-apps/glpi/Manifest index 7f80b4e..9872889 100644 --- a/www-apps/glpi/Manifest +++ b/www-apps/glpi/Manifest @@ -1,3 +1,4 @@ DIST glpi-9.2.tgz 30890041 BLAKE2B 6c5d17f5178c74e0098bb6942d30118fc1511b6d4b34353a4ac8c9ace84001bd62658b8cb5f958f417c487487e28100b96e0c5634d9bfbab28532effc8d42bd8 SHA512 354488bb75d5b927f8c130622466302ea216ca4e7a86d2b5c21a08bec8e92777b21e4c71d8eddfd11b10bbc6206dbfaa486684deaf9863716c4fe5ed41719e15 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 diff --git a/www-apps/glpi/glpi-9.4.2.ebuild b/www-apps/glpi/glpi-9.4.2.ebuild new file mode 100644 index 0000000..9e72f49 --- /dev/null +++ b/www-apps/glpi/glpi-9.4.2.ebuild @@ -0,0 +1,55 @@ +# 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 . + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_src_install +} + +pkg_preinst () { + + fowners -R root:apache "${MY_HTDOCSDIR}" + fperms -R g-w,o-rwx "${MY_HTDOCSDIR}" + + # Allow writing to the config and files directories + for dir in config files ; do + + fperms -R g+w "${MY_HTDOCSDIR}/${dir}" + done +} |