diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-07-14 16:00:36 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-07-14 16:00:36 +0000 |
commit | 695af74c1030b1168740c0ee018995e3a543d2a0 (patch) | |
tree | 5fb6d83ee2afafcff293d2cece8a717ef7f43264 /app-office/tinyerp-server | |
parent | Stable on x86 (diff) | |
download | gentoo-2-695af74c1030b1168740c0ee018995e3a543d2a0.tar.gz gentoo-2-695af74c1030b1168740c0ee018995e3a543d2a0.tar.bz2 gentoo-2-695af74c1030b1168740c0ee018995e3a543d2a0.zip |
Remove old
(Portage version: 2.1.2.9)
Diffstat (limited to 'app-office/tinyerp-server')
-rw-r--r-- | app-office/tinyerp-server/ChangeLog | 5 | ||||
-rw-r--r-- | app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2 | 3 | ||||
-rw-r--r-- | app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild | 70 |
3 files changed, 4 insertions, 74 deletions
diff --git a/app-office/tinyerp-server/ChangeLog b/app-office/tinyerp-server/ChangeLog index 78b5bc09588a..ba0267989ded 100644 --- a/app-office/tinyerp-server/ChangeLog +++ b/app-office/tinyerp-server/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-office/tinyerp-server # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.9 2007/03/25 12:56:40 cedk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.10 2007/07/14 16:00:36 cedk Exp $ + + 14 Jul 2007; Cédric Krier <cedk@gentoo.org> -tinyerp-server-4.0.2.ebuild: + Remove old 25 Mar 2007; Cedric Krier <cedk@gentoo.org> tinyerp-server-4.0.3.ebuild: add --no-adduser option to postgresSQL user diff --git a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2 b/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2 deleted file mode 100644 index 9aa4199f78ac..000000000000 --- a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 be68a31b958b7160c5e4ff3f0c616e43 tinyerp-server-4.0.2.tar.gz 2997803 -RMD160 ca691744a8599fd104c64390340977a989b9f1ff tinyerp-server-4.0.2.tar.gz 2997803 -SHA256 38efc47defd1470e053dbc8a772678a03e7940a9dc4ca397bafc8e6216eb6847 tinyerp-server-4.0.2.tar.gz 2997803 diff --git a/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild b/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild deleted file mode 100644 index 2f94a49a9cfd..000000000000 --- a/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild,v 1.3 2007/02/03 04:19:20 beandog Exp $ - -inherit eutils distutils - -DESCRIPTION="Open Source ERP & CRM" -HOMEPAGE="http://tinyerp.org/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=dev-db/postgresql-7.4 - dev-python/pypgsql - dev-python/reportlab - dev-python/pyparsing - media-gfx/pydot - =dev-python/psycopg-1* - dev-libs/libxml2 - dev-libs/libxslt" - -TINYERP_USER=terp -TINYERP_GROUP=terp - -pkg_setup() { - if ! built_with_use dev-libs/libxslt python ; then - eerror "dev-libs/libxslt must be built with python" - die "${PN} requires dev-libs/libxslt with USE=python" - fi -} - -src_install() { - distutils_src_install - - newinitd "${FILESDIR}"/tinyerp-init.d tinyerp - newconfd "${FILESDIR}"/tinyerp-conf.d tinyerp - - keepdir /var/run/tinyerp - keepdir /var/log/tinyerp -} - -pkg_preinst() { - enewgroup ${TINYERP_GROUP} - enewuser ${TINYERP_USER} -1 -1 -1 ${TINYERP_GROUP} - - fowners ${TINYERP_USER}:${TINYERP_GROUP} /var/run/tinyerp - fowners ${TINYERP_USER}:${TINYERP_GROUP} /var/log/tinyerp -} - -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 = '${TINYERP_USER}'" | grep -q ${TINYERP_USER}; then - ebegin "Creating database user ${TINYERP_USER}" - createuser --quiet --username=postgres --createdb ${TINYERP_USER} - eend $? || die "Failed to create database user" - fi -} |