[Pkg-sql-ledger-commit] r503 - in ledger-smb/trunk/debian: . patches po sql

pkg-sql-ledger-commit-owner at lists.alioth.debian.org pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Wed Apr 11 21:41:38 UTC 2012


Author: jame-guest
Date: 2012-04-11 21:41:38 +0000 (Wed, 11 Apr 2012)
New Revision: 503

Added:
   ledger-smb/trunk/debian/NEWS
   ledger-smb/trunk/debian/ledgersmb.config
   ledger-smb/trunk/debian/ledgersmb.postrm
   ledger-smb/trunk/debian/patches/80_admin-pl-shebang.patch
   ledger-smb/trunk/debian/patches/81_customer-pl-shebang.patch
   ledger-smb/trunk/debian/patches/82_employee-pl-shebang.patch
   ledger-smb/trunk/debian/patches/83_journal-pl-shebang.patch
   ledger-smb/trunk/debian/patches/84_menu-pl-shebang.patch
   ledger-smb/trunk/debian/patches/85_recon-pl-shebang.patch
   ledger-smb/trunk/debian/patches/86_taxform-pl-shebang.patch
   ledger-smb/trunk/debian/patches/87_vendor-pl-shebang.patch
   ledger-smb/trunk/debian/patches/88_vouchers-pl-shebang.patch
   ledger-smb/trunk/debian/po/
   ledger-smb/trunk/debian/po/POTFILES.in
   ledger-smb/trunk/debian/po/templates.pot
   ledger-smb/trunk/debian/sql/
   ledger-smb/trunk/debian/sql/pgsql
   ledger-smb/trunk/debian/templates
Modified:
   ledger-smb/trunk/debian/README.Debian
   ledger-smb/trunk/debian/TODO
   ledger-smb/trunk/debian/changelog
   ledger-smb/trunk/debian/control
   ledger-smb/trunk/debian/ledgersmb.install
   ledger-smb/trunk/debian/ledgersmb.links
   ledger-smb/trunk/debian/ledgersmb.postinst
Log:
LedgerSMB debian/* for 1.3.14-2.

* debian-dev: (41 commits)
  Revert "Do not need debconf translations as yet."
  LedgerSMB debian/changelog for experimental 1.3.14-2.
  Do not need a debian/ledgersmb.prerm file as yet.
  Do not need debconf translations as yet.
  LedgerSMB debian/TODO as of 11 Apr 2012.
  Add debian/NEWS to the packaging.
  Add symbolic link for /var/lib/ledgersmb/css directory.
  debian/changelog for LedgerSMB UNRELEASED v1.3.14-2~6.
  Update how apache is restarted in debian/ledgersmb.postinst.
  debian/changelog for LedgerSMB UNRELEASED v1.3.14-2~5.
  Add ledgersmb database user information to README.Debian.
  Remove direct usage of tools/prepare-company-database.sh from README.Debian.
  Change default for ledgersmb/lsmb_debconf in debian/templates to false.
  LedgerSMB debian/changelog for UNLRELEASED 1.3.14-2~4.
  Add debian/po/* files back in to debian directory.
  Add to lsmb_login long description in debian/templates.
  Correct Description field entries in debian/templates.
  Add configuration of ledgersmb database user using dbconfig-common.
  LedgerSMB debian/changelog for UNLRELEASED 1.3.14-2~3.
  LedgerSMB debian/TODO as of 5 Apr 2012.
  ...

Added: ledger-smb/trunk/debian/NEWS
===================================================================
--- ledger-smb/trunk/debian/NEWS	                        (rev 0)
+++ ledger-smb/trunk/debian/NEWS	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,9 @@
+ledgersmb (1.3.14-2) experimental; 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
+  user and use that in the http://localhost/ledgersmb/setup.pl script to create
+  the company databases for use.
+
+ -- Robert James Clay <jame at rocasa.us>  Wed, 11 Apr 2012 15:28:31 -0400

Modified: ledger-smb/trunk/debian/README.Debian
===================================================================
--- ledger-smb/trunk/debian/README.Debian	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/README.Debian	2012-04-11 21:41:38 UTC (rev 503)
@@ -3,11 +3,11 @@
 
 Optional Perl modules
 
-      Net::TCLink               [Support for TrustCommerce credit card processing]
-      Parse::RecDescent         [Support for the *experimental* scripting engine]
-      Template::Plugin::Latex   [Support for Postscript and PDF output]
-      OpenOffice::OODoc         [Support for OpenOffice output]
-      Excel::Template::Plus     [Support for Excel output]
+    Net::TCLink              [Support for TrustCommerce credit card processing]
+    Parse::RecDescent        [Support for the *experimental* scripting engine]
+    Template::Plugin::Latex  [Support for Postscript and PDF output]
+    OpenOffice::OODoc        [Support for OpenOffice output]
+    Excel::Template::Plus    [Support for Excel output]
 
     The credit card processing support for TrustCommerce is available
     repository as libnet-tclink-perl if not already installed:
@@ -19,8 +19,8 @@
     if it is not already installed:
 
     If the libtemplate-plugin-latex-perl package needed for the PDF/Postscript
-    output option is not available, then if you want to use that option you will
-    need to download the module Template::Plugin::Latex from CPAN.
+    output option is not available, then if you want to use that option you
+    will need to download the module Template::Plugin::Latex from CPAN.
 
     Please note that the PDF/Postscript module depends on the TeX/LaTeX
     package which is available as texlive-latex-recommended.
@@ -42,68 +42,29 @@
     case insensitive, meaning you can't create two separate company databases
     called 'Ledgersmb' and 'ledgersmb'.
 
-    One way you can create databases fairly easily is by directing your web browser
-    to the setup.pl script at your installed ledgersmb directory.  So if the 
-    base URL is http://localhost/ledgersmb/, you can access the database setup and 
-    upgrade script at http://localhost/ledgersmb/setup.pl.  This is very different
-    from the approaches taken by LedgerSMB 1.2.x and earlier and SQL-Ledger, but
-    rather forms a wizard to walk you through the process.
+    One way you can create databases fairly easily is by directing your web
+    browser to the setup.pl script at your installed ledgersmb directory. So
+    if the base URL is http://localhost/ledgersmb/, you can access the database
+    setup and upgrade script at http://localhost/ledgersmb/setup.pl.  This is
+    very different from the approaches taken by LedgerSMB 1.2.x and earlier and
+    SQL-Ledger, but rather forms a wizard to walk you through the process.
 
-    Please note that the setup.pl file assumes that LedgerSMB is already configured 
-    to be able to access the database and locate the relevant PostgreSQL contrib 
-    scripts.  In particular, you must have the  contrib_dir directive set to point
-    to those scripts properly in your ledgersmb.conf before you begin.
+    Please note that the setup.pl file assumes that LedgerSMB is already
+    configured to be able to access the database and locate the relevant
+    PostgreSQL contrib scripts. In particular, you must have the contrib_dir
+    directive set to point to those scripts properly in your ledgersmb.conf
+    before you begin.  You should also know the user and password for a
+    LedgerSMB database admin user which has the access to create users and
+    databases. The standard name for this user is ledgersmb and is assumed to
+    have the following access: SUPERUSER LOGIN NOINHERIT. (If this was not
+    configured at the time of the package installation, the ledgersmb user
+    can be added by using the standard postgresql database tools.) 
 
-    If you are upgrading from 1.2, your 1.2 tables will be moved to schema lsmb12.
-    Please keep this schema for some months. Updates which need this schema may
-    still be necessary.
+    If you are upgrading from 1.2, your 1.2 tables will be moved to schema
+    lsmb12. Please keep this schema for some months. Updates which need this
+    schema may still be necessary.
 
-    An alternative method is the 'prepare-company-database.sh' script, which can
-    be useful in creating and populating databases from the command line and it
-    offers a reference implementation written in BASH for how this process is done.
 
-    The 'prepare-company-database.sh' script in the tools/ directory will set
-    up databases to be used for LedgerSMB. The script should be run as 'root'
-    because it wants to 'su' to the postgres user.  Alternatively, if you
-    know the password of the postgres user, you can run the script as any other
-    user.  You'll be prompted for the password.  Additionally, the script creates
-    a superuser to assign ownership of the created company database to. By
-    default this user is called 'ledgersmb'.  The reason for this choice is that
-    when removing the ledgersmb user, you'll be told about any unremoved parts
-    of the database, because the owner of an existing database can't be removed
-    until that database is itself removed.
-
-    The following invocation of the script sets up your first test company,
-    when invoked as the root user and from the root directory of the LedgerSMB
-    sources:
-
-     $ ./tools/prepare-company-database.sh --company testinc
-
-    The script assumes your PostgreSQL server runs on 'localhost' with
-    PostgreSQL's default port (5432).
-
-    Upon completion, it'll have created a company database with the name
-    'testinc', a user called 'ledgersmb' (password: 'LEDGERSMBINITIALPASSWORD'),
-    a single user called 'admin' (password: 'admin') and the roles required to
-    manage authorizations.
-
-    Additionally, it'll have loaded a minimal list of languages required
-    to successfully navigate the various screens.
-
-    All these can be adjusted using arguments provided to the setup script. See
-    the output generated by the --help option for a full list of options.
-
-    Note: The script expects to be able to connect to the postgresql database
-      server over a TCP/IP connection after initial creation of the ledgersmb
-      user.  The ledgersmb user will be used to log in. To ensure that's
-      possible, it's easiest to ensure there's a row in the pg_hba.conf file
-      [the file which says how PostgreSQL should enforce its login policy]
-      with a 'host' configuration for the 127.0.0.1/32 address and the md5
-      authentication enforcement.  This line can be inserted for the duration
-      of the configuration of LedgerSMB, if the file doesn't have one.  The
-      line can safely be removed afterwards.
-
-
 Manual configuration
 ====================
 
@@ -123,4 +84,4 @@
 
 
 
- -- Robert James Clay <jame at rocasa.us>  Tue, 15 Dec 2011 11:46:38 -0500
+ -- Robert James Clay <jame at rocasa.us>  Tue, 10 Apr 2012 13:40:37 -0500

Modified: ledger-smb/trunk/debian/TODO
===================================================================
--- ledger-smb/trunk/debian/TODO	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/TODO	2012-04-11 21:41:38 UTC (rev 503)
@@ -1,42 +1,43 @@
 debian/TODO for LedgerSMB v1.3
 
+- The dbconfig configuration is apparantly capable of creating the ledgersmb
+user but it is not getting created with the necessary permissions.
 
+- The dbconfig configuration is apparantly automatically creating a database
+named ledgersmb when it creates the ledgersmb user.  The owner of it can 
+come up as postgres;  should make that ledgersmb.
 
-- Lintian Info ledgersmb: I unused-override, package-contains-empty-directory.
-Don't know why that's coming up because the two listed directories are being
-installed with the package and they are empty. Possibly an issue with how
-they're entered in the file. 
+- Review the tools/* shell and perl scripts to see what if any need changes for
+usage on a debian installation.
 
-- Auto-configuration of PostgreSQL and access to it by LedgerSMB using dbconfig-common.
-First;  check if manual or assisted configuration.  If assisted, create ledgersmb
-postgresql user as LedgerSMB admin.  If manual;  msg about docs for manual set up?
-
-- If the tools/prepare-company-database.sh script is to be usable on the Debian
-installation, it will need to be patched. For instance:  Lines 199 and 200 (as
-of 1.3.12) are used in the script to create ledgersmb-httpd.conf from the
-ledgersmb-httpd.conf.template apparantly each time it runs. Current Debian
-install does not have either the template file or the working file in the place
-it expects and in any case the debian package install takes care of those.
-
 - 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?
 
+- The package installs the LedgerSMB css directory to /var/lib/ledgersmb/css,
+but the application itself currently expects it to be in the main installation
+directory; reference also upstream bug # 3516730. (A symbolic link is installed
+with the current packaging as a workaround for the issue.)
+
 - The templates directory had been getting installed to /etc/ledgersmb/templates.
-Should that be /var/lib/ledgersmb/templates instead?
+Should that be /var/lib/ledgersmb/templates instead? (There is also an issue 
+with editing templates online; reference upstream bug # 3516725 regarding that.)
 
-- 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 (current oldstable), v1.8.3 in lenny-backports,
-v1.8.3 in squeeze, v1.9.0 in wheezy. Provide a Lintian override with description of
-issue, until otherwise resolved.
+- 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 (current oldstable), v1.8.3 in
+lenny-backports, v1.8.3 in squeeze, v1.9.0 in wheezy. 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."
+  "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.
 
+- Apache v2.4 was released in February 2012 and is being prepared for upload into
+Debian. Ref: http://lists.debian.org/debian-devel-announce/2012/03/msg00013.html
+at least regarding packaging guidelines.
 
 
- -- Robert James Clay <jame at rocasa.us>  Wed, 21 Mar 2012 20:17:22 -0500
+ -- Robert James Clay <jame at rocasa.us>  Wed, 11 Apr 2012 14:41:15 -0500

Modified: ledger-smb/trunk/debian/changelog
===================================================================
--- ledger-smb/trunk/debian/changelog	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/changelog	2012-04-11 21:41:38 UTC (rev 503)
@@ -1,9 +1,18 @@
-ledgersmb (1.3.14-2~1) UNRELEASED; urgency=low
+ledgersmb (1.3.14-2) experimental; urgency=low
 
-  * Add patches/20_LedgerSMB-Form-pod.patch to correct spelling error.
+  * Add initial version of the debian/NEWS file.
+  * Update and rewrite of debian/README.Debian.
+  * Changes to debian/ledgersmb.postinst:
+    - Rewrite the statoverride version check.
+    - Change how the version variable is being used.
+    - Update how apache is restarted when that is needed.
+  * Add patches/20_LedgerSMB-Form-pod.patch to correct spelling errors.
   * Add lintian override for empty directory ledgersmb/sql/coa/ar/gifi/.
+  * Initial addition of experimental debconf/dbconfig usage to ledgersmb.
+  * Add a symbolic link from /usr/share/ledgersmb/css to the directory
+    /var/lib/ledgersmb/css.
 
- -- Robert James Clay <jame at rocasa.us>  Tue, 03 Apr 2012 22:40:17 -0400
+ -- Robert James Clay <jame at rocasa.us>  Wed, 11 Apr 2012 16:37:30 -0400
 
 ledgersmb (1.3.14-1) experimental; urgency=low
 

Modified: ledger-smb/trunk/debian/control
===================================================================
--- ledger-smb/trunk/debian/control	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/control	2012-04-11 21:41:38 UTC (rev 503)
@@ -3,7 +3,7 @@
 Priority: optional
 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), libmodule-install-perl
+Build-Depends: debhelper (>= 8), po-debconf, libmodule-install-perl
 Standards-Version: 3.9.3
 Homepage: http://www.ledgersmb.org/
 Vcs-Svn: svn://svn.debian.org/pkg-sql-ledger/ledger-smb/trunk
@@ -16,7 +16,7 @@
   liblocale-maketext-lexicon-perl (>= 0.62-1), libtemplate-perl (>=2.14-1),
   libhtml-parser-perl, liblog-log4perl-perl, libdatetime-perl, apache2 | httpd-cgi,
   libcgi-simple-perl, libfile-mimeinfo-perl, libio-stringy-perl,
-  postgresql-client, postgresql-contrib
+  postgresql-client, postgresql-contrib, dbconfig-common
 Recommends: default-mta | mail-transport-agent, texlive-latex-recommended, libopenoffice-oodoc-perl,
   libmath-bigint-gmp-perl, libparse-recdescent-perl
 Suggests: postgresql, lpr, libnet-tclink-perl, latex-cjk-all

Added: ledger-smb/trunk/debian/ledgersmb.config
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.config	                        (rev 0)
+++ ledger-smb/trunk/debian/ledgersmb.config	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# need to compare in future version
+dbc_first_version="1.3.14-2"
+
+if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
+    dbc_dbtypes="pgsql"
+    dbc_authmethod_user="password"
+
+    . /usr/share/dbconfig-common/dpkg/config
+fi
+
+db_input high ledgersmb/lsmb_debconf || true
+db_go || true
+
+db_get ledgersmb/lsmb_debconf
+if [ "$RET" = true ];then
+    if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
+        dbc_go ledgersmb $@
+    fi
+
+    db_input high ledgersmb/lsmb_login || true
+    db_input high ledgersmb/lsmb_password || true
+    db_go || true
+fi
+
+exit 0

Modified: ledger-smb/trunk/debian/ledgersmb.install
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.install	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/ledgersmb.install	2012-04-11 21:41:38 UTC (rev 503)
@@ -19,3 +19,4 @@
 tools/* /usr/share/ledgersmb/tools
 utils/* /usr/share/ledgersmb/utils
 UI/* usr/share/ledgersmb/UI
+debian/sql/pgsql usr/share/dbconfig-common/data/ledgermsb/install-dbadmin

Modified: ledger-smb/trunk/debian/ledgersmb.links
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.links	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/ledgersmb.links	2012-04-11 21:41:38 UTC (rev 503)
@@ -1,3 +1,4 @@
 /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.conf /etc/ledgersmb/ledgersmb-httpd.conf 
+/var/lib/ledgersmb/css /usr/share/ledgersmb/css

Modified: ledger-smb/trunk/debian/ledgersmb.postinst
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.postinst	2012-04-08 02:01:29 UTC (rev 502)
+++ ledger-smb/trunk/debian/ledgersmb.postinst	2012-04-11 21:41:38 UTC (rev 503)
@@ -17,6 +17,9 @@
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
+#  Set old_version variable for use later in the script.
+old_version=$2
+
 #   Remove these settings for /etc/ledgersmb/*, as dpkg-statoverride
 # is no longer being used in debian/postinst to set it
 drop_statoverride() {
@@ -29,27 +32,38 @@
     done
 }
 
+dbc_first_version="1.3.14-2"
+dbc_dbtypes="pgsql"
+
+. /usr/share/debconf/confmodule
+. /usr/share/dbconfig-common/dpkg/postinst.pgsql
+
 case "$1" in
     configure)
         # Do Apache related processing if it is present.
         if [ -d "/etc/apache2" ]; then
             # Only do these if this is the initial install.
-            if [ "$2" = "" ]; then
+            if [ -z "$old_version" ]; then
                 # Enable Apache mod_rewrite
                 if [ -x "`which a2enmod 2>/dev/null`" ]; then
                     a2enmod rewrite
                 fi
                 # Restart apache
                 if [ -x "/etc/init.d/apache2" ]; then
-                    invoke-rc.d apache2 restart || true
+                    invoke-rc.d apache2 restart 3>/dev/null || true
                 fi
             fi
         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 $2 lt 1.3.9-2; then
+        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/lsmb_debconf
+        if [ "$RET" = true ]; then 
+            dbc_go ledgersmb $@
+        fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Added: ledger-smb/trunk/debian/ledgersmb.postrm
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.postrm	                        (rev 0)
+++ ledger-smb/trunk/debian/ledgersmb.postrm	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,67 @@
+#!/bin/sh
+# postrm script for ledgersmb
+#
+# 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' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+#   Remove these settings for /etc/ledgersmb/*, as dpkg-statoverride
+# is no longer being used in debian/postinst to set it
+drop_statoverride() {
+    for file in /etc/ledgersmb /etc/ledgersmb/images \
+      /etc/ledgersmb/images/demo /etc/ledgersmb/templates \
+      /etc/ledgersmb/templates/*;
+    do
+    if dpkg-statoverride --list $file >/dev/null; then
+      dpkg-statoverride --remove $file
+    fi
+    done
+}
+
+if [ -f /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+fi
+
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+    . /usr/share/dbconfig-common/dpkg/postrm
+
+    dbc_go ledgersmb $@
+fi
+
+case "$1" in
+    upgrade)
+    #   Remove these settings for /etc/ledgersmb/*, as dpkg-statoverride
+    # is no longer being used in debian/postinst to set it.
+      if dpkg --compare-versions $2 lt 1.3.9-2; then
+        drop_statoverride;
+      fi
+    ;;
+
+    purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        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/patches/80_admin-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/80_admin-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/80_admin-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,12 @@
+Description: Unneccessary shebang line in scripts/admin.pl
+ Correct issue with unneccessary shebang line in scripts/admin.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/admin.pl
++++ b/scripts/admin.pl
+@@ -1,4 +1,3 @@
+-#!/usr/bin/perl
+ package LedgerSMB::Scripts::admin;
+ use strict;
+ 

Added: ledger-smb/trunk/debian/patches/81_customer-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/81_customer-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/81_customer-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,13 @@
+Description: Unneccessary shebang line in scripts/customer.pl
+ Correct issue with unneccessary shebang line in scripts/customer.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/customer.pl
++++ b/scripts/customer.pl
+@@ -1,5 +1,3 @@
+-#!/usr/bin/perl
+-
+ =pod
+ 
+ =head1 NAME

Added: ledger-smb/trunk/debian/patches/82_employee-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/82_employee-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/82_employee-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,13 @@
+Description: Unneccessary shebang line in scripts/employee.pl
+ Correct issue with unneccessary shebang line in scripts/employee.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/employee.pl
++++ b/scripts/employee.pl
+@@ -1,5 +1,3 @@
+-#!/usr/bin/perl
+-
+ =pod
+ 
+ =head1 NAME

Added: ledger-smb/trunk/debian/patches/83_journal-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/83_journal-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/83_journal-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,14 @@
+Description: Unneccessary shebang line in scripts/journal.pl
+ Correct issue with unneccessary shebang line in scripts/journal.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/journal.pl
++++ b/scripts/journal.pl
+@@ -1,5 +1,4 @@
+-#!/usr/bin/perl
+-
++=pod
+ 
+ =head1 NAME
+ 

Added: ledger-smb/trunk/debian/patches/84_menu-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/84_menu-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/84_menu-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,14 @@
+Description: Unneccessary shebang line in scripts/menu.pl
+ Correct issue with unneccessary shebang line in scripts/menu.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/menu.pl
++++ b/scripts/menu.pl
+@@ -1,5 +1,4 @@
+-#!/usr/bin/perl
+-
++=pod
+ 
+ =head1 NAME
+ 

Added: ledger-smb/trunk/debian/patches/85_recon-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/85_recon-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/85_recon-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,12 @@
+Description: Unneccessary shebang line in scripts/recon.pl
+ Correct issue with unneccessary shebang line in scripts/recon.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/recon.pl
++++ b/scripts/recon.pl
+@@ -1,4 +1,3 @@
+-#!/usr/bin/perl
+ =pod
+ 
+ =head1 NAME

Added: ledger-smb/trunk/debian/patches/86_taxform-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/86_taxform-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/86_taxform-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,13 @@
+Description: Unneccessary shebang line in scripts/taxform.pl
+ Correct issue with unneccessary shebang line in scripts/taxform.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/taxform.pl
++++ b/scripts/taxform.pl
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++=pod
+ 
+ =head1 NAME
+ 

Added: ledger-smb/trunk/debian/patches/87_vendor-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/87_vendor-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/87_vendor-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,13 @@
+Description: Unneccessary shebang line in scripts/vendor.pl
+ Correct issue with unneccessary shebang line in scripts/vendor.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/vendor.pl
++++ b/scripts/vendor.pl
+@@ -1,5 +1,3 @@
+-#!/usr/bin/perl
+-
+ =pod
+ 
+ =head1 NAME

Added: ledger-smb/trunk/debian/patches/88_vouchers-pl-shebang.patch
===================================================================
--- ledger-smb/trunk/debian/patches/88_vouchers-pl-shebang.patch	                        (rev 0)
+++ ledger-smb/trunk/debian/patches/88_vouchers-pl-shebang.patch	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,17 @@
+Description: Unneccessary shebang line in scripts/vouchers.pl
+ Correct issue with unneccessary shebang line in scripts/vouchers.pl
+Bug: http://sourceforge.net/tracker/?func=detail&aid=3473848&group_id=175965&atid=875350
+Author: Robert James Clay <jame at rocasa.us>
+
+--- a/scripts/vouchers.pl
++++ b/scripts/vouchers.pl
+@@ -11,9 +11,6 @@
+ 
+ =cut
+ 
+-#!/usr/bin/perl
+-
+-
+ package LedgerSMB::Scripts::vouchers;
+ our $VERSION = '0.1';
+ 

Added: ledger-smb/trunk/debian/po/POTFILES.in
===================================================================
--- ledger-smb/trunk/debian/po/POTFILES.in	                        (rev 0)
+++ ledger-smb/trunk/debian/po/POTFILES.in	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates

Added: ledger-smb/trunk/debian/po/templates.pot
===================================================================
--- ledger-smb/trunk/debian/po/templates.pot	                        (rev 0)
+++ ledger-smb/trunk/debian/po/templates.pot	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,62 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: ledgersmb\n"
+"Report-Msgid-Bugs-To: ledgersmb at packages.debian.org\n"
+"POT-Creation-Date: 2012-04-07 20:31-0400\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid "Login for the Database Administrative user:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../templates:1001
+msgid ""
+"Please enter the login of the LedgerSMB Database Administrative user. This "
+"login is needed for, for instance, running setup.pl in the Web Interface. "
+"Note that 'ledgersmb' is the standard for this."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../templates:2001
+msgid "Password for the Database Administrative user:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../templates:2001
+msgid ""
+"Please enter the password of the LedgerSMB Database Administrative user. "
+"This password is needed for, for instance, running setup.pl in the Web "
+"Interface."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:3001
+msgid "Configure LedgerSMB automatically?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:3001
+msgid ""
+"The configuration program for the package can automatically configure "
+"LedgerSMB, at least and especially for the LedgerSMB Database User."
+msgstr ""

Added: ledger-smb/trunk/debian/sql/pgsql
===================================================================
--- ledger-smb/trunk/debian/sql/pgsql	                        (rev 0)
+++ ledger-smb/trunk/debian/sql/pgsql	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,2 @@
+# Configure ledgersmb user permissions
+ALTER ROLE ledgersmb WITH SUPERUSER LOGIN NOINHERIT;

Added: ledger-smb/trunk/debian/templates
===================================================================
--- ledger-smb/trunk/debian/templates	                        (rev 0)
+++ ledger-smb/trunk/debian/templates	2012-04-11 21:41:38 UTC (rev 503)
@@ -0,0 +1,23 @@
+Template: ledgersmb/lsmb_login
+Type: string
+Default: ledgersmb
+_Description: Login for the Database Administrative user:
+ Please enter the login of the LedgerSMB Database Administrative user. This
+ login is needed for, for instance, running setup.pl in the Web Interface.
+ Note that 'ledgersmb' is the standard for this.
+
+Template: ledgersmb/lsmb_password
+Type: password
+Default: LEDGERSMBINITIAL
+_Description: Password for the Database Administrative user:
+ Please enter the password of the LedgerSMB Database Administrative user.
+ This password is needed for, for instance, running setup.pl in the Web
+ Interface.
+
+Template: ledgersmb/lsmb_debconf
+Type: boolean
+Default: false
+_Description: Configure LedgerSMB automatically?
+ The configuration program for the package can automatically configure
+ LedgerSMB, at least and especially for the LedgerSMB Database User.
+




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