summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog5
-rw-r--r--dists/gentoo/ledger-smb-1.1.1c.ebuild47
-rw-r--r--dists/gentoo/ledger-smb-VERSION.ebuild47
-rw-r--r--dists/gentoo/ledger-smb-httpd-gentoo.conf16
-rw-r--r--dists/gentoo/metadata.xml13
-rw-r--r--dists/gentoo/post-install.txt30
6 files changed, 158 insertions, 0 deletions
diff --git a/Changelog b/Changelog
index 9243af65..cd09d6f9 100644
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,10 @@
Changelog for LedgerSMB 1.2.0
+* Added Gentoo ebuilds documentation (Jayson R).
+* POS register now goes from add invoice to add invoice. (Chris T)
+* Added pole display and separate cash drawer open calls. (Chris T)
+* Added simple text import function for invoices received (PDT's) (Chris T)
+* Added whitelist of allowed directories to file editor (Seneca)
* Added script to configure Slony replication (Chris Browne)
* Audited OE.pm and AM.pm for SQL injection problems. (Chris Travers)
* Forced edited files to have whitelisted extensions and no .. strings (Chris T)
diff --git a/dists/gentoo/ledger-smb-1.1.1c.ebuild b/dists/gentoo/ledger-smb-1.1.1c.ebuild
new file mode 100644
index 00000000..488832a7
--- /dev/null
+++ b/dists/gentoo/ledger-smb-1.1.1c.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 The LedgerSMB Team
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit depend.apache webapp eutils
+
+DESCRIPTION="LedgerSMB"
+HOMEPAGE="http://ledger-smb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+#SRC_URI="http://eva.a.jjayr.com/lsmb-package/${P}.tar.gz"
+
+# don't use the gentoo mirrors yet, we're not there.
+RESTRICT='mirror'
+
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+# no use flag for now
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ >=dev-db/postgresql-8
+ >=dev-lang/perl-5.8
+ dev-perl/DBI
+ net-www/apache
+"
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_install() {
+ webapp_src_preinst
+
+ webapp_server_configfile apache ${S}/dists/gentoo/ledger-smb-httpd-gentoo.conf
+
+ cp -R ${S}/* ${D}/${MY_HTDOCSDIR}
+
+ # LedgerSMB needs to write to the users directory
+ webapp_serverowned -R ${MY_HTDOCSDIR}/users/
+ webapp_serverowned -R ${MY_HTDOCSDIR}/spool/
+ webapp_postinst_txt en ${S}/dists/gentoo/post-install.txt
+
+ webapp_src_install
+}
diff --git a/dists/gentoo/ledger-smb-VERSION.ebuild b/dists/gentoo/ledger-smb-VERSION.ebuild
new file mode 100644
index 00000000..488832a7
--- /dev/null
+++ b/dists/gentoo/ledger-smb-VERSION.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 The LedgerSMB Team
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit depend.apache webapp eutils
+
+DESCRIPTION="LedgerSMB"
+HOMEPAGE="http://ledger-smb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+#SRC_URI="http://eva.a.jjayr.com/lsmb-package/${P}.tar.gz"
+
+# don't use the gentoo mirrors yet, we're not there.
+RESTRICT='mirror'
+
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+# no use flag for now
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+ >=dev-db/postgresql-8
+ >=dev-lang/perl-5.8
+ dev-perl/DBI
+ net-www/apache
+"
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_install() {
+ webapp_src_preinst
+
+ webapp_server_configfile apache ${S}/dists/gentoo/ledger-smb-httpd-gentoo.conf
+
+ cp -R ${S}/* ${D}/${MY_HTDOCSDIR}
+
+ # LedgerSMB needs to write to the users directory
+ webapp_serverowned -R ${MY_HTDOCSDIR}/users/
+ webapp_serverowned -R ${MY_HTDOCSDIR}/spool/
+ webapp_postinst_txt en ${S}/dists/gentoo/post-install.txt
+
+ webapp_src_install
+}
diff --git a/dists/gentoo/ledger-smb-httpd-gentoo.conf b/dists/gentoo/ledger-smb-httpd-gentoo.conf
new file mode 100644
index 00000000..82f18f81
--- /dev/null
+++ b/dists/gentoo/ledger-smb-httpd-gentoo.conf
@@ -0,0 +1,16 @@
+
+#Alias /ledger-smb /some/path/to/ledger-smb/
+
+<Directory ${MY_HTDOCSDIR}>
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+ Order Allow,Deny
+ Allow from All
+</Directory>
+
+#<Directory /some/path/to/ledger-smb/users>
+# Order Deny,Allow
+# Deny from All
+#</Directory>
+
diff --git a/dists/gentoo/metadata.xml b/dists/gentoo/metadata.xml
new file mode 100644
index 00000000..0bffadf0
--- /dev/null
+++ b/dists/gentoo/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>jasonjayr@users.sourceforge.net</email>
+ <description>LedgerSMB Gentoo Maintainer</description>
+ </maintainer>
+ <longdescription lang="en">
+LedgerSMB is a fork of SQL-Ledger which seeks to provide better security and
+data integrity controls, better community support, open documentation, and more.
+ </longdescription>
+</pkgmetadata>
diff --git a/dists/gentoo/post-install.txt b/dists/gentoo/post-install.txt
new file mode 100644
index 00000000..c7aa8b0e
--- /dev/null
+++ b/dists/gentoo/post-install.txt
@@ -0,0 +1,30 @@
+LedgerSMB has been installed into ${VHOST_HOSTNAME}
+
+You must add the following to your <VirtualHost> section for ${VHOST_HOSTNAME}
+by hand.
+
+-----8<---- BEGIN APACHE CONFIG -----------
+
+<Directory ${VHOST_HTDOCSDIR}/${VHOST_APPDIR}>
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+ Order Allow,Deny
+ Allow from All
+</Directory>
+
+# Prevent unauthorized access to configuration
+# and access control files
+<Directory ${VHOST_HTDOCSDIR}/${VHOST_APPDIR}/users>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+-----8<---- END APACHE CONFIG -----------
+
+Once you've done that, go to admin.pl (probably at
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/admin.pl) and set your
+initial password and users.
+
+Good luck!
+