diff options
-rw-r--r-- | www-apps/lam/Manifest | 1 | ||||
-rw-r--r-- | www-apps/lam/files/postinstall-en.txt | 11 | ||||
-rw-r--r-- | www-apps/lam/lam-5.6.ebuild | 65 | ||||
-rw-r--r-- | www-apps/lam/metadata.xml | 12 |
4 files changed, 89 insertions, 0 deletions
diff --git a/www-apps/lam/Manifest b/www-apps/lam/Manifest new file mode 100644 index 0000000..8704cd7 --- /dev/null +++ b/www-apps/lam/Manifest @@ -0,0 +1 @@ +DIST ldap-account-manager-5.6.tar.bz2 15223282 SHA256 2b6232c8fd88eda86e8e9bcb273585d1837d89c56f02f4517a159818ec84ab8d SHA512 4c585b4008173e75552140d6e124f7d0a1ce0eb6e0778e33586279ab408e7df78f350625b3b6eeec8d1fea6009d1b412b257f82980af9c4a909c54d16ab4fca8 WHIRLPOOL 7ba7787abc56bd6a7c63e9aac5726b52edccc795a2bb2247da398cc25f7e6ee70c7cdd6fb96fe3f909b79a44fa93ae115f3efff3868e2096e837304b182f7c7c diff --git a/www-apps/lam/files/postinstall-en.txt b/www-apps/lam/files/postinstall-en.txt new file mode 100644 index 0000000..02cf9da --- /dev/null +++ b/www-apps/lam/files/postinstall-en.txt @@ -0,0 +1,11 @@ +1. Configure ${PN}: + + Configure config.cfg and create a configuration profile. + Copy config.cfg_sample to config.cfg and set the master password and default profile. + + Open the index.html in your web browser: + - Follow the link "Configuration Login" from the start page. + (The default password to edit the options is "lam") + - Select the default lam profile or create a new profile. + - Change the settings to fit your environment. + diff --git a/www-apps/lam/lam-5.6.ebuild b/www-apps/lam/lam-5.6.ebuild new file mode 100644 index 0000000..c5a1cbd --- /dev/null +++ b/www-apps/lam/lam-5.6.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit webapp + +MY_P="ldap-account-manager-${PV}" +DESCRIPTION="Frontend for managing accounts stored in an LDAP directory." +HOMEPAGE="http://lam.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-lang/php-5.6[ldap,nls,session,xml] + virtual/httpd-php +" + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + default + + for conffile in config/*.cfg.sample + do + mv ${conffile} ${conffile/.sample/} + done +} + +src_compile() { + : +} + +src_install() { + webapp_src_preinst + + local docs="copyright HISTORY README VERSION" + dodoc ${docs} + docinto html + dodoc -r docs/{devel,manual} + + einfo "Copying VERSION file" + cp VERSION "${D}${MY_HTDOCSDIR}" + rm -f ${docs} + + einfo "Copying main files" + cp -r . "${D}${MY_HTDOCSDIR}" + cd "${D}${MY_HTDOCSDIR}" + + webapp_serverowned "${MY_HTDOCSDIR}"/config/config.cfg + webapp_serverowned "${MY_HTDOCSDIR}"/sess + webapp_serverowned "${MY_HTDOCSDIR}"/tmp + webapp_serverowned "${MY_HTDOCSDIR}"/config + webapp_serverowned "${MY_HTDOCSDIR}"/lib + + webapp_configfile "${MY_HTDOCSDIR}"/config/config.cfg + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} diff --git a/www-apps/lam/metadata.xml b/www-apps/lam/metadata.xml new file mode 100644 index 0000000..c5ac9cd --- /dev/null +++ b/www-apps/lam/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>eva@gentoo.org</email> + <name>Gilles Dartiguelongue</name> +</maintainer> +<upstream> + <remote-id type="sourceforge">lam</remote-id> + <remote-id type="cpe">cpe:/a:ldap-account-manager:ldap_account_manager</remote-id> +</upstream> +</pkgmetadata> |