[Pkg-sql-ledger-commit] r151 - in ledger-smb/trunk: . debian debian/patches
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Mon Dec 17 18:08:52 UTC 2007
Author: lyz-guest
Date: 2007-12-17 18:08:51 +0000 (Mon, 17 Dec 2007)
New Revision: 151
Added:
ledger-smb/trunk/debian/
ledger-smb/trunk/debian/README.Debian
ledger-smb/trunk/debian/README.Ubuntu
ledger-smb/trunk/debian/changelog
ledger-smb/trunk/debian/compat
ledger-smb/trunk/debian/conffiles
ledger-smb/trunk/debian/control
ledger-smb/trunk/debian/copyright
ledger-smb/trunk/debian/dirs
ledger-smb/trunk/debian/docs
ledger-smb/trunk/debian/ledgersmb.doc-base
ledger-smb/trunk/debian/ledgersmb.templates
ledger-smb/trunk/debian/patches/
ledger-smb/trunk/debian/patches/00list
ledger-smb/trunk/debian/patches/05_confdir.dpatch
ledger-smb/trunk/debian/patches/10_makify.dpatch
ledger-smb/trunk/debian/patches/15_httpdconf.dpatch
ledger-smb/trunk/debian/patches/90_125-dates.dpatch
ledger-smb/trunk/debian/patches/91_125-utf8.dpatch
ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch
ledger-smb/trunk/debian/postinst
ledger-smb/trunk/debian/postrm
ledger-smb/trunk/debian/rules
ledger-smb/trunk/debian/watch
Log:
Adding copy of debian/ from 1.2.5-2 release as starting point for current
trunk/
Added: ledger-smb/trunk/debian/README.Debian
===================================================================
--- ledger-smb/trunk/debian/README.Debian (rev 0)
+++ ledger-smb/trunk/debian/README.Debian 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,36 @@
+LedgerSMB for Debian
+--------------------
+
+LedgerSMB can be accessed at http://127.0.0.1/ledgersmb, although initial
+set up is required.
+
+To prepare LedgerSMB for use:
+
+ 1) Create a database user for LedgerSMB authentication
+ 2) Create a database owned by the LedgerSMB auth user
+ 3) Add plpgsql to the LedgerSMB database if it isn't already present
+ 4) Load the contents of /usr/share/ledgersmb/sql/Pg-central.sql into the
+ LedgerSMB database as the LedgerSMB auth user
+ 5) Connect to the LedgerSMB database and run:
+
+ UPDATE users_conf SET password = md5('password');
+
+ 6) Configure PostgreSQL to allow the user www-data to connect to the LedgerSMB
+ database
+ 7) Restart PostgreSQL
+ 8) Change the connection settings in /etc/ledgersmb/ledgersmb.conf to match
+ the settings for the LedgerSMB database
+
+At this point you can connect to http://127.0.0.1/ledgersmb/admin.pl and login
+with the password set in step 5.
+
+If upgrading from LedgerSMB < 1.2.0-rc5, you need to edit
+/etc/ledgersmb/ledgersmb.conf to adjust your configuration to match the new
+options and renaming.
+
+If upgrading from LedgerSMB < 1.2.0-beta1 or from SQL-Ledger, read UPGRADE. The
+config format, locale names, database schema, and per-user configuration
+locations have been sufficiently changed with 1.2.0-beta1 so as to require
+special attention in upgrading.
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org>, Fri, 23 Mar 2007 14:23:53 -0500
Added: ledger-smb/trunk/debian/README.Ubuntu
===================================================================
--- ledger-smb/trunk/debian/README.Ubuntu (rev 0)
+++ ledger-smb/trunk/debian/README.Ubuntu 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1 @@
+Setup instructions are in README.Debian
Added: ledger-smb/trunk/debian/changelog
===================================================================
--- ledger-smb/trunk/debian/changelog (rev 0)
+++ ledger-smb/trunk/debian/changelog 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,172 @@
+ledgersmb (1.2.5-2) unstable; urgency=low
+
+ * Adding 1.2.5 hotfixes
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 28 May 2007 18:09:32 -0400
+
+ledgersmb (1.2.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Wed, 09 May 2007 14:00:32 -0400
+
+ledgersmb (1.2.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Fri, 04 May 2007 12:16:32 -0400
+
+ledgersmb (1.2.3-2) unstable; urgency=low
+
+ * Adding README.Ubuntu
+ * Changing package defaults to disabling LaTeX
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Thu, 19 Apr 2007 11:44:32 -0400
+
+ledgersmb (1.2.3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Sun, 15 Apr 2007 23:27:32 -0400
+
+ledgersmb (1.2.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Wed, 11 Mar 2007 00:23:32 -0400
+
+ledgersmb (1.2.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 09 Mar 2007 18:12:32 -0400
+
+ledgersmb (1.2.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Wed, 04 Mar 2007 00:00:32 -0400
+
+ledgersmb (1.1.99rc5.2-3) unstable; urgency=low
+
+ * Fix another packaging error
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Fri, 23 Mar 2007 15:01:22 -0500
+
+ledgersmb (1.1.99rc5.2-2) unstable; urgency=low
+
+ * Fix packaging error
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Fri, 23 Mar 2007 14:41:22 -0500
+
+ledgersmb (1.1.99rc5.2-1) unstable; urgency=low
+
+ * New upstream release
+ * Renaming the package to match the first phase of upstream renaming
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Fri, 23 Mar 2007 14:26:22 -0500
+
+ledger-smb (1.1.99rc1-2) unstable; urgency=low
+
+ * Fixing PostgreSQL server dependencies
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Fri, 23 Feb 2006 22:46:22 -0500
+
+ledger-smb (1.1.99rc1-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Fri, 23 Feb 2006 22:22:22 -0500
+
+ledger-smb (1.1.99beta4-1) unstable; urgency=low
+
+ * New upstream version
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Sun, 28 Jan 2006 14:01:57 -0500
+
+ledger-smb (1.1.99beta3-2) unstable; urgency=low
+
+ * Add updates to db upgrade script to work with current code
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Thu, 23 Nov 2006 13:02:13 -0500
+
+ledger-smb (1.1.99beta3-1) unstable; urgency=low
+
+ * New upstream version
+ * Removed image directory patch for more testing
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Thu, 23 Nov 2006 12:39:13 -0500
+
+ledger-smb (1.1.99beta2-6) unstable; urgency=low
+
+ * Fixing package LaTeX dependencies
+ * Fixing permissions in /var/lib/ledger-smb
+ * Fixing default configuration error
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Sat, 18 Nov 2006 21:39:13 -0500
+
+ledger-smb (1.1.99beta2-5) unstable; urgency=low
+
+ * Fixing image directory changes
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Sat, 18 Nov 2006 13:00:06 -0500
+
+ledger-smb (1.1.99beta2-4) unstable; urgency=low
+
+ * Add some upstream fixes
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Sat, 18 Nov 2006 12:46:22 -0500
+
+ledger-smb (1.1.99beta2-3) unstable; urgency=low
+
+ * Adjust required versions of perl and postgresql-client and sundry
+ packaging fixes
+ * Move template images to /var/lib/ledger-smb/images
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Sat, 18 Nov 2006 12:18:22 -0500
+
+ledger-smb (1.1.99beta2-2) unstable; urgency=low
+
+ * Adjust permissions of installed files
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Wed, 15 Nov 2006 17:28:22 -0500
+
+ledger-smb (1.1.99beta2-1) unstable; urgency=low
+
+ * Adding initial set up instructions to README.Debian
+ * New upstream version
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Wed, 15 Nov 2006 14:24:53 -0500
+
+ledger-smb (1.1.99beta1-5) unstable; urgency=low
+
+ * Fix templates directory location
+ * Increasing amount of included docs in /usr/share/doc/ledger-smb
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 13 Nov 2006 21:01:55 -0500
+
+ledger-smb (1.1.99beta1-4) unstable; urgency=low
+
+ * Fixing syntax in default config
+ * Adjusting post(inst|rm) to reload apache2
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 13 Nov 2006 19:34:59 -0500
+
+ledger-smb (1.1.99beta1-3) unstable; urgency=low
+
+ * Fixing package versions
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 13 Nov 2006 19:09:41 -0500
+
+ledger-smb (1.1.99beta1-2) unstable; urgency=low
+
+ * Fixing package versions
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 13 Nov 2006 19:05:48 -0500
+
+ledger-smb (1.1.99beta1-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Seneca Cunningham <tetragon at ledgersmb.org> Mon, 13 Nov 2006 15:29:53 -0500
+
Added: ledger-smb/trunk/debian/compat
===================================================================
--- ledger-smb/trunk/debian/compat (rev 0)
+++ ledger-smb/trunk/debian/compat 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1 @@
+5
Added: ledger-smb/trunk/debian/conffiles
===================================================================
--- ledger-smb/trunk/debian/conffiles (rev 0)
+++ ledger-smb/trunk/debian/conffiles 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,3 @@
+/etc/ledgersmb/ledgersmb.conf
+/etc/ledgersmb/ledgersmb-httpd.conf
+/etc/ledgersmb/pos.conf.pl
Added: ledger-smb/trunk/debian/control
===================================================================
--- ledger-smb/trunk/debian/control (rev 0)
+++ ledger-smb/trunk/debian/control 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,27 @@
+Source: ledgersmb
+Section: web
+Priority: optional
+Maintainer: Seneca Cunningham <tetragon at ledgersmb.org>
+Build-Depends: debhelper (>= 5), dpatch
+Standards-Version: 3.7.2
+
+Package: ledgersmb
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, perl (>= 5.8.0-1), libconfig-std-perl, libmime-lite-perl, liblocale-maketext-lexicon-perl (>= 0.56-1), libdbi-perl, libdbd-pg-perl, postgresql-client-8.1 | postgresql-client-8.2, apache2, wwwconfig-common, libhtml-parser-perl
+Recommends: mail-transport-agent, texlive-latex-recommended | tetex-extra, lpr, libparse-recdescent-perl
+Suggests: postgresql-8.1 | postgresql-8.2, libnet-tclink-perl, latex-cjk-all
+Conflicts: ledger-smb
+Replaces: ledger-smb
+Description: A web based double-entry accounting program
+ LedgerSMB is a double-entry accounting system written
+ in perl. It has been tested with PostgreSQL, Apache,
+ Netscape, Mozilla, Galeon, Explorer, Links, Lynx,
+ Konqueror, Voyager, W3M and Opera clients on Linux,
+ FreeBSD, Solaris, Windows, Mac computers and PDA's.
+ .
+ Data is stored in a SQL database server, either locally or
+ remote, the display is through a text or GUI web browser.
+ The system is linked by a chart of accounts. All transactions
+ for AR, AP and GL are stored in a transaction table. Hyper-links
+ from the chart of accounts let you view transactions posted
+ through AR, AP and GL.
Added: ledger-smb/trunk/debian/copyright
===================================================================
--- ledger-smb/trunk/debian/copyright (rev 0)
+++ ledger-smb/trunk/debian/copyright 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,560 @@
+This package was debianized by Seneca Cunningham <tetragon at ledgersmb.org> on
+Mon, 13 Nov 2006 15:29:53 -0500.
+
+It was downloaded from <http://prdownloads.sourceforge.net/ledger-smb/ledger-smb-1.2.0b1.tar.gz>
+
+Copyright: 2006, The LedgerSMB Core Team
+ 1999 - 2006, DWS Systems Inc.
+
+Upstream Authors:
+ Chris Travers <chris at metatrontech.com>
+ Christopher Murtagh <christopher.murtagh at gmail.com>
+ Joshua Drake <jd at commandprompt.com>
+ Seneca Cunningham <tentra at gmail.com>
+ Jason Rodrigues <jasonjayr+ledgersmb at gmail.com>
+
+Original Authors of SQL-Ledger:
+ Dieter Simader <dsimader at sql-ledger.org>
+ Thomas Bayen <bayen at gmx.de>
+ Antti Kaihola <akaihola at siba.fi>
+ Moritz Bunkus (tex)
+ Jim Rawlings <jim at your-dba.com>
+
+Brazilian texts:
+ Author: Andre Felipe Machado <andremachado at techforce.com.br>
+ Miguel Koren O'Brien de Lacy <miguelk at konsultex.com.br>
+Simplified Chinese texts:
+ Author: Edmund Lian <elian at inbrief.net>
+Spanish texts:
+Adoption to Colombian Accounting Terms:
+Authors: Dirk Enrique Seiffert <info at caribenet.com>
+ Lourdes Mejía Martinez <lourdes at caribenet.com>
+ Silfredo Godoy Chavez <silfredo at caribenet.com>
+
+Catalan Translation:
+ Author: Jaume Teixi <teixi at rocacorbit.com>
+Czech texts:
+ Author: Tomas Fencl <tomas.fencl at centrum.cz>
+German texts:
+ Author: Thomas Bayen <tbayen at bayen.de>
+ Gunter Ohrner <G.Ohrner at post.rwth-aachen.de>
+Danish texts:
+ Author: Keld Jørn Simonsen <keld at dkuug.dk>
+ Jonas Smedegaard <jonas at jones.dk>
+Estonian texts:
+ Author: Martin Lillepuu <martin at lillepuu.com>
+ Lauri Jesmin <jesmin at ut.ee>
+ Tanel Kurvits <rauge at hot.ee>
+Egypt Arabic texts:
+ Author: Omar BaheyEldin <o at ab2.com>
+ Rania Tayel
+British English texts:
+ Author:
+Spanish texts:
+ Author: Maria Gabriela Fong <mgfong at maga.tzo.org>
+ John Stoddart <jstypo at imagencolor.com.ve>
+ Federico Montesino Pouzols <fedemp at arrok.com>
+ Tomás Pereira <topec at percar.com>
+Spanish texts:
+ Author: Maria Gabriela Fong <mgfong at maga.tzo.org>
+ John Stoddart <jstypo at imagencolor.com.ve>
+ Federico Montesino Pouzols <fedemp at arrok.com>
+ Tomás Pereira <topec at percar.com>
+Finish texts:
+ Author: Petri Leppänen <mpj at mail.htk.fi>
+French texts:
+ Author: Sèbastien Brassard <sbrassar.cgocable.ca>
+ Oscar Buijten <oscar at elbie.com>
+ Wolfgang Sourdeau <wolfgang at contre.com>
+ Aguibou KONE <aguibou.kone at rocketmail.com>
+ Jens-Ingo Brodesser <jens-ingo at all2all.org>
+Hungarian texts:
+ Author: Kabai József <kabai at investor.hu>
+Icelandic texts:
+ Author: Margeir Reynisson <margeir at met.is>
+Italian texts:
+ Author: Paolo Bizzarri <p.bizzarri at icube.it>
+ Luca Venturini <luca at yepa.com>
+ Alessandro Pasotti <apasotti at isoleborromee.it>
+ Daniele Giacomini <daniele at swlibero.org> 2003.09.28-2003.11.05
+Lithuanian texts:
+ Author:
+Latvian texts:
+ Author: Kaspars Melkis <info at isolis.lv>
+Spanish texts (Mexico):
+ Author: Alberto Ladron <h at grupoh.com.mx>
+Dutch texts:
+ Author: AJ Hettema <Ignite at ecosse.net>
+ Oscar Buijten <oscar at elbie.com>
+ Bert Tijhuis <domino at dse.nl>
+ Paul Tammes <ptammes at home.nl>
+ Arno Peters <a.w.peters at ieee.org>
+Norwegian texts:
+ Author: Keld Jørn Simonsen <keld at dkuug.dk>
+ Morten Pedersen <morten at workzone.no>
+ Finn-Arne Johansen <faj at bzz.no>
+ Petter Reinholdtsen <pere at hungry.com>
+Spanish texts:
+ Author: Maria Gabriela Fong <mgfong at maga.tzo.org>
+Polish texts:
+ Author: Peter Dabrowski <meritage at mail.com>
+Portugese texts:
+ Author: Paulo Rodrigues <prodrigues at vianetworks.pt>
+Russian texts:
+ Author:
+Swedish texts:
+ Author: Jonny Larsson <jonny at lernbo.com>
+ Daniel Andersson <daniel at addelei.nu>
+Spanish texts:
+ Author: Carlos López Linares <chlopezl at yahoo.com>
+Turkish texts:
+ Author: Mufit Eribol <meribol at deltagrup.com.tr>
+Traditional Chinese texts:
+ Author: Edmund Lian <elian at inbrief.net>
+Ukrainian texts:
+Author: Ivan Petrouchtchak <impe at telus.net>
+Spanish Texts (Venezuela):
+ Author: John Stoddart <jstypo at imagencolor.com.ve>
+
+These scripts are free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2006, Seneca Cunningham <tetragon at ledgersmb.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+The LedgerSMB manual is licenced under the GNU Free Documentation License (v1.2)
+with no Invariant Sections, Front-Cover Texts, and no Back-Cover Texts:
+
+GNU Free Documentation License
+******************************
+
+ Version 1.2, November 2002
+ Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ 0. PREAMBLE
+
+ The purpose of this License is to make a manual, textbook, or other
+ functional and useful document "free" in the sense of freedom: to
+ assure everyone the effective freedom to copy and redistribute it,
+ with or without modifying it, either commercially or
+ noncommercially. Secondarily, this License preserves for the
+ author and publisher a way to get credit for their work, while not
+ being considered responsible for modifications made by others.
+
+ This License is a kind of "copyleft", which means that derivative
+ works of the document must themselves be free in the same sense.
+ It complements the GNU General Public License, which is a copyleft
+ license designed for free software.
+
+ We have designed this License in order to use it for manuals for
+ free software, because free software needs free documentation: a
+ free program should come with manuals providing the same freedoms
+ that the software does. But this License is not limited to
+ software manuals; it can be used for any textual work, regardless
+ of subject matter or whether it is published as a printed book.
+ We recommend this License principally for works whose purpose is
+ instruction or reference.
+
+ 1. APPLICABILITY AND DEFINITIONS
+
+ This License applies to any manual or other work, in any medium,
+ that contains a notice placed by the copyright holder saying it
+ can be distributed under the terms of this License. Such a notice
+ grants a world-wide, royalty-free license, unlimited in duration,
+ to use that work under the conditions stated herein. The
+ "Document", below, refers to any such manual or work. Any member
+ of the public is a licensee, and is addressed as "you". You
+ accept the license if you copy, modify or distribute the work in a
+ way requiring permission under copyright law.
+
+ A "Modified Version" of the Document means any work containing the
+ Document or a portion of it, either copied verbatim, or with
+ modifications and/or translated into another language.
+
+ A "Secondary Section" is a named appendix or a front-matter section
+ of the Document that deals exclusively with the relationship of the
+ publishers or authors of the Document to the Document's overall
+ subject (or to related matters) and contains nothing that could
+ fall directly within that overall subject. (Thus, if the Document
+ is in part a textbook of mathematics, a Secondary Section may not
+ explain any mathematics.) The relationship could be a matter of
+ historical connection with the subject or with related matters, or
+ of legal, commercial, philosophical, ethical or political position
+ regarding them.
+
+ The "Invariant Sections" are certain Secondary Sections whose
+ titles are designated, as being those of Invariant Sections, in
+ the notice that says that the Document is released under this
+ License. If a section does not fit the above definition of
+ Secondary then it is not allowed to be designated as Invariant.
+ The Document may contain zero Invariant Sections. If the Document
+ does not identify any Invariant Sections then there are none.
+
+ The "Cover Texts" are certain short passages of text that are
+ listed, as Front-Cover Texts or Back-Cover Texts, in the notice
+ that says that the Document is released under this License. A
+ Front-Cover Text may be at most 5 words, and a Back-Cover Text may
+ be at most 25 words.
+
+ A "Transparent" copy of the Document means a machine-readable copy,
+ represented in a format whose specification is available to the
+ general public, that is suitable for revising the document
+ straightforwardly with generic text editors or (for images
+ composed of pixels) generic paint programs or (for drawings) some
+ widely available drawing editor, and that is suitable for input to
+ text formatters or for automatic translation to a variety of
+ formats suitable for input to text formatters. A copy made in an
+ otherwise Transparent file format whose markup, or absence of
+ markup, has been arranged to thwart or discourage subsequent
+ modification by readers is not Transparent. An image format is
+ not Transparent if used for any substantial amount of text. A
+ copy that is not "Transparent" is called "Opaque".
+
+ Examples of suitable formats for Transparent copies include plain
+ ASCII without markup, Texinfo input format, LaTeX input format,
+ SGML or XML using a publicly available DTD, and
+ standard-conforming simple HTML, PostScript or PDF designed for
+ human modification. Examples of transparent image formats include
+ PNG, XCF and JPG. Opaque formats include proprietary formats that
+ can be read and edited only by proprietary word processors, SGML or
+ XML for which the DTD and/or processing tools are not generally
+ available, and the machine-generated HTML, PostScript or PDF
+ produced by some word processors for output purposes only.
+
+ The "Title Page" means, for a printed book, the title page itself,
+ plus such following pages as are needed to hold, legibly, the
+ material this License requires to appear in the title page. For
+ works in formats which do not have any title page as such, "Title
+ Page" means the text near the most prominent appearance of the
+ work's title, preceding the beginning of the body of the text.
+
+ A section "Entitled XYZ" means a named subunit of the Document
+ whose title either is precisely XYZ or contains XYZ in parentheses
+ following text that translates XYZ in another language. (Here XYZ
+ stands for a specific section name mentioned below, such as
+ "Acknowledgements", "Dedications", "Endorsements", or "History".)
+ To "Preserve the Title" of such a section when you modify the
+ Document means that it remains a section "Entitled XYZ" according
+ to this definition.
+
+ The Document may include Warranty Disclaimers next to the notice
+ which states that this License applies to the Document. These
+ Warranty Disclaimers are considered to be included by reference in
+ this License, but only as regards disclaiming warranties: any other
+ implication that these Warranty Disclaimers may have is void and
+ has no effect on the meaning of this License.
+
+ 2. VERBATIM COPYING
+
+ You may copy and distribute the Document in any medium, either
+ commercially or noncommercially, provided that this License, the
+ copyright notices, and the license notice saying this License
+ applies to the Document are reproduced in all copies, and that you
+ add no other conditions whatsoever to those of this License. You
+ may not use technical measures to obstruct or control the reading
+ or further copying of the copies you make or distribute. However,
+ you may accept compensation in exchange for copies. If you
+ distribute a large enough number of copies you must also follow
+ the conditions in section 3.
+
+ You may also lend copies, under the same conditions stated above,
+ and you may publicly display copies.
+
+ 3. COPYING IN QUANTITY
+
+ If you publish printed copies (or copies in media that commonly
+ have printed covers) of the Document, numbering more than 100, and
+ the Document's license notice requires Cover Texts, you must
+ enclose the copies in covers that carry, clearly and legibly, all
+ these Cover Texts: Front-Cover Texts on the front cover, and
+ Back-Cover Texts on the back cover. Both covers must also clearly
+ and legibly identify you as the publisher of these copies. The
+ front cover must present the full title with all words of the
+ title equally prominent and visible. You may add other material
+ on the covers in addition. Copying with changes limited to the
+ covers, as long as they preserve the title of the Document and
+ satisfy these conditions, can be treated as verbatim copying in
+ other respects.
+
+ If the required texts for either cover are too voluminous to fit
+ legibly, you should put the first ones listed (as many as fit
+ reasonably) on the actual cover, and continue the rest onto
+ adjacent pages.
+
+ If you publish or distribute Opaque copies of the Document
+ numbering more than 100, you must either include a
+ machine-readable Transparent copy along with each Opaque copy, or
+ state in or with each Opaque copy a computer-network location from
+ which the general network-using public has access to download
+ using public-standard network protocols a complete Transparent
+ copy of the Document, free of added material. If you use the
+ latter option, you must take reasonably prudent steps, when you
+ begin distribution of Opaque copies in quantity, to ensure that
+ this Transparent copy will remain thus accessible at the stated
+ location until at least one year after the last time you
+ distribute an Opaque copy (directly or through your agents or
+ retailers) of that edition to the public.
+
+ It is requested, but not required, that you contact the authors of
+ the Document well before redistributing any large number of
+ copies, to give them a chance to provide you with an updated
+ version of the Document.
+
+ 4. MODIFICATIONS
+
+ You may copy and distribute a Modified Version of the Document
+ under the conditions of sections 2 and 3 above, provided that you
+ release the Modified Version under precisely this License, with
+ the Modified Version filling the role of the Document, thus
+ licensing distribution and modification of the Modified Version to
+ whoever possesses a copy of it. In addition, you must do these
+ things in the Modified Version:
+
+ A. Use in the Title Page (and on the covers, if any) a title
+ distinct from that of the Document, and from those of
+ previous versions (which should, if there were any, be listed
+ in the History section of the Document). You may use the
+ same title as a previous version if the original publisher of
+ that version gives permission.
+
+ B. List on the Title Page, as authors, one or more persons or
+ entities responsible for authorship of the modifications in
+ the Modified Version, together with at least five of the
+ principal authors of the Document (all of its principal
+ authors, if it has fewer than five), unless they release you
+ from this requirement.
+
+ C. State on the Title page the name of the publisher of the
+ Modified Version, as the publisher.
+
+ D. Preserve all the copyright notices of the Document.
+
+ E. Add an appropriate copyright notice for your modifications
+ adjacent to the other copyright notices.
+
+ F. Include, immediately after the copyright notices, a license
+ notice giving the public permission to use the Modified
+ Version under the terms of this License, in the form shown in
+ the Addendum below.
+
+ G. Preserve in that license notice the full lists of Invariant
+ Sections and required Cover Texts given in the Document's
+ license notice.
+
+ H. Include an unaltered copy of this License.
+
+ I. Preserve the section Entitled "History", Preserve its Title,
+ and add to it an item stating at least the title, year, new
+ authors, and publisher of the Modified Version as given on
+ the Title Page. If there is no section Entitled "History" in
+ the Document, create one stating the title, year, authors,
+ and publisher of the Document as given on its Title Page,
+ then add an item describing the Modified Version as stated in
+ the previous sentence.
+
+ J. Preserve the network location, if any, given in the Document
+ for public access to a Transparent copy of the Document, and
+ likewise the network locations given in the Document for
+ previous versions it was based on. These may be placed in
+ the "History" section. You may omit a network location for a
+ work that was published at least four years before the
+ Document itself, or if the original publisher of the version
+ it refers to gives permission.
+
+ K. For any section Entitled "Acknowledgements" or "Dedications",
+ Preserve the Title of the section, and preserve in the
+ section all the substance and tone of each of the contributor
+ acknowledgements and/or dedications given therein.
+
+ L. Preserve all the Invariant Sections of the Document,
+ unaltered in their text and in their titles. Section numbers
+ or the equivalent are not considered part of the section
+ titles.
+
+ M. Delete any section Entitled "Endorsements". Such a section
+ may not be included in the Modified Version.
+
+ N. Do not retitle any existing section to be Entitled
+ "Endorsements" or to conflict in title with any Invariant
+ Section.
+
+ O. Preserve any Warranty Disclaimers.
+
+ If the Modified Version includes new front-matter sections or
+ appendices that qualify as Secondary Sections and contain no
+ material copied from the Document, you may at your option
+ designate some or all of these sections as invariant. To do this,
+ add their titles to the list of Invariant Sections in the Modified
+ Version's license notice. These titles must be distinct from any
+ other section titles.
+
+ You may add a section Entitled "Endorsements", provided it contains
+ nothing but endorsements of your Modified Version by various
+ parties--for example, statements of peer review or that the text
+ has been approved by an organization as the authoritative
+ definition of a standard.
+
+ You may add a passage of up to five words as a Front-Cover Text,
+ and a passage of up to 25 words as a Back-Cover Text, to the end
+ of the list of Cover Texts in the Modified Version. Only one
+ passage of Front-Cover Text and one of Back-Cover Text may be
+ added by (or through arrangements made by) any one entity. If the
+ Document already includes a cover text for the same cover,
+ previously added by you or by arrangement made by the same entity
+ you are acting on behalf of, you may not add another; but you may
+ replace the old one, on explicit permission from the previous
+ publisher that added the old one.
+
+ The author(s) and publisher(s) of the Document do not by this
+ License give permission to use their names for publicity for or to
+ assert or imply endorsement of any Modified Version.
+
+ 5. COMBINING DOCUMENTS
+
+ You may combine the Document with other documents released under
+ this License, under the terms defined in section 4 above for
+ modified versions, provided that you include in the combination
+ all of the Invariant Sections of all of the original documents,
+ unmodified, and list them all as Invariant Sections of your
+ combined work in its license notice, and that you preserve all
+ their Warranty Disclaimers.
+
+ The combined work need only contain one copy of this License, and
+ multiple identical Invariant Sections may be replaced with a single
+ copy. If there are multiple Invariant Sections with the same name
+ but different contents, make the title of each such section unique
+ by adding at the end of it, in parentheses, the name of the
+ original author or publisher of that section if known, or else a
+ unique number. Make the same adjustment to the section titles in
+ the list of Invariant Sections in the license notice of the
+ combined work.
+
+ In the combination, you must combine any sections Entitled
+ "History" in the various original documents, forming one section
+ Entitled "History"; likewise combine any sections Entitled
+ "Acknowledgements", and any sections Entitled "Dedications". You
+ must delete all sections Entitled "Endorsements."
+
+ 6. COLLECTIONS OF DOCUMENTS
+
+ You may make a collection consisting of the Document and other
+ documents released under this License, and replace the individual
+ copies of this License in the various documents with a single copy
+ that is included in the collection, provided that you follow the
+ rules of this License for verbatim copying of each of the
+ documents in all other respects.
+
+ You may extract a single document from such a collection, and
+ distribute it individually under this License, provided you insert
+ a copy of this License into the extracted document, and follow
+ this License in all other respects regarding verbatim copying of
+ that document.
+
+ 7. AGGREGATION WITH INDEPENDENT WORKS
+
+ A compilation of the Document or its derivatives with other
+ separate and independent documents or works, in or on a volume of
+ a storage or distribution medium, is called an "aggregate" if the
+ copyright resulting from the compilation is not used to limit the
+ legal rights of the compilation's users beyond what the individual
+ works permit. When the Document is included an aggregate, this
+ License does not apply to the other works in the aggregate which
+ are not themselves derivative works of the Document.
+
+ If the Cover Text requirement of section 3 is applicable to these
+ copies of the Document, then if the Document is less than one half
+ of the entire aggregate, the Document's Cover Texts may be placed
+ on covers that bracket the Document within the aggregate, or the
+ electronic equivalent of covers if the Document is in electronic
+ form. Otherwise they must appear on printed covers that bracket
+ the whole aggregate.
+
+ 8. TRANSLATION
+
+ Translation is considered a kind of modification, so you may
+ distribute translations of the Document under the terms of section
+ 4. Replacing Invariant Sections with translations requires special
+ permission from their copyright holders, but you may include
+ translations of some or all Invariant Sections in addition to the
+ original versions of these Invariant Sections. You may include a
+ translation of this License, and all the license notices in the
+ Document, and any Warrany Disclaimers, provided that you also
+ include the original English version of this License and the
+ original versions of those notices and disclaimers. In case of a
+ disagreement between the translation and the original version of
+ this License or a notice or disclaimer, the original version will
+ prevail.
+
+ If a section in the Document is Entitled "Acknowledgements",
+ "Dedications", or "History", the requirement (section 4) to
+ Preserve its Title (section 1) will typically require changing the
+ actual title.
+
+ 9. TERMINATION
+
+ You may not copy, modify, sublicense, or distribute the Document
+ except as expressly provided for under this License. Any other
+ attempt to copy, modify, sublicense or distribute the Document is
+ void, and will automatically terminate your rights under this
+ License. However, parties who have received copies, or rights,
+ from you under this License will not have their licenses
+ terminated so long as such parties remain in full compliance.
+
+ 10. FUTURE REVISIONS OF THIS LICENSE
+
+ The Free Software Foundation may publish new, revised versions of
+ the GNU Free Documentation License from time to time. Such new
+ versions will be similar in spirit to the present version, but may
+ differ in detail to address new problems or concerns. See
+ `http://www.gnu.org/copyleft/'.
+
+ Each version of the License is given a distinguishing version
+ number. If the Document specifies that a particular numbered
+ version of this License "or any later version" applies to it, you
+ have the option of following the terms and conditions either of
+ that specified version or of any later version that has been
+ published (not as a draft) by the Free Software Foundation. If
+ the Document does not specify a version number of this License,
+ you may choose any version ever published (not as a draft) by the
+ Free Software Foundation.
+
+ADDENDUM: How to use this License for your documents
+====================================================
+
+ To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and license
+notices just after the title page:
+
+ Copyright (C) YEAR YOUR NAME.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.2
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled ``GNU
+ Free Documentation License''.
+
+ If you have Invariant Sections, Front-Cover Texts and Back-Cover
+Texts, replace the "with...Texts." line with this:
+
+ with the Invariant Sections being LIST THEIR TITLES, with
+ the Front-Cover Texts being LIST, and with the Back-Cover Texts
+ being LIST.
+
+ If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+ If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License, to
+permit their use in free software.
+
Added: ledger-smb/trunk/debian/dirs
===================================================================
--- ledger-smb/trunk/debian/dirs (rev 0)
+++ ledger-smb/trunk/debian/dirs 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,3 @@
+etc/ledgersmb
+usr/share/ledgersmb
+var/lib/ledgersmb
Added: ledger-smb/trunk/debian/docs
===================================================================
--- ledger-smb/trunk/debian/docs (rev 0)
+++ ledger-smb/trunk/debian/docs 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,13 @@
+BUGS
+CONTRIBUTORS
+COMPATABILITY
+INSTALL
+README.translations
+TODO
+UPGRADE
+ledgersmb.conf.default
+doc/LedgerSMB-manual.pdf
+doc/README
+doc/coding-standard.pdf
+doc/release_notes
+doc/faq.html
Added: ledger-smb/trunk/debian/ledgersmb.doc-base
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.doc-base (rev 0)
+++ ledger-smb/trunk/debian/ledgersmb.doc-base 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,10 @@
+Document: ledgersmb
+Title: LedgerSMB Manual
+Author: The LedgerSMB Core Team
+Abstract: This manual describes how to use
+ LedgerSMB
+Section: Apps/Web
+
+Format: PDF
+Files: /usr/share/doc/ledgersmb/LedgerSMB-manual.pdf.gz
+
Added: ledger-smb/trunk/debian/ledgersmb.templates
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.templates (rev 0)
+++ ledger-smb/trunk/debian/ledgersmb.templates 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,13 @@
+Template: ledgersmb/access-note
+Type: note
+Description: LedgerSMB loaded
+ LedgerSMB can be accessed at http://127.0.0.1/ledgersmb
+
+Template: ledgersmb/upgrade-note
+Type: note
+Description: Upgrade warning
+ If upgrading from LedgerSMB < 1.2.0-beta1 or from SQL-Ledger, read
+ /usr/share/doc/ledgersmb/UPGRADE. The config format, locale names,
+ database schema, and per-user configuration locations have been
+ sufficiently changed with 1.2.0-beta1 so as to require special attention
+ in upgrading.
Added: ledger-smb/trunk/debian/patches/00list
===================================================================
--- ledger-smb/trunk/debian/patches/00list (rev 0)
+++ ledger-smb/trunk/debian/patches/00list 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,6 @@
+05_confdir
+10_makify
+15_httpdconf
+90_125-dates
+91_125-utf8
+92_125-customer_id
Added: ledger-smb/trunk/debian/patches/05_confdir.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/05_confdir.dpatch (rev 0)
+++ ledger-smb/trunk/debian/patches/05_confdir.dpatch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,61 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_confdir.dpatch by <seneca at localhost.localdomain>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Change default directories
+
+ at DPATCH@
+
+diff -Naur ledgersmb-1.2.3-new/LedgerSMB/Sysconfig.pm ledgersmb-1.2.3-dirty/LedgerSMB/Sysconfig.pm
+--- ledgersmb-1.2.3-new/LedgerSMB/Sysconfig.pm 2007-04-12 18:43:00.000000000 -0400
++++ ledgersmb-1.2.3-dirty/LedgerSMB/Sysconfig.pm 2007-04-16 00:01:23.000000000 -0400
+@@ -28,13 +28,13 @@
+ );
+
+ # if you have latex installed set to 1
+-$latex = 1;
++$latex = 0;
+
+ # spool directory for batch printing
+-$spool = "spool";
++$spool = "/var/lib/ledgersmb/spool";
+
+ # path to user configuration files
+-$userspath = "users";
++$userspath = "/var/lib/ledgersmb/users";
+
+ # templates base directory
+ $templates = "templates";
+@@ -46,7 +46,7 @@
+ $backuppath = $tempdir;
+
+ # member file
+-$memberfile = "users/members";
++$memberfile = "/var/lib/ledgersmb/users/members";
+
+ # location of sendmail
+ $sendmail = "/usr/sbin/sendmail -t";
+@@ -62,19 +62,18 @@
+ $check_max_invoices = 5;
+
+ # program to use for file compression
+-$gzip = "gzip -S .gz";
++$gzip = "/bin/gzip -S .gz";
+
+ # Path to the translation files
+-$localepath = 'locale/po';
++$localepath = '/usr/share/ledgersmb/locale/po';
+
+ # available printers
+ %printer = (
+- Laser => 'lpr -Plaser',
+- Epson => 'lpr -PEpson',
++ lpr => 'lpr',
+ );
+
+ my %config;
+-read_config( 'ledgersmb.conf' => %config ) or die;
++read_config( '/etc/ledgersmb/ledgersmb.conf' => %config ) or die;
+
+ # We should clean this code up for 1.3 :-) Chris T.
+
Property changes on: ledger-smb/trunk/debian/patches/05_confdir.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/patches/10_makify.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/10_makify.dpatch (rev 0)
+++ ledger-smb/trunk/debian/patches/10_makify.dpatch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,227 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_makify.dpatch by <seneca at localhost.localdomain>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds Makefiles
+
+ at DPATCH@
+
+diff -Naur ledger-smb/bin/Makefile ledger-smb-1.1.99beta1-new/bin/Makefile
+--- ledger-smb/bin/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/bin/Makefile 2006-11-13 17:11:04.000000000 -0500
+@@ -0,0 +1,13 @@
++PACKAGE = ledgersmb
++
++FILES = $(shell ls *.pl)
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/ledgersmb/bin/custom
++ cp $(FILES) $(DESTDIR)/usr/share/ledgersmb/bin
++ find $(DESTDIR)/usr/share/ledgersmb/bin -type d -exec chmod 755 '{}' \;
++ find $(DESTDIR)/usr/share/ledgersmb/bin -type f -exec chmod 644 '{}' \;
+diff -Naur ledger-smb/contrib/Makefile ledger-smb-1.1.99beta1-new/contrib/Makefile
+--- ledger-smb/contrib/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/contrib/Makefile 2006-11-13 17:14:01.000000000 -0500
+@@ -0,0 +1,9 @@
++PACKAGE = ledgersmb
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/doc/ledgersmb/contrib
++ cp -r * $(DESTDIR)/usr/share/doc/ledgersmb/contrib
+diff -Naur ledger-smb/css/Makefile ledger-smb-1.1.99beta1-new/css/Makefile
+--- ledger-smb/css/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/css/Makefile 2006-11-13 17:02:56.000000000 -0500
+@@ -0,0 +1,13 @@
++PACKAGE = ledgersmb
++
++FILES = $(shell ls ledger-smb*.css)
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/var/lib/ledgersmb/css
++ cp $(FILES) $(DESTDIR)/var/lib/ledgersmb/css
++ chmod 644 $(DESTDIR)/var/lib/ledgersmb/css/*
++ ln -sf /var/lib/ledgersmb/css $(DESTDIR)/usr/share/ledgersmb
+diff -Naur ledger-smb/doc/Makefile ledger-smb-1.1.99beta1-new/doc/Makefile
+--- ledger-smb/doc/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/doc/Makefile 2006-11-13 17:58:52.000000000 -0500
+@@ -0,0 +1,18 @@
++PACKAGE = ledgersmb
++
++FILES = $(shell ls | grep -v Makefile | grep -v COPYING | grep -v COPYRIGHT)
++SUBDIRS = API manual database samples
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/ledgersmb/doc
++ cp LedgerSMB-manual.pdf $(DESTDIR)/usr/share/ledgersmb/doc
++ mkdir -p $(DESTDIR)/usr/share/doc/ledgersmb
++ cp -a $(FILES) $(DESTDIR)/usr/share/doc/ledgersmb
++ cp -a API $(DESTDIR)/usr/share/doc/ledgersmb
++ cp -a manual $(DESTDIR)/usr/share/doc/ledgersmb
++ cp -a database $(DESTDIR)/usr/share/doc/ledgersmb
++ cp -a samples $(DESTDIR)/usr/share/doc/ledgersmb
+diff -Naur ledger-smb/drivers/Makefile ledger-smb-1.1.99beta1-new/drivers/Makefile
+--- ledger-smb/drivers/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/drivers/Makefile 2006-11-13 17:12:33.000000000 -0500
+@@ -0,0 +1,10 @@
++PACKAGE = ledgersmb
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/ledgersmb/drivers
++ cp *.pl $(DESTDIR)/usr/share/ledgersmb/drivers
++ chmod 644 $(DESTDIR)/usr/share/ledgersmb/drivers/*
+diff -Naur ledger-smb/LedgerSMB/Makefile ledger-smb-1.1.99beta1-new/LedgerSMB/Makefile
+--- ledger-smb/LedgerSMB/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/LedgerSMB/Makefile 2006-11-13 18:03:13.000000000 -0500
+@@ -0,0 +1,16 @@
++PACKAGE = ledgersmb
++
++FILES := $(shell ls *.pm)
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/ledgersmb/LedgerSMB
++ cp -r $(FILES) $(DESTDIR)/usr/share/ledgersmb/LedgerSMB
++ cp -r Taxes $(DESTDIR)/usr/share/ledgersmb/LedgerSMB
++ cp -r Session $(DESTDIR)/usr/share/ledgersmb/LedgerSMB
++ cp -r CreditCard $(DESTDIR)/usr/share/ledgersmb/LedgerSMB
++ find $(DESTDIR)/usr/share/ledgersmb/LedgerSMB -type f -exec chmod 644 '{}' \;
++ find $(DESTDIR)/usr/share/ledgersmb/LedgerSMB -type d -exec chmod 755 '{}' \;
+diff -Naur ledger-smb/locale/Makefile ledger-smb-1.1.99beta1-new/locale/Makefile
+--- ledger-smb/locale/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/locale/Makefile 2006-11-13 16:56:15.000000000 -0500
+@@ -0,0 +1,21 @@
++PACKAGE = ledgersmb
++
++LOCALES = $(shell ls po/*)
++
++localedir = /usr/share/ledgersmb/locale
++dlocaledir = $(DESTDIR)$(localedir)
++srctopdir := $(shell pwd)/..
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(dlocaledir)/po
++ mkdir -p $(dlocaledir)/html
++ cp po/* $(dlocaledir)/po
++ cp html/*.html $(dlocaledir)/html
++ cp LedgerSMB.pot $(dlocaledir)
++ cp *.html $(dlocaledir)
++ find $(dlocaledir) -type d -exec chmod 755 '{}' \;
++ find $(dlocaledir) -type f -exec chmod 644 '{}' \;
+diff -Naur ledger-smb/Makefile ledger-smb-1.1.99beta1-new/Makefile
+--- ledger-smb/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/Makefile 2006-11-13 18:19:16.000000000 -0500
+@@ -0,0 +1,36 @@
++PACKAGE = ledgersmb
++
++SUBDIRS = bin doc drivers LedgerSMB locale sql templates css contrib utils
++
++LIB_FILES = favicon.ico login.pl menu.ini \
++ ledgersmb.conf.default VERSION index.html \
++ ledger-smb.png ledger-smb.gif ledger-smb_small.png \
++ $(shell ls *.pl | grep -v -E '(pos\.conf)\.pl')
++
++CFG_FILES = ledgersmb.conf ledgersmb-httpd.conf pos.conf.pl
++
++all:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/ledgersmb
++ cp $(LIB_FILES) $(DESTDIR)/usr/share/ledgersmb
++
++ set -e ; for subdir in $(SUBDIRS) ; do \
++ $(MAKE) -C $$subdir $@ ; \
++ done
++
++ mkdir -p $(DESTDIR)/etc/ledgersmb
++ cp $(CFG_FILES) $(DESTDIR)/etc/ledgersmb
++ cd $(DESTDIR)/usr/share/ledgersmb ; \
++ ln -sf /etc/ledgersmb/pos.conf.pl ; \
++ ln -sf /var/lib/ledgersmb/images
++ mkdir -p $(DESTDIR)/var/lib/ledgersmb/spool
++ chown www-data:www-data $(DESTDIR)/var/lib/ledgersmb/spool
++
++ mkdir -p $(DESTDIR)/var/lib/ledgersmb/images
++ mkdir -p $(DESTDIR)/var/lib/ledgersmb/images/demo
++ cp $(DESTDIR)/var/lib/ledgersmb/templates/demo/*.[^ht]* $(DESTDIR)/var/lib/ledgersmb/images
++ cp $(DESTDIR)/var/lib/ledgersmb/templates/demo/*.[^ht]* $(DESTDIR)/var/lib/ledgersmb/images/demo
++ chown -R www-data:www-data $(DESTDIR)/var/lib/ledgersmb/templates
++
++clean:
+diff -Naur ledger-smb/sql/Makefile ledger-smb-1.1.99beta1-new/sql/Makefile
+--- ledger-smb/sql/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/sql/Makefile 2006-11-13 17:06:48.000000000 -0500
+@@ -0,0 +1,14 @@
++PACKAGE = ledgersmb
++
++FILES = *.sql
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/ledgersmb/sql/legacy
++ cp $(FILES) $(DESTDIR)/usr/share/ledgersmb/sql
++ cp -r legacy $(DESTDIR)/usr/share/ledgersmb/sql
++ find $(DESTDIR)/usr/share/ledgersmb/sql -type f -exec chmod 644 '{}' \;
++ find $(DESTDIR)/usr/share/ledgersmb/sql -type d -exec chmod 755 '{}' \;
+diff -Naur ledger-smb/templates/Makefile ledger-smb-1.1.99beta1-new/templates/Makefile
+--- ledger-smb/templates/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/templates/Makefile 2006-11-13 17:11:20.000000000 -0500
+@@ -0,0 +1,16 @@
++PACKAGE = ledgersmb
++
++FILES = *.html *.tex *.txt
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/var/lib/ledgersmb/templates
++ cp -a $(FILES) $(DESTDIR)/var/lib/ledgersmb/templates
++ cp -a demo $(DESTDIR)/var/lib/ledgersmb/templates
++ chown -R www-data:www-data $(DESTDIR)/var/lib/ledgersmb/templates
++ ln -sf /var/lib/ledgersmb/templates $(DESTDIR)/usr/share/ledgersmb/
++ find $(DESTDIR)/var/lib/ledgersmb/templates -type f -exec chmod 644 '{}' \;
++ find $(DESTDIR)/var/lib/ledgersmb/templates -type d -exec chmod 755 '{}' \;
+diff -Naur ledger-smb/utils/Makefile ledger-smb-1.1.99beta1-new/utils/Makefile
+--- ledger-smb/utils/Makefile 1969-12-31 19:00:00.000000000 -0500
++++ ledger-smb-1.1.99beta1-new/utils/Makefile 2006-11-13 17:14:17.000000000 -0500
+@@ -0,0 +1,9 @@
++PACKAGE = ledgersmb
++
++all:
++
++clean:
++
++install:
++ mkdir -p $(DESTDIR)/usr/share/doc/ledgersmb/utils
++ cp -r * $(DESTDIR)/usr/share/doc/ledgersmb/utils
Property changes on: ledger-smb/trunk/debian/patches/10_makify.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/patches/15_httpdconf.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/15_httpdconf.dpatch (rev 0)
+++ ledger-smb/trunk/debian/patches/15_httpdconf.dpatch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,51 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15_httpdconf.dpatch by <seneca at localhost.localdomain>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changing paths in Apache config
+
+ at DPATCH@
+
+diff -Naur ledgersmb-1.1.99rc5-new/ledgersmb-httpd.conf ledgersmb-1.1.99rc5-dirty/ledgersmb-httpd.conf
+--- ledgersmb-1.1.99rc5-new/ledgersmb-httpd.conf 2007-02-23 00:44:50.000000000 -0500
++++ ledgersmb-1.1.99rc5-dirty/ledgersmb-httpd.conf 2007-02-19 20:46:47.000000000 -0500
+@@ -1,7 +1,7 @@
+
+-Alias /ledger-smb WORKING_DIR
++Alias /ledgersmb /usr/share/ledgersmb/
+
+-<Directory WORKING_DIR>
++<Directory /usr/share/ledgersmb>
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+@@ -13,27 +13,12 @@
+ </Files>
+ </Directory>
+
+-<Directory WORKING_DIR/users>
++<Directory /usr/share/ledgersmb/bin>
+ Order Deny,Allow
+ Deny from All
+ </Directory>
+
+-<Directory WORKING_DIR/bin>
+- Order Deny,Allow
+- Deny from All
+-</Directory>
+-
+-<Directory WORKING_DIR/utils>
+- Order Deny,Allow
+- Deny from All
+-</Directory>
+-
+-<Directory WORKING_DIR/spool>
+- Order Deny,Allow
+- Deny from All
+-</Directory>
+-
+-<Directory WORKING_DIR/LedgerSMB>
++<Directory /usr/share/ledgersmb/LedgerSMB>
+ Order Deny,Allow
+ Deny from All
+ </Directory>
Property changes on: ledger-smb/trunk/debian/patches/15_httpdconf.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/patches/90_125-dates.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/90_125-dates.dpatch (rev 0)
+++ ledger-smb/trunk/debian/patches/90_125-dates.dpatch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,63 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 90_125-dates.dpatch by <seneca at localhost.localdomain>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixing textual date display
+
+ at DPATCH@
+
+diff -Naur ledgersmb-1.2.5-new/LedgerSMB/Locale.pm ledgersmb-1.2.5-dirty/LedgerSMB/Locale.pm
+--- ledgersmb-1.2.5-new/LedgerSMB/Locale.pm 2007-05-17 11:26:32.000000000 -0400
++++ ledgersmb-1.2.5-dirty/LedgerSMB/Locale.pm 2007-05-28 18:02:25.000000000 -0400
+@@ -1,3 +1,4 @@
++
+ =head1 NAME
+
+ LedgerSMB::Locale Locale handling class for LedgerSMB
+@@ -9,17 +10,24 @@
+ =head1 METHODS
+
+ =item get_handle ($language_code)
++
+ Returns a locale handle for accessing the other methods. Inherited from
+ Locale::Maketext.
+
+ =item text ($string)
++
+ Returns the translation for the given string. This is a legacy wrapper that
+ merely calls $self->maketext.
+
+ =item date ($myconfig, $date, $longformat)
+-Returns the given date after formatting it. If $longformat is set, the date
+-will be givin in the form of "_('September') 23 2007". If $longformat is not
+-set, the date will be output in the format specified by $myconfig->{dateformat}.
++
++Returns the given date after formatting it. $longformat is a ternary flag that
++determines how the date is formatted. If $longformat is true, the date will be
++given in the form of "_('September') 23 2007". If $longformat is false but
++defined, the date will be in the form of "_('Sep') 23 2007" unless the date is
++given in the form 'yyyy.mm.dd', in which case it is returned as-is. If
++$longformat is not defined, the date will be output in the format specified by
++$myconfig->{dateformat}.
+
+ =head1 Copyright (C) 2006, The LedgerSMB core team.
+
+@@ -60,6 +68,7 @@
+ =cut
+
+ package LedgerSMB::Locale;
++
+ use base 'Locale::Maketext';
+ use Locale::Maketext::Lexicon;
+ use Encode;
+@@ -84,8 +93,8 @@
+ sub date {
+ my ( $self, $myconfig, $date, $longformat ) = @_;
+
+-## my @longmonth = (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec));
+- my @longmonth = (
++ my @longmonth = (qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec));
++ @longmonth = (
+ "January", "February", "March", "April",
+ "May ", "June", "July", "August",
+ "September", "October", "November", "December"
Property changes on: ledger-smb/trunk/debian/patches/90_125-dates.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/patches/91_125-utf8.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/91_125-utf8.dpatch (rev 0)
+++ ledger-smb/trunk/debian/patches/91_125-utf8.dpatch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 91_125-utf8.dpatch by <seneca at localhost.localdomain>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Setting UTF-8 in HTTP headers
+
+ at DPATCH@
+
+diff -Naur ledgersmb-1.2.5-new/LedgerSMB/Form.pm ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm
+--- ledgersmb-1.2.5-new/LedgerSMB/Form.pm 2007-05-17 11:26:32.000000000 -0400
++++ ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm 2007-05-28 18:02:25.000000000 -0400
+@@ -302,22 +302,21 @@
+
+ if ( $ENV{GATEWAY_INTERFACE} ) {
+
++ $self->{charset} ||= "utf-8";
+ if ( $self->{stylesheet} && ( -f "css/$self->{stylesheet}" ) ) {
+ $stylesheet =
+ qq|<link rel="stylesheet" href="css/$self->{stylesheet}" type="text/css" title="LedgerSMB stylesheet" />\n|;
+ }
+
+- if ( $self->{charset} ) {
+- $charset =
++ $charset =
+ qq|<meta http-equiv="content-type" content="text/html; charset=$self->{charset}" />\n|;
+- }
+
+ $self->{titlebar} =
+ ( $self->{title} )
+ ? "$self->{title} - $self->{titlebar}"
+ : $self->{titlebar};
+
+- print qq|Content-Type: text/html\n\n
++ print qq|Content-Type: text/html; charset=utf-8\n\n
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Property changes on: ledger-smb/trunk/debian/patches/91_125-utf8.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch
===================================================================
--- ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch (rev 0)
+++ ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 92_125-customer_id.dpatch by <seneca at localhost.localdomain>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Changing customer_id to ${vc}_id in query
+
+ at DPATCH@
+
+diff -Naur ledgersmb-1.2.5-new/LedgerSMB/Form.pm ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm
+--- ledgersmb-1.2.5-new/LedgerSMB/Form.pm 2007-05-17 11:26:32.000000000 -0400
++++ ledgersmb-1.2.5-dirty/LedgerSMB/Form.pm 2007-05-28 18:02:25.000000000 -0400
+@@ -2416,7 +2415,7 @@
+ ct.notes,
+ ct.curr AS currency
+ FROM $vc ct
+- WHERE ct.id = (select customer_id from $arap where $where AND ${vc}_id IS NOT NULL order by id DESC limit 1)|;
++ WHERE ct.id = (select ${vc}_id from $arap where $where AND ${vc}_id IS NOT NULL order by id DESC limit 1)|;
+
+ $sth = $dbh->prepare($query);
+ $sth->execute() || $self->dberror($query);
Property changes on: ledger-smb/trunk/debian/patches/92_125-customer_id.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/postinst
===================================================================
--- ledger-smb/trunk/debian/postinst (rev 0)
+++ ledger-smb/trunk/debian/postinst 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,55 @@
+#!/bin/sh
+# postinst script for ledgersmb
+#
+# see: dh_installdeb(1)
+
+set -e
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure)
+ if [ -z "$2" ]; then
+ chown -R www-data:www-data /var/lib/ledgersmb
+ chmod -R 700 /var/lib/ledgersmb/spool
+ fi
+ includefile="/etc/ledgersmb/ledgersmb-httpd.conf"
+ servers="apache2"
+ server="apache2"
+ . /usr/share/wwwconfig-common/apache-include_all.sh
+ if [ -x /usr/sbin/a2enmod ]; then
+ /usr/sbin/a2enmod cgi;
+ fi
+ servers="apache2"
+ restart="apache2"
+ ## . /usr/share/wwwconfig-common/restart.sh #XXX didn't work in tests
+ /etc/init.d/apache2 restart
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
Added: ledger-smb/trunk/debian/postrm
===================================================================
--- ledger-smb/trunk/debian/postrm (rev 0)
+++ ledger-smb/trunk/debian/postrm 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postrm script for ledger-smb
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ server="apache2"
+ includefile="/etc/ledgersmb/ledgersmb-httpd.conf"
+ . /usr/share/wwwconfig-common/apache-uninclude.sh
+ servers="apache2"
+ #. /usr/share/wwwconfig-common/restart.sh #XXX Failed tests
+ /etc/init.d/apache2 restart
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
Added: ledger-smb/trunk/debian/rules
===================================================================
--- ledger-smb/trunk/debian/rules (rev 0)
+++ ledger-smb/trunk/debian/rules 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+DESTDIR = $(CURDIR)/debian/ledgersmb
+INSTALL = install
+
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ #docbook-to-man debian/ledgersmb.sgml > ledgersmb.1
+
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ #-$(MAKE) clean
+ rm -f ledgersmb.conf
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/ledgersmb.
+ sed -e 's|^spool = .*$$|spool = /var/lib/ledgersmb/spool|' \
+ -e 's|^latex : 1$$|latex : 0|' \
+ -e '/^localepath/d' \
+ ledgersmb.conf.default > ledgersmb.conf
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/ledgersmb
+ chown www-data:www-data $(CURDIR)/debian/ledgersmb/etc/ledgersmb/*
+ chmod 0600 $(CURDIR)/debian/ledgersmb/etc/ledgersmb/*
+ cp debian/README.Ubuntu $(CURDIR)/debian/ledgersmb/usr/share/doc/ledgersmb
+
+
+# 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 Changelog
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installdebconf
+ dh_link
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Property changes on: ledger-smb/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: ledger-smb/trunk/debian/watch
===================================================================
--- ledger-smb/trunk/debian/watch (rev 0)
+++ ledger-smb/trunk/debian/watch 2007-12-17 18:08:51 UTC (rev 151)
@@ -0,0 +1,12 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+http://sf.net/ledger-smb/ledgersmb-(.*)\.tar\.gz
+
+
More information about the Pkg-sql-ledger-commit
mailing list