[Pkg-sql-ledger-commit] r738 - in ledger-smb/trunk/debian: . adm
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Thu May 18 03:15:59 UTC 2017
Author: jame-guest
Date: 2017-05-18 03:15:59 +0000 (Thu, 18 May 2017)
New Revision: 738
Added:
ledger-smb/trunk/debian/adm/apache-vhost.conf
ledger-smb/trunk/debian/ledgersmb.starman-ledgersmb.service
Modified:
ledger-smb/trunk/debian/README.Debian
ledger-smb/trunk/debian/TODO
ledger-smb/trunk/debian/adm/config-lsmb-db-user.sh
ledger-smb/trunk/debian/changelog
ledger-smb/trunk/debian/control
ledger-smb/trunk/debian/copyright
ledger-smb/trunk/debian/ledgersmb.install
Log:
Merge release tagged debian/1.4.41-1 into git-svn integration branch.
Modified: ledger-smb/trunk/debian/README.Debian
===================================================================
--- ledger-smb/trunk/debian/README.Debian 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/README.Debian 2017-05-18 03:15:59 UTC (rev 738)
@@ -30,7 +30,10 @@
the /usr/share/ledgersmb/tools directory.
An alternate to using Apache is use Plack to run that application. Further
- information regarding that can be found README.plack.
+ information regarding that can be found README.plack. Starman is also
+ installed by default and you can expermment with that by changing to the
+ package installation directory at /usr/share/ledgersmb and then running
+ this the following as root: "starman -I. tools/starman.psgi".
Upgrade installs from a 1.3.x series package will have the application css
directory as /var/lib/ledgersmb/css and the defaults for the files would
@@ -95,4 +98,4 @@
- -- Robert James Clay <jame at rocasa.us> Mon, 18 Jul 2016 10:18:43 -0400
+ -- Robert James Clay <jame at rocasa.us> Thu, 24 Jul 2016 05:22:18 -0400
Modified: ledger-smb/trunk/debian/TODO
===================================================================
--- ledger-smb/trunk/debian/TODO 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/TODO 2017-05-18 03:15:59 UTC (rev 738)
@@ -1,7 +1,7 @@
-debian/TODO for LedgerSMB v1.4
+debian/TODO for packaging LedgerSMB v1.4
-====================================================================================================
+================================================================================
Update debian/Readme.Debian
Update debian/Readme.sources
@@ -79,12 +79,30 @@
-----------------------------------------------------------------------------------
+- LedgerSMB package for Debian Stretch, which will be Debian v9 when it is released,
+is not currently available because it was removed due to depending on the 'dojo'
+package which had been removed from Debian Testing ("Stretch") because of an RC
+(Release Critical) bug.
+Reference; https://github.com/ledgersmb/LedgerSMB/issues/2704
- - google search: debconf preload
+-----------------------------------------------------------------------------------
+- Investigate again not using the Debian packaged dojo libraries.
-http://blog.delgurth.com/2009/01/19/pre-loading-debconf-values-for-easy-installation/
-----------------------------------------------------------------------------------
+- debian/watch: expand the uversionmangle regular expression to exclude v1.2,
+v1.3, and v1.5 versions.
+
+-----------------------------------------------------------------------------------
+- As per discussions in IRC, serveral in upstream do not think that the password
+for the LSMB DB Admin user should be capable of getting changed after the package has
+initially been installed, much less that it can happen each time the package is
+upgraded as is currently the case. Note that functionality for being able to do
+such a password update using the upstream 'setup.pl' is being looked at,
+reference https://github.com/ledgersmb/LedgerSMB/issues/2717.
+
+-----------------------------------------------------------------------------------
+
- 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.40: "ja" is not in the default list. It's also not
@@ -92,6 +110,8 @@
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?
@@ -99,13 +119,15 @@
- Create an HTML and/or PDF file of templateing/templating-guide.tex? And
then register it with doc-base?
+-----------------------------------------------------------------------------------
+
- Review the tools/* shell and perl scripts to determine what patches may be
necessary to make them usable on a Debian installation.
- Instead of a sym link to point to the /etc/ledgersmb config file(s),
-patch config file to add '/etc/' to the config file setting. (Would
+patch config file to add '/etc/' to the config file setting? (Would
the apache config also need to be updated to allow that?)
- -- Robert James Clay <jame at rocasa.us> Mon, 11 Apr 2016 08:30 -0400
+ -- Robert James Clay <jame at rocasa.us> Thu, 11 May 2017 11:31 -0400
Added: ledger-smb/trunk/debian/adm/apache-vhost.conf
===================================================================
--- ledger-smb/trunk/debian/adm/apache-vhost.conf (rev 0)
+++ ledger-smb/trunk/debian/adm/apache-vhost.conf 2017-05-18 03:15:59 UTC (rev 738)
@@ -0,0 +1,51 @@
+# This is a 'vhost' definition file example for use with Starman/LedgerSMB
+# reverse proxying.
+#
+# Please replace the following parameters:
+#
+# * WORKING_DIR
+# * YOUR_SERVER_NAME
+# * SSL_KEY_FILE
+# * SSL_CERT_FILE
+# * SSL_CHAIN_FILE
+#
+#
+
+# this block also requires mod_ssl and mod_rewrite to be enabled
+
+# Comment out the 'Listen' and/or 'NameVirtualHost' when Apache complains
+Listen 443
+# NameVirtualHost is ignored by Apache 2.4
+NameVirtualHost *:443
+<VirtualHost *:443>
+ #ServerName YOUR_SERVER_NAME
+
+ DocumentRoot /usr/share/ledgersmb/UI
+
+ ## If you own a publicly exposed server, consider submitting it
+ ## to the SSL security tests available at
+ ## https://www.ssllabs.com/ssltest/
+ #SSLEngine On
+ #SSLCertificateFile SSL_CERT_FILE
+ #SSLCertificateKeyFile SSL_KEY_FILE
+ #SSLCertificateChainFile SSL_CHAIN_FILE
+ #SSLRequireSSL
+
+ RewriteEngine On
+
+ # Rewrite '/' URL to /login.pl script
+ RewriteRule "^/$" "/login.pl" [R=301,L]
+ # "hidden" files (those starting with a dot), don't exist
+ RewriteRule "^/\." - [R=404,L]
+ # configuration files (those ending in '.conf'), don't exist
+ RewriteRule "\.conf$" - [R=404,L]
+
+ # Rewrite non-static content to the application backend
+ RewriteCond "%{REQUEST_FILENAME}" !-f
+ RewriteCond "%{REQUEST_FILENAME}" !-d
+ RewriteRule "^/(.*)" "http://localhost:5762/$1" [P]
+ ProxyPassReverse "/" "http://localhost:5762/"
+
+</VirtualHost>
+
+
Modified: ledger-smb/trunk/debian/adm/config-lsmb-db-user.sh
===================================================================
--- ledger-smb/trunk/debian/adm/config-lsmb-db-user.sh 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/adm/config-lsmb-db-user.sh 2017-05-18 03:15:59 UTC (rev 738)
@@ -1,7 +1,7 @@
#!/bin/bash
# Configure the LedgerSMB database administrator user
#
-# Copyright (C) 2015 Robert James Clay <jame at rocasa.us>
+# Copyright (C) 2015-2017 Robert James Clay <jame at rocasa.us>
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -15,9 +15,9 @@
#
# First parameter is the user name
-LSMBDBUSER=$1
+LSMBDBUSER="$1"
# Second parameter is the password
-LSMBDBPW=$2
+LSMBDBPW="$2"
su - postgres -c psql <<EOT
DO
@@ -26,13 +26,13 @@
BEGIN
SELECT count(*)
into num_users
- FROM pg_user
- WHERE usename = '$LSMBDBUSER';
+ FROM pg_roles
+ WHERE rolname = '$LSMBDBUSER';
IF num_users = 0 THEN
- CREATE ROLE $LSMBDBUSER WITH SUPERUSER LOGIN NOINHERIT ENCRYPTED PASSWORD '$LSMBDBPW';
+ CREATE ROLE "$LSMBDBUSER" WITH SUPERUSER LOGIN NOINHERIT ENCRYPTED PASSWORD '$LSMBDBPW';
ELSE
- ALTER ROLE $LSMBDBUSER WITH SUPERUSER LOGIN NOINHERIT ENCRYPTED PASSWORD '$LSMBDBPW';
+ ALTER ROLE "$LSMBDBUSER" WITH SUPERUSER LOGIN NOINHERIT ENCRYPTED PASSWORD '$LSMBDBPW';
END IF;
END
\$\$
Modified: ledger-smb/trunk/debian/changelog
===================================================================
--- ledger-smb/trunk/debian/changelog 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/changelog 2017-05-18 03:15:59 UTC (rev 738)
@@ -1,3 +1,20 @@
+ledgersmb (1.4.41+ds-1) unstable; urgency=low
+
+ * New Upstream Release
+ - Resolves Perl related issue regarding 'current directory' no longer being
+ in the include path ("INC"). (Closes: #844276)
+ * Add installation of a apache-vhost.conf file.
+ * Add an 'Vcs-Git' entry to the debian/control file.
+ * Add installation of a starman-ledgersmb.service file.
+ * Correct parameter quoting in the debian/adm/config-lsmb-db-user.sh file.
+ * Add note regarding experimental use of 'starman' to debian/README.Debian.
+ * Use 'pg_roles/rolname' instead of the 'pg_user/usename' database/field in
+ the config-lsmb-db-user.sh file,
+ * Correct the debian/changelog entry for v1.4.34+ds-1, adding that it was
+ for a new upstream release.
+
+ -- Robert James Clay <jame at rocasa.us> Thu, 11 May 2017 14:35:11 -0400
+
ledgersmb (1.4.34+ds-2) unstable; urgency=medium
* Move libjson-xs-perl from 'Depends' to 'Recommends' in debian/control.
@@ -6,6 +23,7 @@
ledgersmb (1.4.34+ds-1) unstable; urgency=medium
+ * New Upstream Release
* Remove 'libmodule-install-perl' from 'Build-Depends' in debian/control.
-- Robert James Clay <jame at rocasa.us> Sat, 29 Oct 2016 13:50:23 -0400
Modified: ledger-smb/trunk/debian/control
===================================================================
--- ledger-smb/trunk/debian/control 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/control 2017-05-18 03:15:59 UTC (rev 738)
@@ -7,6 +7,7 @@
po-debconf
Standards-Version: 3.9.8
Homepage: http://www.ledgersmb.org/
+Vcs-Git: https://github.com/ledgersmb/pkg-ledgersmb.git
Vcs-Svn: svn://anonscm.debian.org/pkg-sql-ledger/ledger-smb/trunk
Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-sql-ledger/ledger-smb/trunk/
Modified: ledger-smb/trunk/debian/copyright
===================================================================
--- ledger-smb/trunk/debian/copyright 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/copyright 2017-05-18 03:15:59 UTC (rev 738)
@@ -14,19 +14,19 @@
Erik Huelsmann, Havard Sorli, John Locke, Pongracz Istvan, Herman Vierendeels,
and Robert James Clay. For a full list including contact information of
contributors, maintainers, and copyright holders, see the CONTRIBUTORS file.
-Copyright: 2006-2016, The LedgerSMB Core Team
+Copyright: 2006-2017, The LedgerSMB Core Team
1999-2006, DWS Systems Inc.
Files: *
-Copyright: 2006-2016, Chris Travers <chris at metatrontech.com>
+Copyright: 2006-2017, Chris Travers <chris at metatrontech.com>
2007-2015, Pongracz Istvan <pongracz.istvan at gmail.com>
2012-2014, Havard Sorli <havard at anix.no>
- 2011-2016, Erik Huelsmann <ehuels at gmail.com>
+ 2011-2017, Erik Huelsmann <ehuels at gmail.com>
2011-2015, John Locke <john at freelock.com>
2014-2016, Nick Prater <nick at npbroadcast.com>
2013-2014, Herman Vierendeels <herman.vierendeels at gmail.com>
- 2012-2013, Robert James Clay <jame at rocasa.us>
- 2006-2011, Seneca Cunningham <tentra at gmail.com>
+ 2012-2013, Robert James Clay <jame at rocasa.us>u
+ 2006-2011, Seneca Cunningham <tentra at gmail.com>p
2006-2011, Jason Rodrigues <jasonjayr+ledgersmb at gmail.com>
2006-2007, Christopher Murtagh <christopher.murtagh at gmail.com>
2006-2007, Joshua Drake <jd at commandprompt.com>
@@ -37,6 +37,16 @@
1999-2005, DWS Systems Inc. and Dieter Simader <dsimader at sql-ledger.org>
License: GPL-2+
+Files: bin/ir.pl
+Copyright: 2006-2017, The LedgerSMB Core Team
+ 1999-2005, DWS Systems Inc. and Dieter Simader <dsimader at sql-ledger.org>
+License: GPL-2+
+
+Files: bin/is.pl
+Copyright: 2006-2017, The LedgerSMB Core Team
+ 1999-2005, DWS Systems Inc. and Dieter Simader <dsimader at sql-ledger.org>
+License: GPL-2+
+
Files: tools/prepare-company-database.*
Copyright: 2012, The LedgerSMB Core Team
License: BSD-2-clause
@@ -111,7 +121,17 @@
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Files: debian/ledgersmb.starman-ledgersmb.service
+Copyright: 2016-2017, Erik Huelsmann <ehuels at gmail.com>
+ 2017, Robert James Clay <jame at rocasa.us>
License: GPL-2+
+
+Files: debian/adm/apache-vhost.conf
+Copyright: 2016-2017, Erik Huelsmann <ehuels at gmail.com>
+ 2017, Robert James Clay <jame at rocasa.us>
+License: GPL-2+
+
+License: GPL-2+
This program is 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
Modified: ledger-smb/trunk/debian/ledgersmb.install
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.install 2017-05-18 03:13:30 UTC (rev 737)
+++ ledger-smb/trunk/debian/ledgersmb.install 2017-05-18 03:15:59 UTC (rev 738)
@@ -7,6 +7,7 @@
contrib/* usr/share/ledgersmb/contrib
css/* usr/share/ledgersmb/css
debian/adm/config-lsmb-db-user.sh usr/share/ledgersmb/tools
+debian/adm/apache-vhost.conf usr/share/ledgersmb
favicon.ico usr/share/ledgersmb
images/*.gif usr/share/ledgersmb/images
images/*.png usr/share/ledgersmb/images
Added: ledger-smb/trunk/debian/ledgersmb.starman-ledgersmb.service
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.starman-ledgersmb.service (rev 0)
+++ ledger-smb/trunk/debian/ledgersmb.starman-ledgersmb.service 2017-05-18 03:15:59 UTC (rev 738)
@@ -0,0 +1,29 @@
+# Place this in /etc/systemd/system/starman-ledgersmb.service
+# systemctl enable starman-ledgersmb
+# service start starman-ledgersmb
+
+[Unit]
+Description=Starman LedgerSMB
+After=network.target
+
+[Service]
+WorkingDirectory=/usr/share/ledgersmb
+
+# In case you installed dependencies into a 'local::lib'
+# make sure you set the PERL5LIB environment variable
+# to the correct location by uncommenting the line below
+#Environment=PERL5LIB=/path/to/local-lib/lib/perl5
+
+# Be sure to set a user and group below
+# which don't have write access to the directories
+# holding the LedgerSMB sources
+User=ledgersmb
+Group=ledgersmb
+ExecStart=/usr/bin/starman \
+ --listen localhost:5762 \
+ -I lib \
+ tools/starman.psgi
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
\ No newline at end of file
More information about the Pkg-sql-ledger-commit
mailing list