summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJodok Batlogg <batlogg@gentoo.org>2004-09-18 16:04:19 +0000
committerJodok Batlogg <batlogg@gentoo.org>2004-09-18 16:04:19 +0000
commit5d17a5740e45c83dc82389d064b1f1fe7ea0c774 (patch)
tree2f739e3ab862042bfd51e0db5caec6cb6b622bf2 /app-admin
parentpermissions of the products dir are set like a lib, owned by root (diff)
downloadgentoo-2-5d17a5740e45c83dc82389d064b1f1fe7ea0c774.tar.gz
gentoo-2-5d17a5740e45c83dc82389d064b1f1fe7ea0c774.tar.bz2
gentoo-2-5d17a5740e45c83dc82389d064b1f1fe7ea0c774.zip
on prod-add, owner and group is inherited from the target prod dir
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/zprod-manager/ChangeLog8
-rw-r--r--app-admin/zprod-manager/Manifest16
-rw-r--r--app-admin/zprod-manager/files/0.1/zprod-manager7
-rw-r--r--app-admin/zprod-manager/files/digest-zprod-manager-0.1-r10
-rw-r--r--app-admin/zprod-manager/zprod-manager-0.1-r1.ebuild22
5 files changed, 39 insertions, 14 deletions
diff --git a/app-admin/zprod-manager/ChangeLog b/app-admin/zprod-manager/ChangeLog
index 6e2a97cedb8e..770cae01eb78 100644
--- a/app-admin/zprod-manager/ChangeLog
+++ b/app-admin/zprod-manager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/zprod-manager
# Copyright 2003-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/zprod-manager/ChangeLog,v 1.6 2004/06/24 21:43:56 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/zprod-manager/ChangeLog,v 1.7 2004/09/18 16:04:19 batlogg Exp $
+
+*zprod-manager-0.1-r1 (18 Sep 2004)
+
+ 18 Sep 2004; Jodok Batlogg <batlogg@gentoo.org>; files/0.1/zprod-manager,
+ +zprod-manager-0.1-r1.ebuild:
+ on prod-add, owner and group is inherited from the target prod dir
07 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
zprod-manager-0.1.ebuild:
diff --git a/app-admin/zprod-manager/Manifest b/app-admin/zprod-manager/Manifest
index 59b2cac60bc6..d91b46230c83 100644
--- a/app-admin/zprod-manager/Manifest
+++ b/app-admin/zprod-manager/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 aede4765de5b9aa9453a1f714956e8bc ChangeLog 931
MD5 7d17331773b3add621f5790debe7d561 zprod-manager-0.1.ebuild 546
+MD5 aede4765de5b9aa9453a1f714956e8bc ChangeLog 931
MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310
+MD5 7d17331773b3add621f5790debe7d561 zprod-manager-0.1-r1.ebuild 546
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-zprod-manager-0.1-r1 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-zprod-manager-0.1 0
-MD5 400b299636356dfec8e261fe86c4c330 files/0.1/zprod-manager 6981
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD4DBQFA+eG5mdTrptrqvGERAsCuAJUaMCjSO0SyTwQkqPrvIX5zHK59AKCZDxOB
-tSHN5gGy83sADJ1rjc3ZhA==
-=yIxv
------END PGP SIGNATURE-----
+MD5 f6f0f8df4c3ce5ce9a2094d6f06c1cb2 files/0.1/zprod-manager 7160
diff --git a/app-admin/zprod-manager/files/0.1/zprod-manager b/app-admin/zprod-manager/files/0.1/zprod-manager
index ca1526f67942..36b21ea81477 100644
--- a/app-admin/zprod-manager/files/0.1/zprod-manager
+++ b/app-admin/zprod-manager/files/0.1/zprod-manager
@@ -2,7 +2,7 @@
# Gentoo Zope Product selection tool.
# Copyright 2003 Jason Shoemaker <kutsuya@gentoo.org>
# Distributed under GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/zprod-manager/files/0.1/zprod-manager,v 1.2 2004/07/18 02:27:01 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/zprod-manager/files/0.1/zprod-manager,v 1.3 2004/09/18 16:04:19 batlogg Exp $
VERSION="0.1"
COMMAND_LIST="add del"
@@ -211,6 +211,11 @@ prod_add()
sort -u ${2}/${ZPROD_PLIST_FNAME} > ${2}/.tmp
mv -f ${2}/.tmp ${2}/${ZPROD_PLIST_FNAME}
RESULT=$?
+
+ # setting owner and group as in Products folder, so we can compile
+ # python scripts with the zope user
+
+ chown -R `stat -c %U:%G ${2}/Products` ${2}/Products
fi
return ${RESULT}
diff --git a/app-admin/zprod-manager/files/digest-zprod-manager-0.1-r1 b/app-admin/zprod-manager/files/digest-zprod-manager-0.1-r1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-admin/zprod-manager/files/digest-zprod-manager-0.1-r1
diff --git a/app-admin/zprod-manager/zprod-manager-0.1-r1.ebuild b/app-admin/zprod-manager/zprod-manager-0.1-r1.ebuild
new file mode 100644
index 000000000000..f1caccc1ad9b
--- /dev/null
+++ b/app-admin/zprod-manager/zprod-manager-0.1-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/zprod-manager/zprod-manager-0.1-r1.ebuild,v 1.1 2004/09/18 16:04:19 batlogg Exp $
+
+DESCRIPTION="Gentoo Zope Product selection tool"
+SRC_URI=""
+HOMEPAGE="http://www.gentoo.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+KEYWORDS="x86 ~ppc ~sparc"
+
+DEPEND=""
+RDEPEND=">=dev-util/dialog-0.7
+ sys-apps/grep
+ sys-apps/sed
+ >=net-zope/zope-2.6.0-r2"
+
+src_install() {
+ dosbin ${FILESDIR}/${PV}/zprod-manager
+}