FreeBSD Bugzilla – Attachment 76975 Details for
Bug 110886
[NEW PORT] mail/horde-forwards - Email forward utility
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 10.34 KB, created by
Beech Rintoul
on 2007-03-26 23:10:04 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Beech Rintoul
Created:
2007-03-26 23:10:04 UTC
Size:
10.34 KB
patch
obsolete
># This is a shell archive >echo x horde-forwards >mkdir -p horde-forwards > /dev/null 2>&1 >echo x horde-forwards/files >mkdir -p horde-forwards/files > /dev/null 2>&1 >echo x horde-forwards/pkg-descr >sed 's/^X//' > horde-forwards/pkg-descr << 'SHAR_END' >XForwards is a Horde module for setting user email forwards via the .forward >Xmechanism supported by several popular mailers. >X >XRight now, Forwards provides fairly complete support for setting .forward style >Xforwards on Sendmail, Courier, or Qmail mail based systems via an FTP transport. >XIt now also has drivers for Mdaemon, Exim SQL, Exim LDAP, Custom SQL, and SOAP >Xbased systems. >X >XWWW: http://www.horde.org/forwards/ >SHAR_END >echo x horde-forwards/Makefile >sed 's/^X//' > horde-forwards/Makefile << 'SHAR_END' >X# Ports collection makefile for: forwards3 >X# Date created: Mon Mar 26, 2007 >X# Whom: Beech Rintoul <beech@alaskaparadise.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= forwards >XPORTVERSION= 3.0.1 >XDISTVERSIONPREFIX= h3- >XCATEGORIES= mail www >XMASTER_SITES= HORDE >XPKGNAMEPREFIX= horde- >X >XMAINTAINER= beech@alaskaparadise.com >XCOMMENT= E-mail forward >X >X#----------------------------------------------------------------------- >X# You may define these options: >X# >X# - WITHOUT_LDAP if you do not need OpenLDAP; >X# >X# - WITHOUT_FTP disable FTP support; >X#----------------------------------------------------------------------- >X >XRUN_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL >X >X. if !defined(WITHOUT_LDAP) >XUSE_PHP+= ldap >X. endif >X >X.if !defined(WITHOUT_FTP) >XUSE_PHP+= ftp >X.endif >X >XRUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde-base >X >XNO_BUILD= yes >XUSE_APACHE= 1.3+ # needed to test APACHE_VERSION >XUSE_GETTEXT= yes >X >XREINPLACE_ARGS= -i "" >X >XPORTDOCS= README CHANGES CREDITS INSTALL RELEASE_NOTES TODO >XCONFFILE= conf.xml .htaccess >XSUB_DIRS= config lib locale po templates themes >X >XLHORDEDIR?= www/horde >XLFWDDIR= ${LHORDEDIR}/forwards >XPEARDIR?= ${LOCALBASE}/share/pear >X >XPLIST_SUB= FWDDIR=${LFWDDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} >XPKGMESSAGE= ${WRKDIR}/pkg-message >XPKGDEINSTALL= ${WRKDIR}/pkg-deinstall >XSUB_FILES= pkg-message pkg-install pkg-deinstall >XSUB_LIST= FWDDIR=${FWDDIR} PORTSDIR=${PORTSDIR} CONFDIR=${CONFDIR} >X >XFWDDIR= ${PREFIX}/${LFWDDIR} >XCONFDIR= ${FWDDIR}/config >X >XHOSTNAME?= `/bin/hostname` >XSERVOS?= ${OPSYS}-${OSREL} >X >XPORTREV_H?= ${LOCALBASE}/include/c-client/portrevision.h >X >X.include <bsd.port.pre.mk> >X >X.if ${APACHE_VERSION} >= 20 >XHORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes/ >X.else >XHORDE_INC= ${LOCALBASE}/etc/horde/ >X.endif >X >Xpost-extract: >X @${MV} ${WRKSRC}/README ${WRKSRC}/docs/ >X >Xpre-configure: >X @${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:" ${WRKSRC}/config/conf.xml >X @${SED} -e "s:/home/httpd/html/horde/forwards:${FWDDIR}:" \ >X ${FILESDIR}/httpd.conf.forwards > ${WRKDIR}/httpd-forwards.conf >X >Xdo-install: >X @${INSTALL} -d ${FWDDIR}/ >X @${CP} -Rp ${SUB_DIRS:S|^|${WRKSRC}/|} ${FWDDIR}/ >X @${CP} -p ${WRKSRC}/*.php ${FWDDIR}/ >X @${INSTALL_DATA} ${WRKSRC}/config/conf.xml ${CONFDIR}/ >X @${INSTALL_DATA} ${WRKDIR}/httpd-forwards.conf ${HORDE_INC}/ >X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${FWDDIR}/ >X @${CHMOD} -R o-rwx ${CONFDIR}/ >X.if !defined(NOPORTDOCS) >X @${INSTALL} -d ${DOCSDIR}/ >X @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR}/ >X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." >X.endif >X >Xpost-install: >X @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL >X @${ECHO_MSG} >X @${CAT} ${PKGMESSAGE} >X @${ECHO_MSG} >X >X.include <bsd.port.post.mk> >SHAR_END >echo x horde-forwards/distinfo >sed 's/^X//' > horde-forwards/distinfo << 'SHAR_END' >XMD5 (forwards-h3-3.0.1.tar.gz) = 0a2c16b1ff7ea80a246610d6e3ce6b50 >XSHA256 (forwards-h3-3.0.1.tar.gz) = 10f07f16f9914f43fad8112ea82f9a730b82df5ae9e1b34b0c757fc9df7f04ac >XSIZE (forwards-h3-3.0.1.tar.gz) = 746345 >SHAR_END >echo x horde-forwards/pkg-plist >sed 's/^X//' > horde-forwards/pkg-plist << 'SHAR_END' >X%%FWDDIR%%/config/.htaccess >X%%FWDDIR%%/config/conf.xml >X%%FWDDIR%%/index.php >X%%FWDDIR%%/lib/.htaccess >X%%FWDDIR%%/lib/Block/summary.php >X%%FWDDIR%%/lib/Driver.php >X%%FWDDIR%%/lib/Driver/customsql.php >X%%FWDDIR%%/lib/Driver/forwards.php >X%%FWDDIR%%/lib/Driver/ldap.php >X%%FWDDIR%%/lib/Driver/mdaemon.php >X%%FWDDIR%%/lib/Driver/qmail.php >X%%FWDDIR%%/lib/Driver/soap.php >X%%FWDDIR%%/lib/Driver/sql.php >X%%FWDDIR%%/lib/base.php >X%%FWDDIR%%/lib/version.php >X%%FWDDIR%%/locale/cs_CZ/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/da_DK/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/de_DE/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/en_US/help.xml >X%%FWDDIR%%/locale/es_ES/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/es_ES/help.xml >X%%FWDDIR%%/locale/fa_IR/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/fa_IR/help.xml >X%%FWDDIR%%/locale/fi_FI/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/fi_FI/help.xml >X%%FWDDIR%%/locale/fr_FR/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/gl_ES/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/hu_HU/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/it_IT/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/nn_NO/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/pl_PL/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/pt_BR/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/pt_PT/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/ro_RO/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/ru_RU/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/locale/zh_TW/LC_MESSAGES/forwards.mo >X%%FWDDIR%%/main.php >X%%FWDDIR%%/po/.htaccess >X%%FWDDIR%%/po/README >X%%FWDDIR%%/po/cs_CZ.po >X%%FWDDIR%%/po/da_DK.po >X%%FWDDIR%%/po/de_DE.po >X%%FWDDIR%%/po/es_ES.po >X%%FWDDIR%%/po/fa_IR.po >X%%FWDDIR%%/po/fi_FI.po >X%%FWDDIR%%/po/forwards.pot >X%%FWDDIR%%/po/fr_FR.po >X%%FWDDIR%%/po/gl_ES.po >X%%FWDDIR%%/po/hu_HU.po >X%%FWDDIR%%/po/it_IT.po >X%%FWDDIR%%/po/nn_NO.po >X%%FWDDIR%%/po/pl_PL.po >X%%FWDDIR%%/po/pt_BR.po >X%%FWDDIR%%/po/pt_PT.po >X%%FWDDIR%%/po/ro_RO.po >X%%FWDDIR%%/po/ru_RU.po >X%%FWDDIR%%/po/zh_TW.po >X%%FWDDIR%%/templates/.htaccess >X%%FWDDIR%%/templates/common-header.inc >X%%FWDDIR%%/templates/main/main.inc >X%%FWDDIR%%/themes/graphics/favicon.ico >X%%FWDDIR%%/themes/graphics/forwards.png >X%%HORDE_INC%%httpd-forwards.conf >X@dirrm %%FWDDIR%%/themes/graphics >X@dirrm %%FWDDIR%%/themes >X@dirrm %%FWDDIR%%/templates/main >X@dirrm %%FWDDIR%%/templates >X@dirrm %%FWDDIR%%/po >X@dirrm %%FWDDIR%%/locale/zh_TW/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/zh_TW >X@dirrm %%FWDDIR%%/locale/ru_RU/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/ru_RU >X@dirrm %%FWDDIR%%/locale/ro_RO/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/ro_RO >X@dirrm %%FWDDIR%%/locale/pt_PT/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/pt_PT >X@dirrm %%FWDDIR%%/locale/pt_BR/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/pt_BR >X@dirrm %%FWDDIR%%/locale/pl_PL/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/pl_PL >X@dirrm %%FWDDIR%%/locale/nn_NO/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/nn_NO >X@dirrm %%FWDDIR%%/locale/it_IT/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/it_IT >X@dirrm %%FWDDIR%%/locale/hu_HU/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/hu_HU >X@dirrm %%FWDDIR%%/locale/gl_ES/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/gl_ES >X@dirrm %%FWDDIR%%/locale/fr_FR/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/fr_FR >X@dirrm %%FWDDIR%%/locale/fi_FI/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/fi_FI >X@dirrm %%FWDDIR%%/locale/fa_IR/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/fa_IR >X@dirrm %%FWDDIR%%/locale/es_ES/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/es_ES >X@dirrm %%FWDDIR%%/locale/en_US >X@dirrm %%FWDDIR%%/locale/de_DE/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/de_DE >X@dirrm %%FWDDIR%%/locale/da_DK/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/da_DK >X@dirrm %%FWDDIR%%/locale/cs_CZ/LC_MESSAGES >X@dirrm %%FWDDIR%%/locale/cs_CZ >X@dirrm %%FWDDIR%%/locale >X@dirrm %%FWDDIR%%/lib/Driver >X@dirrm %%FWDDIR%%/lib/Block >X@dirrm %%FWDDIR%%/lib >X@dirrm %%FWDDIR%%/config >X@dirrm %%FWDDIR%% >SHAR_END >echo x horde-forwards/files/pkg-message.in >sed 's/^X//' > horde-forwards/files/pkg-message.in << 'SHAR_END' >X************************************************************************ >XFORWARDS has been installed in %%FWDDIR%% with your blank >Xconfiguration files. >X >XHorde must be configured and the tables created; if not, see >X`pkg_info -D -x horde'. >X >XThen, you must login to Horde as a Horde Administrator to finish the >Xconfiguration. Please read %%DOCSDIR%%/INSTALL. >X >XTo protect your configuration files, you have to restart your webserver. >X************************************************************************ >SHAR_END >echo x horde-forwards/files/pkg-deinstall.in >sed 's/^X//' > horde-forwards/files/pkg-deinstall.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD: >X# >X >Xif [ x$2 != xDEINSTALL ]; then >X exit >Xfi >X >Xif [ -z "${PACKAGE_BUILDING}" ]; then >X for cf in `ls %%FWDDIR%%/config/*.xml %%FWDDIR%%/config/*xml`; do >X diff -bBqw $cf $cf.xml >/dev/null 2>&1 >X case $? in >X 0) # original config file, delete it >X rm -f $cf >X ;; >X 1) # config file has been updated, leave it alone >X ;; >X *) # not found? >X ;; >X esac >X done >Xfi >SHAR_END >echo x horde-forwards/files/pkg-install.in >sed 's/^X//' > horde-forwards/files/pkg-install.in << 'SHAR_END' >X#!/bin/sh >X# >X# $FreeBSD: >X# >X >XPATH=/usr/sbin:/usr/bin:/bin ; export PATH >X >Xcase $2 in >X PRE-INSTALL) >X ;; >X >X POST-INSTALL) >X if [ -z "${PACKAGE_BUILDING}" ]; then >X # Copy over sample config files unless they already exist >X >X for cf in `ls %%FWDDIR%%/config/*.xml | sed -e 's/\.dist//g'`; do >X if [ ! -f $cf ]; then >X cp -p $cf.xml $cf >X fi >X done >X fi >X ;; >Xesac >SHAR_END >echo x horde-forwards/files/httpd.conf.forwards >sed 's/^X//' > horde-forwards/files/httpd.conf.forwards << 'SHAR_END' >X# This is included in Apache's httpd.conf for FORWARDS >X# >X# For security, don't serve pages from the forwards configuration and >X# library directories. >X# >X<Directory "/home/httpd/html/horde/forwards/config"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/forwards/lib"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/forwards/locale"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/forwards/po"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/forwards/scripts"> >X order deny,allow >X deny from all >X</Directory> >X<Directory "/home/httpd/html/horde/forwards/templates"> >X order deny,allow >X deny from all >X</Directory> >X# End of forwards configuration ================ >X >SHAR_END >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 110886
: 76975