Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212212 Details for
Bug 267886
OpenERP-Server OpenEPR-web
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openerp-server-5.0.6.ebuild
openerp-server-5.0.6.ebuild (text/plain), 2.46 KB, created by
INODE64 Sistemas
on 2009-12-06 09:27:07 UTC
(
hide
)
Description:
openerp-server-5.0.6.ebuild
Filename:
MIME Type:
Creator:
INODE64 Sistemas
Created:
2009-12-06 09:27:07 UTC
Size:
2.46 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >inherit eutils distutils multilib python > >DESCRIPTION="Open Source ERP & CRM" >HOMEPAGE="http://www.openerp.com/" >SRC_URI="http://www.openerp.com/download/stable/source/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="ssl" >EAPI=2 > >DEPEND="virtual/postgresql-base > dev-python/reportlab > media-gfx/pydot > dev-python/lxml > dev-python/pychart > dev-python/pytz > dev-python/psycopg:2[mxdatetime] > dev-python/vobject > dev-libs/libxml2[python] > dev-libs/libxslt[python] > ssl? ( dev-python/pyopenssl )" > >OPENERP_USER=oerp >OPENERP_GROUP=oerp > >S=${P} > >pkg_setup() { > enewgroup ${OPENERP_GROUP} > enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP} > gpasswd -a ${OPENERP_USER} postgres 2>/dev/null >} > >src_compile() { > return >} > >src_install() { > cd ${S} > > distutils_src_install > > newinitd "${FILESDIR}"/openerp-init.d openerp > newconfd "${FILESDIR}"/openerp-conf.d openerp > > keepdir /etc/openerp > keepdir /var/run/openerp > keepdir /var/log/openerp > > # Adjusting program location > sed -i -e "s|${D}|/|" ${D}/usr/bin/openerp-server > > chmod 0775 ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/openerp-server/openerp-server.py > find ${D}/usr/lib/python${PYVER}/site-packages/openerp-server/addons -type f | xargs chmod 0644 > find ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/openerp-server/addons -type f | xargs chmod 0644 > > fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/run/openerp > fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp > fowners ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp > > chown -R ${OPENERP_USER}:${OPENERP_GROUP} ${D}/usr/lib/python${PYVER}/site-packages/openerp-server/addons > chown -R ${OPENERP_USER}:${OPENERP_GROUP} ${D}/usr/$(get_libdir)/python${PYVER}/site-packages/openerp-server/addons >} > >pkg_postinst() { > elog "In order to setup the initial database, run:" > elog " emerge --config =${CATEGORY}/${PF}" > elog "Be sure the database is started before" >} > >pquery() { > psql -q -At -U postgres -d template1 -c "$@" >} > >pkg_config() { > einfo "In the following, the 'postgres' user will be used." > if ! pquery "SELECT usename FROM pg_user WHERE usename = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then > openerp-server -s --config=/etc/openerp/oerp_serverrc --stop-after-init > ebegin "Creating database user ${OPENERP_USER}" > createuser --quiet --username=postgres --createdb ${OPENERP_USER} > eend $? || die "Failed to create database user" > fi >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 267886
:
189852
|
189853
|
189854
|
189856
|
189858
|
189861
|
192858
|
192859
|
192860
|
195475
|
195476
|
195478
|
195480
|
196060
| 212212 |
212213
|
212214