Subversion Repositories sql-ledger

Compare Revisions

Ignore whitespace Rev 67 → Rev 68

/tags/debian_version_2_4_5-1/debian/TODO
New file
0,0 → 1,11
cp users/ templates/ /var/lib/sql-ledger/
cp/edit sql-ledger-default.conf /etc/sql-ledger/sql-ledger.conf
create /etc/sql-ledger/sql-ledger-httpd.conf
edit /etc/apache(-ssl)/http.conf to include sql-ledger-httpd.conf
cp bin/ /usr/lib/sql-ledger/bin
cd bin/lynx for ALL in ../mozilla/*.pl ; do ln -s $ALL ; done
cp -r ~/MY-CVS/sql-ledger/SL .
chown www-data:www-data users templates
cp -r ~/MY-CVS/sql-ledger/sql .
cp -r ~/MY-CVS/sql-ledger/locale .
 
/tags/debian_version_2_4_5-1/debian/prerm
New file
0,0 → 1,5
#!/bin/bash
 
rm -f /usr/doc/sql-ledger || true
 
#DEBHELPER#
/tags/debian_version_2_4_5-1/debian/changelog
New file
0,0 → 1,89
sql-ledger (2.4.5-1) unstable; urgency=low
 
* New upstream release. (Closes: #280766)
- Includes password confirm field and keeps working after the
password is changed. (Closes: #260122)
* Petter Reinholdtsen
- Improved short description slightly, dropping implementation
language and adding "web based".
- 10makefiles.dpatch: Add files arapprn.pl and pw.pl to MODULEs,
making sure they are included in the package.
Added install rules for sql-ledger.eps. (Closes: #281692)
- 20norwegian.dpatch: Most of this patch is now included upstream.
Updated it to only include the remaining translations.
- 30defaults.dpatch: New patch. Use full path to location of user info.
- 40imagepath.dpatch, 45crosslink.dpatch: - Update to match new
source version.
- 45crosslink.dpatch: Add links between the normal and admin login pages.
- 50norwegian_chart.dpatch: Most of this was now included
upstream. Redused to only include the remaining issues.
- 21norwegian.dpatch, 35http-redirect, 51norwegian_chart.dpatch:
Removed/merged into other patches.
 
-- Petter Reinholdtsen <pere@debian.org> Mon, 29 Nov 2004 21:35:31 +0100
 
sql-ledger (2.4.1-2) unstable; urgency=low
 
* Updated Norwegian Bokmaal translation (20norwegian.dpatch).
 
-- Petter Reinholdtsen <pere@debian.org> Sat, 7 Aug 2004 16:44:54 +0200
 
sql-ledger (2.4.1-1) unstable; urgency=low
 
* Petter Reinholdtsen
- New upstream release.
- Made Norwegian Bokmaal translation patch relative to new upstream
version. Updated translation based on input from Erik
Inge Bolsø. (20norwegian.dpatch)
- Corrected Norwegian general chart even further. Patch
from Erik Inge Bolsø. (51norwegian_chart.dpatch)
 
-- Petter Reinholdtsen <pere@debian.org> Thu, 5 Aug 2004 10:27:22 +0200
 
sql-ledger (2.4.0-2) unstable; urgency=low
 
* Petter Reinholdtsen
- Updated Norwegian Bokmaal translation.
- Corrected Norwegian general chart.
- Add missing Build-Depends-Indep on dpatch. (Closes: #261042)
 
-- Petter Reinholdtsen <pere@debian.org> Sat, 24 Jul 2004 23:19:45 +0200
 
sql-ledger (2.4.0-1) unstable; urgency=low
 
* New upstream release. (Closes: #252750)
* Rewrote build system to use dpatch and an untouced tarball.
* Correct file path in README.Debian. (Closes: #252595)
* Add /usr/lib/sql-ledger/index.html redirecting to
login.pl. (Closes: #258611)
* Changed suggests latex to tetex-extra, to make sure latex class
file 'scrartcl.cls' is available when the suggested package is
installed. (Closes: #248593)
 
-- Petter Reinholdtsen <pere@debian.org> Sun, 18 Jul 2004 14:02:27 +0200
 
sql-ledger (2.2.6-1) unstable; urgency=low
 
* New upstream release (Closes: #245733)
* Changed to use symlinks from /usr/lib/sql-ledger and into
/var/lib/sql-ledger
(Closes: #245008, #245009)
* Changes dependencie on postgresql to suggest (Closes: #24493)
 
-- Finn-Arne Johansen <faj@bzz.no> Mon, 10 May 2004 17:43:09 +0200
 
sql-ledger (2.0.6-2) Never released; urgency=low
 
* Made the Makefiles so that it fits with <package>_<version>.orig.tar.gz
 
-- Finn-Arne Johansen <faj@bzz.no> Wed, 21 Apr 2004 04:39:49 +0200
 
sql-ledger (2.0.6-1) unstable; urgency=low
 
* Initial Release. (Closes: #129723, #138938)
* Fixed some errors to make it "lintian clean"
* Petter Reinholdtsen
- Removed (s) from copyright file to get rid of lintian warning
copyright-lists-upstream-authors-with-dh_make-boilerplate.
 
-- Finn-Arne Johansen <faj@bzz.no> Sun, 21 Mar 2004 14:07:45 +0100
/tags/debian_version_2_4_5-1/debian/patches/50norwegian_chart.dpatch
New file
0,0 → 1,35
#! /bin/sh -e
## 50norwegian_chart.dpatch by Petter Reinholdtsen <pere@hungry.com>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Correct the norwegian general chart.
## DP: Sent upstream 2004-11-27.
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 ) < $0 ;;
-unpatch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 -R ) < $0 ;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
 
exit 0
@DPATCH@
--- sql-ledger-2.4.5/sql/Norwegian_Default-chart.sql Wed Aug 4 22:21:26 2004
+++ sql-ledger/sql/Norwegian_Default-chart.sql Sat Nov 27 22:35:26 2004
@@ -12,6 +12,7 @@
insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1070', 'Utsatt skattefordel', 'A','', 'A', '');
insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1080', 'Goodwill', 'A','', 'A', '');
insert into chart (accno,description,charttype,gifi_accno,category,link) values ('11', 'Varige driftsmidler', 'H', '', 'A', '');
+insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1080', 'Goodwill', 'A','', 'A', '');
insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1100', 'Bygninger', 'A','', 'A', '');
insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1120', 'Bygningsmessige anlegg', 'A','', 'A', '');
insert into chart (accno,description,charttype,gifi_accno,category,link) values ('1140', 'Jord- og skogbrukseiendommer', 'A','', 'A', '');
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/patches/45crosslink.dpatch
New file
0,0 → 1,48
#! /bin/sh -e
## 45crosslink.dpatch by Petter Reinholdtsen <pere@hungry.com>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Add links between admin and normal login pages.
## DP: Sent upstream 2004-08-07.
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 ) < $0 ;;
-unpatch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 -R ) < $0 ;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
 
exit 0
@DPATCH@
diff -ur sql-ledger/bin/mozilla/admin.pl BUILD/sql-ledger/bin/mozilla/admin.pl
--- sql-ledger/bin/mozilla/admin.pl Tue Nov 23 22:56:46 2004
+++ BUILD/sql-ledger/bin/mozilla/admin.pl Sun Nov 28 00:10:24 2004
@@ -118,6 +118,7 @@
<input type=hidden name=action value=login>
<input type=hidden name=path value=$form->{path}>
</table>
+<p><a href="login.pl">Normal login</a></p>
</form>
Only in BUILD/sql-ledger/bin/mozilla: admin.pl~
diff -ur sql-ledger/bin/mozilla/login.pl BUILD/sql-ledger/bin/mozilla/login.pl
--- sql-ledger/bin/mozilla/login.pl Fri Nov 5 05:15:38 2004
+++ BUILD/sql-ledger/bin/mozilla/login.pl Sun Nov 28 00:11:45 2004
@@ -143,6 +143,7 @@
</td>
</tr>
</table>
+<p><a href="admin.pl">Administration login</a></p>
</body>
</html>
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/patches/10makefiles.dpatch
New file
0,0 → 1,237
#! /bin/sh -e
## 10makefiles.dpatch by Petter Reinholdtsen <pere@hungry.com>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Build/install rules for sql-ledger
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 ) < $0 ;;
-unpatch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 -R ) < $0 ;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
 
exit 0
@DPATCH@
--- sql-ledger-2.2.6.orig/bin/Makefile
+++ sql-ledger-2.2.6/bin/Makefile
@@ -0,0 +1,22 @@
+PACKAGE = sql-ledger
+
+MODULES = admin.pl login.pl arap.pl arapprn.pl ap.pl ar.pl ca.pl cp.pl ct.pl gl.pl ic.pl \
+ ir.pl is.pl oe.pl pe.pl rc.pl rp.pl am.pl io.pl pos.pl ps.pl pw.pl bp.pl hr.pl
+SUBDIRS = js lynx mozilla
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/usr/lib/sql-ledger/bin
+ cp -r $(SUBDIRS) $(DESTDIR)/usr/lib/sql-ledger/bin
+
+ for subdir in $(SUBDIRS) ; do \
+ cp $$subdir/menu.pl $(DESTDIR)/usr/lib/sql-ledger/bin/$$subdir ; \
+ done
+
+ cd $(DESTDIR)/usr/lib/sql-ledger ; \
+ for module in $(MODULES) ; do \
+ (cd bin/lynx ; ln -sf ../mozilla/$$module) ;\
+ done ; \
--- sql-ledger-2.2.6.orig/doc/Makefile
+++ sql-ledger-2.2.6/doc/Makefile
@@ -0,0 +1,13 @@
+PACKAGE = sql-ledger
+
+FILES = README Makefile faq.html
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/usr/share/doc/sql-ledger
+ cp -a $(FILES) $(DESTDIR)/usr/share/doc/sql-ledger
+
+#for ALL in locale/*/COPYING ; do HEAD=$(grep -n "# This program is free software" $ALL |cut -f1 -d:); let HEAD=$HEAD-1; head -$HEAD $ALL | tail +4 ; done | grep -v "^#$"
--- sql-ledger-2.2.6.orig/sql/Makefile
+++ sql-ledger-2.2.6/sql/Makefile
@@ -0,0 +1,11 @@
+PACKAGE = sql-ledger
+
+FILES = *.sql
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/usr/lib/sql-ledger/sql
+ cp $(FILES) $(DESTDIR)/usr/lib/sql-ledger/sql
--- sql-ledger-2.2.6.orig/templates/Makefile
+++ sql-ledger-2.2.6/templates/Makefile
@@ -0,0 +1,14 @@
+PACKAGE = sql-ledger
+
+FILES = *.html *.tex *.txt
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/var/lib/sql-ledger/templates
+ cp -a $(FILES) $(DESTDIR)/var/lib/sql-ledger/templates
+ chown www-data:www-data $(DESTDIR)/var/lib/sql-ledger/templates
+ ln -sf /var/lib/sql-ledger/templates $(DESTDIR)/usr/lib/sql-ledger/
+
--- sql-ledger-2.2.6.orig/css/Makefile
+++ sql-ledger-2.2.6/css/Makefile
@@ -0,0 +1,13 @@
+PACKAGE = sql-ledger
+
+FILES = sql-ledger.css
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/var/lib/sql-ledger/css
+ cp $(FILES) $(DESTDIR)/var/lib/sql-ledger/css
+ chown -R www-data:www-data $(DESTDIR)/var/lib/sql-ledger/css
+ ln -sf /var/lib/sql-ledger/css $(DESTDIR)/usr/lib/sql-ledger/
--- sql-ledger-2.2.6.orig/users/Makefile
+++ sql-ledger-2.2.6/users/Makefile
@@ -0,0 +1,13 @@
+PACKAGE = sql-ledger
+
+FILES = sql-ledger.eps sql-ledger.png
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/var/lib/sql-ledger/users
+ cp -r $(FILES) $(DESTDIR)/var/lib/sql-ledger/users/
+ chown www-data:www-data $(DESTDIR)/var/lib/sql-ledger/users
+ ln -sf /var/lib/sql-ledger/users $(DESTDIR)/usr/lib/sql-ledger/
--- sql-ledger-2.2.6.orig/SL/Makefile
+++ sql-ledger-2.2.6/SL/Makefile
@@ -0,0 +1,11 @@
+PACKAGE = sql-ledger
+
+FILES := $(shell ls *.pm)
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/usr/lib/sql-ledger/SL
+ cp -r $(FILES) $(DESTDIR)/usr/lib/sql-ledger/SL
--- sql-ledger-2.2.6.orig/locale/Makefile
+++ sql-ledger-2.2.6/locale/Makefile
@@ -0,0 +1,43 @@
+PACKAGE = sql-ledger
+
+LOCALES = $(shell ls */LANGUAGE | cut -d/ -f1)
+
+localedir = /usr/lib/sql-ledger/locale
+dlocaledir = $(DESTDIR)$(localedir)
+srctopdir := $(shell pwd)/..
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(dlocaledir)
+ set -e ; \
+ for lang in $(LOCALES) ; do \
+ mkdir -p $(dlocaledir)/$$lang ; \
+ for file in `find $$lang/. -type f | grep -v COPYING`; do \
+ if [ -f $$file ] ; then \
+ cp $$file $(dlocaledir)/$$lang/. ; \
+ fi ; \
+ done ; \
+ if [ -h $$lang/Num2text ] ; then \
+ ln -sf ../es/Num2text $(dlocaledir)/$$lang/Num2text ; \
+ elif [ -h $$lang/Num2text ] ; then \
+ cp $$lang/Num2text $(dlocaledir)/$$lang/. ; \
+ fi ; \
+ done
+
+ cp de/locales.pl $(dlocaledir)/de
+ set -e ; for lang in $(LOCALES) ; do \
+ if [ -d $(dlocaledir)/$$lang -a \
+ -f $(dlocaledir)/$$lang/LANGUAGE -a \
+ ! -f $(dlocaledir)/$$lang/locales.pl ] ; then \
+ ln -sf ../de/locales.pl $(dlocaledir)/$$lang/locales.pl ;\
+ fi ; \
+ done
+
+ set -e ; for lang in $(LOCALES) ; do \
+ (cd $(dlocaledir)/$$lang && \
+ perl -I $(srctopdir) ./locales.pl || exit 1) ; \
+ done
+
--- sql-ledger-2.2.6.orig/Makefile
+++ sql-ledger-2.2.6/Makefile
@@ -0,0 +1,31 @@
+PACKAGE = sql-ledger
+
+MODULES = ap.pl ar.pl ca.pl cp.pl ct.pl gl.pl ic.pl \
+ ir.pl is.pl menu.pl oe.pl pe.pl rc.pl ps.pl rp.pl bp.pl hr.pl
+SUBDIRS = bin doc SL locale sql templates users etc css
+
+LIB_FILES = am.pl favicon.ico login.pl menu.ini setup.pl \
+ sql-ledger.conf.default VERSION index.html
+
+SHR_FILES = sql-ledger.png sql-ledger.gif
+
+all:
+
+install:
+ mkdir -p $(DESTDIR)/usr/lib/sql-ledger
+ cp $(LIB_FILES) $(DESTDIR)/usr/lib/sql-ledger
+ mkdir -p $(DESTDIR)/usr/share/sql-ledger
+ cp $(SHR_FILES) $(DESTDIR)/usr/share/sql-ledger
+
+ cd $(DESTDIR)/usr/lib/sql-ledger ; \
+ ln -sf login.pl admin.pl ; \
+ set -e ; for module in $(MODULES) ; do \
+ ln -s am.pl $$module ; \
+ done ; \
+ ln -sf /etc/sql-ledger/sql-ledger.conf
+
+ set -e ; for subdir in $(SUBDIRS) ; do \
+ $(MAKE) -C $$subdir $@ ; \
+ done
+
+clean:
--- sql-ledger-2.2.6.orig/etc/Makefile
+++ sql-ledger-2.2.6/etc/Makefile
@@ -0,0 +1,12 @@
+PACKAGE = sql-ledger
+
+FILES = sql-ledger-httpd.conf sql-ledger.conf
+
+all:
+
+clean:
+
+install:
+ mkdir -p $(DESTDIR)/etc/sql-ledger
+ cp $(FILES) $(DESTDIR)/etc/sql-ledger
+
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/patches/40imagepath.dpatch
New file
0,0 → 1,69
#! /bin/sh -e
## 40imagepath.dpatch by Petter Reinholdtsen <pere@hungry.com>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Correct path to logo and images
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 ) < $0 ;;
-unpatch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 -R ) < $0 ;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
 
exit 0
@DPATCH@
diff -ur sql-ledger-2.4.5/bin/mozilla/am.pl BUILD/sql-ledger/bin/mozilla/am.pl
--- sql-ledger-2.4.5/bin/mozilla/am.pl Fri Nov 5 04:53:55 2004
+++ sql-ledger/bin/mozilla/am.pl Mon Nov 29 20:37:08 2004
@@ -2349,7 +2349,7 @@
</pre>
<center>
-<a href="http://www.sql-ledger.org" target=_top><img src=sql-ledger.gif border=0></a>
+<a href="http://www.sql-ledger.org" target=_top><img src="images/sql-ledger.png" border=0></a>
<h1 class=login>|.$locale->text('Version').qq| $form->{version}</h1>
<p>
diff -ur sql-ledger/bin/mozilla/admin.pl BUILD/sql-ledger/bin/mozilla/admin.pl
--- sql-ledger-2.4.5/bin/mozilla/admin.pl Tue Nov 23 22:56:46 2004
+++ sql-ledger/bin/mozilla/admin.pl Sat Nov 27 21:35:55 2004
@@ -104,7 +104,7 @@
<div align=center>
-<a href="http://www.sql-ledger.org"><img src=sql-ledger.png border=0></a>
+<a href="http://www.sql-ledger.org"><img src="images/sql-ledger.png" border=0></a>
<h1 class=login>|.$locale->text('Version').qq| $form->{version}<p>|.$locale->text('Administration').qq|</h1>
<form method=post action="$form->{script}" name=admin>
diff -ur sql-ledger/bin/mozilla/login.pl BUILD/sql-ledger/bin/mozilla/login.pl
--- sql-ledger-2.4.5/bin/mozilla/login.pl Fri Nov 5 05:15:38 2004
+++ sql-ledger/bin/mozilla/login.pl Sat Nov 27 21:24:48 2004
@@ -109,7 +109,7 @@
<center>
<table class=login border=3 cellpadding=20>
<tr>
- <td class=login align=center><a href="http://www.sql-ledger.org" target=_top><img src=sql-ledger.gif border=0></a>
+ <td class=login align=center><a href="http://www.sql-ledger.org" target=_top><img src="images/sql-ledger.gif" border=0></a>
<h1 class=login align=center>|.$locale->text('Version').qq| $form->{version}
</h1>
@@ -170,7 +170,7 @@
<center>
<table class=login border=3 cellpadding=20>
<tr>
- <td class=login align=center><a href="http://www.sql-ledger.org" target=_top><img src=sql-ledger.gif border=0></a>
+ <td class=login align=center><a href="http://www.sql-ledger.org" target=_top><img src="images/sql-ledger.gif" border=0></a>
<h1 class=login align=center>|.$locale->text('Version').qq| $form->{version}
</h1>
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/patches/00list
New file
0,0 → 1,9
#
# List of patches to apply.
#
10makefiles
20norwegian
30defaults
40imagepath
45crosslink
50norwegian_chart
/tags/debian_version_2_4_5-1/debian/patches/30defaults.dpatch
New file
0,0 → 1,72
#! /bin/sh -e
## 30defaults.dpatch by Petter Reinholdtsen <pere@hungry.com>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Default apache and sql-ledger configuration
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 ) < $0 ;;
-unpatch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 -R ) < $0 ;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
 
exit 0
@DPATCH@
--- sql-ledger-2.2.6.orig/etc/sql-ledger-httpd.conf
+++ sql-ledger-2.2.6/etc/sql-ledger-httpd.conf
@@ -0,0 +1,9 @@
+Alias /sql-ledger/images/ /usr/share/sql-ledger/
+
+Alias /sql-ledger/ /usr/lib/sql-ledger/
+
+<Directory /usr/lib/sql-ledger>
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+</Directory>
+
--- sql-ledger-2.2.6.orig/etc/sql-ledger.conf
+++ sql-ledger-2.2.6/etc/sql-ledger.conf
@@ -0,0 +1,33 @@
+use vars qw($userspath $memberfile $templates $sendmail $language $sid);
+
+# path to user configuration files
+# you may use an absolute path i.e. /var/tmp
+$userspath = "/var/lib/sql-ledger/users";
+
+# templates base directory; this one needs to be here for now
+$templates = "templates";
+
+# member file, could also be in "/usr/local/etc/slusers"
+$memberfile = "/var/lib/sql-ledger/users/members";
+
+# location of sendmail
+$sendmail = "| /usr/sbin/sendmail -t";
+
+# set language for login and admin; two letter code
+$language = "";
+
+# Oracle
+$sid = "T80509";
+$ENV{"ORACLE_HOME"} = "/usr/local/oracle";
+
+# if you have latex installed set to 1
+$latex = 1;
+
+# if the server can't find latex, dvips or pdflatex, add the path
+$ENV{PATH} .= ":/usr/local/bin";
+
+# on mac os X using Fink's Perl libs, add the path
+$ENV{PERL5LIB} .= ":/sw/lib/perl5";
+
+
+1;
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/patches/20norwegian.dpatch
New file
0,0 → 1,254
#! /bin/sh -e
## 20norwegian.dpatch by Petter Reinholdtsen <pere@hungry.com>
##
## All lines beginning with `## DP:' are a description of the patch.
##
## DP: Updated norwagian translations, relative to version 2.4.5
## DP: Update copyright year to match latest change.
## DP: Sent upstream 2004-11-27
 
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 ) < $0 ;;
-unpatch) ( cd BUILD/sql-ledger && patch $patch_opts -p1 -R ) < $0 ;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
 
exit 0
@DPATCH@
--- sql-ledger-2.4.5/locale/nb/COPYING Sun Aug 15 05:43:33 2004
+++ sql-ledger/locale/nb/COPYING Sat Nov 27 21:37:32 2004
@@ -1,6 +1,6 @@
######################################################################
# SQL-Ledger Accounting
-# Copyright (c) 2001
+# Copyright (c) 2001, 2004
#
# Norwegian Bokmål texts:
#
--- sql-ledger-2.4.5/locale/nb/all Wed Nov 10 00:24:51 2004
+++ sql-ledger/locale/nb/all Sat Nov 27 21:56:18 2004
@@ -33,8 +33,8 @@
'Activate Audit trails' => 'Aktiviser revisjonssporing',
'Active' => 'Aktiv',
'Add' => 'Ny',
- 'Add AP Transaction' => '',
- 'Add AR Transaction' => '',
+ 'Add AP Transaction' => 'Ny kreditorpostering',
+ 'Add AR Transaction' => 'Ny debitorpostering',
'Add Account' => 'Ny konto',
'Add Assembly' => 'Ny sammensetning',
'Add Business' => 'Ny organisasjon',
@@ -169,7 +169,7 @@
'Company Name' => 'Firmanavn',
'Compare to' => 'Sammenlign med',
'Components' => 'Komponenter',
- 'Confirm' => '',
+ 'Confirm' => 'Bekreft',
'Confirm!' => 'Bekreft!',
'Connect to' => 'Forbind til',
'Contact' => 'Kontakt',
@@ -179,7 +179,7 @@
'Copy to COA' => 'Kopiér til kontoplan',
'Cost' => 'Kostpris',
'Cost Center' => '',
- 'Could not save pricelist!' => '',
+ 'Could not save pricelist!' => 'Kunne ikke lagre prisliste!',
'Could not save!' => 'Kunne ikke lagre',
'Could not transfer Inventory!' => 'Kunne ikke overføre varebeholdning!',
'Country' => 'Land',
@@ -254,8 +254,8 @@
'E-mail address missing!' => 'Epost-adresse mangler!',
'E-mailed' => 'Epost sendt',
'Edit' => 'Endre',
- 'Edit AP Transaction' => '',
- 'Edit AR Transaction' => '',
+ 'Edit AP Transaction' => 'Endre kreditorpostering',
+ 'Edit AR Transaction' => 'Endre debitorpostering',
'Edit Account' => 'Endre konto',
'Edit Assembly' => 'Endre sammensetning',
'Edit Business' => 'Endre organisasjon',
@@ -289,7 +289,7 @@
'Edit Warehouse' => 'Endre lager',
'Employee' => 'Ansatt',
'Employee Name' => 'Navn på ansatt',
- 'Employee Number' => '',
+ 'Employee Number' => 'Ansatt-nummer',
'Employee deleted!' => 'Ansatt slettet',
'Employee pays' => 'Ansatt betaler',
'Employee saved!' => 'Ansatt lagret',
@@ -370,7 +370,7 @@
'Invoice processed!' => 'Faktura behandlet!',
'Invoices' => 'Fakturaer',
'Is this a summary account to record' => 'Samlekonto for',
- 'Item already on pricelist!' => '',
+ 'Item already on pricelist!' => 'Elementet finnes allerede på prislisten!',
'Item deleted!' => 'Elementet slettet!',
'Item not on file!' => 'Elementet mangler i databasen!',
'Items' => 'Elementer',
@@ -395,7 +395,7 @@
'Line Total' => 'Antall linjer',
'Link' => 'Referanse',
'Link Accounts' => 'Kople kontoer',
- 'List' => '',
+ 'List' => 'List',
'List Accounts' => 'List kontoer',
'List Businesses' => 'Vis organisasjoner',
'List Departments' => 'Vis avdelinger',
@@ -446,7 +446,7 @@
'Nothing outstanding for ' => 'Ingenting utestående for ',
'Nothing selected!' => 'Ingenting valgt!',
'Nothing to delete!' => 'Ingenting å slette!',
- 'Nothing to print!' => '',
+ 'Nothing to print!' => 'Ingenting å skrive ut!',
'Nothing to transfer!' => 'Ingenting å overføre!',
'Nov' => 'nov',
'November' => 'november',
@@ -483,13 +483,13 @@
'Paid' => 'Betalt',
'Part' => 'Del',
'Part Number' => 'Delenummer',
- 'Partnumber' => '',
+ 'Partnumber' => 'Delenummer',
'Parts' => 'Deler',
'Parts Inventory' => 'Delelagerbeholdning',
'Password' => 'Passord',
'Password changed!' => 'Passord endret!',
- 'Password does not match!' => '',
- 'Passwords do not match!' => '',
+ 'Password does not match!' => 'Passord stemmer ikke!',
+ 'Passwords do not match!' => 'Passordene er ikke like',
'Payables' => 'Utbetalinger',
'Payment' => 'Betaling',
'Payment date missing!' => 'Betalingsdato mangler!',
@@ -517,7 +517,7 @@
'Pricegroup missing!' => 'Prisgruppe mangler!',
'Pricegroup saved!' => 'Prisgruppe langret',
'Pricegroups' => 'Prisgrupper',
- 'Pricelist' => '',
+ 'Pricelist' => 'Prisliste',
'Print' => 'Skriv ut',
'Print and Post' => 'Skriv ut og bokfør',
'Print and Save' => 'Skriv ut og lagre',
@@ -535,7 +535,7 @@
'Project saved!' => 'Prosjekt lagret!',
'Projects' => 'Prosjekter',
'Purchase Order' => 'Innkjøpsordre',
- 'Purchase Order Number' => '',
+ 'Purchase Order Number' => 'Innkjøpsordrenummer',
'Purchase Orders' => 'Innkjøpsordrer',
'Qty' => 'Antall',
'Quantity exceeds available units to stock!' => 'Antallet overstiger tilgjengelig varebeholdning',
@@ -543,7 +543,7 @@
'Queue' => 'Kø',
'Queued' => 'Lagt i kø',
'Quotation' => 'Tilbud',
- 'Quotation ' => '',
+ 'Quotation ' => 'Tilbud ',
'Quotation Date' => 'Tilbudsdato',
'Quotation Date missing!' => 'Mangler tilbudsdato',
'Quotation Number' => 'Tilbudsnummer',
@@ -552,7 +552,7 @@
'Quotations' => 'Tilbud',
'R' => 'R',
'RFQ' => 'Tilbudsforespørsel',
- 'RFQ ' => '',
+ 'RFQ ' => 'Tilbudsforespørsel ',
'RFQ Number' => 'Tilbudsforespørslelsnummer',
'RFQs' => 'Tilbudsforespørsler',
'ROP' => 'Etterbestill ved',
@@ -591,17 +591,17 @@
'Sale' => 'Salg',
'Sales' => 'Salg',
'Sales Invoice' => 'Salgsfaktura',
- 'Sales Invoice ' => '',
- 'Sales Invoice Number' => '',
- 'Sales Invoice.' => '',
+ 'Sales Invoice ' => 'Salgsfaktura ',
+ 'Sales Invoice Number' => 'Salgsfakturanummer',
+ 'Sales Invoice.' => 'Salgsfaktura.',
'Sales Invoices' => 'Salgsfakturaer',
'Sales Order' => 'Salgsordre',
- 'Sales Order Number' => '',
+ 'Sales Order Number' => 'Salgsordrenummer',
'Sales Orders' => 'Salgsordrer',
'Sales Quotation Number' => '',
'Salesperson' => 'Selger',
'Save' => 'Lagre',
- 'Save Pricelist' => '',
+ 'Save Pricelist' => 'Lagre prisliste',
'Save as new' => 'Lagre som ny',
'Save to File' => 'Lagre i fil',
'Screen' => 'Skjerm',
@@ -614,8 +614,8 @@
'Select from one of the projects below' => 'Velg ett av prosjektene under',
'Select payment' => '',
'Select postscript or PDF!' => 'Velg postscript eller PDF!',
- 'Select txt, postscript or PDF!' => '',
- 'Sell' => '',
+ 'Select txt, postscript or PDF!' => 'Velg txt, postscript eller PDF!',
+ 'Sell' => 'Selg',
'Sell Price' => 'Salgspris',
'Send by E-Mail' => 'Send per email',
'Sep' => 'sep',
@@ -657,7 +657,7 @@
'Subject' => 'Emne',
'Subtotal' => 'Subtotal',
'Summary' => 'Oppsummert',
- 'Supervisor' => '',
+ 'Supervisor' => 'Overordnet',
'System' => 'System',
'System Defaults' => 'Systemets standardinnstillinger',
'Tax' => 'Avgift/mva',
@@ -681,7 +681,7 @@
'Top Level' => 'Toppnivå',
'Total' => 'I alt',
'Trade Discount' => 'Handelsrabatt',
- 'Transaction' => '',
+ 'Transaction' => 'Transaksjon',
'Transaction Date missing!' => 'Transaksjonsdato mangler!',
'Transaction deleted!' => 'Postering slettet!',
'Transaction posted!' => 'Postering bokført!',
@@ -703,7 +703,7 @@
'Unlock System' => 'Lås opp systemet',
'Update' => 'Oppdatér',
'Update Dataset' => 'Oppdatér datasett',
- 'Updated' => 'Oppdateret',
+ 'Updated' => 'Oppdatert',
'Upgrading to Version' => 'Oppgrader til version',
'Use Templates' => 'Bruk maler',
'User' => 'Bruker',
@@ -713,9 +713,9 @@
'Vendor' => 'Leverandør',
'Vendor History' => 'Leverandørhistorikk',
'Vendor Invoice' => 'Leverandørfaktura',
- 'Vendor Invoice ' => '',
- 'Vendor Invoice Number' => '',
- 'Vendor Invoice.' => '',
+ 'Vendor Invoice ' => 'Leverandørfaktura ',
+ 'Vendor Invoice Number' => 'Leverandørfakturanumer',
+ 'Vendor Invoice.' => 'Leverandørfaktura.',
'Vendor Invoices' => 'Leverandørfakturaer',
'Vendor Number' => 'Leverandørnummer',
'Vendor deleted!' => 'Leverandør slettet!',
@@ -741,10 +741,10 @@
'Yearend posted!' => 'Årsavslutning bokført',
'Yearend posting failed!' => 'Bokføring av årsavslutning feilet!',
'Yes' => 'Ja',
- 'You are logged out' => '',
+ 'You are logged out' => 'Du er logget ut',
'You did not enter a name!' => 'Du gav ikke et navn!',
'You must enter a host and port for local and remote connections!' => 'Du må oppgi en vert og en port for lokale og eksterne forbindelser!',
- 'Zip/Postal Code' => '',
+ 'Zip/Postal Code' => 'Postnummer',
'account cannot be set to any other type of account' => 'konto kan ikke settes til en annen kontotype',
'as at' => 'som ved',
'days' => 'dager',
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/copyright
New file
0,0 → 1,115
This package was debianized by Finn-Arne Johansen <faj@bzz.no> on
Sun, 4 May 2003 05:21:25 +0200.
 
It was downloaded from http://prdownloads.sourceforge.net/sql-ledger/sql-ledger-2.0.6.tar.gz?download
 
Upstream Author: Dieter Simader dsimader@sql-ledger.org
 
Brazilian texts:
Author: Andre Felipe Machado <andremachado@techforce.com.br>
Miguel Koren O'Brien de Lacy <miguelk@konsultex.com.br>
Simplified Chinese texts:
Author: Edmund Lian <elian@inbrief.net>
Spanish texts:
Adoption to Colombian Accounting Terms:
Authors: Dirk Enrique Seiffert <info@caribenet.com>
Lourdes Mejía Martinez <lourdes@caribenet.com>
Silfredo Godoy Chavez <silfredo@caribenet.com>
 
Catalan Translation:
Author: Jaume Teixi <teixi@rocacorbit.com>
Czech texts:
Author: Tomas Fencl <tomas.fencl@centrum.cz>
German texts:
Author: Thomas Bayen <tbayen@bayen.de>
Gunter Ohrner <G.Ohrner@post.rwth-aachen.de>
Danish texts:
Author: Keld Jørn Simonsen <keld@dkuug.dk>
Jonas Smedegaard <jonas@jones.dk>
Estonian texts:
Author: Martin Lillepuu <martin@lillepuu.com>
Lauri Jesmin <jesmin@ut.ee>
Tanel Kurvits <rauge@hot.ee>
Egypt Arabic texts:
Author: Omar BaheyEldin <o@ab2.com>
Rania Tayel
#---- Please Use UTF-8 encoding
#---- For some web servers you have to enable UTF-8
#---- For Knoquere you have to edit the font and use an arabic font
--- Good Luck
#--- Omar BaheyEldin
British English texts:
Author:
Spanish texts:
Author: Maria Gabriela Fong <mgfong@maga.tzo.org>
John Stoddart <jstypo@imagencolor.com.ve>
Federico Montesino Pouzols <fedemp@arrok.com>
Tomás Pereira <topec@percar.com>
Spanish texts:
Author: Maria Gabriela Fong <mgfong@maga.tzo.org>
John Stoddart <jstypo@imagencolor.com.ve>
Federico Montesino Pouzols <fedemp@arrok.com>
Tomás Pereira <topec@percar.com>
Finish texts:
Author: Petri Leppänen <mpj@mail.htk.fi>
French texts:
Author: Sèbastien Brassard <sbrassar.cgocable.ca>
Oscar Buijten <oscar@elbie.com>
Wolfgang Sourdeau <wolfgang@contre.com>
Aguibou KONE <aguibou.kone@rocketmail.com>
Jens-Ingo Brodesser <jens-ingo@all2all.org>
Hungarian texts:
Author: Kabai József <kabai@investor.hu>
Icelandic texts:
Author: Margeir Reynisson <margeir@met.is>
Italian texts:
Author: Paolo Bizzarri <p.bizzarri@icube.it>
Luca Venturini <luca@yepa.com>
Alessandro Pasotti <apasotti@isoleborromee.it>
Daniele Giacomini <daniele@swlibero.org> 2003.09.28-2003.11.05
Lithuanian texts:
Author:
Latvian texts:
Author: Kaspars Melkis <info@isolis.lv>
Spanish texts (Mexico):
Author: Alberto Ladron <h@grupoh.com.mx>
Dutch texts:
Author: AJ Hettema <Ignite@ecosse.net>
Oscar Buijten <oscar@elbie.com>
Bert Tijhuis <domino@dse.nl>
Paul Tammes <ptammes@home.nl>
Norwegian texts:
Author: Keld Jørn Simonsen <keld@dkuug.dk>
Morten Pedersen <morten@workzone.no>
Finn-Arne Johansen <faj@bzz.no>
Petter Reinholdtsen <pere@hungry.com>
Spanish texts:
Author: Maria Gabriela Fong <mgfong@maga.tzo.org>
Polish texts:
Author: Peter Dabrowski <meritage@mail.com>
Portugese texts:
Author: Paulo Rodrigues <prodrigues@vianetworks.pt>
Russian texts:
Author:
Swedish texts:
Author: Jonny Larsson <jonny@lernbo.com>
Daniel Andersson <daniel@addelei.nu>
Spanish texts:
Author: Carlos López Linares <chlopezl@yahoo.com>
Turkish texts:
Author: Mufit Eribol <meribol@deltagrup.com.tr>
Traditional Chinese texts:
Author: Edmund Lian <elian@inbrief.net>
Ukrainian texts:
Author: Ivan Petrouchtchak <impe@telus.net>
Spanish Texts (Venezuela):
Author: John Stoddart <jstypo@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'.
 
/tags/debian_version_2_4_5-1/debian/rules
New file
0,0 → 1,107
#!/usr/bin/make -f
# GNU copyright 2004 by Petter Reinholdtsen
 
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
 
include /usr/share/dpatch/dpatch.make
 
TARBALL_VERSION = 2.4.5
 
DEB_TARBALL = sql-ledger-$(TARBALL_VERSION).tar.gz
 
build-tree = $(CURDIR)/BUILD
 
unpack: unpack-stamp
unpack-stamp: $(DEB_TARBALL)
touch unpack-stamp
 
$(DEB_TARBALL): $(DEB_TARBALL)-stamp
$(DEB_TARBALL)-stamp:
mkdir -p $(build-tree)
cd $(build-tree) && tar -zxf $(CURDIR)/$(DEB_TARBALL)
touch $@
 
configure: configure-stamp
configure-stamp: unpack 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) -C $(build-tree)/sql-ledger
#/usr/bin/docbook-to-man debian/sql-ledger.sgml > sql-ledger.1
 
touch build-stamp
 
clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp unpack-stamp $(DEB_TARBALL)-stamp
rm -rf $(build-tree)
 
# Add here commands to clean up after the build process.
#-$(MAKE) -C $(build-tree)/sql-ledger clean
 
dh_clean
 
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
 
# Add here commands to install the package into debian/sql-ledger.
$(MAKE) -C $(build-tree)/sql-ledger install DESTDIR=$(CURDIR)/debian/sql-ledger
 
 
# 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_installdebconf
dh_installdocs
dh_installexamples
dh_installmenu
# dh_installlogrotate
# dh_installinit
dh_installcron
dh_installman
dh_installinfo
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_perl
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
 
binary: binary-indep binary-arch
 
# Generate new copyright file with the copyright info for each
# translation as well as the package itself.
debian/copyright: unpack patch-stamp
cat debian/copyright.pre > debian/copyright
set -e ; \
for file in $(build-tree)/sql-ledger/locale/*/COPYING ; do \
HEAD=$$(grep -n '# This program is free software' $$file |cut -f1 -d:); \
HEAD=`expr $$HEAD - 1`; \
head -$$HEAD $$file | tail +4 ; \
done | grep -v '^#$$' | sed -e 's/^#[ ]//' >> debian/copyright
cat debian/copyright.post >> debian/copyright
 
.PHONY: build clean binary-indep binary-arch binary install configure
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian/copyright.post
New file
0,0 → 1,9
 
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'.
 
/tags/debian_version_2_4_5-1/debian/.cvsignore
New file
0,0 → 1,3
files
sql-ledger
sql-ledger.substvars
/tags/debian_version_2_4_5-1/debian/copyright.pre
New file
0,0 → 1,7
This package was debianized by Finn-Arne Johansen <faj@bzz.no> on
Sun, 4 May 2003 05:21:25 +0200.
 
It was downloaded from http://prdownloads.sourceforge.net/sql-ledger/sql-ledger-2.0.6.tar.gz?download
 
Upstream Author: Dieter Simader dsimader@sql-ledger.org
 
/tags/debian_version_2_4_5-1/debian/README.Debian
New file
0,0 → 1,30
sql-ledger for Debian
---------------------
 
To test this package you need to add this line to you
/etc/apache/httpd.conf:
include /etc/sql-ledger/sql-ledger-httpd.conf
or, if you run apache >= 1.3.29.0.1, please a symlink from
/etc/sql-ledger/sql-ledger-httpd.conf to /etc/apache/conf.d
then restart apache.
 
You also have to add some users to your postgres DB
 
The easiest way to test this package is to add a postgres-users with
the name of www-data. This however will mean that every apache process
will be able to authenticate to your DB.
 
To make a more robust security scheme, please read your postgres
documentation, but for now, do , as root, a
 
su - postgres
createuser -d www-data
 
Answer "n" to the question "Shall the new user be allowed to create
more new users?"
 
To finally test this, point your browser at
http://localhost/sql-ledger/admin.pl to create the DB and the initial
user, and afterwards: http://localhost/sql-ledger/login.pl to log in.
 
-- Finn-Arne Johansen <faj@bzz.no>, Sun, March 21, 2004 15:41:25 +0100
/tags/debian_version_2_4_5-1/debian/control
New file
0,0 → 1,31
Source: sql-ledger
Section: web
Priority: optional
Maintainer: Finn-Arne Johansen <faj@bzz.no>
Uploaders: Petter Reinholdtsen <pere@debian.org>
Build-Depends-Indep: debhelper (>> 3.0.0), rsync, dpatch
Standards-Version: 3.6.1
 
Package: sql-ledger
Architecture: all
Depends: ${perl:Depends}, apache | httpd, libdbd-pg-perl
Suggests: tetex-extra, postgresql
Description: A web based double-entry accounting program
Accounting data is stored in a SQL Server, for the display any text or
GUI browser can be used. The entire system is linked through a chart
of accounts. Each item in inventory is linked to revenue, expense,
inventory and tax accounts. When you sell and purchase goods and
services the accounts are automatically updated.
.
With the assembly feature you can build manufactured goods from parts,
services and assemblies. When you sell assemblies all the accounts
linked to the individual parts, services and assemblies are updated
and stock levels adjusted accordingly. If any item belonging to an
assembly is changed all assemblies are updated as well.
.
Invoices, Packing List, Income Statement, Balance Sheet, Sales and
Purchase Order, Statements, Receipts and Checks are generated from
templates and may be changed to suit your needs. Templates are provided
in html and tex format. The tex templates are processed with latex
to produce postscript and PDF documents and can be sent to a printer,
displayed in a PDF viewer or sent out via email ...
/tags/debian_version_2_4_5-1/debian/dirs
New file
0,0 → 1,4
etc/sql-ledger
usr/lib/sql-ledger
usr/share/sql-ledger
var/lib/sql-ledger
/tags/debian_version_2_4_5-1/debian/postinst
New file
0,0 → 1,9
#!/bin/sh
 
(
cd /var/lib/sql-ledger ;
chown www-data:www-data users templates
chown -R www-data:www-data css
)
 
#DEBHELPER#
/tags/debian_version_2_4_5-1/debian/sql-ledger-enable
New file
0,0 → 1,17
#!/bin/sh
#
# Activate SQL-Ledger in apache configuration. Small helper script
# to reduce the chance of typos.
 
httpdconf=/etc/apache/httpd.conf
includeline="Include /etc/sql-ledger/sql-ledger-httpd.conf"
 
if grep -q "^$includeline" $httpdconf ; then
echo "info: SQL-Ledger is already enabled in $httpdconf"
else
echo "$includeline" >> $httpdconf
echo "info: Content of $httpdconf is updated.
echo "info: Please restart apache for this change to take effect."
echo "info: Remember that there might be no admin password set at"
echo "info: the moment, and the installation is open for everyone."
fi
Property changes:
Added: svn:executable
+ *
/tags/debian_version_2_4_5-1/debian
Property changes:
Added: svn:ignore
+ files
sql-ledger
sql-ledger.substvars