summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-02-14 09:45:45 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-02-14 09:45:45 +0000
commitd9cdfcf089e95c70f4445c08c0b01809ddc7f26c (patch)
tree971eeb1acadaeb0cf0fe76615d93b627a5682524 /net-zope/zope
parentcleanup and keyword for x86 (bug #81859) (diff)
downloadgentoo-2-d9cdfcf089e95c70f4445c08c0b01809ddc7f26c.tar.gz
gentoo-2-d9cdfcf089e95c70f4445c08c0b01809ddc7f26c.tar.bz2
gentoo-2-d9cdfcf089e95c70f4445c08c0b01809ddc7f26c.zip
Remove old zope-2.7.1 at mr_bone_'s requests.
(Portage version: 2.0.51.16)
Diffstat (limited to 'net-zope/zope')
-rw-r--r--net-zope/zope/ChangeLog7
-rw-r--r--net-zope/zope/files/2.7.1/zdctl.patch14
-rw-r--r--net-zope/zope/files/2.7.1/zope.confd77
-rw-r--r--net-zope/zope/files/2.7.1/zope.initd48
-rw-r--r--net-zope/zope/files/digest-zope-2.7.11
-rw-r--r--net-zope/zope/zope-2.7.1.ebuild131
6 files changed, 6 insertions, 272 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 2bec1f2ea01a..a84ee34baeeb 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-zope/zope
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.59 2005/01/14 21:16:20 radek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.60 2005/02/14 09:45:45 robbat2 Exp $
+
+ 14 Feb 2005; Robin H. Johnson <robbat2@gentoo.org>
+ -files/2.7.1/zdctl.patch, -files/2.7.1/zope.confd,
+ -files/2.7.1/zope.initd, -zope-2.7.1.ebuild:
+ Remove old zope-2.7.1 at mr_bone_'s requests.
*zope-2.7.4 (14 Jan 2005)
diff --git a/net-zope/zope/files/2.7.1/zdctl.patch b/net-zope/zope/files/2.7.1/zdctl.patch
deleted file mode 100644
index 68ccd818567a..000000000000
--- a/net-zope/zope/files/2.7.1/zdctl.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- lib/python/zdaemon/patched_zdctl.py 2004-02-18 23:01:12.000000000 +0100
-+++ lib/python/zdaemon/zdctl.py 2003-10-24 23:32:59.000000000 +0200
-@@ -208,9 +208,9 @@
- args += self._get_override("-z", "directory")
- args.extend(self.options.program)
- if self.options.daemon:
-- flag = os.P_WAIT
-- else:
- flag = os.P_NOWAIT
-+ else:
-+ flag = os.P_WAIT
- os.spawnvp(flag, args[0], args)
- elif not self.zd_pid:
- self.send_action("start")
diff --git a/net-zope/zope/files/2.7.1/zope.confd b/net-zope/zope/files/2.7.1/zope.confd
deleted file mode 100644
index 58204174555c..000000000000
--- a/net-zope/zope/files/2.7.1/zope.confd
+++ /dev/null
@@ -1,77 +0,0 @@
-#-- startup options
-
-#ZOPE_OPTS=
-
-#-- Zope installation
-
-#INSTANCE_HOME=
-#SOFTWARE_HOME=
-#ZOPE_HOME=
-#FORCE_PRODUCT_LOAD=
-
-#-- Profiling
-
-#PROFILE_PUBLISHER=
-
-#-- SiteAccess
-
-#SUPPRESS_ACCESSRULE=
-#SUPPRESS_SITEROOT=
-
-#-- ZEO
-
-#CLIENT_HOME=
-#ZEO_CLIENT=
-
-#-- Debugging and Logging
-
-#EVENT_LOG_FORMAT=
-#EVENT_LOG_FILE=
-#EVENT_LOG_SEVERITY=
-#ZSYSLOG=
-#ZSYSLOG_FACILITY=
-#ZSYSLOG_SERVER=
-#ZSYSLOG_ACCESS=
-#ZSYSLOG_ACCESS_FACILITY=
-#ZSYSLOG_ACCESS_SERVER=
-#Z_DEBUG_MODE=
-
-#-- Misc.
-
-#Z_REALM
-
-#-- Security related
-
-#NO_SECURITY=
-#ZOPE_SECURITY_POLICY=
-#ZSP_OWNEROUS_SKIP=
-#ZSP_AUTHENTICATED_SKIP=
-#DISALLOW_LOCAL_PRODUCTS=
-
-#-- ZODB related
-
-#ZOPE_DATABASE_QUOTA=
-#ZOPE_READ_ONLY=
-
-#-- Session related
-
-#ZSESSION_ADD_NOTIFY=
-#ZSESSION_DEL_NOTIFY=
-#ZSESSION_TIMEOUT_MINS=
-#ZSESSION_OBJECT_LIMIT=
-
-#-- WebDAV
-
-#WEBDAV_SOURCE_PORT_CLIENTS=
-
-#-- Structured Text
-
-#STX_DEFAULT_LEVEL=
-
-#-- DTML
-
-#ZOPE_DTML_REQUEST_AUTOQUOTE=
-
-#-- Esoteric
-
-#Z_MAX_STACK_SIZE=
diff --git a/net-zope/zope/files/2.7.1/zope.initd b/net-zope/zope/files/2.7.1/zope.initd
deleted file mode 100644
index 039dc01d4c5c..000000000000
--- a/net-zope/zope/files/2.7.1/zope.initd
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/runscript
-# Zope rc-script for Gentoo Linux
-# Copyright 2002-2003 by Jason Shoemaker
-# Distributed under the terms of the GNU General Public License, v2 or later.
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.1/zope.initd,v 1.1 2004/07/13 23:33:52 batlogg Exp $
-
-PIDFILE=${INSTANCE_HOME}/var/Z2.pid
-
-depend()
-{
- need net
-}
-
-zope_is_alive()
-{
- [ -r "${PIDFILE}" ] || return 1
- PID=$(cat ${PIDFILE})
- [ -d "/proc/${PID}" ] || return 1
-}
-
-status()
-{
- zope_is_alive && einfo "Zope is alive" && return 0
- ewarn "Zope is dead"
- return 1
-}
-
-start()
-{
- ebegin "Starting zope"
- start-stop-daemon --start --quiet --exec ${INSTANCE_HOME}/bin/runzope --pidfile ${PIDFILE} > ${EVENT_LOG_FILE} 2>&1 &
- eend $? "Failed to start zope"
-}
-
-
-stop()
-{
- local RESULT=0
- ebegin "Stopping zope"
- if zope_is_alive ; then
- start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
- RESULT=${?}
- else
- ewarn "Zope was already dead."
- fi
- eend ${RESULT} "Failed to stop zope"
-}
-
diff --git a/net-zope/zope/files/digest-zope-2.7.1 b/net-zope/zope/files/digest-zope-2.7.1
deleted file mode 100644
index 5c9cae211471..000000000000
--- a/net-zope/zope/files/digest-zope-2.7.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ae9d4bb3f7220dfffb6e91b42503b16c Zope-2.7.1.tgz 2754949
diff --git a/net-zope/zope/zope-2.7.1.ebuild b/net-zope/zope/zope-2.7.1.ebuild
deleted file mode 100644
index 57fe72befe9a..000000000000
--- a/net-zope/zope/zope-2.7.1.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.1.ebuild,v 1.5 2005/01/14 21:16:20 radek Exp $
-
-inherit eutils
-
-SFPV="${PV//_beta/-b}"
-SDPV="${PV//_beta/b}"
-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/Zope/${SDPV}/Zope-${SFPV}.tgz"
-LICENSE="ZPL"
-SLOT="${PV}"
-
-KEYWORDS="~x86 ~sparc ~ppc ~alpha"
-IUSE="unicode"
-
-RDEPEND="=dev-lang/python-2.3.3"
-python='python2.3'
-
-DEPEND="${RDEPEND}
-virtual/libc
->=sys-apps/sed-4.0.5
->=app-admin/zope-config-0.3"
-
-S="${WORKDIR}/Zope-${SFPV}-0"
-
-ZUID=zope
-ZGID=zope
-ZS_DIR=${ROOT}/usr/share/zope/
-ZI_DIR=${ROOT}/var/lib/zope/
-ZSERVDIR=${ZS_DIR}${PF}/
-RCNAME=zope.initd
-
-# Narrow the scope of ownership/permissions.
-# Security plan:
-# * ZUID is the superuser for all zope instances.
-# * ZGID is for a single instance's administration.
-# * Other's should not have any access to ${ZSERVDIR},
-# because they can work through the Zope web interface.
-# This should protect our code/data better.
-
-# Parameters:
-# $1 = instance directory
-# $2 = group
-
-setup_security() {
- # The old version made everything owned by zope:${DEFAULT_INSTANCE_GID},
- # and group-writable. This is like making everything in net-www/apache2
- # owned by apache! The zope instance runs as the zope user, so the zope
- # user should not own any files. However, we make everything group-owned
- # by the zope group, of which the zope user is a member, so that running
- # zope instances will be able to read everything.
- # -- Andy Dustman
- chown -R root:${2} ${1}
- chmod -R g+r,g-w,o-rwx ${1}
-}
-
-install_help() {
- einfo "Run zope-config to set up an instance before trying to start zope."
-}
-
-pkg_preinst() {
- enewgroup ${ZGID}
- enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID}
-}
-
-src_compile() {
- ./configure --ignore-largefile --prefix=${ZOPE_DIR} || die "Failed to configure."
- emake || die "Failed to compile."
-}
-
-src_install() {
- dodoc README.txt
- dodoc doc/*.txt
- docinto PLATFORMS ; dodoc doc/PLATFORMS/*
-
- # Patched StructuredText will accept source text formatted in utf-8 encoding,
- # apply all formattings and output utf-8 encoded text.
- # if you want to use this option you need to set your
- # system python encoding to utf-8 (create the file sitecusomize.py inside
- # your site-packages, add the following lines
- # import sys
- # sys.setdefaultencoding('utf-8')
- # If this is a problem, let me know right away. --batlogg@gentoo.org
- # I wondering if we need a USE flag for this and wheter we can set the
- # sys.encoding automtically
- # so i defined a use flag
-
- if use unicode; then
- einfo "Patching structured text"
- einfo "make sure you have set the system python encoding to utf-8"
- einfo "create the file sitecustomize.py inside your site-packages"
- einfo "import sys"
- einfo "sys.setdefaultencoding('utf8')"
- cd ${S}/lib/python/StructuredText/
- epatch ${FILESDIR}/i18n-1.0.0.patch
- cd ${S}
- fi
-
- make install PREFIX=${D}/${ZSERVDIR}
- rm -rf ${D}${ZSERVDIR}/doc
- dosym ${DOCDESTTREE} ${D}${ZSERVDIR}/doc
-
- skel=${D}${ZSERVDIR}/skel
- dodir /etc/init.d
- cp ${FILESDIR}/${PV}/zope.initd ${skel}/zope.initd
-
- setup_security ${D}${ZSERVDIR} ${ZGID}
-}
-
-pkg_postinst() {
- # Here we add our default zope instance.
- # I strongly believe a default instance should not be installed.
- # -- Andy Dustman
- #/usr/sbin/zope-config --zserv=${ZSERVDIR} --zinst=${ZINSTDIR} \
- # --zgid=${ZGID}
- install_help
-}
-
-pkg_postrm() {
- # rcscripts and conf.d files will remain. i.e. /etc protection.
-
- # Delete .default if this ebuild is the default. zprod-manager will
- # have to handle a missing default;
- rm -f ${ZI_DIR}/.default
-}
-
-pkg_config() {
- install_help
-}