Date: Mon, 8 Sep 2003 18:58:35 +0200 From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Clement Laforet <sheepkiller@cultdeadsheep.org> Subject: ports/56599: [new port] sysutils/ldap-account-manager: Webfrontend for managing accounts stored in an OpenLDAP server Message-ID: <20030908165831.324C343FBD@mx1.FreeBSD.org> Resent-Message-ID: <200309081700.h88H0U6w090391@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56599 >Category: ports >Synopsis: [new port] sysutils/ldap-account-manager: Webfrontend for managing accounts stored in an OpenLDAP server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 08 10:00:30 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 5.1-CURRENT i386 >Organization: cotds.org >Environment: System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Mon Sep 1 10:07:15 CEST 2003 root@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386 >Description: LDAP Account Manager (lam) is a webfrontend for managing accounts stored in an openLDAP server. Features: - management of Unix user and group accounts (posixAccount/posixGroup) - management of Samba 2.x/3.x user and host accounts (sambaAccount) - automatic creation/deletion of home directories (experimental) - setting quotas (experimental) - support for LDAP+SSL - multi-language support (default language: English, German only partial) >How-To-Repeat: N/A. >Fix: --- ldap-account-manager.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ldap-account-manager # ldap-account-manager/Makefile # ldap-account-manager/distinfo # ldap-account-manager/pkg-descr # ldap-account-manager/pkg-plist # echo c - ldap-account-manager mkdir -p ldap-account-manager > /dev/null 2>&1 echo x - ldap-account-manager/Makefile sed 's/^X//' >ldap-account-manager/Makefile << 'END-of-ldap-account-manager/Makefile' X# New ports collection makefile for: LDAP-Account-Manager X# Date created: August, 2nd 2003 X# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> X# X# $FreeBSD$ X# X XPORTNAME= LDAP-Account-Manager XPORTVERSION= 0.3 XCATEGORIES= sysutils www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= lam XDISTNAME= ${PORTNAME}-${PORTVERSION}-1 X XMAINTAINER= sheepkiller@cultdeadsheep.org XCOMMENT= Webfrontend for managing accounts stored in an OpenLDAP server X XRUN_DEPENDS= ${LOCALBASE}/${MOD_DIR}/libphp4.so:${PORTSDIR}/www/apache2 \ X ${SITE_PERL}/${PERL_ARCH}/Quota.pm:${PORTSDIR}/sysutils/p5-Quota\ X ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap X XUSE_REINPLACE= YES XNO_BUILD= YES XWRKSRC= ${WRKDIR}/lam X X.if defined(WITH_APACHE2) XMOD_DIR= libexec/apache2 X.else XMOD_DIR= libexec/apache X.endif X X.include <bsd.port.pre.mk> X X.if !exists(${LOCALBASE}/lib/libldap.so.2) XIGNORE+= "OpenLDAP support is required \(2.0 or greater\)" X.endif X X.if !exists(${LOCALBASE}/lib/libmcrypt.so) XIGNORE+= "mcrypt support is required" X.endif X X.if !exists(${LOCALBASE}/lib/libintl.so) XIGNORE+= "gettext support is required" X.endif X XWWW_ROOT?= www/lam XPLIST_SUB+= WWWROOT=${WWW_ROOT} XWWW_USER?= www XWWW_GROUP?= www XWWW_DIR= config graphics help lib locale sess style templates XDOC_FILES= COPYING HISTORY INSTALL README TODO docs/README.fpdf \ X docs/README.lamdaemon.pl docs/README.openldap docs/README.shells X XCVS_DIRS= ${WRKSRC}/lib/font/CVS ${WRKSRC}/lib/font/makefont/CVS X Xpost-extract: X @${RM} -fr ${CVS_DIRS} X Xdo-install: X @${MKDIR} ${PREFIX}/${WWW_ROOT} X @${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/${WWW_ROOT} X.for DIR in ${WWW_DIR} X @${MKDIR} ${PREFIX}/${WWW_ROOT}/${DIR} X @${CP} -Rf ${WRKSRC}/${DIR} ${PREFIX}/${WWW_ROOT} X.endfor X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for FILE in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X.endif X @${CHOWN} -R ${WWW_USER}:${WWW_GROUP} ${PREFIX}/${WWW_ROOT} X Xpost-install: X @${ECHO_MSG} "" X @${ECHO_MSG} " To use LDAP-account-manager, you have to install" X @${ECHO_MSG} " and set up Samba 2.x or 3.x schemas." X @${ECHO_MSG} " Like this :" X @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/core.schema" X @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/cosine.schema" X @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/inetorgperson.schema" X @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/nis.schema" X @${ECHO_MSG} " include ${LOCALBASE}/etc/openldap/schema/samba.schema" X @${ECHO_MSG} "" X X.include <bsd.port.post.mk> END-of-ldap-account-manager/Makefile echo x - ldap-account-manager/distinfo sed 's/^X//' >ldap-account-manager/distinfo << 'END-of-ldap-account-manager/distinfo' XMD5 (LDAP-Account-Manager-0.3-1.tar.gz) = ad0296a4dfed74785722fd89dfae429b END-of-ldap-account-manager/distinfo echo x - ldap-account-manager/pkg-descr sed 's/^X//' >ldap-account-manager/pkg-descr << 'END-of-ldap-account-manager/pkg-descr' XLDAP Account Manager (lam) is a webfrontend for managing accounts stored Xin an openLDAP server. X XFeatures: X- management of Unix user and group accounts (posixAccount/posixGroup) X- management of Samba 2.x user and host accounts (sambaAccount) X- automatic creation/deletion of home directories (experimental) X- setting quotas (experimental) X- support for LDAP+SSL X- multi-language support (default language: English, German only partial) X XWWW: http://lam.sf.net/ END-of-ldap-account-manager/pkg-descr echo x - ldap-account-manager/pkg-plist sed 's/^X//' >ldap-account-manager/pkg-plist << 'END-of-ldap-account-manager/pkg-plist' X%%WWWROOT%%/index.html X%%WWWROOT%%/config/profiles/groups/default.prg X%%WWWROOT%%/config/profiles/hosts/default.prh X%%WWWROOT%%/config/profiles/users/default.pru X%%WWWROOT%%/config/.htaccess X%%WWWROOT%%/config/lam.conf_sample X%%WWWROOT%%/config/language X%%WWWROOT%%/config/config.cfg_sample X%%WWWROOT%%/config/shells X%%WWWROOT%%/graphics/banner.jpg X%%WWWROOT%%/graphics/printLogo.jpg X%%WWWROOT%%/help/extFileExample.php X%%WWWROOT%%/help/help_numbers.assign X%%WWWROOT%%/help/help.inc X%%WWWROOT%%/lib/font/makefont/cp1250.map X%%WWWROOT%%/lib/font/makefont/cp1251.map X%%WWWROOT%%/lib/font/makefont/cp1252.map X%%WWWROOT%%/lib/font/makefont/cp1253.map X%%WWWROOT%%/lib/font/makefont/cp1254.map X%%WWWROOT%%/lib/font/makefont/cp1257.map X%%WWWROOT%%/lib/font/makefont/iso-8859-1.map X%%WWWROOT%%/lib/font/makefont/iso-8859-15.map X%%WWWROOT%%/lib/font/makefont/iso-8859-16.map X%%WWWROOT%%/lib/font/makefont/iso-8859-2.map X%%WWWROOT%%/lib/font/makefont/iso-8859-4.map X%%WWWROOT%%/lib/font/makefont/iso-8859-5.map X%%WWWROOT%%/lib/font/makefont/iso-8859-7.map X%%WWWROOT%%/lib/font/makefont/iso-8859-9.map X%%WWWROOT%%/lib/font/makefont/koi8-r.map X%%WWWROOT%%/lib/font/makefont/makefont.php X%%WWWROOT%%/lib/font/courier.php X%%WWWROOT%%/lib/font/helveticab.php X%%WWWROOT%%/lib/font/helveticabi.php X%%WWWROOT%%/lib/font/helveticai.php X%%WWWROOT%%/lib/font/symbol.php X%%WWWROOT%%/lib/font/times.php X%%WWWROOT%%/lib/font/timesb.php X%%WWWROOT%%/lib/font/timesbi.php X%%WWWROOT%%/lib/font/timesi.php X%%WWWROOT%%/lib/font/zapfdingbats.php X%%WWWROOT%%/lib/font/helvetica.php X%%WWWROOT%%/lib/account.inc X%%WWWROOT%%/lib/config.inc X%%WWWROOT%%/lib/createntlm.pl X%%WWWROOT%%/lib/fpdf.php X%%WWWROOT%%/lib/functions.js X%%WWWROOT%%/lib/lamdaemon.pl X%%WWWROOT%%/lib/profiles.inc X%%WWWROOT%%/lib/status.inc X%%WWWROOT%%/lib/ldap.inc X%%WWWROOT%%/lib/.htaccess X%%WWWROOT%%/lib/pdf.inc X%%WWWROOT%%/locale/de_DE/LC_MESSAGES/messages.mo X%%WWWROOT%%/locale/de_DE/LC_MESSAGES/messages.po X%%WWWROOT%%/sess/.htaccess X%%WWWROOT%%/style/layout.css X%%WWWROOT%%/templates/lists/listgroups.php X%%WWWROOT%%/templates/lists/listhosts.php X%%WWWROOT%%/templates/lists/listusers.php X%%WWWROOT%%/templates/lists/userlink.php X%%WWWROOT%%/templates/lists/listdomains.php X%%WWWROOT%%/templates/profedit/profilecreate.php X%%WWWROOT%%/templates/profedit/profiledelete.php X%%WWWROOT%%/templates/profedit/profilehost.php X%%WWWROOT%%/templates/profedit/profilemain.php X%%WWWROOT%%/templates/profedit/profileuser.php X%%WWWROOT%%/templates/config/conflogin.php X%%WWWROOT%%/templates/config/confmain.php X%%WWWROOT%%/templates/config/confsave.php X%%WWWROOT%%/templates/config/profmanage.php X%%WWWROOT%%/templates/login.php X%%WWWROOT%%/templates/logout.php X%%WWWROOT%%/templates/main.php X%%WWWROOT%%/templates/main_header.php X%%WWWROOT%%/templates/ou_edit.php X%%WWWROOT%%/templates/massdetail.php X%%WWWROOT%%/templates/domain.php X%%WWWROOT%%/templates/initsuff.php X%%WWWROOT%%/templates/account.php X%%WWWROOT%%/templates/masscreate.php X%%WWWROOT%%/templates/delete.php X%%WWWROOT%%/templates/help.php X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/HISTORY X%%PORTDOCS%%%%DOCSDIR%%/INSTALL X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/TODO X%%PORTDOCS%%%%DOCSDIR%%/README.fpdf X%%PORTDOCS%%%%DOCSDIR%%/README.lamdaemon.pl X%%PORTDOCS%%%%DOCSDIR%%/README.openldap X%%PORTDOCS%%%%DOCSDIR%%/README.shells X@dirrm %%PORTDOCS%%%%DOCSDIR%% X@dirrm %%WWWROOT%%/graphics X@dirrm %%WWWROOT%%/help X@dirrm %%WWWROOT%%/lib/font/makefont X@dirrm %%WWWROOT%%/lib/font X@dirrm %%WWWROOT%%/lib X@dirrm %%WWWROOT%%/locale/de_DE/LC_MESSAGES X@dirrm %%WWWROOT%%/locale/de_DE X@dirrm %%WWWROOT%%/locale X@dirrm %%WWWROOT%%/style X@dirrm %%WWWROOT%%/templates/lists X@dirrm %%WWWROOT%%/templates/profedit X@dirrm %%WWWROOT%%/templates/config X@dirrm %%WWWROOT%%/templates X@unexec rmdir %D/%%WWWROOT%%/config/profiles/groups 2>/dev/null || true X@unexec rmdir %D/%%WWWROOT%%/config/profiles/hosts 2>/dev/null || true X@unexec rmdir %D/%%WWWROOT%%/config/profiles/users 2>/dev/null || true X@unexec rmdir %D/%%WWWROOT%%/config/profiles 2>/dev/null || true X@unexec rmdir %D/%%WWWROOT%%/config 2>/dev/null || true X@unexec rmdir %D/%%WWWROOT%%/sess || true X@unexec rmdir %D/%%WWWROOT%% 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%WWWROOT%%`` to remove any files left." | fmt END-of-ldap-account-manager/pkg-plist exit --- ldap-account-manager.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030908165831.324C343FBD>