[Pkg-sql-ledger-commit] r500 - ledger-smb/branches/dbconfig/debian
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Thu Apr 5 20:16:43 UTC 2012
Author: jame-guest
Date: 2012-04-05 20:16:42 +0000 (Thu, 05 Apr 2012)
New Revision: 500
Modified:
ledger-smb/branches/dbconfig/debian/TODO
ledger-smb/branches/dbconfig/debian/changelog
ledger-smb/branches/dbconfig/debian/ledgersmb.postinst
Log:
More dbconfig & other changes, as of 1.3.14-2~3.
Modified: ledger-smb/branches/dbconfig/debian/TODO
===================================================================
--- ledger-smb/branches/dbconfig/debian/TODO 2012-04-05 12:41:07 UTC (rev 499)
+++ ledger-smb/branches/dbconfig/debian/TODO 2012-04-05 20:16:42 UTC (rev 500)
@@ -1,23 +1,15 @@
debian/TODO for LedgerSMB v1.3
+- The database configuration using dbconfig-common is creating the ledgersmb user
+but not with the correct permissions. Standard setup uses something like this:
+CREATE ROLE ledgersmb WITH SUPERUSER LOGIN NOINHERIT ENCRYPTED PASSWORD '$password';"
+- The dbconfig configuration is apparantly automatically creating a database
+named ledgersmb when it creates the ledgersmb user. Is that really needed?
-- 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?
@@ -25,18 +17,21 @@
- The templates directory had been getting installed to /etc/ledgersmb/templates.
Should that be /var/lib/ledgersmb/templates instead?
-- 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> Thu, 05 Apr 2012 15:34:18 -0500
Modified: ledger-smb/branches/dbconfig/debian/changelog
===================================================================
--- ledger-smb/branches/dbconfig/debian/changelog 2012-04-05 12:41:07 UTC (rev 499)
+++ ledger-smb/branches/dbconfig/debian/changelog 2012-04-05 20:16:42 UTC (rev 500)
@@ -1,3 +1,14 @@
+ledgersmb (1.3.14-2~3) UNRELEASED; urgency=low
+
+ * Initial addition of debconf/dbconfig usage to ledgersmb.
+ * Changes to debian/ledgersmb.postinst:
+ - Rewrite the statoverride version check.
+ - Change how the version variable is being used.
+ * Add patches/20_LedgerSMB-Form-pod.patch to correct spelling error.
+ * Add lintian override for empty directory ledgersmb/sql/coa/ar/gifi/.
+
+ -- Robert James Clay <jame at rocasa.us> Thu, 05 Apr 2012 15:39:20 -0400
+
ledgersmb (1.3.14-2~2) UNRELEASED; urgency=low
* Initial addition of debconf/dbconcig to ledgersmb.
Modified: ledger-smb/branches/dbconfig/debian/ledgersmb.postinst
===================================================================
--- ledger-smb/branches/dbconfig/debian/ledgersmb.postinst 2012-04-05 12:41:07 UTC (rev 499)
+++ ledger-smb/branches/dbconfig/debian/ledgersmb.postinst 2012-04-05 20:16:42 UTC (rev 500)
@@ -36,6 +36,10 @@
dbc_dbtypes="pgsql"
. /usr/share/debconf/confmodule
+<<<<<<< HEAD
+=======
+. /usr/share/dbconfig-common/dpkg/postinst.pgsql
+>>>>>>> dbconfig-dev
case "$1" in
configure)
@@ -55,11 +59,11 @@
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
+ 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 dotclear/lsmb_debconf
+ db_get ledgersmb/lsmb_debconf
if [ "$RET" = true ]; then
dbc_go ledgersmb $@
fi
More information about the Pkg-sql-ledger-commit
mailing list