diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-11-07 07:22:14 -0500 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-11-07 07:25:22 -0500 |
commit | 976bc8af740fe5b78ae71df52e3ca9ad73800051 (patch) | |
tree | 0a1aae72aa9fbad229d8d3934a7a0536413dc96a /app-office | |
parent | app-eselect/eselect-postgresql: Bump to 2.4 (diff) | |
download | gentoo-976bc8af740fe5b78ae71df52e3ca9ad73800051.tar.gz gentoo-976bc8af740fe5b78ae71df52e3ca9ad73800051.tar.bz2 gentoo-976bc8af740fe5b78ae71df52e3ca9ad73800051.zip |
app-office/openerp: remove last-rited package
and orphan dependency.
Bug: https://bugs.gentoo.org/629270
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/openerp/Manifest | 2 | ||||
-rw-r--r-- | app-office/openerp/files/openerp | 22 | ||||
-rw-r--r-- | app-office/openerp/files/openerp-2 | 23 | ||||
-rw-r--r-- | app-office/openerp/files/openerp-confd | 3 | ||||
-rw-r--r-- | app-office/openerp/files/openerp-confd-2 | 3 | ||||
-rw-r--r-- | app-office/openerp/files/openerp.cfg | 64 | ||||
-rw-r--r-- | app-office/openerp/files/openerp.cfg.2 | 65 | ||||
-rw-r--r-- | app-office/openerp/files/openerp.logrotate | 9 | ||||
-rw-r--r-- | app-office/openerp/metadata.xml | 8 | ||||
-rw-r--r-- | app-office/openerp/openerp-7.0.20140125.ebuild | 119 | ||||
-rw-r--r-- | app-office/openerp/openerp-8.0.20140125.ebuild | 119 |
11 files changed, 0 insertions, 437 deletions
diff --git a/app-office/openerp/Manifest b/app-office/openerp/Manifest deleted file mode 100644 index 5dfbffcbf4d8..000000000000 --- a/app-office/openerp/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST openerp-7.0-20140125-002455.tar.gz 64214375 BLAKE2B 75d7e4294d243f2e02cd04b318fe2492fb553540604bd6ebb246299846d952530e13b847beb4c5e4e7859a714c35ca4a9a5801f7193bd0e4096fccb5d1fe94bf SHA512 a923fe3240cf44f6384f18bd37853d15fe132aab97494e713f095253cd4b72d32a89e33ba3623a523b81b9863da6d5bca24c4020b20829975e4185d6e5093b3e -DIST openerp-8.0dev-20140125-000101.tar.gz 82648176 BLAKE2B a483bce41eb464ecb49a8f9572492871c649cd75075ea35ed24afeb14a2dec7c4a9232c6c072f42ff77fe878033a89f67b118bece76c95a1a101bcb80a9c1050 SHA512 560f0cd9aadfb010dfba1a114ca17ed8dc7b63fffdd93325811b87530e97a8e629c46442e777bd0c53fb38b1a985e769e3fb5f5edf66b9b45f21be3e8973aedd diff --git a/app-office/openerp/files/openerp b/app-office/openerp/files/openerp deleted file mode 100644 index 3a8cd40fc713..000000000000 --- a/app-office/openerp/files/openerp +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run - -# Additional options that are passed to the daemon. -DAEMON_OPTS="-c ${CONFIGFILE}" - -depend() { - after postgresql -} - -start() { - ebegin "Starting openerp server" - start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/bin/openerp-server \ - --make-pidfile --user "${USER}" --background -- ${DAEMON_OPTS} - eend $? -} - -stop() { - ebegin "Stopping openerp server" - start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --signal 9 - rm -f "${PIDFILE}" - eend $? -} diff --git a/app-office/openerp/files/openerp-2 b/app-office/openerp/files/openerp-2 deleted file mode 100644 index d1fedb1470d3..000000000000 --- a/app-office/openerp/files/openerp-2 +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run - -# Additional options that are passed to the daemon. -DAEMON_OPTS="-c ${CONFIGFILE}" - -depend() { - after postgresql -} - -start() { - checkpath -q -d -m 0755 -o openerp:openerp /run/openerp - ebegin "Starting openerp server" - start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/bin/openerp-server \ - --make-pidfile --user "${USER}" --background -- ${DAEMON_OPTS} - eend $? -} - -stop() { - ebegin "Stopping openerp server" - start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --signal 9 - rm -f "${PIDFILE}" - eend $? -} diff --git a/app-office/openerp/files/openerp-confd b/app-office/openerp/files/openerp-confd deleted file mode 100644 index 438f0ee154d4..000000000000 --- a/app-office/openerp/files/openerp-confd +++ /dev/null @@ -1,3 +0,0 @@ -USER="openerp" -CONFIGFILE="/etc/openerp/openerp.cfg" -PIDFILE="/var/run/openerp/openerp.pid" diff --git a/app-office/openerp/files/openerp-confd-2 b/app-office/openerp/files/openerp-confd-2 deleted file mode 100644 index 5e84946046cd..000000000000 --- a/app-office/openerp/files/openerp-confd-2 +++ /dev/null @@ -1,3 +0,0 @@ -USER="openerp" -CONFIGFILE="/etc/openerp/openerp.cfg" -PIDFILE="/run/openerp/openerp.pid" diff --git a/app-office/openerp/files/openerp.cfg b/app-office/openerp/files/openerp.cfg deleted file mode 100644 index a760856a18a1..000000000000 --- a/app-office/openerp/files/openerp.cfg +++ /dev/null @@ -1,64 +0,0 @@ -[options] - -# General options: -admin_passwd = admin - -pidfile = /var/run/openerp/openerp-server.pid -interface = -port = 8069 -netinterface = -netport = 8070 -netrpc = True -xmlrpc = True -init = -without_demo = False -demo = {} -update = -cache_timeout = 100000 -stop_after_init = False -debug_mode = False -assert_exit_level = warn -price_accuracy = 2 - -# SSL Configuration: -secure = False -secure_cert_file = server.cert -secure_pkey_file = server.pkey - -# Logging Configuration: -logfile = /var/log/openerp/openerp-server.log -syslog = False -log_level = debug - -# SMTP Configuration: -email_from = False -smtp = localhost -smtp_port = 25 -smtp_ssl = False -smtp_user = False -smtp_password = False - -# pg_path points at local pg instance - please change as needed -# Database related options: -db_user = openerp -db_password = change_this -pg_path = /run/postgresql/.s.PGSQL.5432 -db_name = False -db_host = False -db_port = False -db_maxconn = 64 -import_partial = - -# Internationalisation options: -language = -translate_out = -translate_in = -translate_modules = ['all'] - -# Security-related options: -list_db = True -server_actions_allow_code = False - - - - diff --git a/app-office/openerp/files/openerp.cfg.2 b/app-office/openerp/files/openerp.cfg.2 deleted file mode 100644 index e11184acb4f9..000000000000 --- a/app-office/openerp/files/openerp.cfg.2 +++ /dev/null @@ -1,65 +0,0 @@ -[options] - -# General options: -admin_passwd = admin - -pidfile = /run/openerp/openerp-server.pid -interface = -port = 8069 -netinterface = -netport = 8070 -netrpc = True -xmlrpc = True -init = -without_demo = False -demo = {} -update = -cache_timeout = 100000 -stop_after_init = False -debug_mode = False -assert_exit_level = warn -price_accuracy = 2 - -# SSL Configuration: -secure = False -secure_cert_file = server.cert -secure_pkey_file = server.pkey - -# Logging Configuration: -logfile = /var/log/openerp/openerp-server.log -syslog = False -log_level = debug - -# SMTP Configuration: -email_from = False -smtp = localhost -smtp_port = 25 -smtp_ssl = False -smtp_user = False -smtp_password = False - -# pg_path points at local pg instance - please change as needed -# Database related options: -db_user = openerp -db_password = change_this -pg_path = /run/postgresql/.s.PGSQL.5432 -db_name = False -db_host = False -db_port = False -db_maxconn = 64 -import_partial = - -# Internationalisation options: -language = -translate_out = -translate_in = -translate_modules = ['all'] - -# Security-related options: -list_db = True -server_actions_allow_code = False - -addons_path = /usr/openerp/addons - - - diff --git a/app-office/openerp/files/openerp.logrotate b/app-office/openerp/files/openerp.logrotate deleted file mode 100644 index b58737773a16..000000000000 --- a/app-office/openerp/files/openerp.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -/var/log/openerp/*.log { - monthly - create 660 openerp openerp - missingok - copytruncate -} diff --git a/app-office/openerp/metadata.xml b/app-office/openerp/metadata.xml deleted file mode 100644 index 4f503c94254e..000000000000 --- a/app-office/openerp/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>dlan@gentoo.org</email> - <name>Yixun Lan</name> - </maintainer> -</pkgmetadata> diff --git a/app-office/openerp/openerp-7.0.20140125.ebuild b/app-office/openerp/openerp-7.0.20140125.ebuild deleted file mode 100644 index f278f7474ac6..000000000000 --- a/app-office/openerp/openerp-7.0.20140125.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_SINGLE_IMPL=1 - -inherit eutils distutils-r1 user - -DESCRIPTION="Open Source ERP & CRM" -HOMEPAGE="http://www.openerp.com/" -MY_PV=${PV/7.0./7.0-} -FNAME="${PN}-${MY_PV}-002455" -SRC_URI="http://nightly.openerp.com/7.0/nightly/src/${FNAME}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="+postgres ldap ssl" - -CDEPEND="!app-office/openerp-web - postgres? ( dev-db/postgresql[server] ) - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/psycopg:2[${PYTHON_USEDEP}] - dev-python/pychart[${PYTHON_USEDEP}] - dev-python/pyparsing[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - dev-python/vobject[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/gdata[${PYTHON_USEDEP}] - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] ) - dev-python/python-openid[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/xlwt[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pywebdav[${PYTHON_USEDEP}] - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) - dev-python/vatnumber[${PYTHON_USEDEP}] - dev-python/zsi[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pillow[jpeg(+),${PYTHON_USEDEP}] - ${PYTHON_DEPS} - " - -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND}" - -OPENERP_USER="openerp" -OPENERP_GROUP="openerp" - -S="${WORKDIR}/${FNAME}" - -python_install_all() { - distutils-r1_python_install_all - - newinitd "${FILESDIR}/${PN}-2" "${PN}" - newconfd "${FILESDIR}/openerp-confd-2" "${PN}" - keepdir /var/log/openerp - - insinto /etc/logrotate.d - newins "${FILESDIR}"/openerp.logrotate openerp - dodir /etc/openerp - insinto /etc/openerp - newins "${FILESDIR}"/openerp.cfg.2 openerp.cfg - - # #453424 Fix error on /usr/openerp/import_xml.rng - dosym /usr/${PN}/import_xml.rng $(python_get_sitedir)/${PN}/import_xml.rng - - # #453424 Fix error on /usr/openerp/addons/base/res/res_company_logo.png - dosym /usr/${PN}/addons/base/res/res_company_logo.png $(python_get_sitedir)/${PN}/addons/base/res/res_company_logo.png -} - -pkg_preinst() { - enewgroup ${OPENERP_GROUP} - enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP} - - fowners -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp - fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp - fowners -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/" - - fperms 0640 /etc/openerp/openerp.cfg - - use postgres || sed -i '6,8d' "${D}/etc/init.d/openerp" || die "sed failed" -} - -pkg_postinst() { - chown -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp - chown ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp - chown -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/" - - elog "In order to setup the initial database, run:" - elog " emerge --config =${CATEGORY}/${PF}" - elog "Be sure the database is started before" -} - -psqlquery() { - psql -q -At -U postgres -d template1 -c "$@" -} - -pkg_config() { - einfo "In the following, the 'postgres' user will be used." - if ! psqlquery "SELECT usename FROM pg_user WHERE usename = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then - ebegin "Creating database user ${OPENERP_USER}" - createuser --username=postgres --createdb --no-adduser ${OPENERP_USER} - eend $? || die "Failed to create database user" - fi -} diff --git a/app-office/openerp/openerp-8.0.20140125.ebuild b/app-office/openerp/openerp-8.0.20140125.ebuild deleted file mode 100644 index cebc58dc92c2..000000000000 --- a/app-office/openerp/openerp-8.0.20140125.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) -DISTUTILS_SINGLE_IMPL=1 - -inherit eutils distutils-r1 user - -DESCRIPTION="Open Source ERP & CRM" -HOMEPAGE="http://www.openerp.com/" -MY_PV=${PV/8.0./8.0dev-} -FNAME="${PN}-${MY_PV}-000101" -SRC_URI="http://nightly.openerp.com/trunk/nightly/src/${FNAME}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="+postgres ldap ssl" - -CDEPEND="!app-office/openerp-web - postgres? ( dev-db/postgresql[server] ) - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/psycopg:2[${PYTHON_USEDEP}] - dev-python/pychart[${PYTHON_USEDEP}] - dev-python/pyparsing[${PYTHON_USEDEP}] - dev-python/reportlab[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - dev-python/vobject[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/Babel[${PYTHON_USEDEP}] - dev-python/gdata[${PYTHON_USEDEP}] - ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] ) - dev-python/python-openid[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/xlwt[${PYTHON_USEDEP}] - dev-python/feedparser[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pywebdav[${PYTHON_USEDEP}] - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) - dev-python/vatnumber[${PYTHON_USEDEP}] - dev-python/zsi[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/unittest2[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pillow[jpeg(+),${PYTHON_USEDEP}] - ${PYTHON_DEPS} - " - -RDEPEND="${CDEPEND}" -DEPEND="${CDEPEND}" - -OPENERP_USER="openerp" -OPENERP_GROUP="openerp" - -S="${WORKDIR}/${FNAME}" - -python_install_all() { - distutils-r1_python_install_all - - newinitd "${FILESDIR}/${PN}-2" "${PN}" - newconfd "${FILESDIR}/openerp-confd-2" "${PN}" - keepdir /var/log/openerp - - insinto /etc/logrotate.d - newins "${FILESDIR}"/openerp.logrotate openerp - dodir /etc/openerp - insinto /etc/openerp - newins "${FILESDIR}"/openerp.cfg.2 openerp.cfg - - # #453424 Fix error on /usr/openerp/import_xml.rng - dosym /usr/${PN}/import_xml.rng $(python_get_sitedir)/${PN}/import_xml.rng - - # #453424 Fix error on /usr/openerp/addons/base/res/res_company_logo.png - dosym /usr/${PN}/addons/base/res/res_company_logo.png $(python_get_sitedir)/${PN}/addons/base/res/res_company_logo.png -} - -pkg_preinst() { - enewgroup ${OPENERP_GROUP} - enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP} - - fowners -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp - fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp - fowners -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/" - - fperms 0640 /etc/openerp/openerp.cfg - - use postgres || sed -i '6,8d' "${D}/etc/init.d/openerp" || die "sed failed" -} - -pkg_postinst() { - chown -R ${OPENERP_USER}:${OPENERP_GROUP} /etc/openerp - chown ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp - chown -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/" - - elog "In order to setup the initial database, run:" - elog " emerge --config =${CATEGORY}/${PF}" - elog "Be sure the database is started before" -} - -psqlquery() { - psql -q -At -U postgres -d template1 -c "$@" -} - -pkg_config() { - einfo "In the following, the 'postgres' user will be used." - if ! psqlquery "SELECT usename FROM pg_user WHERE usename = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then - ebegin "Creating database user ${OPENERP_USER}" - createuser --username=postgres --createdb --no-adduser ${OPENERP_USER} - eend $? || die "Failed to create database user" - fi -} |