[Pkg-sql-ledger-commit] r704 - in ledger-smb/branches/v1.3/debian: . patches

pkg-sql-ledger-commit-owner at lists.alioth.debian.org pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Tue Apr 8 16:49:24 UTC 2014


Author: jame-guest
Date: 2014-04-08 16:49:24 +0000 (Tue, 08 Apr 2014)
New Revision: 704

Added:
   ledger-smb/branches/v1.3/debian/patches/21_lsmb_13-fcgi-conf.patch
Modified:
   ledger-smb/branches/v1.3/debian/NEWS
   ledger-smb/branches/v1.3/debian/README.Debian
   ledger-smb/branches/v1.3/debian/TODO
   ledger-smb/branches/v1.3/debian/changelog
   ledger-smb/branches/v1.3/debian/control
   ledger-smb/branches/v1.3/debian/copyright
   ledger-smb/branches/v1.3/debian/ledgersmb.docs
   ledger-smb/branches/v1.3/debian/ledgersmb.links
   ledger-smb/branches/v1.3/debian/ledgersmb.lintian-overrides
   ledger-smb/branches/v1.3/debian/ledgersmb.postinst
   ledger-smb/branches/v1.3/debian/ledgersmb.postrm
   ledger-smb/branches/v1.3/debian/ledgersmb.preinst
   ledger-smb/branches/v1.3/debian/patches/05_confdir.patch
   ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch
   ledger-smb/branches/v1.3/debian/patches/15_UI-setup-credentials.patch
   ledger-smb/branches/v1.3/debian/patches/20_BashPath.patch
   ledger-smb/branches/v1.3/debian/patches/series
Log:
LedgerSMB Package v1.3.39-1.

Modified: ledger-smb/branches/v1.3/debian/NEWS
===================================================================
--- ledger-smb/branches/v1.3/debian/NEWS	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/NEWS	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,41 +1,19 @@
-ledgersmb (1.3.21-2) unstable; urgency=low
+ledgersmb (1.3.39-1) unstable; urgency=low
 
   Language specific HTML, LaTeX, and Text templates can be edited online but
-  the language specific directory, like /var/ledgersmb/templates/demo/en_US,
-  first needs to be manually created.
+  the language specific directory (like /var/ledgersmb/templates/demo/en_US)
+  first needs to be manually created and the template file copied there.
 
- -- Robert James Clay <jame at rocasa.us>  Sun, 26 Aug 2012 09:49:25 -0400
-
-ledgersmb (1.3.18-1) unstable; urgency=low
-
-  Empty language specific HTML, LaTeX, and Text directories are no longer being
-  installed with the package. In order to edit templates online for a particular
-  language; create the language specific directory, like templates/demo/en_US,
-  then manually copy the default version of the template to that directory.
-
-  The application css directory is /var/lib/ledgersmb/css and the default files
-  for it are now installed there from the example files during an initial package
-  install. There is also a new URL related configuration item in ledgersmb.conf,
-  cssdir, which will need to be updated manually when upgrading from a previous
-  version.
-
- -- Robert James Clay <jame at rocasa.us>  Sun, 10 Jun 2012 18:25:17 -0400
-
-ledgersmb (1.3.17-1) unstable; urgency=low
-
-  The templates directory is now at /var/lib/ledgersmb/templates instead of
-  being at /etc/ledgersmb/templates. For upgrades, the templates path in
-  /etc/ledgersmb/ledgersmb.conf will need to be updated manually.
-
- -- Robert James Clay <jame at rocasa.us>  Sat, 02 Jun 2012 20:17:26 -0400
-
-ledgersmb (1.3.16-1) unstable; urgency=low
-
-  Now have experimental dbconfig/debconf usage for configuring LedgerSMB during
-  the package installation.  Because it is experimental, the default is to not
-  use it;  instead what can be done is to manually create the ledgersmb database
+  An experimental dbconfig/debconf for configuring LedgerSMB during the package
+  installation is available. Because it is experimental, the default is to not
+  use it; instead what can be done is to manually create the ledgersmb database
   user and use that in the http://localhost/ledgersmb/setup.pl script to create
   the company databases for use. More information regarding this is available
   in /usr/share/doc/ledgersmb/README.Debian.
 
- -- Robert James Clay <jame at rocasa.us>  Tue, 08 May 2012 08:49:46 -0400
+  The contrib_dir configuration in /etc/ledgersmb/ledgersmb.conf now defaults
+  to being for Postgresql 9.3, and should be updated if being used with a
+  different version.
+
+ -- Robert James Clay <jame at rocasa.us>  Sat, 05 Apr 2014 13:27:08 -0400
+

Modified: ledger-smb/branches/v1.3/debian/README.Debian
===================================================================
--- ledger-smb/branches/v1.3/debian/README.Debian	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/README.Debian	2014-04-08 16:49:24 UTC (rev 704)
@@ -29,10 +29,22 @@
     Besides assuming that a database superuser is known, the setup.pl script
     also assumes that the contrib_dir directive is already set correctly in
     /etc/ledgersmb/ledgersmb.conf for the location of the PostgreSQL contrib
-    scripts. For v8.4 it would be /usr/share/postresql/8.4/contrib; or for
-    v9.1 that would be /usr/share/postgresql/9.1/extension.
+    scripts. For v9.1 it would be /usr/share/postresql/9.1/extension; or for
+    v9.3 that would be /usr/share/postgresql/9.3/extension.
 
+    Configuration files for Apache 2.2 or 2.4 are installed as necessary, with
+    an example Apache fastcgi configuration available at lsmb_13-fcgi.conf in 
+    the /usr/share/ledgersmb/tools directory. Also; some information for use 
+    with Plack is available in README.plack, and for use with nginx is in the
+    /usr/share/ledgersmb/contrib/nginx-fcgiwrap directory.
 
+    The application css directory is /var/lib/ledgersmb/css and defaults for the
+    files are installed there from the example files during an package install.
+    There is also a URL related configuration item in ledgersmb.conf, cssdir,
+    which will need to be updated manually when upgrading from a previous
+    version.
+
+
 Optional Perl modules
 =====================
 
@@ -41,6 +53,7 @@
     Template::Plugin::Latex  [Support for Postscript and PDF output]
     Parse::RecDescent        [Support for the *experimental* scripting engine]
     Image::Size              [Support for image size detection in templates]
+    Plack                    [Support for using Plack to run LedgerSMB]
 
     The credit card processing support for TrustCommerce is available as
     the package libnet-tclink-perl if not already installed.
@@ -57,7 +70,10 @@
     The support for size detection for images for embedding in LaTex templates
     is available as libimage-size-perl if it is not already installed.
 
+    The support for running LedgerSMB using Plack is available as libplack-perl
+    if it is not already installed.
 
+
 Manual addition of a company database
 =====================================
 
@@ -77,4 +93,4 @@
 
 
 
- -- Robert James Clay <jame at rocasa.us>  Mon,  4 May 2012 08:40:54 -0400
+ -- Robert James Clay <jame at rocasa.us>  Sat,  5 Apr 2014 13:28:40 -0400

Modified: ledger-smb/branches/v1.3/debian/TODO
===================================================================
--- ledger-smb/branches/v1.3/debian/TODO	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/TODO	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,45 +1,38 @@
 debian/TODO for LedgerSMB v1.3
 
-- The dbconfig-common based database configuration that is being used during
-installations and upgrades needs to be reviewed and improved. It is capable
-of creating the 'ledgersmb' database administrative user but it is not getting
-created with the necessary permissions. It is also apparently automatically
-creating a database named ledgersmb with the current way that user is being
-created, which is not really needed for the application.
 
-- Most of the upstream locale/po/* files need to be reviewed and/or updated;
-several of the files have fatal errors in them which need to be resolved.
+====================================================================================================
 
-- Upstream uses pdflatex to create distribution LedgerSMB-manual.pdf from the
-source file doc/manual/LedgerSMB-manual.tex. Use the same source file to create
-an HTML version?
+- If an automatic configuration is attempted during the package install, the default database
+administrative user 'ledgersmb' is not being configured with the correct permissions. See also:
+https://bugs.launchpad.net/bugs/1078817
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698298
 
+- http://i18n.debian.org/l10n-pkg-status/l/ledgersmb.html shows the following error:
+msgfmt: found 1 fatal error, "Duplicate message definition in locale/po/es_AR.po"
+https://sourceforge.net/p/ledger-smb/bugs/1096/
+
+- A debian/po debconf Japanese translation has been provided. Currently,
+there is no LSMB locale/po/ja.po file. Checked System|Lanaguage|List
+Languages in LSMB 1.3.25: "ja" is not in the default list. It's also not
+listed as an available language when editing templates, and presumably
+those lists come from the same source. It can be added manually using
+System|Language|Add Language.
+
+- Upstream uses pdflatex to create the distribution LedgerSMB-manual.pdf from
+the source file doc/manual/LedgerSMB-manual.tex. Use the same source file to
+create an HTML version?
+
 - Create an HTML and/or PDF file of templateing/templating-guide.tex? And
 then register it with doc-base?
 
 - Add registration of at least database/ledgersmb.html to doc-base?
 
-- The doc/release-notes file is getting installed with the package; should it
-be referenced in README.Debian?
+- Add an installation option for a versioned installation directory name?
+Or add a package build time option to create a versioned package name and
+installation? Or change to using at least binary package names that also
+include info about the version, like "ledgersmb13" or "ledgersmb1.4" or
+"ledgersmb-1.3"?
 
-- Add installation option for a versioned directory name? Or add a package
-build time option to create a versioned package name?
 
-- Review the tools/* shell and perl scripts to determine what changes may be
-necessary to make them usable on a Debian installation.
-
-- New 1.3 version of LedgerSMB contains an embedded javascript library. The
-embedded version appears to be 1.8.2.  The library is available in Debian as the
-package libjs-scriptaculous:  v1.8.1 in lenny, v1.8.3 in lenny-backports and
-squeeze, v1.9.0 in wheezy and sid. Provide a Lintian override with description
-of issue, until otherwise resolved.
-  From Chris Travers in the Ledger-smb-devel mailing list:
-  "I don't know of any testing we have done on other versions.  We don't use a
-   lot of advanced stuff so I would expect it would work.  If bugs are found,
-   though, we can correct them."
-Test usage of libjs-scriptaculous and change over to using that when it is found
-to be operational with it.
--> Instead of patching the files that use it directly, try using dh_linktree to
-create the set of links to the debian packages?
-
- -- Robert James Clay <jame at rocasa.us>  Sat, 18 Aug 2012 10:18:31 -0400
+ -- Robert James Clay <jame at rocasa.us>  Tue,  7 Apr 2014 09:54:12 -0400

Modified: ledger-smb/branches/v1.3/debian/changelog
===================================================================
--- ledger-smb/branches/v1.3/debian/changelog	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/changelog	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,22 +1,34 @@
-ledgersmb (1.3.38-1~1) UNRELEASED; urgency=low
+ledgersmb (1.3.39-1) unstable; urgency=low
 
   * New upstream release. (Closes: #732997)
   * Changes to debian/copyright:
-    - Update copyright end years as necessary to 2013.
+    - Update the LedgerSMB Core Team related information.
+    - Add a file stanza for the locale/po/es_AR.po file.
+    - Add an entry for utils/notify_short/.*pl and it README file.
     - Add an entry for the tools/prepare-company-database.* scripts.
+  * Changes to debian/control:
+    - Update Standards-Version in debian/control.
+    - Add the libplack-perl package as a Suggests.
+    - Update the Vcs-Svn base URL from 'svn.debian.org' to 'anomscm.debian.org'.
   * Changes to debian/rules:
     - Add line to make tools/system/lsmb* scripts executables.
     - Remove the line used to copy the ledgersmb.conf.template file as it is
       no longer needed.
   * Changes to debian/patches/:
+    - Add usage of 'Last-Update' field in all *.patch files.
+    - Update default 'contrib-dir' to be for Postgresql 9.3 in 05_confdir.patch.
     - Add 20_BashPath.patch to resolve bash path issues in tools/ scripts.
+    - Add 21_lsmb_13-fcgi-conf.patch for setting its directory paths.
   * Update packaging for installation of ledgersmb-httpd configuration for
-    Apache v2.2 and v2.4.  (Closes: #725758) 
-  * Add README.plack to the files listed in the debian/ledgersmb.docs file.
-  * Add the libplack-perl package as a Suggests in debian/control.
+    Apache v2.2 and v2.4. (Closes: #725758) 
+  * Changes to debian/ledgersmb.docs:
+   - Add README.git to the installed documents list.
+   - Add README.plack to the installed documents list.
   * Register the release notes using debian/ledgersmb.doc-base.notes.
+  * Add empty directory 'UI/logout/' to ledgersmb.lintian-overrides file.
+  * Update README.Debian, TODO.Debian, and NEWS.Debian files for new release.
 
- -- Robert James Clay <jame at rocasa.us>  Wed, 26 Feb 2014 07:51:45 -0500
+ -- Robert James Clay <jame at rocasa.us>  Tue, 08 Apr 2014 10:54:56 -0400
 
 ledgersmb (1.3.25-1) unstable; urgency=low
 

Modified: ledger-smb/branches/v1.3/debian/control
===================================================================
--- ledger-smb/branches/v1.3/debian/control	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/control	2014-04-08 16:49:24 UTC (rev 704)
@@ -4,7 +4,7 @@
 Maintainer: Debian LedgerSMB Team <pkg-sql-ledger-discussion at lists.alioth.debian.org>
 Uploaders: Robert James Clay <jame at rocasa.us>
 Build-Depends: debhelper (>= 8), po-debconf, libmodule-install-perl
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Homepage: http://www.ledgersmb.org/
 Vcs-Svn: svn://anonscm.debian.org/pkg-sql-ledger/ledger-smb/trunk
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-sql-ledger/ledger-smb/trunk/

Modified: ledger-smb/branches/v1.3/debian/copyright
===================================================================
--- ledger-smb/branches/v1.3/debian/copyright	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/copyright	2014-04-08 16:49:24 UTC (rev 704)
@@ -57,6 +57,10 @@
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGE.
 
+Files: utils/notify_short/*.pl utils/notify_short/README
+Copyright:  200?-2014, Chris Travers <chris at metatrontech.com>
+License: GPL-2+
+
 Files: debian/*
 Comment: Copyright and License for debian directory files.
 Copyright: 2006-2007, Seneca Cunningham <tetragon at ledgersmb.org> 

Modified: ledger-smb/branches/v1.3/debian/ledgersmb.docs
===================================================================
--- ledger-smb/branches/v1.3/debian/ledgersmb.docs	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/ledgersmb.docs	2014-04-08 16:49:24 UTC (rev 704)
@@ -4,11 +4,12 @@
 README.translations
 UPGRADE
 debian/README.source
+doc/README.git
 doc/LedgerSMB-manual.pdf
 doc/coding-standard.pdf
-doc/release_notes
 doc/faq.html
 doc/API
 doc/database
 doc/samples
+doc/release_notes
 doc/templating

Modified: ledger-smb/branches/v1.3/debian/ledgersmb.links
===================================================================
--- ledger-smb/branches/v1.3/debian/ledgersmb.links	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/ledgersmb.links	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,3 +1,2 @@
 /etc/ledgersmb/ledgersmb.conf  /usr/share/ledgersmb/ledgersmb.conf
 /etc/ledgersmb/pos.conf.pl  /usr/share/ledgersmb/pos.conf.pl
-/etc/apache2/conf.d/ledgersmb-httpd-2.0-2.2.conf /etc/ledgersmb/ledgersmb-httpd-2.0-2.2.conf 

Modified: ledger-smb/branches/v1.3/debian/ledgersmb.lintian-overrides
===================================================================
--- ledger-smb/branches/v1.3/debian/ledgersmb.lintian-overrides	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/ledgersmb.lintian-overrides	2014-04-08 16:49:24 UTC (rev 704)
@@ -3,6 +3,7 @@
 ledgersmb binary: package-contains-empty-directory usr/share/ledgersmb/scripts/custom/
 
 # Upstream includes empty directory intentionally.
+ledgersmb binary: package-contains-empty-directory usr/share/ledgersmb/UI/logout/
 ledgersmb binary: package-contains-empty-directory usr/share/ledgersmb/sql/coa/ar/gifi/
 ledgersmb binary: package-contains-empty-directory usr/share/ledgersmb/LedgerSMB/Reconciliation/CSV/Formats/
 

Modified: ledger-smb/branches/v1.3/debian/ledgersmb.postinst
===================================================================
--- ledger-smb/branches/v1.3/debian/ledgersmb.postinst	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/ledgersmb.postinst	2014-04-08 16:49:24 UTC (rev 704)
@@ -55,13 +55,15 @@
             # Do Apache related processing if it is present.
             if [ -d "/etc/apache2" ]; then
                 if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
-                    [ -d /etc/apache2/conf-available/ ] && [ ! -l /etc/apache2/conf-available/ledgersmb.conf ] && cp /usr/share/ledgersmb/ledgersmb-http-2.4.conf.template /etc/apache2/conf-available/ledgersmb.conf
+                    [ -d /etc/apache2/conf-available/ ] && [ ! -e /etc/apache2/conf-available/ledgersmb.conf ] && cp /usr/share/ledgersmb/ledgersmb-http-2.4.conf.template /etc/apache2/conf-available/ledgersmb.conf
                     . /usr/share/apache2/apache2-maintscript-helper
                     apache2_invoke enconf ledgersmb.conf
+                    ln -s /etc/apache2/conf-available/ledgersmb.conf /etc/ledgersmb/ledgersmb-httpd-2.4.conf
                 elif  dpkg-query -f '${Version}'  -W 'apache2.2-common' > /dev/null 2>&1 ; then
                     # if the configuration uses <IfVersion> uncomment the next line
                     # a2enmod -q version
                     [ -d /etc/apache2/conf.d/ ] && [ ! -l /etc/apache2/conf.d/ledgersmb.conf ] && cp /usr/share/ledgersmb/ledgersmb-http-2.0-2.2.conf.template /etc/apache2/conf.d/ledgersmb.conf
+                    ln -s /etc/apache2/conf.d/ledgersmb.conf /etc/ledgersmb/ledgersmb-httpd-2.0-2.2.conf
                     # Enable Apache mod_rewrite
                     if [ -x "`which a2enmod 2>/dev/null`" ]; then
                         a2enmod rewrite
@@ -72,12 +74,18 @@
                     fi
                 fi
             fi
+        else
+            if dpkg-maintscript-helper supports mv_conffile; then
+               # If the old ledgersmb-httpd.conf is present, rename it.
+                    dpkg-maintscript-helper mv_conffile \
+                    /etc/apache2/conf.d/ledgersmb-httpd.conf /etc/apache2/conf.d/ledgersmb.conf 1.3.25-1 ledgersmb -- "$@"
+            fi
+            #   Remove these settings for /etc/ledgersmb/*, as dpkg-statoverride
+            # is no longer being used in debian/postinst to set it.
+            if dpkg --compare-versions $old_version lt 1.3.9-2; then
+                drop_statoverride
+            fi
         fi
-        #   Remove these settings for /etc/ledgersmb/*, as dpkg-statoverride
-        # is no longer being used in debian/postinst to set it.
-        if [ -n "$old_version" ] &&  dpkg --compare-versions $old_version lt 1.3.9-2; then
-            drop_statoverride
-        fi
         # If enabled, do the debconf supported configuration
         db_get ledgersmb/debconf_install
         if [ "$RET" = true ]; then 

Modified: ledger-smb/branches/v1.3/debian/ledgersmb.postrm
===================================================================
--- ledger-smb/branches/v1.3/debian/ledgersmb.postrm	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/ledgersmb.postrm	2014-04-08 16:49:24 UTC (rev 704)
@@ -60,6 +60,9 @@
             rm -rf /var/lib/ledgersmb/templates
         fi
         # When being purged; if /etc/apache2/conf.d/ledgersmb.conf exists, remove it.
+        if [ -d "/etc/ledgersmb/ledgersmb-httpd-2.0-2.2.conf" ]; then
+            rm -rf /etc/ledgersmb/ledgersmb-httpd-2.0-2.2.conf
+        fi
         if [ -d "/etc/apache2/conf.d/ledgersmb.conf" ]; then
             rm -rf /etc/apache2/conf.d/ledgersmb.conf
         fi
@@ -67,11 +70,28 @@
         if [ -d "/etc/apache2/conf-available/ledgersmb.conf" ]; then
             rm -rf /etc/apache2/conf-available/ledgersmb.conf
         fi
+        if [ -d "/etc/apache2/conf-available/ledgersmb.conf" ]; then
+            rm -rf /etc/apache2/conf-available/ledgersmb.conf
+        fi
+        if [ -h "/etc/ledgersmb/ledgersmb-httpd-2.0-2.2.conf" ]; then
+            rm -f /etc/ledgersmb/ledgersmb-httpd-2.0-2.2.conf
+        fi
+        if [ -h "/etc/ledgersmb/ledgersmb-httpd-2.4.conf" ]; then
+            rm -f /etc/ledgersmb/ledgersmb-httpd-2.4.conf
+        fi
     ;;
 
-    remove|failed-upgrade|abort-install|abort-upgrade|disappear)
+    abort-install|abort-upgrade)
+        if dpkg-maintscript-helper supports mv_conffile; then
+            # If the old ledgersmb-httpd.conf was present, rename it back.
+            dpkg-maintscript-helper mv_conffile \
+            /etc/apache2/conf.d/ledgersmb-httpd.conf /etc/apache2/conf.d/ledgersmb.conf 1.3.25-1 ledgersmb -- "$@"
+       fi
     ;;
 
+    remove|failed-upgrade|disappear)
+    ;;
+
     *)
         echo "postrm called with unknown argument \`$1'" >&2
         exit 1

Modified: ledger-smb/branches/v1.3/debian/ledgersmb.preinst
===================================================================
--- ledger-smb/branches/v1.3/debian/ledgersmb.preinst	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/ledgersmb.preinst	2014-04-08 16:49:24 UTC (rev 704)
@@ -38,9 +38,13 @@
             fi
         fi
         if dpkg --compare-versions $old_version lt 1.3.35-1; then
-            # If old ledgersmb-httpd.conf are present, rename them
+            # If the old ledgersmb-httpd.conf is present, rename it
             if [ -f "/etc/apache2/conf.d/ledgersmb-httpd.conf" ]; then
-                mv -f /etc/apache2/conf.d/ledgersmb-httpd.conf /etc/apache2/conf.d/ledgersmb.conf
+                if dpkg-maintscript-helper supports mv_conffile; then
+                    # If the old ledgersmb-httpd.conf is present, rename it.
+                    dpkg-maintscript-helper mv_conffile \
+                    /etc/apache2/conf.d/ledgersmb-httpd.conf /etc/apache2/conf.d/ledgersmb.conf 1.3.25-1 ledgersmb -- "$@"
+                fi
             fi
         fi
     ;;

Modified: ledger-smb/branches/v1.3/debian/patches/05_confdir.patch
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/05_confdir.patch	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/patches/05_confdir.patch	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,5 +1,6 @@
 Author: Robert James Clay <jame at rocasa.us>
 Description: Change default directories
+Last-Update: 2014-04-03
 --- a/LedgerSMB/Sysconfig.pm
 +++ b/LedgerSMB/Sysconfig.pm
 @@ -20,8 +20,8 @@
@@ -91,7 +92,7 @@
  #contrib_dir PG_CONTRIB_DIR 
  #with postgresql-9.1 this stuff is in /usr/share/postgresql/9.1/extension and is injected in database with create extension pg_trgm,btree_gist...
 -contrib_dir = /usr/share/pgsql/contrib/
-+contrib_dir = /usr/share/postgresql/9.1/extension
++contrib_dir = /usr/share/postgresql/9.3/extension
  # sslmode can be require, allow, prefer, or disable.  Defaults to prefer.
  sslmode = prefer
  

Modified: ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,5 +1,6 @@
 Author: Robert James Clay <jame at rocasa.us>
 Description: Changing paths in Apache config
+Last-Update: 2014-03-11
 --- a/ledgersmb-httpd.conf.template
 +++ b/ledgersmb-httpd.conf.template
 @@ -1,8 +1,8 @@

Modified: ledger-smb/branches/v1.3/debian/patches/15_UI-setup-credentials.patch
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/15_UI-setup-credentials.patch	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/patches/15_UI-setup-credentials.patch	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,5 +1,6 @@
 Author: Robert James Clay <jame at rocasa.us>
 Description: Set 'ledgersmb' as the default database superuser in setup.pl.
+Last-Update: 2012-04-18
 --- a/UI/setup/credentials.html
 +++ b/UI/setup/credentials.html
 @@ -10,7 +10,7 @@

Modified: ledger-smb/branches/v1.3/debian/patches/20_BashPath.patch
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/20_BashPath.patch	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/patches/20_BashPath.patch	2014-04-08 16:49:24 UTC (rev 704)
@@ -1,5 +1,6 @@
 Author: Robert James Clay <jame at rocasa.us>
 Description: Correct path for Bash in tools scripts.
+Last-Update: 2013-01-30
 --- a/tools/rebuild_pot.sh
 +++ b/tools/rebuild_pot.sh
 @@ -1,4 +1,4 @@

Added: ledger-smb/branches/v1.3/debian/patches/21_lsmb_13-fcgi-conf.patch
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/21_lsmb_13-fcgi-conf.patch	                        (rev 0)
+++ ledger-smb/branches/v1.3/debian/patches/21_lsmb_13-fcgi-conf.patch	2014-04-08 16:49:24 UTC (rev 704)
@@ -0,0 +1,61 @@
+Author: Robert James Clay <jame at rocasa.us>
+Description: Set WORKDIR path in LedgerSMB Apache FCGI confiuration files.
+Last-Update: 2014-03-23
+--- a/tools/lsmb_13-fcgi.conf
++++ b/tools/lsmb_13-fcgi.conf
+@@ -1,13 +1,13 @@
+ # This file must be edited to substitute the current path with WORKING_DIR
+ 
+-Alias /ledgersmb_1.3 WORKING_DIR/
++Alias /ledgersmb_1.3 /usr/share/ledgersmb/
+ LoadModule fastcgi_module modules/mod_fastcgi.so
+ 
+ LogLevel debug
+ 
+-FastCgiExternalServer WORKING_DIR/ledgersmb.fcgi -socket /var/run/httpd/fastcgi/lsmb.sock -idle-timeout 240 -pass-header Authorization
++FastCgiExternalServer /usr/share/ledgersmb/ledgersmb.fcgi -socket /var/lib/ledgersmb/lsmb.sock -idle-timeout 240 -pass-header Authorization
+ 
+-<Directory WORKING_DIR>
++<Directory /usr/share/ledgersmb>
+ 
+   # Rewrite rule to allow HTTP Authorization information to the scripts only
+   # from this directory.
+@@ -32,32 +32,32 @@
+   </Files>
+ </Directory>
+ 
+-<Directory WORKING_DIR/users>
++<Directory /usr/share/ledgersmb/users>
+   Order Deny,Allow
+   Deny from All
+ </Directory>
+ 
+-<Directory WORKING_DIR/bin>
++<Directory /usr/share/ledgersmb/bin>
+   Order Deny,Allow
+   Deny from All
+ </Directory>
+ 
+-<Directory WORKING_DIR/utils>
++<Directory /usr/share/ledgersmb/utils>
+   Order Deny,Allow
+   Deny from All
+ </Directory>
+ 
+-<Directory WORKING_DIR/spool>
++<Directory /usr/share/ledgersmb/spool>
+   Order Deny,Allow
+   Deny from All
+ </Directory>
+ 
+-<Directory WORKING_DIR/templates>
++<Directory /usr/share/ledgersmb/templates>
+   Order Deny,Allow
+   Deny from All
+ </Directory>
+ 
+-<Directory WORKING_DIR/LedgerSMB>
++<Directory /usr/share/ledgersmb/LedgerSMB>
+   Order Deny,Allow
+   Deny from All
+ </Directory>

Modified: ledger-smb/branches/v1.3/debian/patches/series
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/series	2014-03-16 15:32:04 UTC (rev 703)
+++ ledger-smb/branches/v1.3/debian/patches/series	2014-04-08 16:49:24 UTC (rev 704)
@@ -2,3 +2,4 @@
 10_httpdconf.patch
 15_UI-setup-credentials.patch
 20_BashPath.patch
+21_lsmb_13-fcgi-conf.patch




More information about the Pkg-sql-ledger-commit mailing list