[pkg-horde] [COMMIT reg forwards--sid--3--patch-1] Import sork-forwards-h3 3.0-1

Lionel Elie Mamane lmamane at costa.debian.org
Mon Apr 17 00:00:04 UTC 2006


A/ debian/.arch-ids
A/ debian
A  debian/dirs
A  debian/.arch-ids/README.Debian.id
A  {arch}/forwards/forwards--sid/forwards--sid--3/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-1
A  debian/.arch-ids/=id
A  debian/.arch-ids/copyright.id
A  debian/.arch-ids/compat.id
A  debian/rules
A  debian/control
A  debian/.arch-ids/changelog.id
A  debian/.arch-ids/control.id
A  debian/docs
A  debian/.arch-ids/rules.id
A  debian/README.Debian
A  debian/copyright
A  debian/changelog
A  debian/.arch-ids/dirs.id
A  debian/.arch-ids/docs.id
A  debian/compat
-/ lib
-- lib/Driver.php
-- lib/Driver/mdaemon.php
-- lib/Driver/qmail.php
-- lib/Driver/forwards.php

--- /dev/null
+++ debian/dirs
@@ -0,0 +1,2 @@
+usr/share/horde3/forwards
+etc/horde/forwards3


--- /dev/null
+++ debian/.arch-ids/README.Debian.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11434.0


--- /dev/null
+++ debian/.arch-ids/=id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11433.0


--- /dev/null
+++ {arch}/forwards/forwards--sid/forwards--sid--3/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-1
@@ -0,0 +1,26 @@
+Revision: forwards--sid--3--patch-1
+Archive: pkg-horde-hackers at lists.alioth.debian.org--2006
+Creator: Gregory Colpart <reg at evolix.fr>
+Date: Mon Apr 17 01:56:21 CEST 2006
+Standard-date: 2006-04-16 23:56:21 GMT
+New-files: debian/.arch-ids/=id
+    debian/.arch-ids/README.Debian.id
+    debian/.arch-ids/changelog.id
+    debian/.arch-ids/compat.id debian/.arch-ids/control.id
+    debian/.arch-ids/copyright.id debian/.arch-ids/dirs.id
+    debian/.arch-ids/docs.id debian/.arch-ids/rules.id
+    debian/README.Debian debian/changelog debian/compat
+    debian/control debian/copyright debian/dirs debian/docs
+    debian/rules
+New-directories: debian debian/.arch-ids
+Modified-files: lib/Driver.php lib/Driver/forwards.php
+    lib/Driver/mdaemon.php lib/Driver/qmail.php
+Modified-directories: lib
+New-patches: pkg-horde-hackers at lists.alioth.debian.org--2006/forwards--sid--3--patch-1
+Summary: Import sork-forwards-h3 3.0-1
+Keywords: 
+
+Imported sork-forwards-h3-3.0
+into pkg-horde-hackers at lists.alioth.debian.org--2006/forwards--sid--3
+
+


--- /dev/null
+++ debian/.arch-ids/copyright.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11438.0


--- /dev/null
+++ debian/.arch-ids/compat.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11436.0


--- /dev/null
+++ debian/control
@@ -0,0 +1,22 @@
+Source: sork-forwards-h3
+Section: web
+Priority: optional
+Maintainer: Debian Horde Maintainers <pkg-horde-hackers at lists.alioth.debian.org>
+Uploaders: Gregory Colpart (evolix) <reg at evolix.fr>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.2
+
+Package: sork-forwards-h3
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, horde3
+Recommends: imp4
+Description: autoforward module for Horde Framework
+ Forwards is the Horde module for setting user e-mail forwards
+ via the forward mechanism supported by several popular mailers.
+ .
+ Forwards provides fairly complete support for setting .forward
+ style forwards on Sendmail, Courier, or Qmail mail based systems
+ via an FTP transport. It also has drivers for Mdaemon, Exim SQL,
+ Exim LDAP, Custom SQL, and SOAP based systems.
+ .
+ Homepage: http://www.horde.org/forwards/


--- /dev/null
+++ debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# List all Files and directories here that should not be copied 
+COPY_EXCLUDE=^(configure-stamp|build-stamp|config|debian|CHANGES|INSTALL|RELEASE_NOTES|TODO|LICENSE|po|README)$
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/sork-forwards-h3.
+	#### copy files ####
+	for i in $$(ls -1 | egrep -v "$(COPY_EXCLUDE)"); do \
+		echo install $$i ; \
+		cp -a $$i debian/sork-forwards-h3/usr/share/horde3/forwards ; \
+	done
+
+	#### copy configuration files ####
+	cp config/conf.xml debian/sork-forwards-h3/etc/horde/forwards3/
+	touch debian/sork-forwards-h3/etc/horde/forwards3/conf.php
+	dh_link etc/horde/forwards3 usr/share/horde3/forwards/config
+
+	#### create htaccess  to restrict acess by web ####
+	echo "Deny from all" > debian/sork-forwards-h3/etc/horde/forwards3/.htaccess
+
+	#### change made for program run with no problems ###
+	# change HORDE_BASE  in php files
+	# change FORWARDS_BASE in php files
+	dh_installexamples
+		for i in $$(find debian/sork-forwards-h3 -name "*.php*"); do \
+                cat $$i | \
+                sed -e "s at define('HORDE_BASE'.*;@define\('HORDE_BASE', '/usr/share/horde3\'\);@" |\
+                sed -e "s at define('FORWARDS_BASE'.*;@define\('FORWARDS_BASE', '/usr/share/horde3/forwards'\);@" \
+                > $$i.rew; \
+                cat $$i.rew > $$i; \
+                rm -f $$i.rew; \
+        done
+	
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs docs/CHANGES
+	dh_installdocs -XINSTALL -XCHANGES
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# We have nothing to do by default.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
+


--- /dev/null
+++ debian/.arch-ids/changelog.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11435.0


--- /dev/null
+++ debian/.arch-ids/control.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11437.0


--- /dev/null
+++ debian/docs
@@ -0,0 +1,2 @@
+README
+docs/*


--- /dev/null
+++ debian/README.Debian
@@ -0,0 +1,197 @@
+sork-forwards-h3 for Debian
+---------------------------
+
+The following contains large parts of the upstream INSTALL
+documentation.
+
+Prerequisites
+=============
+
+To function properly, Forwards **requires** the following:
+
+1. A working Horde installation.
+
+   Forwards runs within the `Horde Application Framework`_, a set of common
+   tools for Web applications written in PHP.  You must install Horde before
+   installing Forwards.
+
+   .. Important:: Forwards 3.0 requires version 3.0+ of the Horde Framework -
+                  earlier versions of Horde will **not** work.
+
+   .. _`Horde Application Framework`: http://www.horde.org/horde/
+
+   The Horde Framework can be obtained from the Horde website and FTP server,
+   at
+
+      http://www.horde.org/horde/
+
+      ftp://ftp.horde.org/pub/horde/
+
+   Many of Forwards's prerequisites are also Horde prerequisites.
+
+   .. Important:: Be sure to have completed all of the steps in the
+                  `horde/docs/INSTALL`_ file for the Horde Framework before
+                  installing Forwards.
+
+2. The following PHP capabilities:
+
+   a. FTP support ``--enable-ftp`` [OPTIONAL]
+
+      FTP support is necessary if you want to use one of the FTP drivers.
+
+   b. LDAP support ``--with-ldap`` [OPTIONAL]
+
+      LDAP support is necessary if you want to use the LDAP driver.
+
+3. The following PEAR modules:
+   (See `horde/docs/INSTALL`_ for instructions on installing PEAR modules)
+
+   a. SOAP [OPTIONAL]
+ 
+      Forwards uses the SOAP package in the SOAP driver.
+
+4. An FTP server installed, running, and working if you want to use one of the
+   FTP drivers.
+
+5. A mail program that respects .forward files or whatever Forwards driver you
+   have chosen.
+
+
+Installing Forwards
+===================
+
+Forwards is written in PHP, and must be installed in a web-accessible
+directory.  The precise location of this directory will differ from system to
+system.  Conventionally, Forwards is installed directly underneath Horde in
+the web server's document tree.
+
+Since Forwards is written in PHP, there is no compilation necessary; simply
+expand the distribution where you want it to reside and rename the root
+directory of the distribution to whatever you wish to appear in the URL.  For
+example, with the Apache web server's default document root of
+``/usr/local/apache/htdocs``, you would type::
+
+   cd /usr/local/apache/htdocs/horde
+   tar zxvf /path/to/forwards-x.y.z.tar.gz
+   mv forwards-x.y.z forwards
+
+and would then find Forwards at the URL::
+
+   http://your-server/horde/forwards/
+
+
+Configuring Forwards
+====================
+
+1. Configuring Horde for Forwards
+
+   a. Register the application
+
+      In ``horde/config/registry.php``, find the ``applications['forwards']``
+      stanza.  The default settings here should be okay, but you can change
+      them if desired.  If you have changed the location of Forwards relative
+      to Horde, either in the URL, in the filesystem or both, you must update
+      the ``fileroot`` and ``webroot`` settings to their correct values.
+
+2. Configuring Forwards
+
+   You must login to Horde as a Horde Administrator to finish the
+   configuration of Forwards.  Use the Horde ``Administration`` menu item to
+   get to the administration page, and then click on the ``Configuration``
+   icon to get the configuration page.  Select ``Forwards`` from the selection
+   list of applications.  Fill in or change any configuration values as
+   needed.  When done click on ``Generate Forwards Configuration`` to generate
+   the ``conf.php`` file.  If your web server doesn't have write permissions
+   to the Forwards configuration directory or file, it will not be able to
+   write the file.  In this case, go back to ``Configuration`` and choose one
+   of the other methods to create the configuration file
+   ``forwards/config/conf.php``.
+
+   Note for international users: Forwards uses GNU gettext to provide local
+   translations of text displayed by applications; the translations are found
+   in the ``po/`` directory.  If a translation is not yet available for your
+   locale (and you wish to create one), see the ``horde/po/README`` file, or
+   if you're having trouble using a provided translation, please see the
+   `horde/docs/TRANSLATIONS`_ file for instructions.
+
+
+Known Problems
+==============
+
+FTP/Dot-forward Driver
+----------------------
+
+Realize that this driver works by setting up a ``.forward`` file in the user's
+account.  It does this (at the moment) in a exclusive fashion.  If a
+``.forward`` already exists, it must be removed first, it does not
+append/prepend to the existing file.  This means you cannot set both a
+forward and a vacation message at the same time.  This is rarely an issue, as
+you rarely want to both forward your mail and have a vacation notice on the
+forwarding (rather than receiving) end.
+
+If in doubt, please run the ``horde/test.php`` file and make sure FTP is
+enabled in php.
+
+Courier
+-------
+
+We were told this module will work okay with courier if you add the line::
+
+   || dotforward
+
+to the user's .courier file.  Otherwise courier won't use the .forward file.
+So, an example .courier file might contain::
+
+   || dotforward
+   ./Maildir
+
+Someday we may add code to the module to check for, and if missing insert this
+code in the .courier file, but then again maybe we won't.  Until then, either
+add this line to all their files, or find another way of enabling this
+functionality (anyone know how to set courier's ``DEFAULTDELIVERY`` to do
+this?).  Tjeerd van der Zee wrote "or set this as default delivery in
+``etc/courierd``" so this may work to make it a global change?
+
+Qmail
+-----
+
+The driver tries to set the mode (permissions) on the file, but this may or
+may not work.  This may be significant, if your FTP server sets strange
+permissions and we can't change them, as Qmail will not work right with the
+wrong permissions.
+
+You should also be able to use the ``forwards`` driver if you install a
+dot-forward patch to Qmail.  But the ``qmail`` driver should work without any
+patches or packages being added to Qmail.
+
+
+Obtaining Support
+=================
+
+If you encounter problems with Forwards, help is available!
+
+The Horde Frequently Asked Questions List (FAQ), available on the Web at
+
+  http://www.horde.org/faq/
+
+The Horde Project runs a number of mailing lists, for individual applications
+and for issues relating to the project as a whole.  Information, archives, and
+subscription information can be found at
+
+  http://www.horde.org/mail/
+
+Lastly, Horde developers, contributors and users also make occasional
+appearances on IRC, on the channel #horde on the Freenode Network
+(irc.freenode.net).
+
+Please keep in mind that Forwards is free software written by volunteers.
+For information on reasonable support expectations, please read
+
+  http://www.horde.org/support.php
+
+Thanks for using Forwards!
+
+The Forwards team
+
+
+ -- Gregory Colpart (evolix) <reg at evolix.fr>, Tue,  4 Apr 2006 23:36:30 +0200


--- /dev/null
+++ debian/.arch-ids/rules.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11442.0


--- /dev/null
+++ debian/copyright
@@ -0,0 +1,60 @@
+This package was debianized by Gregory Colpart (evolix) <reg at evolix.fr> on
+Tue,  4 Apr 2006 23:36:30 +0200.
+
+It was downloaded from
+        ftp://ftp.horde.org/pub/forwards/
+
+Upstream Authors: The Sork team <sork at lists.horde.org>
+    See /usr/share/doc/sork-forwards-3.0/CREDITS
+
+Copyright:
+
+Version 1.0
+
+Copyright (c) 2002-2004 The Horde Project. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. The end-user documentation included with the redistribution, if
+any, must include the following acknowledgment:
+
+   "This product includes software developed by the Horde Project
+    (http://www.horde.org/)."
+
+Alternately, this acknowledgment may appear in the software itself, if
+and wherever such third-party acknowledgments normally appear.
+
+4. The names "Horde", "The Horde Project", and "Forwards" must not be
+used to endorse or promote products derived from this software without
+prior written permission. For written permission, please contact
+core at horde.org.
+
+5. Products derived from this software may not be called "Horde" or
+"Forwards", nor may "Horde" or "Forwards" appear in their name, without
+prior written permission of the Horde Project.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE HORDE PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the Horde Project. For more information on
+the Horde Project, please see <http://www.horde.org/>.
+


--- /dev/null
+++ debian/changelog
@@ -0,0 +1,6 @@
+sork-forwards-h3 (3.0-1) unstable; urgency=low
+
+  * Initial release Closes: #362652
+
+ -- Gregory Colpart (evolix) <reg at evolix.fr>  Sun, 16 Apr 2006 17:26:02 +0200
+


--- /dev/null
+++ debian/.arch-ids/dirs.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11439.0


--- /dev/null
+++ debian/.arch-ids/docs.id
@@ -0,0 +1,1 @@
+Gregory Colpart <reg at evolix.fr> Mon Apr 17 01:54:32 2006 11440.0


--- /dev/null
+++ debian/compat
@@ -0,0 +1,1 @@
+4




More information about the pkg-horde-hackers mailing list