Added (unfinished) ebuild for LDAP account manager

git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@5344 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
Torsten Kurbad 2007-09-10 12:56:41 +00:00
parent a8c656f161
commit 505ced125a
5 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,12 @@
AUX postinstall-en.txt 210 RMD160 3bd025f985a46ecb4f1b97b7807761664120d6dc SHA1 00c7f7faae9fa2c688a576b8467945403f0d3995 SHA256 dd7c3d3b39c324e773e94118d96efba9d5eed0b0ff00dcbb14273ae61c7d8f04
MD5 3ebe22390bbc32149de71ed2c21abc2b files/postinstall-en.txt 210
RMD160 3bd025f985a46ecb4f1b97b7807761664120d6dc files/postinstall-en.txt 210
SHA256 dd7c3d3b39c324e773e94118d96efba9d5eed0b0ff00dcbb14273ae61c7d8f04 files/postinstall-en.txt 210
DIST ldap-account-manager-2.0.0.tar.gz 2002599 RMD160 b837081965798c80884b405ef35d8d8bf6d5d334 SHA1 848f3c0f37dab04112801dab417bb38c17b0a78c SHA256 4c6f358ecae3e7259d71b336fe60ec6337073e7e3f063f553a69dc6d0c0dd6cc
EBUILD ldap-account-manager-2.0.0.ebuild 2265 RMD160 eb9f9cbfae6b7cb5112a5c978afe27b2baeb7f45 SHA1 77dbd6663acc4143d7e9cd842f0470d863718765 SHA256 89720a46d0b462bda58fc0ebe16c5c4be7643be3c24e7b55c2c8c6431bc09335
MD5 c46bb7d60d1906093f55859948537525 ldap-account-manager-2.0.0.ebuild 2265
RMD160 eb9f9cbfae6b7cb5112a5c978afe27b2baeb7f45 ldap-account-manager-2.0.0.ebuild 2265
SHA256 89720a46d0b462bda58fc0ebe16c5c4be7643be3c24e7b55c2c8c6431bc09335 ldap-account-manager-2.0.0.ebuild 2265
MD5 3663d5bc396a072c5809c2375700a0dc files/digest-ldap-account-manager-2.0.0 283
RMD160 b69358d41e27f1d4bd9e93ad3da77cd6220ce0fd files/digest-ldap-account-manager-2.0.0 283
SHA256 72b5b4b1ec39b1d29e6ad361860a8bcbd8dd1f9879a8ab0c9b72dfe56b01528e files/digest-ldap-account-manager-2.0.0 283

View File

@ -0,0 +1,3 @@
MD5 1ff83a33560a56c02e4f9d5bdd9dd40e ldap-account-manager-2.0.0.tar.gz 2002599
RMD160 b837081965798c80884b405ef35d8d8bf6d5d334 ldap-account-manager-2.0.0.tar.gz 2002599
SHA256 4c6f358ecae3e7259d71b336fe60ec6337073e7e3f063f553a69dc6d0c0dd6cc ldap-account-manager-2.0.0.tar.gz 2002599

View File

@ -0,0 +1,3 @@
MD5 1ff83a33560a56c02e4f9d5bdd9dd40e ldap-account-manager-2.0.0.tar.gz 2002599
RMD160 b837081965798c80884b405ef35d8d8bf6d5d334 ldap-account-manager-2.0.0.tar.gz 2002599
SHA256 4c6f358ecae3e7259d71b336fe60ec6337073e7e3f063f553a69dc6d0c0dd6cc ldap-account-manager-2.0.0.tar.gz 2002599

View File

@ -0,0 +1,10 @@
LDAP-Account-Manager is installed. You will need to
change the master password in:
${MY_INSTALLDIR}/config/config.cfg
and change the profile:
${MY_INSTALLDIR}/config/lam.conf
according to your LDAP setup.

View File

@ -0,0 +1,71 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/phpldapadmin/phpldapadmin-1.0.2.ebuild,v 1.2 2007/08/16 07:01:18 opfer Exp $
inherit webapp depend.php
MY_PN="lam"
DESCRIPTION="phpLDAPadmin is a web-based tool for managing all aspects of your LDAP server."
HOMEPAGE="http://lam.sourceforge.net"
SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc x86"
IUSE=""
need_php5
pkg_setup() {
webapp_pkg_setup
require_php_with_use ldap pcre session xml nls
}
src_unpack() {
unpack ${A}
cd ${S}
cp config/config.cfg_sample config/config.cfg
cp config/lam.conf_sample config/lam.conf
rm -rf docs/devel
}
src_compile() {
einfo "Nothing to compile"
}
src_install() {
webapp_src_preinst
dodoc docs/*
cp -r . ${D}${MY_HTDOCSDIR}
cd ${D}${MY_HTDOCSDIR}
webapp_configfile ${MY_HTDOCSDIR}/config/config.cfg
webapp_configfile ${MY_HTDOCSDIR}/config/lam.conf
webapp_serverowned ${MY_HTDOCSDIR}/sess
webapp_serverowned ${MY_HTDOCSDIR}/tmp
webapp_serverowned ${MY_HTDOCSDIR}/config
webapp_serverowned ${MY_HTDOCSDIR}/config/language
webapp_serverowned ${MY_HTDOCSDIR}/config/shells
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/default.group.xml
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/default.host.xml
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/default.mailAlias.xml
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/default.smbDomain.xml
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/default.user.xml
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/logos
webapp_serverowned ${MY_HTDOCSDIR}/config/pdf/logos/printLogo.jpg
webapp_serverowned ${MY_HTDOCSDIR}/config/profiles
webapp_serverowned ${MY_HTDOCSDIR}/config/profiles/default.group
webapp_serverowned ${MY_HTDOCSDIR}/config/profiles/default.host
webapp_serverowned ${MY_HTDOCSDIR}/config/profiles/default.mailAlias
webapp_serverowned ${MY_HTDOCSDIR}/config/profiles/default.smbDomain
webapp_serverowned ${MY_HTDOCSDIR}/config/profiles/default.user
webapp_serverowned ${MY_HTDOCSDIR}/config/selfService
webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
webapp_src_install
}