Summary: | New port: horde-passwd - Horde module for password changing | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | jonny <jonny> | ||||
Component: | Individual Port(s) | Assignee: | Thierry Thomas <thierry> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
jonny
2004-02-12 17:50:10 UTC
Responsible Changed From-To: freebsd-ports-bugs->thierry I'll take it. State Changed From-To: open->feedback I'll be happy to commit this port, but since your submission, it has been upgraded to 2.2.1; could you please update your shar file? Another remark: this port has no RUN_DEPENDS... Updated to 2.2.1, as requested... # 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: # # Makefile # distinfo # files # files/httpd.conf.pwd # pkg-descr # pkg-message # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# Ports collection makefile for: horde-passwd X# Date created: Thu Feb 12, 2004 X# Whom: João Carlos Mendes Luís (<jonny@jonny.eng.br>) X# X# $FreeBSD: $ X# X XPORTNAME= horde-passwd XPORTVERSION= 2.2.1 XPORTREVISION= 0 XCATEGORIES= www mail XMASTER_SITES= ftp://ftp.horde.org/pub/passwd/ \ X ftp://ftp.au.horde.org/pub/horde/passwd/ \ X ftp://ftp.es.horde.org/pub/passwd/ \ X ftp://ftp.it.horde.org/pub/mirror/horde.org/passwd/ \ X ftp://ftp.nl.horde.org/mirror/horde-ftp/pub/passwd/ \ X ftp://ftp.pt.horde.org/pub/horde-ftp/passwd/ XDISTNAME= passwd-${PORTVERSION} XDIST_SUBDIR= horde X XMAINTAINER= ports@FreeBSD.org XCOMMENT= A password changing module for Horde X XRUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 X XNO_BUILD= yes XUSE_REINPLACE= yes X XREINPLACE_ARGS= -i.beforePWD X XDOCS= LICENSE README docs/CHANGES docs/CREDITS docs/INSTALL \ X docs/RELEASE_NOTES XSUB_DIRS= config graphics lib locale po scripts templates XCONFFILE= conf.php backends.php X XLHORDEDIR?= www/horde XLPWDDIR?= ${LHORDEDIR}/passwd X XHORDEDIR= ${PREFIX}/${LHORDEDIR} XPWDDIR= ${PREFIX}/${LPWDDIR} XCONFDIR= ${PWDDIR}/config XHCONFDIR= ${HORDEDIR}/config X XPLIST_SUB= LPWDDIR=${LPWDDIR} PWDDIR=${PWDDIR} X XHORDE_INC= ${PREFIX}/etc/horde X Xdo-install: X @${MKDIR} ${PWDDIR} X.for REP in ${SUB_DIRS} X @${CP} -Rp ${WRKSRC}/${REP} ${PWDDIR} X.endfor X @${CP} -p ${WRKSRC}/*.php ${PWDDIR} X.for FILE in ${CONFFILE} X @if [ ! -f ${CONFDIR}/${FILE} ]; then \ X ${CP} ${CONFDIR}/${FILE}.dist ${CONFDIR}/${FILE} ; \ X fi X.endfor X @${CHOWN} -R www:www ${PWDDIR} X @${CHMOD} -R o-rwx ${CONFDIR} X @${CP} -p ${FILESDIR}/httpd.conf.pwd ${HORDE_INC}/httpd.conf.pwd X @${REINPLACE_CMD} -e "s:/home/httpd/html/horde/passwd:${PWDDIR}:g" ${HORDE_INC}/httpd.conf.pwd X @${RM} ${HORDE_INC}/httpd.conf.pwd.beforePWD X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for FILE in ${DOCS} X @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X.endif X Xpost-install: X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} | \ X ${SED} -e "s:%%PWDDIR%%:${PWDDIR}:g;s:%%CONFDIR%%:${CONFDIR}:g;s:%%HCONFDIR%%:${HCONFDIR}:g" X @${ECHO_MSG} X X.include <bsd.port.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (horde/passwd-2.2.1.tar.gz) = 8b17c4d1a9c75ebd0200075fd32f76bf XSIZE (horde/passwd-2.2.1.tar.gz) = 226874 END-of-distinfo echo c - files mkdir -p files > /dev/null 2>&1 echo x - files/httpd.conf.pwd sed 's/^X//' >files/httpd.conf.pwd << 'END-of-files/httpd.conf.pwd' X# This is included in Apache's httpd.conf for horde-passwd X# X# For security, don't serve pages from the horde-passwd configuration and X# library directories. X# X<Directory "/home/httpd/html/horde/passwd/config"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/passwd/lib"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/passwd/locale"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/passwd/po"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/passwd/scripts"> X order deny,allow X deny from all X</Directory> X<Directory "/home/httpd/html/horde/passwd/templates"> X order deny,allow X deny from all X</Directory> X# End of horde-passwd configuration ================ END-of-files/httpd.conf.pwd echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XPasswd is the Horde password changing application. While it has been Xreleased and is in production use at many sites, it is also under Xheavy development in an effort to expand and improve the module. X XRight now, Passwd provides fairly complete support for changing Xpasswords via poppassd, ldap, unix expect scripts, the unix smbpasswd Xcommand for smb/cifs password support, servuftp, vmailmgr, vpopmail, Xand sql passwords. X XWWW: http://www.horde.org/passwd/ END-of-pkg-descr echo x - pkg-message sed 's/^X//' >pkg-message << 'END-of-pkg-message' X************************************************************************ Xhorde-passwwd has been installed in %%PWDDIR%% with your blank Xconfiguration files. X Xhorde-passwd requires a password changing mechanism. Probably the Xeasier one is the port mail/poppassd. Choose one and change the Xconfiguration files conf.php and backend.php, located in X%%CONFDIR%%/ X XTo enable horde-passwd at your horde installation, add the following Xlines to your horde registry file, at X%%HCONFDIR%%/registry.php X X----8<--------8<--------8<--------8<--------8<--------8<--------8<---- X$this->applications['passwd'] = array( X 'fileroot' => dirname(__FILE__) . '/../passwd', X 'webroot' => $this->applications['horde']['webroot'] . '/passwd', X 'icon' => $this->applications['horde']['webroot'] . '/passwd/graphics/lock.gif', X 'name' => _("Password"), X 'allow_guests' => false, X 'show' => true, X 'status' => 'active' X); X----8<--------8<--------8<--------8<--------8<--------8<--------8<---- X XTo integrate horde-passwd and IMP, edit the file Xhorde/imp/config/conf.php and include 'passwd' in the list of menu Xapps, for example, it might look like the following: X X$conf['menu']['apps'] = array('turba','passwd'); X XTo protect your configuration files, you have to restart Apache. X************************************************************************ END-of-pkg-message echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' X@unexec /usr/bin/cmp %%PWDDIR%%/config/backends.php %%PWDDIR%%/config/backends.php.dist && /bin/rm -f %%PWDDIR%%/config/backends.php || ${TRUE} X@unexec /usr/bin/cmp %%PWDDIR%%/config/conf.php %%PWDDIR%%/config/conf.php.dist && /bin/rm -f %%PWDDIR%%/config/conf.php || ${TRUE} X%%PORTDOCS%%share/doc/horde-passwd/LICENSE X%%PORTDOCS%%share/doc/horde-passwd/README X%%PORTDOCS%%share/doc/horde-passwd/CHANGES X%%PORTDOCS%%share/doc/horde-passwd/CREDITS X%%PORTDOCS%%share/doc/horde-passwd/INSTALL X%%PORTDOCS%%share/doc/horde-passwd/RELEASE_NOTES X%%LPWDDIR%%/config/.htaccess X%%LPWDDIR%%/config/backends.php.dist X%%LPWDDIR%%/config/conf.php.dist X%%LPWDDIR%%/graphics/lock.gif X%%LPWDDIR%%/lib/Driver/vpopmail.php X%%LPWDDIR%%/lib/Driver/ldap.php X%%LPWDDIR%%/lib/Driver/poppassd.php X%%LPWDDIR%%/lib/Driver/servuftp.php X%%LPWDDIR%%/lib/Driver/smbpasswd.php X%%LPWDDIR%%/lib/Driver/sql.php X%%LPWDDIR%%/lib/Driver/vmailmgr.php X%%LPWDDIR%%/lib/Driver/expect.php X%%LPWDDIR%%/lib/.htaccess X%%LPWDDIR%%/lib/Driver.php X%%LPWDDIR%%/lib/Passwd.php X%%LPWDDIR%%/lib/base.php X%%LPWDDIR%%/lib/version.php X%%LPWDDIR%%/locale/ar_SY/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/da_DK/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/gl_ES/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/id_ID/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/hu_HU/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/hu_HU/help.xml X%%LPWDDIR%%/locale/lt_LT/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/ro_RO/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/zh_CN/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/nl_NL/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/nl_NL/help.xml X%%LPWDDIR%%/locale/cs_CZ/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/de_DE/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/en_US/help.xml X%%LPWDDIR%%/locale/es_ES/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/fi_FI/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/fi_FI/help.xml X%%LPWDDIR%%/locale/fr_FR/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/it_IT/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/bg_BG/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/nn_NO/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/pl_PL/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/pt_BR/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/ru_RU/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/sv_SE/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/locale/zh_TW/LC_MESSAGES/passwd.mo X%%LPWDDIR%%/po/.htaccess X%%LPWDDIR%%/po/Makefile X%%LPWDDIR%%/po/README X%%LPWDDIR%%/po/ar_SY.po X%%LPWDDIR%%/po/bg_BG.po X%%LPWDDIR%%/po/cs_CZ.po X%%LPWDDIR%%/po/da_DK.po X%%LPWDDIR%%/po/de_DE.po X%%LPWDDIR%%/po/es_ES.po X%%LPWDDIR%%/po/extract.pl X%%LPWDDIR%%/po/fi_FI.po X%%LPWDDIR%%/po/fr_FR.po X%%LPWDDIR%%/po/gl_ES.po X%%LPWDDIR%%/po/hu_HU.po X%%LPWDDIR%%/po/id_ID.po X%%LPWDDIR%%/po/it_IT.po X%%LPWDDIR%%/po/lt_LT.po X%%LPWDDIR%%/po/messages.po X%%LPWDDIR%%/po/nl_NL.po X%%LPWDDIR%%/po/nn_NO.po X%%LPWDDIR%%/po/passwd.pot X%%LPWDDIR%%/po/pl_PL.po X%%LPWDDIR%%/po/pt_BR.po X%%LPWDDIR%%/po/ro_RO.po X%%LPWDDIR%%/po/ru_RU.KOI8-R.po X%%LPWDDIR%%/po/ru_RU.po X%%LPWDDIR%%/po/shtool X%%LPWDDIR%%/po/sv_SE.po X%%LPWDDIR%%/po/xgettext.sh X%%LPWDDIR%%/po/zh_CN.po X%%LPWDDIR%%/po/zh_TW.po X%%LPWDDIR%%/scripts/passwd_expect X%%LPWDDIR%%/templates/index/notconfigured.inc X%%LPWDDIR%%/templates/main/javascript.inc X%%LPWDDIR%%/templates/main/main.inc X%%LPWDDIR%%/templates/menu/menu.inc X%%LPWDDIR%%/templates/.htaccess X%%LPWDDIR%%/templates/common-footer.inc X%%LPWDDIR%%/templates/common-header.inc X%%LPWDDIR%%/status.php X%%LPWDDIR%%/menu.php X%%LPWDDIR%%/main.php X%%LPWDDIR%%/index.php X%%PORTDOCS%%@dirrm share/doc/horde-passwd Xetc/horde/httpd.conf.pwd X@dirrm %%LPWDDIR%%/templates/menu X@dirrm %%LPWDDIR%%/templates/main X@dirrm %%LPWDDIR%%/templates/index X@dirrm %%LPWDDIR%%/templates X@dirrm %%LPWDDIR%%/scripts X@dirrm %%LPWDDIR%%/po X@dirrm %%LPWDDIR%%/locale/zh_TW/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/zh_TW X@dirrm %%LPWDDIR%%/locale/zh_CN/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/zh_CN X@dirrm %%LPWDDIR%%/locale/sv_SE/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/sv_SE X@dirrm %%LPWDDIR%%/locale/ru_RU/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/ru_RU.KOI8-R/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/ru_RU.KOI8-R X@dirrm %%LPWDDIR%%/locale/ru_RU X@dirrm %%LPWDDIR%%/locale/ro_RO/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/ro_RO X@dirrm %%LPWDDIR%%/locale/pt_BR/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/pt_BR X@dirrm %%LPWDDIR%%/locale/pl_PL/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/pl_PL X@dirrm %%LPWDDIR%%/locale/nn_NO/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/nn_NO X@dirrm %%LPWDDIR%%/locale/nl_NL/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/nl_NL X@dirrm %%LPWDDIR%%/locale/lt_LT/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/lt_LT X@dirrm %%LPWDDIR%%/locale/it_IT/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/it_IT X@dirrm %%LPWDDIR%%/locale/id_ID/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/id_ID X@dirrm %%LPWDDIR%%/locale/hu_HU/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/hu_HU X@dirrm %%LPWDDIR%%/locale/gl_ES/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/gl_ES X@dirrm %%LPWDDIR%%/locale/fr_FR/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/fr_FR X@dirrm %%LPWDDIR%%/locale/fi_FI/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/fi_FI X@dirrm %%LPWDDIR%%/locale/es_ES/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/es_ES X@dirrm %%LPWDDIR%%/locale/en_US X@dirrm %%LPWDDIR%%/locale/de_DE/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/de_DE X@dirrm %%LPWDDIR%%/locale/da_DK/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/da_DK X@dirrm %%LPWDDIR%%/locale/cs_CZ/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/cs_CZ X@dirrm %%LPWDDIR%%/locale/bg_BG/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/bg_BG X@dirrm %%LPWDDIR%%/locale/ar_SY/LC_MESSAGES X@dirrm %%LPWDDIR%%/locale/ar_SY X@dirrm %%LPWDDIR%%/locale X@dirrm %%LPWDDIR%%/lib/Driver X@dirrm %%LPWDDIR%%/lib X@dirrm %%LPWDDIR%%/graphics X@dirrm %%LPWDDIR%%/config X@dirrm %%LPWDDIR%% END-of-pkg-plist exit Le Dim 11 avr 04 à 1:51:38 +0200, Joao Carlos Mendes Luis <jcmendes@minerva.int.gov.br> écrivait : > XRUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 Don't you have to register a dependency towards mail/poppassd or towards the other possible back-ends? Might be optional dependencies, with e.g. if defined(WITH_POPPASSWD))... Regards, -- Th. Thomas. State Changed From-To: feedback->closed Committed, thanks! (with some modifications) |