[pkg-horde] [COMMIT lionel mnemo--sid--2--patch-1] Import mnemo2 2.0.2-1

Lionel Elie Mamane lmamane at costa.debian.org
Sat Dec 24 17:15:09 UTC 2005


A/ debian
A/ debian/.arch-ids
A  debian/.arch-ids/control.id
A  debian/compat
A  debian/examples
A  debian/.arch-ids/examples.id
A  debian/.arch-ids/watch.id
A  debian/copyright
A  debian/changelog
A  debian/docs
A  debian/README.Debian
A  debian/rules
A  debian/.arch-ids/compat.id
A  {arch}/mnemo/mnemo--sid/mnemo--sid--2/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-1
A  debian/.arch-ids/copyright.id
A  debian/.arch-ids/=id
A  debian/.arch-ids/docs.id
A  debian/.arch-ids/rules.id
A  debian/.arch-ids/dirs.id
A  debian/dirs
A  debian/watch
A  debian/.arch-ids/README.Debian.id
A  debian/.arch-ids/changelog.id
A  debian/control

--- /dev/null
+++ debian/.arch-ids/control.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1108.0


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


--- /dev/null
+++ debian/examples
@@ -0,0 +1,3 @@
+config/
+po/
+scripts/


--- /dev/null
+++ debian/.arch-ids/examples.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1112.0


--- /dev/null
+++ debian/.arch-ids/watch.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1114.0


--- /dev/null
+++ debian/copyright
@@ -0,0 +1,61 @@
+This package was debianized by Jose Carlos Medeiros <debian at psabs.com.br> on
+Wed, 23 Feb 2005 15:04:53 -0300.
+
+It was downloaded from
+        http://ftp.horde.org/pub/horde/
+
+Copyright:
+
+Upstream Authors:
+        See /usr/share/doc/mnemo2/CREDITS
+
+License:
+
+Version 1.0
+
+Copyright (c) 2002 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 "Mnemo" 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
+"Mnemo", nor may "Horde" or "Mnemo" 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,35 @@
+mnemo2 (2.0.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated package to Standards-Version 3.6.2.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Fri, 14 Oct 2005 15:07:56 -0300
+
+mnemo2 (2.0.1-3) unstable; urgency=low
+
+  * Added locales as recommended.
+  * Moved dh_installexamples to "install" rule in rules file. Now
+    examples/* files are changed like others.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Fri,  5 Aug 2005 11:32:04 -0300
+
+mnemo2 (2.0.1-2) unstable; urgency=low
+
+  * Changed rules and README.Debian No longer provides config.bak file.
+    (closes: #308154)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Fri, 29 Jul 2005 10:29:21 -0300
+
+mnemo2 (2.0.1-1) unstable; urgency=low
+
+  * Initial upload of this package, closes: #303117.
+  * Made Ola Lundqvist co maintainer.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Tue, 19 Apr 2005 20:02:14 -0300
+
+mnemo2 (2.0.1-0) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Wed, 23 Feb 2005 15:04:53 -0300
+


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


--- /dev/null
+++ debian/README.Debian
@@ -0,0 +1,84 @@
+mnemo2 for Debian
+-----------------
+
+To configure this package use the horde3 web configuration. To let
+it write to the configuration files you have to change of conf.php
+file in /etc/horde/mnemo2 to owned by www-data.
+You need to create /etc/horde/mnemo2/conf.php.bak file and change
+owner to www-data or change owner of /etc/horde/mnemo2 to www-data.
+
+If you do not do that you have to cut from the web configuration
+program and paste into the config file yourself.
+
+The reason why this is not the default option is, that allow writing
+to configuration files without any authentication is a big
+security hole.
+
+.....................................................................
+
+Some notes from upstream INSTALL document follow here:
+
+Prerequisites
+=============
+
+To function properly, Mnemo requires the following:
+
+1. SQL support in PHP.
+
+   Mnemo stores its data in an SQL database.  Build PHP with whichever SQL
+   driver you require; 
+
+
+Configuring Mnemo
+=================
+
+1. Configuring Horde for Mnemo
+
+   a. Configuring a DataTree backend
+
+      Mnemo requires a permanent ``DataTree`` backend in Horde to manage
+      notepads and to add notes to notepads.  If you didn't setup a DataTree
+      backend yet, go to the configuration interface, select Horde from the
+      list of applications and select a driver different than ``None`` on the
+      ``DataTree System`` tab.  Make sure that you ran the necessary scripts
+      to create a storage backend for the DataTree system, e.g. one of the
+      ``create.*.sql`` or ``horde_datatree.*.sql`` SQL scripts in
+      ``horde/scripts/sql/``.  You should have done this already during the
+      installation of Horde.
+
+2. Creating the database table
+
+   The specific steps to create the Mnemo database table depend on which
+   database you've chosen to use.
+
+   First, look in ``scripts/drivers/sql/`` to see if a script already exists
+   for your database type.  If so, you should be able to simply execute that
+   script as superuser in your database.  (Note that executing the script as
+   the "horde" user will probably fail when granting privileges.)
+
+   If such a script does not exist, you'll need to build your own, using the
+   file mnemo.sql as a starting point.  If you need assistance in creating
+   databases, you may wish to let us know on the Mnemo mailing list.
+
+3. Configuring Mnemo
+
+   You must login to Horde as a Horde Administrator to finish the
+   configuration of Mnemo.  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 ``Notes`` from the selection list of
+   applications.  Fill in or change any configuration values as needed.  When
+   done click on ``Generate Notes Configuration`` to generate the ``conf.php``
+   file.  If your web server doesn't have write permissions to the Mnemo
+   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 ``mnemo/config/conf.php``.
+
+4. Testing Mnemo
+
+   Use Mnemo to create, modify, and delete notes. Test at least the following:
+
+   - Creating a new memo
+   - Modifying a memo
+   - Deleting a memo
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>, Wed, 23 Feb 2005 15:04:53 -0300


--- /dev/null
+++ debian/rules
@@ -0,0 +1,95 @@
+#!/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|docs|LICENSE|po|README|scripts)$
+
+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
+	dh_clean build-stamp configure-stamp
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/mnemo2.
+	#### copy files ####
+	for i in $$(ls -1 | egrep -v "$(COPY_EXCLUDE)"); do \
+		echo install $$i ; \
+		cp -a $$i debian/mnemo2/usr/share/horde3/mnemo ; \
+	done
+
+	#### copy configuration files
+	for i in config/*.dist; do \
+		NAME=etc/horde/mnemo2/$$(basename $$i ".dist"); \
+		cp -a $$i debian/mnemo2/$$NAME; \
+	done
+	cp config/conf.xml debian/mnemo2/etc/horde/mnemo2/
+	touch debian/mnemo2/etc/horde/mnemo2/conf.php
+	#chown www-data:root debian/mnemo2/etc/horde/mnemo2/conf.php
+	dh_link etc/horde/mnemo2 usr/share/horde3/mnemo/config
+
+	#### create htaccess  to restrict acess by web ####
+	echo "Deny from all" > debian/mnemo2/etc/horde/mnemo2/.htaccess
+
+	#### change made for program run with no problems ###
+	# change HORDE_BASE  in php files
+	# change /usr/local/bin/php to /usr/bin/php
+	# change MNEMO_BASE in php files
+	dh_installexamples
+	for i in $$(find debian/mnemo2 -name "*.php*"); do \
+		cat $$i | \
+		sed -e "s/define('HORDE_BASE'.*;/define\('HORDE_BASE', '\/usr\/share\/horde3'\);/" |\
+		sed -e "s/define('MNEMO_BASE'.*;/define\('MNEMO_BASE', '\/usr\/share\/horde3\/mnemo'\);/" |\
+		sed -e "s/\/usr\/local\/bin/\/usr\/bin/" > $$i.rew; \
+		cat $$i.rew > $$i; \
+		rm -f $$i.rew; \
+	done
+
+	#### change permissions of scripts ####
+	for i in $$(find debian/mnemo2/usr/share/horde3/mnemo -type f | \
+		xargs grep '^#!\/' |cut -d: -f1); do \
+		chmod u+x $$i; \
+	done
+	#### end ####
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs docs/CHANGES
+	dh_installdocs -XINSTALL -Xdocs/CHANGES
+#	mv debian/mnemo2/usr/share/doc/mnemo2/CHANGES \
+#		debian/mnemo2/usr/share/doc/mnemo2/changelog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


--- /dev/null
+++ debian/.arch-ids/compat.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1107.0


--- /dev/null
+++ {arch}/mnemo/mnemo--sid/mnemo--sid--2/pkg-horde-hackers at lists.alioth.debian.org--2006/patch-log/patch-1
@@ -0,0 +1,24 @@
+Revision: mnemo--sid--2--patch-1
+Archive: pkg-horde-hackers at lists.alioth.debian.org--2006
+Creator: Lionel Elie Mamane <lionel at mamane.lu>
+Date: Sat Dec 24 18:10:04 CET 2005
+Standard-date: 2005-12-24 17:10:04 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/examples.id
+    debian/.arch-ids/rules.id debian/.arch-ids/watch.id
+    debian/README.Debian debian/changelog debian/compat
+    debian/control debian/copyright debian/dirs debian/docs
+    debian/examples debian/rules debian/watch
+New-directories: debian debian/.arch-ids
+New-patches: pkg-horde-hackers at lists.alioth.debian.org--2006/mnemo--sid--2--patch-1
+Summary: Import mnemo2 2.0.2-1
+Keywords: 
+
+Imported mnemo2-2.0.2
+into pkg-horde-hackers at lists.alioth.debian.org--2006/mnemo--sid--2
+
+


--- /dev/null
+++ debian/.arch-ids/copyright.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1109.0


--- /dev/null
+++ debian/.arch-ids/=id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1104.0


--- /dev/null
+++ debian/.arch-ids/docs.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1111.0


--- /dev/null
+++ debian/.arch-ids/rules.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1113.0


--- /dev/null
+++ debian/.arch-ids/dirs.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1110.0


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


--- /dev/null
+++ debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://ftp.horde.org/pub/mnemo/mnemo-h3-([\d\.]*)\.tar\.gz


--- /dev/null
+++ debian/.arch-ids/README.Debian.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1105.0


--- /dev/null
+++ debian/.arch-ids/changelog.id
@@ -0,0 +1,1 @@
+Lionel Elie Mamane <lionel at mamane.lu> Sat Dec 24 18:10:02 2005 1106.0


--- /dev/null
+++ debian/control
@@ -0,0 +1,17 @@
+Source: mnemo2
+Section: web
+Priority: optional
+Maintainer: Jose Carlos Medeiros <debian at psabs.com.br>
+Uploaders: Ola Lundqvist <opal at debian.org>
+Build-Depends-Indep: debhelper (>= 4.0.0)
+Standards-Version: 3.6.2
+
+Package: mnemo2
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, horde3
+Recommends: php4-mysql | php4-pgsql, locales
+Description: notes/memos component for Horde Framework
+ Mnemo is the Horde notes and memos application.  It lets users keep free-text
+ notes and other bits of information which doesn't fit as a contact, a todo
+ item, an event, etc.  It is very similar in functionality to the Palm Memo
+ application.




More information about the pkg-horde-hackers mailing list