commit: 8663df8f13bbed19707ed3b167e78a8ee4adea66 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> AuthorDate: Tue Dec 2 18:51:02 2014 +0000 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> CommitDate: Tue Dec 2 18:51:02 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=8663df8f
Version bump. This still needs work to fix the file permissions. Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> --- www-apps/glpi/Manifest | 2 ++ www-apps/glpi/glpi-0.84.8.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++ www-apps/glpi/glpi-0.85.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) diff --git a/www-apps/glpi/Manifest b/www-apps/glpi/Manifest index cb1f0a5..fe09eb7 100644 --- a/www-apps/glpi/Manifest +++ b/www-apps/glpi/Manifest @@ -2,3 +2,5 @@ DIST glpi-0.72.3.tar.gz 2798927 SHA256 b34016d16b53f09123b96cf0f798373b342d6efc5 DIST glpi-0.72.4.tar.gz 2796004 SHA256 f1865ae012467108f0531ad38a9c938f3bd5d4253c9ff4c92ddda752feac92bc DIST glpi-0.83.7.tar.gz 4493150 SHA256 6558e7ed3a1ccaa8dfc2804553b1e7800526b025fda26dfddd27b02908ff2697 SHA512 a935143f87d2dd087dceea0f2983184868d445563be885a79ef70017131b5e24d6eaaf1ad42eb9ee23debb983a95601479a07fdf63969dbd9d683f04f15025b2 WHIRLPOOL 7a13517673ada245aa27dc0176fbe1a475c6d662c0750da4eeffe30cdc51b3d7b5abd0726a8b632bccc27cd38e744092d17da165f3a20b7e9aafbdef7815d42b DIST glpi-0.83.91.tar.gz 4490605 SHA256 41f3b612fc0fc7d077ee8b13f406fd47093860065a90db4bf2d8b4397fc45f8e SHA512 d4dcae48403e6417600ae4e6cc4b63715b79525096726d7af24a654d33c98b87df615ee2b2afd5b115e57c9cfea511cda993839b6a29b2498611b311f72a1502 WHIRLPOOL 60cf8f6f1c70d528b09fb998915925e34b7c91750d912027db8f2d79efd99d3e629f3eb2dcefe583a20c150191e24c035b70bfb6f9d753b7e590bb9c7db50fd9 +DIST glpi-0.84.8.tar.gz 10824236 SHA256 dab6dd1d56e8f8307d04386a4a089d18aba8424302dcdc65f5db7541b083ef52 SHA512 f4157aa7858cea43dcbd7d3d762e3ad1a47c03fdbffa9796cb57b8cafea5d0650498116332a6e885ccc8a9bacf342319980fdd99bff6165ecb09aef5d7c0b9a0 WHIRLPOOL 9f9c46ca96612eb286ddaf90b1ba5ea028bf8b4604dac97fbc722c2e4f57a9cb20e1c80eb0bc2e7ca330b4f80993ab37bdb50d242e3c74890b177fad6efac4fc +DIST glpi-0.85.tar.gz 17925183 SHA256 4ff2087ed21b5b131b212ce7221d50ccd220dfc7ade574f97185bf35f4f229f4 SHA512 bfdccd61541404d02f120703ca90d70f6bf8b22f5d75d7f2fedb1b64dc60587236cc781669714717ef2ebb7839ed6b35d5da77c16bb939991659166c7433a360 WHIRLPOOL 321fd7e481c81243fdb5094996100b0ab58e6a1f266efccdcfb1ab05b2fdbf943b9b82a85e06774d5510e71559aa9bfce6f1c279b8263a61ae1d78165347ecd5 diff --git a/www-apps/glpi/glpi-0.84.8.ebuild b/www-apps/glpi/glpi-0.84.8.ebuild new file mode 100644 index 0000000..5bcf415 --- /dev/null +++ b/www-apps/glpi/glpi-0.84.8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp + +DESCRIPTION="GLPI is the Information Resource-Manager with an additional Administration- Interface." +HOMEPAGE="http://www.glpi-project.org/" +SRC_URI="https://forge.indepnet.net/attachments/download/1873/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + app-admin/webapp-config +" +RDEPEND=" + dev-db/mysql + dev-lang/php +" +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 +} diff --git a/www-apps/glpi/glpi-0.85.ebuild b/www-apps/glpi/glpi-0.85.ebuild new file mode 100644 index 0000000..5869d81 --- /dev/null +++ b/www-apps/glpi/glpi-0.85.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp + +DESCRIPTION="GLPI is the Information Resource-Manager with an additional Administration- Interface." +HOMEPAGE="http://www.glpi-project.org/" +SRC_URI="https://forge.indepnet.net/attachments/download/1899/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + app-admin/webapp-config +" +RDEPEND=" + dev-db/mysql + dev-lang/php +" +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 +}
