diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-02-01 19:52:06 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-02-01 19:52:06 +0000 |
commit | c63a2b474a1704ec6ca078fe260fdc6e61b70bf2 (patch) | |
tree | 029fb0c314f0876ef5ff23c910301a698a1f7de9 /app-office/tinyerp-server | |
parent | app-office/tinyerp-server: Remove --no-createrole for bug #164701 (diff) | |
download | gentoo-2-c63a2b474a1704ec6ca078fe260fdc6e61b70bf2.tar.gz gentoo-2-c63a2b474a1704ec6ca078fe260fdc6e61b70bf2.tar.bz2 gentoo-2-c63a2b474a1704ec6ca078fe260fdc6e61b70bf2.zip |
app-office/tinyerp-server: Remove --no-createrole for bug #164701
(Portage version: 2.1.1-r2)
(Unsigned Manifest commit)
Diffstat (limited to 'app-office/tinyerp-server')
5 files changed, 8 insertions, 184 deletions
diff --git a/app-office/tinyerp-server/Manifest b/app-office/tinyerp-server/Manifest index b7fe57d7048d..788dd993f1f2 100644 --- a/app-office/tinyerp-server/Manifest +++ b/app-office/tinyerp-server/Manifest @@ -14,35 +14,19 @@ AUX tinyerp-server-4.0.1-setup.patch 1029 RMD160 6b78222bba4be1fadb726a57aaf073a MD5 ee59655f48bb2b147c78ea5cac78e05b files/tinyerp-server-4.0.1-setup.patch 1029 RMD160 6b78222bba4be1fadb726a57aaf073a993806422 files/tinyerp-server-4.0.1-setup.patch 1029 SHA256 2d80babf933a46e981d5f30dfe63e977d3afc0709a1efb8461625dc33456e97e files/tinyerp-server-4.0.1-setup.patch 1029 -DIST tinyerp-server-4.0.0.tar.gz 2984163 RMD160 caab72f15577b49acdae45da9e37f68994ae3694 SHA1 187aa1c98d1da84f836ac4a90c053615b574c4ce SHA256 a742072c718f741914c607e717dbcb1c9c82a478f5d54cf23c3b454f21b22f0f -DIST tinyerp-server-4.0.1.tar.gz 2995164 RMD160 f1c396b68eb31363f64118551b993930d3c54203 SHA1 f865b1e25a2f8c6542f7d789ef656bf02cb2d133 SHA256 4527f90c06bfca823feb18cf76ec63cd08c86e5fb2775ddada0a2df443b03181 DIST tinyerp-server-4.0.2.tar.gz 2997803 RMD160 ca691744a8599fd104c64390340977a989b9f1ff SHA1 bfbe611a4b33477ace2bc34f1863bd4ef97d8ba2 SHA256 38efc47defd1470e053dbc8a772678a03e7940a9dc4ca397bafc8e6216eb6847 -EBUILD tinyerp-server-4.0.0.ebuild 1936 RMD160 d563e6bf7a6d0698756ab07e18def1d4ff70d6b6 SHA1 0c61e9904f5853295e836d6ed5ff1f1ed24bd5cf SHA256 bedf22d73e7a4bfc181de72483afe90ce75a0d0d024a84d38f8ab947b2676b81 -MD5 17ec22bc9cb144515380ecf9cf703101 tinyerp-server-4.0.0.ebuild 1936 -RMD160 d563e6bf7a6d0698756ab07e18def1d4ff70d6b6 tinyerp-server-4.0.0.ebuild 1936 -SHA256 bedf22d73e7a4bfc181de72483afe90ce75a0d0d024a84d38f8ab947b2676b81 tinyerp-server-4.0.0.ebuild 1936 -EBUILD tinyerp-server-4.0.1.ebuild 1936 RMD160 6712c38ebf5703570f0f3cb67500956e1245e850 SHA1 d62fd648c9c6548bb1b898102f05fedb0b13f2e4 SHA256 64aa7223d311ef6b18659d348e8036987740e97a2f28b96f2f81f5be7fe9d965 -MD5 14032b4fb1c7ec230b8055f5604a6953 tinyerp-server-4.0.1.ebuild 1936 -RMD160 6712c38ebf5703570f0f3cb67500956e1245e850 tinyerp-server-4.0.1.ebuild 1936 -SHA256 64aa7223d311ef6b18659d348e8036987740e97a2f28b96f2f81f5be7fe9d965 tinyerp-server-4.0.1.ebuild 1936 -EBUILD tinyerp-server-4.0.2.ebuild 1851 RMD160 b027d6c665b302ffc78528dc41472d92e82c247f SHA1 85752831c4b1e656996065ca3ac79a5708b54d21 SHA256 ae39f212c701f009691d5ef342f2cb8d7acabcd56a9f423aee07ce397148a34f -MD5 6bdd9039971fbfef6be2d4f11b4ebf3b tinyerp-server-4.0.2.ebuild 1851 -RMD160 b027d6c665b302ffc78528dc41472d92e82c247f tinyerp-server-4.0.2.ebuild 1851 -SHA256 ae39f212c701f009691d5ef342f2cb8d7acabcd56a9f423aee07ce397148a34f tinyerp-server-4.0.2.ebuild 1851 -MISC ChangeLog 1060 RMD160 229a772577894782b193a2aa6bdec94e62296835 SHA1 83ac54ade2d72e1d0698359eb07ee6c622ef81a8 SHA256 82e96a53f8c571e52456a379ca29c16c65ff2b3e1709d80e04c85d4b02fe6e56 -MD5 c57a12b2553591b17db288961ddee13e ChangeLog 1060 -RMD160 229a772577894782b193a2aa6bdec94e62296835 ChangeLog 1060 -SHA256 82e96a53f8c571e52456a379ca29c16c65ff2b3e1709d80e04c85d4b02fe6e56 ChangeLog 1060 +EBUILD tinyerp-server-4.0.2.ebuild 1822 RMD160 5a598dddb17ada67616dca0210d24e38a397a17f SHA1 b4a7a94b5a2db04d6b9c827186bb9fec87906579 SHA256 e4733c11f69bc6f5bf5ce093423f07e4f12130a7b8255503813a22951bf3ab4a +MD5 adcffaf07bf37bf797c571facd70ecec tinyerp-server-4.0.2.ebuild 1822 +RMD160 5a598dddb17ada67616dca0210d24e38a397a17f tinyerp-server-4.0.2.ebuild 1822 +SHA256 e4733c11f69bc6f5bf5ce093423f07e4f12130a7b8255503813a22951bf3ab4a tinyerp-server-4.0.2.ebuild 1822 +MISC ChangeLog 1328 RMD160 e76799cd3772565c4fcdc59ec187c3085fa11476 SHA1 e4ee0e347805ff7b2a4c6465223bd45ba58e6bde SHA256 239136108414715948178360c3b6ea60e3fe5f7ca829abc0d05baf0bb1378896 +MD5 ab45cadf9a147e67a89e7f22f75bd8b1 ChangeLog 1328 +RMD160 e76799cd3772565c4fcdc59ec187c3085fa11476 ChangeLog 1328 +SHA256 239136108414715948178360c3b6ea60e3fe5f7ca829abc0d05baf0bb1378896 ChangeLog 1328 MISC metadata.xml 284 RMD160 ac769fb0d742e57e331042699926a209194189c6 SHA1 adf5999b09847fd8a7b82aa1b8d0f78296b676a5 SHA256 fcb9a8a44ce9ce002637c2e430ae9f6ee90468eed6aad3b6306c200f1dc233b8 MD5 7b5e8018fb81b89379122a48a5620125 metadata.xml 284 RMD160 ac769fb0d742e57e331042699926a209194189c6 metadata.xml 284 SHA256 fcb9a8a44ce9ce002637c2e430ae9f6ee90468eed6aad3b6306c200f1dc233b8 metadata.xml 284 -MD5 a8efd53b6b577e43231bb406362ebd2c files/digest-tinyerp-server-4.0.0 265 -RMD160 dfb6dd371a241d5cc8e935c6ce4e21d106574465 files/digest-tinyerp-server-4.0.0 265 -SHA256 223ac30b0227a25f5c01281917912013650421523acb381754ceb98c6fed400d files/digest-tinyerp-server-4.0.0 265 -MD5 7fc79e5ff4e7c8d8b4e9ca424e143aea files/digest-tinyerp-server-4.0.1 265 -RMD160 0f8b3d952d216bfc720bb3d6cc287413ab58caf7 files/digest-tinyerp-server-4.0.1 265 -SHA256 70779fd33307cb1655b0d90e3c9b0828ef6406255a57221c4650048ff4e20dd6 files/digest-tinyerp-server-4.0.1 265 MD5 2ded345e084a3606dbab2782103a18d7 files/digest-tinyerp-server-4.0.2 265 RMD160 81e87cb8050d4ba68acf0bf94d57277bfdcf1663 files/digest-tinyerp-server-4.0.2 265 SHA256 2164a993b6af2eb7207301dd16d3f85278f1befdce33dfb6ae885a37558f07bd files/digest-tinyerp-server-4.0.2 265 diff --git a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.0 b/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.0 deleted file mode 100644 index d0569e2eb602..000000000000 --- a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 6eb0f0c0b221eab431c507a6d461b4e5 tinyerp-server-4.0.0.tar.gz 2984163 -RMD160 caab72f15577b49acdae45da9e37f68994ae3694 tinyerp-server-4.0.0.tar.gz 2984163 -SHA256 a742072c718f741914c607e717dbcb1c9c82a478f5d54cf23c3b454f21b22f0f tinyerp-server-4.0.0.tar.gz 2984163 diff --git a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.1 b/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.1 deleted file mode 100644 index eb1eb3209761..000000000000 --- a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2fc7ab2d7b5789eb3f19fda0c1c5567b tinyerp-server-4.0.1.tar.gz 2995164 -RMD160 f1c396b68eb31363f64118551b993930d3c54203 tinyerp-server-4.0.1.tar.gz 2995164 -SHA256 4527f90c06bfca823feb18cf76ec63cd08c86e5fb2775ddada0a2df443b03181 tinyerp-server-4.0.1.tar.gz 2995164 diff --git a/app-office/tinyerp-server/tinyerp-server-4.0.0.ebuild b/app-office/tinyerp-server/tinyerp-server-4.0.0.ebuild deleted file mode 100644 index f41afe089042..000000000000 --- a/app-office/tinyerp-server/tinyerp-server-4.0.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2006 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.0.ebuild,v 1.2 2006/12/09 01:24:00 swegener 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="~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" -RDEPEND=${DEPEND} - -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_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-setup.patch -} - -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 --no-adduser --no-createrole ${TINYERP_USER} - eend $? || die "Failed to create database user" - fi -} diff --git a/app-office/tinyerp-server/tinyerp-server-4.0.1.ebuild b/app-office/tinyerp-server/tinyerp-server-4.0.1.ebuild deleted file mode 100644 index afd85b3aa52f..000000000000 --- a/app-office/tinyerp-server/tinyerp-server-4.0.1.ebuild +++ /dev/null @@ -1,77 +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.1.ebuild,v 1.2 2007/01/01 22:11:54 swegener 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="~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" -RDEPEND=${DEPEND} - -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_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-setup.patch -} - -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 --no-adduser --no-createrole ${TINYERP_USER} - eend $? || die "Failed to create database user" - fi -} |