summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIoannis Aslanidis <deathwing00@gentoo.org>2009-03-27 16:03:38 +0000
committerIoannis Aslanidis <deathwing00@gentoo.org>2009-03-27 16:03:38 +0000
commit4149713c367114d006482bde146d2b55e47f4a9c (patch)
tree8aaba329401d200fcf6f7e6e99e697212c960480
parentMarking gecko-sharp-0.13 ppc for bug 234305 (diff)
downloadhistorical-4149713c367114d006482bde146d2b55e47f4a9c.tar.gz
historical-4149713c367114d006482bde146d2b55e47f4a9c.tar.bz2
historical-4149713c367114d006482bde146d2b55e47f4a9c.zip
Ebuild creates mock group if it does not exist.
Package-Manager: portage-2.2_rc27/cvs/Linux x86_64
-rw-r--r--dev-util/mock/ChangeLog8
-rw-r--r--dev-util/mock/Manifest5
-rw-r--r--dev-util/mock/mock-0.9.10-r1.ebuild31
-rw-r--r--dev-util/mock/mock-0.9.10.ebuild10
4 files changed, 50 insertions, 4 deletions
diff --git a/dev-util/mock/ChangeLog b/dev-util/mock/ChangeLog
index 2e66b5871d12..e14bd4d0a269 100644
--- a/dev-util/mock/ChangeLog
+++ b/dev-util/mock/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/mock
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/ChangeLog,v 1.2 2009/03/03 19:45:11 deathwing00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/ChangeLog,v 1.3 2009/03/27 16:03:38 deathwing00 Exp $
+
+*mock-0.9.10-r1 (27 Mar 2009)
+
+ 27 Mar 2009; Ioannis Aslanidis <iaslanidis@gentoo.org> mock-0.9.10.ebuild,
+ +mock-0.9.10-r1.ebuild:
+ Now properly creating the mock group.
03 Mar 2009; Ioannis Aslanidis <iaslanidis@gentoo.org> mock-0.9.10.ebuild:
Added missing dependency. Fixed src_install so that it now properly installs
diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index ab69d3879f37..4f57f33dce8f 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1,4 +1,5 @@
DIST mock-0.9.10.tar.gz 147687 RMD160 b7705f75de43f5c2f3ed3f599aac074da27bde21 SHA1 317ac3ad9cb03f71923b3d7e91738dbe150482d9 SHA256 5d9919435310e86c5a91acd22726a3091eea7705470e8b7d903ebd8413fd3839
-EBUILD mock-0.9.10.ebuild 679 RMD160 a1a2853bb6e126d75570cac51bf6ff5d35dd7a4e SHA1 6b217cbc5c8cda54495908ed6ccb1a461440572b SHA256 16259146d0ecd0b09c9ed06ce63bdcc826cdf8819f2303d292d2eb0ba0d4fef2
-MISC ChangeLog 462 RMD160 36bf8910435b6cbe91819a64079dd5e9322ccca2 SHA1 9c291d9c7b49695d597097ff5ef451899eec05be SHA256 8af7496da02326ada8c44c9bc95449903e288c3d77484982b19a86fbdb1c828d
+EBUILD mock-0.9.10-r1.ebuild 813 RMD160 7ddaf121e90329b60902865fe568ab3c1c7570c4 SHA1 4c7623e6202e2d3041b06718f806fd5cfb2d3a0b SHA256 911554ea1eb44b9e1237eeff88ce77435657060a458fe0f7dae2323aa4f81bb1
+EBUILD mock-0.9.10.ebuild 800 RMD160 3027b225a7776e4319039058a722c1095b81c1fb SHA1 11cff0fb786eca086da63c5bebbb9e4a683cf144 SHA256 309dbac198746c2f1a6f598bbabe7f9b61b8e8dfbdda2ef33254a4f09b249bf8
+MISC ChangeLog 637 RMD160 2038594f4c1fe89d04e5e317b1dcefaf85b279e6 SHA1 b9237050ce08d6ce4738a60b765343b9c5e55c2e SHA256 5216ee4ef6045e304a29815fbe8c6bba2c1db0b4b534e63228b170f8f67f8d4e
MISC metadata.xml 235 RMD160 06854dc2a2e06f88932c77bdd6026bb1f62ae6c6 SHA1 1021188b5c7f92491a8b31a630a04d9e7522e352 SHA256 7544db04a9b8a0dcbf1c6cb4290d663b049abeba3c6d553606bd3cca4a41d6fd
diff --git a/dev-util/mock/mock-0.9.10-r1.ebuild b/dev-util/mock/mock-0.9.10-r1.ebuild
new file mode 100644
index 000000000000..330293faab35
--- /dev/null
+++ b/dev-util/mock/mock-0.9.10-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/mock-0.9.10-r1.ebuild,v 1.1 2009/03/27 16:03:38 deathwing00 Exp $
+
+DESCRIPTION="Mock creates chroots and builds packages in them for Fedora and
+RedHat."
+HOMEPAGE="http://fedoraproject.org/wiki/Projects/Mock"
+SRC_URI="https://fedorahosted.org/mock/attachment/wiki/MockTarballs/mock-${PV}.tar.gz?format=raw -> mock-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+EAPI="2"
+
+DEPEND=""
+RDEPEND="sys-apps/yum
+ dev-python/decoratortools"
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+}
+
+pkg_postinst() {
+ if ! [[ $(grep -q mock /etc/group && echo $?) ]]; then
+ einfo "Creating group 'mock'"
+ groupadd mock
+ fi
+}
+
diff --git a/dev-util/mock/mock-0.9.10.ebuild b/dev-util/mock/mock-0.9.10.ebuild
index 9ae6fc4f5f47..2b1446032ee2 100644
--- a/dev-util/mock/mock-0.9.10.ebuild
+++ b/dev-util/mock/mock-0.9.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/mock-0.9.10.ebuild,v 1.3 2009/03/05 16:04:38 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mock/mock-0.9.10.ebuild,v 1.4 2009/03/27 16:03:38 deathwing00 Exp $
DESCRIPTION="Mock creates chroots and builds packages in them for Fedora and
RedHat."
@@ -21,3 +21,11 @@ RDEPEND="sys-apps/yum
src_install() {
emake DESTDIR="${D}" install || die "install failed"
}
+
+pkg_postinst() {
+ if [[ ! $(egrep -q mock /etc/group) ]]; then
+ einfo "Creating group `mock`"
+ groupadd mock
+ fi
+}
+