summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadoslaw Stachowiak <radek@gentoo.org>2007-04-29 18:02:53 +0000
committerRadoslaw Stachowiak <radek@gentoo.org>2007-04-29 18:02:53 +0000
commit3153bac8459dffc264bfc854b4017be352d6f4b3 (patch)
treee65031b569ec35e5416aa2ca77e195d397372443 /net-zope
parentFix cabal deps so that you actually can install the packages once ghc-6.6 get... (diff)
downloadhistorical-3153bac8459dffc264bfc854b4017be352d6f4b3.tar.gz
historical-3153bac8459dffc264bfc854b4017be352d6f4b3.tar.bz2
historical-3153bac8459dffc264bfc854b4017be352d6f4b3.zip
Fixed digest of 2.10.3 and 2.9.7 #174225 and #176478. Also new 3.3.1 release
Package-Manager: portage-2.1.2.5
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope/ChangeLog7
-rw-r--r--net-zope/zope/Manifest42
-rw-r--r--net-zope/zope/files/digest-zope-2.10.36
-rw-r--r--net-zope/zope/files/digest-zope-2.9.76
-rw-r--r--net-zope/zope/files/digest-zope-3.3.13
-rw-r--r--net-zope/zope/zope-3.3.1.ebuild120
6 files changed, 155 insertions, 29 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 1d8fc015a789..6c6bc87b0c44 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-zope/zope
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.126 2007/04/12 21:53:50 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.127 2007/04/29 18:02:53 radek Exp $
+
+*zope-3.3.1 (29 Apr 2007)
+
+ 29 Apr 2007; Radoslaw Stachowiak <radek@gentoo.org> +zope-3.3.1.ebuild:
+ Fixed digest of 2.10.3 and 2.9.7 #174225 and #176478. Also new 3.3.1 release
12 Apr 2007; Christian Faulhammer <opfer@gentoo.org> zope-3.3.0.ebuild:
keyworded ~amd64, bug 152547
diff --git a/net-zope/zope/Manifest b/net-zope/zope/Manifest
index 45e652a3e408..09400fa2f5a0 100644
--- a/net-zope/zope/Manifest
+++ b/net-zope/zope/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 2.6.4/zope.confd 950 RMD160 781db816bfba64d21c43f0fc4527f8a1baa3a4cf SHA1 548f21a0f309f2a19cbeb8d9564c120ba8737f86 SHA256 5f99492bd867b66f6baf58ee4cf000b9f1bb6073e567ee320badbbe60e1ab6be
MD5 a18ddd3f2cdcb815cf86f4b9c4bdd6fe files/2.6.4/zope.confd 950
RMD160 781db816bfba64d21c43f0fc4527f8a1baa3a4cf files/2.6.4/zope.confd 950
@@ -32,7 +29,7 @@ SHA256 1a3a03ef186fbdfd566023cf3fbb311f03214c51021b3af628b3233704838506 files/zo
DIST Hotfix_20060821.tar.gz 1050 RMD160 83479de3200711dd1cff306030f0181674862b51 SHA1 3f7eb3c66443a3317c235f6fc708928c3dca7e13 SHA256 6ba5f717cc7443c6182c5b829f2a4228e7c56667d07e2b6fad8323ab1ec850af
DIST Zope-2.10.0-final.tgz 7123131 RMD160 f3dd52d72d512057f722b822f4f6bfd578229d86 SHA1 6b2c537d1fa900e270e5ae042db41628476d7354 SHA256 4a9f8649390942d7faad3a90c128b4f36c3cbcdce5f06a2d13ab367add458f30
DIST Zope-2.10.1-final.tgz 7128570 RMD160 b05c2d4c69a9e19d88f38c36ef5bf4846a7d5d0a SHA1 0342afea89b0582edfdd9acffd10501d18e08ee0 SHA256 a759dc9312a9e8ebb87d721fbb0124caafd18a1860e5f5bd2186f1459e68c17b
-DIST Zope-2.10.3-final.tgz 7094321 RMD160 f5f2c49d175d81add3b7eb62abd366c5375562d0 SHA1 81910a4215460a231da9e285ad2bfdaca2e4188a SHA256 af0913d732d35b41a3d9350976610fb1446c874b9a9306bce9a2240217e2e9bb
+DIST Zope-2.10.3-final.tgz 7094367 RMD160 70835b3c510b95a61174050a8ffe68a58114f02a SHA1 a5bdf04ac3ca5ee8c9d437347d956487e172cfd2 SHA256 79233c797c77edf447f1903c93a2accbb227b3af2159a99d731607aa2e274350
DIST Zope-2.6.4-src.tgz 2401115 RMD160 33b46814c9db37d661cb0eb374fa53873397a0eb SHA1 3dd4210d5c3c702b95dbb9651ccac320f966f95b SHA256 368a2a922b9b5fbc3cbe70831701adb88c75ee6cb62b56773487518c85fb143f
DIST Zope-2.7.7-final.tgz 2925174 RMD160 dc3058b0b261f15b881930e91e4be02d80a6e134 SHA1 2039d018b8bf00251ac285968632ac6c374098cb SHA256 9605229870b5ab9a8683d5297b47eedd9bb84fea28ecc08774df7d437919296a
DIST Zope-2.7.8-final.tgz 2952102 RMD160 2a25b1fbe81c9aec10f35e05f8eaf9522d9cb445 SHA1 742a43825084425a2d2a722534ce1563178299c5 SHA256 06789e7e2bf8415a7e4edf2bd05eada1b4d5dd3a6fa8ca7ab79f8b68006c7bac
@@ -47,11 +44,12 @@ DIST Zope-2.9.3.tgz 8010113 RMD160 a4aa2303400efa17ec0d225b501c5282c454705b SHA1
DIST Zope-2.9.4-final.tgz 6962298 RMD160 297254e4ad0a27bdc585c88147a6e42698de485e SHA1 37e525b662de5f878d4da39b6578c1d9f15e2669 SHA256 4085dee8a6bd252072ca69f1c2d9e00cbff8d999651da93fd9df5a9db65dba35
DIST Zope-2.9.5-final.tgz 6982114 RMD160 d8e26839618a19fbb6528967c3d8fc0266251a7d SHA1 066e31068f5265a95d89729076195ae62d14410d SHA256 e4036fa61af22379530b1a42534591d7f19fdbcb3345d20e7a337b3c375a323e
DIST Zope-2.9.6-final.tgz 6989768 RMD160 0fc82ae2ee0f2343e6fcd723048f6dfd18dbcd04 SHA1 4a8aaafd54e5841f53f269e130bd214b55d08c39 SHA256 00ffe561df9ede6543bf5dceeea964048ee005705ba98dd8f8dbfcd8dd64fcc4
-DIST Zope-2.9.7-final.tgz 6945526 RMD160 a9b6e568145e6cd723a72ad9ec387f11fd9aedfb SHA1 0b6e13c29532f3ab13d63002f8622de32aea4db7 SHA256 f930366a9a98df34d1cb26e3a06f7cd232890328835905592527b71c8164a98e
+DIST Zope-2.9.7-final.tgz 6945646 RMD160 a7237959d43031459423c700f5224f999d2ad050 SHA1 1bfb73201389b7c7f099b12777ab7d855722db21 SHA256 736a5a883e0ed5c57787ae33b71878761ce9abf6184b30fdb1585985b167e617
DIST Zope-3.1.0.tgz 4048336 RMD160 c3af6b6172b56ec53691f8f86f3ee14064003602 SHA1 ee44bb56094fa96b7c5403322e2fb0a37b013167 SHA256 e102a263f7ceb00744ab503c568482db201557433d9078766846294dd040b445
DIST Zope-3.2.1.tgz 6532373 RMD160 f7aeb56ab5f09e6780d0df787939af4c7815ceba SHA1 cb45ab704e3a60376e3025e169b782f2c3968074 SHA256 8431984af75054e4ddfe45bf708924240f8b6b02220cd84d090138413ac82341
DIST Zope-3.2.2.tgz 6544087 RMD160 1e7e08e1178f449bf120d7fc2caa6259fde1a0cf SHA1 9bd3c099fc77f981a8b803770aca168eb813e260 SHA256 c6f6d49d8b910bc35a32b848c6296b7ad61cb64f83974b52dd3623169f141ba4
DIST Zope-3.3.0.tgz 6634834 RMD160 e8dd6c74d83646d1e9093bb3147450088dcd06e3 SHA1 371db51e9d3b98b58beb03beaa3d07eb0f27a2ea SHA256 a1f9decff79265f487b2ee27c07c9f7a7930a4c7b061f93d110c6fe1f1f02b30
+DIST Zope-3.3.1.tgz 6594248 RMD160 11bf3b8c899518a5965f21a4a372912a4bc1438d SHA1 4576ac21c3415563d3b0b747e40963a762b63fce SHA256 6189999de3190e4b0d5110490567d9f7ef92379ea555f738fc741d49d0807be3
EBUILD zope-2.10.0.ebuild 2368 RMD160 b407f43a2794d9809645b96c843100eb05e54f45 SHA1 e04c4b31c642a3b765d2b265a20c1d72f8e37abc SHA256 5573e4deabb4cd76db9c5a667fcf2e949beda46ee313a86851b33c7d9fd6d00a
MD5 e43b4b7bdddf4accd95f35d1a3f2ac81 zope-2.10.0.ebuild 2368
RMD160 b407f43a2794d9809645b96c843100eb05e54f45 zope-2.10.0.ebuild 2368
@@ -140,10 +138,14 @@ EBUILD zope-3.3.0.ebuild 3642 RMD160 96ed514f49d088d7299023543dc782b1a3280091 SH
MD5 32e1533863ca8014f08f7574ec2a6598 zope-3.3.0.ebuild 3642
RMD160 96ed514f49d088d7299023543dc782b1a3280091 zope-3.3.0.ebuild 3642
SHA256 4f60b70b8f36d098c6f4dae944697a5f5f31304f47c79738b5cb27a362039cd7 zope-3.3.0.ebuild 3642
-MISC ChangeLog 19541 RMD160 c26f6f64e3362d06d5046a610c9b1adf3f742862 SHA1 629a6473af119c29d4cbf7a2f97128311702eb32 SHA256 60273ef18b85b3eb15d0844ec91b081ccd6892b6e3ccf56fd2e3f6103369ec89
-MD5 2436b5860727fedad7f729f1b24496bb ChangeLog 19541
-RMD160 c26f6f64e3362d06d5046a610c9b1adf3f742862 ChangeLog 19541
-SHA256 60273ef18b85b3eb15d0844ec91b081ccd6892b6e3ccf56fd2e3f6103369ec89 ChangeLog 19541
+EBUILD zope-3.3.1.ebuild 3427 RMD160 4b3fdd79d06993ea380465ce0b002ff16877e12b SHA1 e6257812e48d23e16586d710ccab4f4b1ac6fa5e SHA256 b390972eaa7f6fab38b3351a198baa5f240c4ed07ab367b121d0e75607f6b641
+MD5 ca3aad025eeb7358055702b9e199d95a zope-3.3.1.ebuild 3427
+RMD160 4b3fdd79d06993ea380465ce0b002ff16877e12b zope-3.3.1.ebuild 3427
+SHA256 b390972eaa7f6fab38b3351a198baa5f240c4ed07ab367b121d0e75607f6b641 zope-3.3.1.ebuild 3427
+MISC ChangeLog 19722 RMD160 fd0bb8de73d0a228967e1d9377a165fc44b3bd10 SHA1 fa6c22c0d0e39ed339c298473ad6db5355d20178 SHA256 91af4e1490a16eb9062318a343490f21344afea08e13ac21494444ae031c8e23
+MD5 8208408db7b19af356f1e6c7d51f75a3 ChangeLog 19722
+RMD160 fd0bb8de73d0a228967e1d9377a165fc44b3bd10 ChangeLog 19722
+SHA256 91af4e1490a16eb9062318a343490f21344afea08e13ac21494444ae031c8e23 ChangeLog 19722
MISC metadata.xml 161 RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 SHA1 9755179a2dee0511818b1f6738ded28e335e1b9a SHA256 e69ac7205cbc2e42a297e20d8f08922003390a345bbf50ccf00d1158a1c97cc5
MD5 7890d88c5c6d189fbe6b187a3ebb6532 metadata.xml 161
RMD160 5e136d45f811478292bd2ee1798a9b0229ffe468 metadata.xml 161
@@ -154,9 +156,9 @@ SHA256 76586b2ba483e4d00d4c4ce592b77b8e5c7a43fb8e953e0cd758e7e3db13a766 files/di
MD5 03716cf6133578b14903f6d674aed148 files/digest-zope-2.10.1 247
RMD160 2b2eee6fd70e25a0f80db63414981c19bf6ceb60 files/digest-zope-2.10.1 247
SHA256 9f56424dbf4137b0c1d5e8e576f00da7a6c8b9186951168c33e73e15c84c5764 files/digest-zope-2.10.1 247
-MD5 4796a3d9d55c250dda2ff286d4c279d1 files/digest-zope-2.10.3 247
-RMD160 c1dc9a87c01f474d1d9c377c3b53b924465c77cd files/digest-zope-2.10.3 247
-SHA256 220466edac4f74f7b1a86a4008af453d78c85780f38d6e75ef834e84562e9db9 files/digest-zope-2.10.3 247
+MD5 50c69685a0d2e62d34f434e0a6b03b0a files/digest-zope-2.10.3 247
+RMD160 bc3c03ffc848404af98e699267aaae40984e6775 files/digest-zope-2.10.3 247
+SHA256 211f29f8c58e3bbf048e231a939bd65fd0ea534660e997eb43467ade9a17f816 files/digest-zope-2.10.3 247
MD5 123a2246c454fdd66488a9f3c8c20918 files/digest-zope-2.6.4-r1 238
RMD160 880d3eb05f1955cf58a9827e2295b4fd574fcf70 files/digest-zope-2.6.4-r1 238
SHA256 b2afc924aa7b7cc4d4d8954f97f4d22d5c73e462add4d0106e6f81d9c658f2d6 files/digest-zope-2.6.4-r1 238
@@ -199,9 +201,9 @@ SHA256 e50cfbddfbf792a79f8e0af7230e4bb24151fbebfcb58a705a1c3c43f942baa9 files/di
MD5 9162d91abbde16c4c8c2a8e8212483bc files/digest-zope-2.9.6 244
RMD160 3cccf4da3ab6a21eff36b7098f4e9709ead51319 files/digest-zope-2.9.6 244
SHA256 50433122457c6972202abb674266437825bd7f00c66929ece5d28d5d05a61c51 files/digest-zope-2.9.6 244
-MD5 109997cf457ca11aa927a4038d7c4c70 files/digest-zope-2.9.7 244
-RMD160 c66b02c7e0b57d2af5b5dc83bb0d90c7c0d11318 files/digest-zope-2.9.7 244
-SHA256 0d0aa1782d08c2c38e24c10d3e10659a2c94f241b0c77665bb758f1a3019df98 files/digest-zope-2.9.7 244
+MD5 79477fc2dad2da33b3bf6d18c1595bdb files/digest-zope-2.9.7 244
+RMD160 b1227c4bd559658599b13710318dfd2d64006e9a files/digest-zope-2.9.7 244
+SHA256 65a2f0eeef26fbcc01b9291357016038cca3ff85ea09936c6ebf9fa2e7c905b7 files/digest-zope-2.9.7 244
MD5 8eee3e0c656adbcd9917c6d6d768128d files/digest-zope-3.1.0 226
RMD160 25b5d0d6098722a3cdad57f93078258d8f5e0df9 files/digest-zope-3.1.0 226
SHA256 b22e04ad037d3d6a332e9eb07dee874961908946bb07c5941e9f08cb979fb079 files/digest-zope-3.1.0 226
@@ -214,10 +216,6 @@ SHA256 d43a4c0301d243a6e917cfb56aa8fded484ee3db8767b9919f6a409bb17c3fff files/di
MD5 50db5e1898d328dfd254c0ab6f43c6ac files/digest-zope-3.3.0 226
RMD160 d15a8e89b7a912a0306110c224194527ead5d458 files/digest-zope-3.3.0 226
SHA256 effb9ac4b1dd82fba6236d6d56d1f157faf147da2004fb9fcfc30eab9f57de26 files/digest-zope-3.3.0 226
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFGHqqHNQqtfCuFneMRApE9AJ4hA06tdSZeQuBT/SdooIOhNf8E2QCfS4jx
-fGU3B+xPpowiJcbfGLkpyBQ=
-=8rpO
------END PGP SIGNATURE-----
+MD5 f57e329724ea64fcad4ccdd2d86988ec files/digest-zope-3.3.1 226
+RMD160 30804ddffe30d68bbd9c71880a43266ce5d6e9d1 files/digest-zope-3.3.1 226
+SHA256 9bddec0c58135524cf12265c412469275548baebf55121bc6cc7027f1a0c38b2 files/digest-zope-3.3.1 226
diff --git a/net-zope/zope/files/digest-zope-2.10.3 b/net-zope/zope/files/digest-zope-2.10.3
index 080007943031..f4a599c333bb 100644
--- a/net-zope/zope/files/digest-zope-2.10.3
+++ b/net-zope/zope/files/digest-zope-2.10.3
@@ -1,3 +1,3 @@
-MD5 16333e8a14837466de10cd497643a967 Zope-2.10.3-final.tgz 7094321
-RMD160 f5f2c49d175d81add3b7eb62abd366c5375562d0 Zope-2.10.3-final.tgz 7094321
-SHA256 af0913d732d35b41a3d9350976610fb1446c874b9a9306bce9a2240217e2e9bb Zope-2.10.3-final.tgz 7094321
+MD5 60cedefc1589cdb2dd91e6e85f31b9b7 Zope-2.10.3-final.tgz 7094367
+RMD160 70835b3c510b95a61174050a8ffe68a58114f02a Zope-2.10.3-final.tgz 7094367
+SHA256 79233c797c77edf447f1903c93a2accbb227b3af2159a99d731607aa2e274350 Zope-2.10.3-final.tgz 7094367
diff --git a/net-zope/zope/files/digest-zope-2.9.7 b/net-zope/zope/files/digest-zope-2.9.7
index d046259a3606..4057c7e6f7bf 100644
--- a/net-zope/zope/files/digest-zope-2.9.7
+++ b/net-zope/zope/files/digest-zope-2.9.7
@@ -1,3 +1,3 @@
-MD5 46c4319107c2a47e5d2cf42fabe6af1d Zope-2.9.7-final.tgz 6945526
-RMD160 a9b6e568145e6cd723a72ad9ec387f11fd9aedfb Zope-2.9.7-final.tgz 6945526
-SHA256 f930366a9a98df34d1cb26e3a06f7cd232890328835905592527b71c8164a98e Zope-2.9.7-final.tgz 6945526
+MD5 f7d900c00fe95d4cce0bc5854bc842b4 Zope-2.9.7-final.tgz 6945646
+RMD160 a7237959d43031459423c700f5224f999d2ad050 Zope-2.9.7-final.tgz 6945646
+SHA256 736a5a883e0ed5c57787ae33b71878761ce9abf6184b30fdb1585985b167e617 Zope-2.9.7-final.tgz 6945646
diff --git a/net-zope/zope/files/digest-zope-3.3.1 b/net-zope/zope/files/digest-zope-3.3.1
new file mode 100644
index 000000000000..47d1fb0dff28
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-3.3.1
@@ -0,0 +1,3 @@
+MD5 3c28888c51cc0a9e853c0f3032370bf9 Zope-3.3.1.tgz 6594248
+RMD160 11bf3b8c899518a5965f21a4a372912a4bc1438d Zope-3.3.1.tgz 6594248
+SHA256 6189999de3190e4b0d5110490567d9f7ef92379ea555f738fc741d49d0807be3 Zope-3.3.1.tgz 6594248
diff --git a/net-zope/zope/zope-3.3.1.ebuild b/net-zope/zope/zope-3.3.1.ebuild
new file mode 100644
index 000000000000..11549af4df8b
--- /dev/null
+++ b/net-zope/zope/zope-3.3.1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-3.3.1.ebuild,v 1.1 2007/04/29 18:02:53 radek Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="Zope is a web application platform used for building high-performance, dynamic web sites"
+HOMEPAGE="http://www.zope.org"
+SRC_URI="http://www.zope.org/Products/Zope3/${PV}/Zope-${PV}.tgz"
+
+LICENSE="ZPL"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="=dev-lang/python-2.4*"
+DEPEND="${RDEPEND}
+ >=app-shells/bash-2.0
+ >=sys-apps/sed-4.0.5"
+
+S=${WORKDIR}/Zope-${PV}
+
+ZUNAME=zope
+ZGNAME=zope
+
+ZS_DIR=${ROOT%/}/usr/$(get_libdir)
+ZSERVDIR=${ZS_DIR}/${P}
+ZSKELDIR=${ZSERVDIR}/zopeskel
+ZINSTDIR=/var/lib/zope/${P}
+
+src_compile() {
+
+ cd ${S}
+
+ ./configure --prefix=${D}${ZSERVDIR} --with-python=/usr/bin/python2.4 || die "Failed to configure."
+ emake || die "Failed to compile."
+}
+
+src_install() {
+
+ cd ${S}
+
+ dodoc README.txt
+ dodoc Zope/doc/*.txt
+ for DIR in schema security skins style zcml zsync
+ do
+ docinto ${DIR}
+ dodoc Zope/doc/${DIR}/*
+ done
+
+ make install prefix=${D}${ZSERVDIR}
+
+ dosym ../../share/doc/${PF} ${ZSERVDIR}/doc
+
+ # copy the init script skeleton to zopeskel directory of our installation
+ cp ${FILESDIR}/zope.initd ${D}${ZSKELDIR}/zope.initd
+}
+
+pkg_postinst() {
+ # create the zope user and group for backward compatibility
+ enewgroup ${ZGNAME} 261
+ usermod -g ${ZGNAME} -c "Zope Admin User" -d /var/lib/zope -s /bin/bash ${ZUNAME} 2>&1 >/dev/null || \
+ enewuser ${ZUNAME} 261 /bin/bash /var/lib/zope ${ZGNAME} -c "Zope Admin User"
+
+ einfo "This release can create a default instance using the command: "
+ einfo " emerge --config =${PF}"
+ einfo "Instance (${P}) will be created in ${ZINSTDIR} as its home."
+ einfo "System uid/gid for instance will be: ${ZUNAME}:${ZGNAME}"
+}
+
+pkg_prerm() {
+
+ find ${ZSERVDIR}/lib/python -name \*.py[co] -exec rm -f {} \;
+}
+
+pkg_postrm() {
+
+ rmdir /usr/$(get_libdir)/${ZSERVDIR} 2>/dev/null
+ ewarn "Instances created for this package are NOT automaticaly deleted!"
+ ewarn "Inspect these locations and manually remove them (if needed):"
+ ewarn " /etc/init.d/${P}"
+ ewarn " ${ZINSTDIR}"
+}
+
+pkg_config() {
+
+ if [ -f /etc/init.d/${P} -o -d ${ZINSTDIR} ]
+ then
+ ewarn "Default instance already exists, aborting.."
+ ewarn "Please delete first /etc/init.d/${P} and ${ZINSTDIR}"
+ die "Failed to create default instance."
+ fi
+
+ mkdir -p ${ZINSTDIR}
+ einfo "Instance ${P} creation, calling mkzopeinstance.."
+ ${ZSERVDIR}/bin/mkzopeinstance --non-interactive -d ${ZINSTDIR} -u admin:admin
+
+ # remove unnecessary zope.initd
+ rm -f ${ZINSTDIR}/zope.initd
+
+ # log symlink
+ rm -rf ${ZINSTDIR}/log
+ mkdir -p /var/log/zope/${PN}
+ ln -s /var/log/zope/${PN} ${ZINSTDIR}/log
+
+ # permissions changes
+ chmod go-rwx -R ${ZINSTDIR}
+ chown ${ZUNAME}:${ZGNAME} -R ${ZINSTDIR} /var/log/zope/${PN}
+
+ cp ${ZSKELDIR}/zope.initd /etc/init.d/${P}
+ chmod 755 /etc/init.d/${P}
+ sed -i -e "s|INSTANCE_HOME|${ZINSTDIR}|" /etc/init.d/${P}
+ sed -i -e "s|zopectl|zopectl -u ${ZUNAME}|" /etc/init.d/${P}
+
+ einfo "Default instance created at ${ZINSTDIR}"
+ einfo "Created default zope user 'admin' with password 'admin'."
+ einfo "System uid/gid for instance is: ${ZUNAME}:${ZGNAME}."
+ einfo "To start instance (default ports 8080,8021) use: /etc/init.d/${P} start"
+ einfo "To start instance on every restart use: rc-update -a ${P} default"
+}