From 84f7e04e6dc67142d7d14441f258bddc345ef58f Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 2 Oct 2006 06:06:52 +0000 Subject: Updated changelog and added Jason R's Gentoo metadata. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@177 4979c152-3d1c-0410-bac9-87ea11338e46 --- dists/gentoo/ledger-smb-1.1.1c.ebuild | 47 +++++++++++++++++++++++++++++++ dists/gentoo/ledger-smb-VERSION.ebuild | 47 +++++++++++++++++++++++++++++++ dists/gentoo/ledger-smb-httpd-gentoo.conf | 16 +++++++++++ dists/gentoo/metadata.xml | 13 +++++++++ dists/gentoo/post-install.txt | 30 ++++++++++++++++++++ 5 files changed, 153 insertions(+) create mode 100644 dists/gentoo/ledger-smb-1.1.1c.ebuild create mode 100644 dists/gentoo/ledger-smb-VERSION.ebuild create mode 100644 dists/gentoo/ledger-smb-httpd-gentoo.conf create mode 100644 dists/gentoo/metadata.xml create mode 100644 dists/gentoo/post-install.txt (limited to 'dists/gentoo') 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/ + + + AllowOverride All + AddHandler cgi-script .pl + Options ExecCGI Includes FollowSymlinks + Order Allow,Deny + Allow from All + + +# +# Order Deny,Allow +# Deny from All +# + 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 @@ + + + + web-apps + + jasonjayr@users.sourceforge.net + LedgerSMB Gentoo Maintainer + + +LedgerSMB is a fork of SQL-Ledger which seeks to provide better security and +data integrity controls, better community support, open documentation, and more. + + 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 section for ${VHOST_HOSTNAME} +by hand. + +-----8<---- BEGIN APACHE CONFIG ----------- + + + AllowOverride All + AddHandler cgi-script .pl + Options ExecCGI Includes FollowSymlinks + Order Allow,Deny + Allow from All + + +# Prevent unauthorized access to configuration +# and access control files + + Order Deny,Allow + Deny from All + + +-----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! + -- cgit v1.2.3