From: Tomas Mozes Date: Sat, 2 Nov 2019 20:04:55 +0000 (+0000) Subject: dev-db/mongodb: use dedicated acct-{group,user} packages X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd4d42a62e084fd57566197ea94009e06b55983e;p=gentoo.git dev-db/mongodb: use dedicated acct-{group,user} packages Closes: https://bugs.gentoo.org/698152 Signed-off-by: Tomáš Mózes Closes: https://github.com/gentoo/gentoo/pull/13529 Signed-off-by: Joonas Niilola --- diff --git a/dev-db/mongodb/mongodb-3.6.14.ebuild b/dev-db/mongodb/mongodb-3.6.14.ebuild index a1ca3bf944f8..b63d5ceeb560 100644 --- a/dev-db/mongodb/mongodb-3.6.14.ebuild +++ b/dev-db/mongodb/mongodb-3.6.14.ebuild @@ -10,7 +10,7 @@ CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user +inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -23,7 +23,9 @@ SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" -RDEPEND=">=app-arch/snappy-1.1.3 +RDEPEND="acct-group/mongodb + acct-user/mongodb + >=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= >=dev-libs/boost-1.60:=[threads(+)] >=dev-libs/libpcre-8.41[cxx] @@ -54,6 +56,7 @@ PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )" PATCHES=( "${FILESDIR}/${PN}-3.6.1-fix-scons.patch" "${FILESDIR}/${PN}-3.6.1-no-compass.patch" + "${FILESDIR}/${PN}-4.0.12-boost-1.71-cxxabi-include.patch" ) S="${WORKDIR}/${MY_P}" @@ -70,13 +73,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - python-any-r1_pkg_setup -} - src_prepare() { default diff --git a/dev-db/mongodb/mongodb-4.0.13.ebuild b/dev-db/mongodb/mongodb-4.0.13.ebuild index d549bea6ba8f..74236bf4fa1e 100644 --- a/dev-db/mongodb/mongodb-4.0.13.ebuild +++ b/dev-db/mongodb/mongodb-4.0.13.ebuild @@ -10,7 +10,7 @@ CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user +inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -23,7 +23,9 @@ SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto mms-agent ssl test +tools" -RDEPEND=">=app-arch/snappy-1.1.3 +RDEPEND="acct-group/mongodb + acct-user/mongodb + >=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.5.3:= >=dev-libs/boost-1.60:=[threads(+)] >=dev-libs/libpcre-8.41[cxx] @@ -71,13 +73,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - python-any-r1_pkg_setup -} - src_prepare() { default diff --git a/dev-db/mongodb/mongodb-4.2.1.ebuild b/dev-db/mongodb/mongodb-4.2.1.ebuild index 3feef0be5a7d..cdd1a9ed1be5 100644 --- a/dev-db/mongodb/mongodb-4.2.1.ebuild +++ b/dev-db/mongodb/mongodb-4.2.1.ebuild @@ -10,7 +10,7 @@ CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs user +inherit check-reqs flag-o-matic multiprocessing pax-utils python-any-r1 scons-utils systemd toolchain-funcs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -23,7 +23,9 @@ SLOT="0" KEYWORDS="~amd64" IUSE="debug kerberos libressl lto ssl test +tools" -RDEPEND=">=app-arch/snappy-1.1.3 +RDEPEND="acct-group/mongodb + acct-user/mongodb + >=app-arch/snappy-1.1.3 >=dev-cpp/yaml-cpp-0.6.2:= >=dev-libs/boost-1.70:=[threads(+)] >=dev-libs/libpcre-8.42[cxx] @@ -71,13 +73,6 @@ pkg_pretend() { fi } -pkg_setup() { - enewgroup mongodb - enewuser mongodb -1 -1 /var/lib/${PN} mongodb - - python-any-r1_pkg_setup -} - src_prepare() { default