head	1.80;
access;
symbols
	RELEASE_8_3_0:1.79
	RELEASE_9_0_0:1.79
	RELEASE_7_4_0:1.79
	RELEASE_8_2_0:1.79
	RELEASE_6_EOL:1.79
	RELEASE_8_1_0:1.79
	RELEASE_7_3_0:1.79
	RELEASE_8_0_0:1.78
	RELEASE_7_2_0:1.78
	RELEASE_7_1_0:1.76
	RELEASE_6_4_0:1.76
	RELEASE_5_EOL:1.76
	RELEASE_7_0_0:1.76
	RELEASE_6_3_0:1.76
	PRE_XORG_7:1.76
	RELEASE_4_EOL:1.74
	RELEASE_6_2_0:1.73
	RELEASE_6_1_0:1.71
	RELEASE_5_5_0:1.71
	RELEASE_6_0_0:1.69
	RELEASE_5_4_0:1.66
	RELEASE_4_11_0:1.64
	RELEASE_5_3_0:1.60
	RELEASE_4_10_0:1.57
	RELEASE_5_2_1:1.53
	RELEASE_5_2_0:1.53
	RELEASE_4_9_0:1.52
	RELEASE_5_1_0:1.47
	RELEASE_4_8_0:1.44
	RELEASE_5_0_0:1.41
	RELEASE_4_7_0:1.38
	RELEASE_4_6_2:1.36
	RELEASE_4_6_1:1.36
	RELEASE_4_6_0:1.36
	RELEASE_5_0_DP1:1.35
	RELEASE_4_5_0:1.32
	RELEASE_4_4_0:1.31
	RELEASE_4_3_0:1.25
	RELEASE_4_2_0:1.17
	RELEASE_4_1_1:1.16
	RELEASE_4_1_0:1.8
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.2
	v2_0_0b5:1.1.1.1
	PCC:1.1.1;
locks; strict;
comment	@# @;


1.80
date	2012.07.16.17.04.29;	author rm;	state dead;
branches;
next	1.79;

1.79
date	2009.12.17.23.32.39;	author pgollucci;	state Exp;
branches;
next	1.78;

1.78
date	2009.03.22.18.22.20;	author pav;	state Exp;
branches;
next	1.77;

1.77
date	2008.12.19.20.28.38;	author pav;	state Exp;
branches;
next	1.76;

1.76
date	2007.04.08.19.51.46;	author remko;	state Exp;
branches;
next	1.75;

1.75
date	2007.04.08.11.24.18;	author stefan;	state Exp;
branches;
next	1.74;

1.74
date	2006.12.27.13.48.05;	author gabor;	state Exp;
branches;
next	1.73;

1.73
date	2006.07.14.18.42.39;	author garga;	state Exp;
branches;
next	1.72;

1.72
date	2006.05.13.04.41.22;	author edwin;	state Exp;
branches;
next	1.71;

1.71
date	2005.12.30.23.37.16;	author girgen;	state Exp;
branches;
next	1.70;

1.70
date	2005.10.17.18.07.26;	author garga;	state Exp;
branches;
next	1.69;

1.69
date	2005.07.13.13.09.01;	author pav;	state Exp;
branches;
next	1.68;

1.68
date	2005.05.07.20.53.42;	author jylefort;	state Exp;
branches;
next	1.67;

1.67
date	2005.04.13.08.25.03;	author pav;	state Exp;
branches;
next	1.66;

1.66
date	2005.02.18.16.52.17;	author pav;	state Exp;
branches;
next	1.65;

1.65
date	2005.01.09.01.44.23;	author girgen;	state Exp;
branches;
next	1.64;

1.64
date	2005.01.02.01.24.53;	author kris;	state Exp;
branches;
next	1.63;

1.63
date	2004.12.05.14.00.31;	author perky;	state Exp;
branches;
next	1.62;

1.62
date	2004.12.02.16.21.30;	author perky;	state Exp;
branches;
next	1.61;

1.61
date	2004.11.16.00.02.25;	author pav;	state Exp;
branches;
next	1.60;

1.60
date	2004.07.24.11.06.23;	author pav;	state Exp;
branches;
next	1.59;

1.59
date	2004.07.02.20.41.00;	author thierry;	state Exp;
branches;
next	1.58;

1.58
date	2004.05.28.16.54.56;	author perky;	state Exp;
branches;
next	1.57;

1.57
date	2004.04.20.14.18.32;	author perky;	state Exp;
branches;
next	1.56;

1.56
date	2004.04.14.02.54.22;	author perky;	state Exp;
branches;
next	1.55;

1.55
date	2004.04.02.00.00.28;	author pav;	state Exp;
branches;
next	1.54;

1.54
date	2004.03.25.18.42.02;	author nbm;	state Exp;
branches;
next	1.53;

1.53
date	2003.11.21.18.11.38;	author nbm;	state Exp;
branches;
next	1.52;

1.52
date	2003.08.28.18.55.15;	author nbm;	state Exp;
branches;
next	1.51;

1.51
date	2003.08.27.18.24.56;	author nbm;	state Exp;
branches;
next	1.50;

1.50
date	2003.08.07.09.02.32;	author kris;	state Exp;
branches;
next	1.49;

1.49
date	2003.07.09.05.01.51;	author daichi;	state Exp;
branches;
next	1.48;

1.48
date	2003.06.16.08.59.10;	author perky;	state Exp;
branches;
next	1.47;

1.47
date	2003.05.12.03.36.53;	author perky;	state Exp;
branches;
next	1.46;

1.46
date	2003.05.07.00.12.29;	author kris;	state Exp;
branches;
next	1.45;

1.45
date	2003.04.11.00.13.06;	author alane;	state Exp;
branches;
next	1.44;

1.44
date	2003.03.07.06.12.56;	author ade;	state Exp;
branches;
next	1.43;

1.43
date	2003.02.06.16.45.11;	author alane;	state Exp;
branches;
next	1.42;

1.42
date	2003.01.12.17.48.19;	author alane;	state Exp;
branches;
next	1.41;

1.41
date	2002.11.03.13.17.17;	author alane;	state Exp;
branches;
next	1.40;

1.40
date	2002.11.01.13.09.32;	author alane;	state Exp;
branches;
next	1.39;

1.39
date	2002.11.01.04.17.51;	author alane;	state Exp;
branches;
next	1.38;

1.38
date	2002.07.27.06.29.13;	author alane;	state Exp;
branches;
next	1.37;

1.37
date	2002.06.20.00.25.43;	author alane;	state Exp;
branches;
next	1.36;

1.36
date	2002.05.08.18.50.07;	author nbm;	state Exp;
branches;
next	1.35;

1.35
date	2002.03.23.10.04.29;	author nbm;	state Exp;
branches;
next	1.34;

1.34
date	2002.02.05.20.26.09;	author nbm;	state Exp;
branches;
next	1.33;

1.33
date	2002.01.29.12.08.37;	author knu;	state Exp;
branches;
next	1.32;

1.32
date	2001.10.19.21.09.35;	author nbm;	state Exp;
branches;
next	1.31;

1.31
date	2001.09.10.08.52.19;	author nbm;	state Exp;
branches;
next	1.30;

1.30
date	2001.08.04.17.28.59;	author nbm;	state Exp;
branches;
next	1.29;

1.29
date	2001.07.25.23.32.57;	author vanilla;	state Exp;
branches;
next	1.28;

1.28
date	2001.07.04.20.52.41;	author olgeni;	state Exp;
branches;
next	1.27;

1.27
date	2001.05.03.10.23.54;	author nbm;	state Exp;
branches;
next	1.26;

1.26
date	2001.05.03.10.14.53;	author nbm;	state Exp;
branches;
next	1.25;

1.25
date	2001.03.31.12.12.26;	author nbm;	state Exp;
branches;
next	1.24;

1.24
date	2001.03.10.12.22.14;	author olgeni;	state Exp;
branches;
next	1.23;

1.23
date	2001.03.08.11.55.18;	author olgeni;	state Exp;
branches;
next	1.22;

1.22
date	2001.03.06.22.30.21;	author olgeni;	state Exp;
branches;
next	1.21;

1.21
date	2001.03.04.10.32.18;	author nbm;	state Exp;
branches;
next	1.20;

1.20
date	2001.01.29.14.52.23;	author nbm;	state Exp;
branches;
next	1.19;

1.19
date	2001.01.18.13.35.17;	author nbm;	state Exp;
branches;
next	1.18;

1.18
date	2000.12.20.11.54.42;	author nbm;	state Exp;
branches;
next	1.17;

1.17
date	2000.10.14.23.33.12;	author nbm;	state Exp;
branches;
next	1.16;

1.16
date	2000.09.19.14.25.24;	author nbm;	state Exp;
branches;
next	1.15;

1.15
date	2000.09.15.14.19.36;	author nbm;	state Exp;
branches;
next	1.14;

1.14
date	2000.09.07.11.04.44;	author nbm;	state Exp;
branches;
next	1.13;

1.13
date	2000.09.06.22.12.33;	author nbm;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.15.14.09.41;	author nbm;	state Exp;
branches;
next	1.11;

1.11
date	2000.08.08.20.01.47;	author nbm;	state Exp;
branches;
next	1.10;

1.10
date	2000.08.08.18.10.52;	author nbm;	state Exp;
branches;
next	1.9;

1.9
date	2000.08.05.05.02.53;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2000.07.05.12.37.06;	author tg;	state Exp;
branches;
next	1.7;

1.7
date	2000.06.20.02.16.42;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2000.05.29.02.49.51;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.10.00.07.29;	author cpiazza;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.16.00.00.02;	author mharo;	state Exp;
branches;
next	1.3;

1.3
date	2000.02.13.17.09.11;	author dirk;	state Exp;
branches;
next	1.2;

1.2
date	99.11.28.22.34.09;	author billf;	state Exp;
branches;
next	1.1;

1.1
date	99.11.01.02.40.07;	author steve;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.11.01.02.40.07;	author steve;	state Exp;
branches;
next	;


desc
@@


1.80
log
@SVN rev 300956 on 2012-07-16 17:04:29Z by rm

- remove expired ports
  * lang/python24 and lang/python25: unmaintained upstream
  * www/zope and www/zope211: unmaintained upstream (the only
    consumers of python24)
- clean-up python versions < 2.6 from lang/python-doc-html
- clean-up python24/25 from Mk/bsd.ports.mk
- add www/zope213 glue to bsd.python.mk
- clean-up zope versions != 2.13 from bsd.python.mk

Submitted by:	miwi (based on)
Approved by:	portmgr (miwi)
@
text
@# New ports collection makefile for:	Zope
# Date created:         Sat 21 Aug 1999
# Whom:                 Peter Cornelius <pcc@@gmx.net>
#
# $FreeBSD: ports/www/zope/Makefile,v 1.79 2009/12/17 23:32:39 pgollucci Exp $
#

PORTNAME=	zope
PORTVERSION=	2.7.9
PORTREVISION=	3
CATEGORIES=	www python zope
MASTER_SITES=	http://www.zope.org/Products/Zope/Zope-${PORTVERSION}/:src \
		http://www.zope.org/Products/Zope/Hotfix-2007-03-20/Hotfix-20070320/:hotfix
DISTFILES=	Zope-${PORTVERSION}-final.tgz:src \
		${HOTFIX}.tgz:hotfix

MAINTAINER=	estartu@@augusta.de
COMMENT=	An object-based web application platform

WRKSRC=		${WRKDIR}/Zope-${PORTVERSION}-final
USE_PYTHON=	2.4
USE_RC_SUBR=	${PORTNAME}
DIST_SUBDIR=	zope
HOTFIX=		Hotfix_20070320

# Note: the notes that follow reflect the decisions of prior maintainers
# of this port. IOW, don't blame me if you don't like the way it's done.
# Exceptions to this are marked as such.

# Change these, if you like, via the environment.
ZOPE_USER?=		www
WEBBASEDIR?=		www
SZOPEBASEDIR?=		${WEBBASEDIR}/Zope

# Do not change anything below this line.

.if defined(INSTANCENAME)
ZOPEINSTANCENAME=	${INSTANCENAME}
.endif

ZOPEBASEDIR=		${PREFIX}/${SZOPEBASEDIR}
ZOPEINSTANCEBASE?=	${PREFIX}/${SZOPEBASEDIR}
ZOPEINSTANCEDIR?=	${ZOPEINSTANCEBASE}/${ZOPEINSTANCENAME}

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${ZOPEBASEDIR}

USE_GMAKE=	yes
ALL_TARGET=	build
MAKEFILE=	makefile

PLIST_SUB=	ZOPEBASEDIR=${SZOPEBASEDIR}
CONFIG_SUB=	ZOPEBASEDIR=${ZOPEBASEDIR} \
		ZOPE_USER=${ZOPE_USER} \
		ZOPEINSTANCEDIR=${ZOPEINSTANCEDIR}
PKGMESSAGE=	${WRKDIR}/pkg-message

.if defined(BATCH)
ISBATCH=	-u admin:test123
.else
ISBATCH=	""
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\).*"$$,\1${PYTHON_PORTVERSION}",g' \
		-e 's,^\(TARGET="\).*"$$,\1${PYTHON_PORTVERSION}",g' \
		-e 's,^\(EXENAMES="\).*"$$,\1${PYTHON_VERSION}",g' \
		${WRKSRC}/configure

post-build:
	-${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}/${HOTFIX}

post-install:
	@@${CP} -R ${WRKDIR}/${HOTFIX} ${ZOPEBASEDIR}/lib/python/Products/
	@@${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in ${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
	@@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.in \
		> ${PKGMESSAGE}
	@@${MKDIR} ${ZOPEBASEDIR}/Products
	@@${CP} ${FILESDIR}/Products_00readme-freebsd.txt ${ZOPEBASEDIR}/Products/00readme-freebsd.txt
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_MSG}

instance:
	@@${ZOPEBASEDIR}/bin/mkzopeinstance.py -d ${ZOPEINSTANCEDIR} ${ISBATCH}
	@@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/zope.conf_changes | \
		${PATCH} ${ZOPEINSTANCEDIR}/etc/zope.conf.sample
	@@${RM} ${ZOPEINSTANCEDIR}/etc/zope.conf.sample.orig
	@@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/var
	@@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/log
	@@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/instance_message
	@@${RM} -f ${ZOPEBASEDIR}/bin/copyzopeskel.pyc

zeo:
	@@${ZOPEBASEDIR}/bin/mkzeoinstance.py ${ZOPEINSTANCEDIR}
	@@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/var
	@@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/log
	@@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/zeo_message

pre-package:
	@@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.package.in \
		> ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.79
log
@- USE_RC_SUBR != yes

PR:             ports/136855
Approved by:    maintainer timeout (estartu@@augusta.de, > 5 months)
Submitted by:   myself (pgollucci@@)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.78
log
@- HotFix for vulnerability http://VuXML.FreeBSD.org/34414a1e-e377-11db-b8ab-000c76189c4c.html

PR:		ports/132383
Submitted by:	Gerhard Schmidt <estartu@@augusta.de> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	2
d22 1
a22 1
USE_RC_SUBR=	yes
a52 2
RC_SCRIPTS_SUB=	PREFIX=${PREFIX} \
		RC_SUBR=${RC_SUBR}
a77 6
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/zope.sh > ${PREFIX}/etc/rc.d/zope.sh
	@@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zope.sh
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/zeo.sh > ${PREFIX}/etc/rc.d/zeo.sh
	@@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zeo.sh
@


1.77
log
@- This port has been FORBIDDEN for more than 6 months.  Set to expire in one
  month, unless fixed.
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
a13 1
		http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/:hotfix
d15 1
a15 1
		${HOTFIX}.tar.gz:hotfix
d21 1
a21 1
USE_PYTHON=	2.3
d24 1
a24 5
HOTFIX=		Hotfix_20060821

FORBIDDEN=	contains cross-site scripting vulnerability http://VuXML.FreeBSD.org/34414a1e-e377-11db-b8ab-000c76189c4c.html
DEPRECATED=	has been forbidden for more than 6 months
EXPIRATION_DATE=2009-01-19
@


1.76
log
@Reference the VuXML entry for the FORBIDDEN reason.

With hat:	secteam
@
text
@d27 2
@


1.75
log
@Mark FORBIDDEN due to cross-site scripting vulnerability.

PR:		111119
Submitted by:	Yasushi Hayashi<yasi@@yasi.to>
@
text
@d26 1
a26 1
FORBIDDEN=	contains cross-site scripting vulnerability
@


1.74
log
@- Fix security issue
- Bump PORTREVISION

PR:		ports/106505
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
Approved by:	erwin (mentor),
		Gerhard Schmidt <estartu@@augusta.de> (maintainer)
Security:	http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/README.txt
@
text
@d26 2
@


1.73
log
@Update to 2.7.9

PR:		ports/100249
Approved by:	maintainer
Security:	CVE-2006-3458
@
text
@d10 1
d12 4
a15 3
MASTER_SITES=	http://www.zope.org/Products/Zope/Zope-${PORTVERSION}/
DISTNAME=	Zope-${PORTVERSION}-final
EXTRACT_SUFX=	.tgz
d20 1
d24 1
d72 3
d76 1
@


1.72
log
@Remove USE_REINPLACE from categories starting with W
@
text
@d9 1
a9 2
PORTVERSION=	2.7.8
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
@


1.71
log
@Handle a change in rc.subr. Nowadays, "faststart" is used instead of
"start" when booting, since there's no need to waste time checking for
running processes when the OS is starting up.

Bumping portrevision.

PR:		90904
Approved by:	maintainer
@
text
@a20 1
USE_REINPLACE=	yes
@


1.70
log
@- Update to 2.7.8
- Fix HotFix 2005-10-09

PR:		ports/87558
Submitted by:	maintainer
Security:	d2b80c7c-3aae-11da-9484-00123ffe8333
@
text
@d10 1
@


1.69
log
@- Update to 2.7.7

PR:		ports/83377
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
Approved by:	Gerhard Schmidt <estartu@@augusta.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.7
@


1.68
log
@Update to 2.7.6

PR:		ports/80476
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.7.6
@


1.67
log
@- Update to 2.7.5

PR:		ports/79812
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
Approved by:	Gerhard Schmidt <estartu@@augusta.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.5
d11 1
a11 2
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/ \
		http://www.zope.org/Products/Zope/Hotfix-2005-04-05/Hotfix-20050405/
d13 1
a13 2
DISTFILES=	Zope-${PORTVERSION}-final.tgz \
		Hotfix_20050405.tar.gz
a68 3
post-build:
	-@@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}/Hotfix_20050405/

a69 1
	@@${CP} -Rp ${WRKDIR}/Hotfix_20050405 ${ZOPEBASEDIR}/lib/python/Products/
@


1.66
log
@- Update to 2.7.4

PR:		ports/77633
Submitted by:	Gerhard Schmidt <estartu@@augusta.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.4
d11 5
a15 3
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
DISTNAME=	Zope-${PORTVERSION}-0
EXTRACT_SUFX=	.tgz
d71 3
d75 1
@


1.65
log
@The py-xml package is no longer needed by zope.

PR: ports/75843
Submitted by: maintainer
Approved by: linimon (portmgr)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.3
@


1.64
log
@BROKEN: Broken dependency

Approved by:    portmgr (self)
@
text
@a17 4
BUILD_DEPENDS+=	${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_xmlplus/sax/expatreader.py:${PORTSDIR}/textproc/py-xml

BROKEN=		Broken dependency

@


1.63
log
@Don't use Python 2.4 as the upstream maintainer say he will not
support 2.4 in Zope 2.7 branch.

Submitted by:	maintainer
@
text
@d20 2
@


1.62
log
@Fix build on Python 2.4.

Spotted by:	kris
@
text
@d20 1
a20 1
USE_PYTHON=	2.3-
@


1.61
log
@- Update to 2.7.3

PR:		ports/73969
Submitted by:	Gerhard Schmidt <estartu@@augusta.de> (maintainer)
@
text
@d20 1
a20 1
USE_PYTHON=	yes
d66 3
a68 1
	@@${REINPLACE_CMD} -e 's,^\(ACCEPTABLE="\)\(.*"\)$$,\1 2.3.4 \2,g' \
@


1.60
log
@- Update to 2.7.2
- Add special pkg-message to package to help with installation from package

PR:		ports/69476
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>,
		Gerhard Schmidt <estartu@@augusta.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	2.7.2
d76 3
d93 6
@


1.59
log
@Upgrade to 2.7.1.

PR:		ports/68408
Submitted by:	HAYASHI Yasushi
Approved by:	maintainer.
@
text
@d9 1
a9 1
PORTVERSION=	2.7.1
d11 2
a12 2
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/${PORTVERSION}/
DISTNAME=	Zope-${PORTVERSION}
a23 1
WRKSRC=		${WRKDIR}/${DISTNAME}-0
d77 1
d89 5
@


1.58
log
@Allow Python 2.3.4 to use for Zope.

Spotted by:	kris
@
text
@d9 1
a9 2
PORTVERSION=	2.7.0
PORTREVISION=	1
d24 1
d58 1
d72 2
a73 1
	@@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} pkg-message
d78 2
@


1.57
log
@- Improve instance treatments and its startup scripts.
- Change global products directory location.

PR:		65760
Submitted by:	maintainer
@
text
@d23 1
d64 4
@


1.56
log
@Assign maintainership to Gerhard Schmidt who have sent previous
update PR.

Submitted by:	Gerhard Schmidt <estartu@@augusta.de>
@
text
@d10 1
d22 1
a28 3
# Build has to be done in the final location after installing the sources
# there. It was a major action to fix all paths otherwise.

d30 1
a32 3
SCGIBINDIR?=		${WEBBASEDIR}/cgi-bin
SAPACHE_CONFDIR?=	etc/apache
ZOPE_USER?=		www
d36 7
a42 1
ZOPEBASEDIR=	${PREFIX}/${SZOPEBASEDIR}
d52 5
d65 6
a70 2
	@@${MV} ${PREFIX}/${SZOPEBASEDIR}/skel/etc/zope.conf.in ${PREFIX}/${SZOPEBASEDIR}/skel/etc/zope.conf.sample.in
	@@${SED} -e "s|%%ZOPEBASEDIR%%|${ZOPEBASEDIR}|g" < pkg-message
d73 7
a79 8
	@@${PREFIX}/${SZOPEBASEDIR}/bin/mkzopeinstance.py -d ${ZOPEBASEDIR} ${ISBATCH}
	@@${CAT} ${FILESDIR}/zope.conf_changes | \
		${SED} "s/@@@@@@ZOPE_USER@@@@@@/${ZOPE_USER}/g" | \
		${PATCH} ${ZOPEBASEDIR}/etc/zope.conf.sample
	@@${RM} ${ZOPEBASEDIR}/etc/zope.conf.sample.orig
	@@${CHOWN} ${ZOPE_USER} ${ZOPEBASEDIR}/var
	@@${CHOWN} ${ZOPE_USER} ${ZOPEBASEDIR}/log
	@@${SED} -e "s|%%ZOPEBASEDIR%%|${ZOPEBASEDIR}|g"  < ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
@


1.55
log
@- Update to 2.7.0

PR:		ports/63265
Submitted by:	Gerhard Schmidt <estartu@@augusta.de>
Approved by:	crowds on python@@ via perky (in general)
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.54
log
@Drop maintainership.
@
text
@d9 1
a9 2
PORTVERSION=	2.6.2
PORTREVISION=	1
d11 2
a12 2
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
DISTNAME=	Zope-${PORTVERSION}-src
d18 2
a20 2
PYTHON_VERSION?=python2.1

a28 1
do-build:	# empty, but needs to be there for the python dependency.
d35 1
a35 3
ZOPE_HTTP_PORT?=	8080
ZOPE_FTP_PORT?=		8021
ZOPE_MONITOR_PORT?=	''
d37 1
a37 2
ZOPE_USER?=	www
SUPER_USER?=	root
a38 1
# Don't change these.
a39 2
CGIBINDIR=	${PREFIX}/${SCGIBINDIR}
APACHE_CONFDIR=	${PREFIX}/${SAPACHE_CONFDIR}
d41 28
a68 98
PLIST_SUB=	ZOPEBASEDIR=${SZOPEBASEDIR} \
		CGIBINDIR=${SCGIBINDIR} \
		APACHE_CONFDIR=${SAPACHE_CONFDIR} \
		VERSION=${PORTVERSION} \
		WEBBASEDIR=${WEBBASEDIR}

# Force the cgi-bin dir or link to exist.
# If we have to create it, call it -dist to emphasize that the port
# set it up. <alane>

pre-install:
	PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL

# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. I can use Zope's own building
# mechanism.
do-install:
	@@if test ! -d ${CGIBINDIR}; then \
		${ECHO_CMD} "The directory for Zope's CGI scripts does"\
			"not exist, so I will create it.";\
		${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
		${ECHO_CMD} ;\
		${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi
	@@if [ -e ${ZOPEBASEDIR}/var/Data.fs ] ; then \
		${ECHO} "Saving existing Database to ${ZOPEBASEDIR}/var/Data.fs.preserve." ; \
		${MV} ${ZOPEBASEDIR}/var/Data.fs ${ZOPEBASEDIR}/var/Data.fs.preserve; \
	fi
	@@#
	@@${MKDIR} ${ZOPEBASEDIR}
	@@${ECHO} "===>   Please be patient, some builds need their time."
	@@${ECHO} "===>   Copying..."
	@@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
	#
	# Copying some patches
	#
	#@@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
	@@#
	@@${CHMOD} -R u+w ${ZOPEBASEDIR}
	@@(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
	@@${CHMOD} -R u+w ${ZOPEBASEDIR}
	@@(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
	@@(cd ${ZOPEBASEDIR} && \
		${MV} Zope.cgi Zope.cgi.orig ; \
		${ECHO_CMD} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
		${CAT} Zope.cgi.orig >> Zope.cgi ; \
		${RM} Zope.cgi.orig )
	@@(cd ${ZOPEBASEDIR}/pcgi/Test && ${RM} *.o)
	@@(cd ${ZOPEBASEDIR}/pcgi && ${RM} *.o)
	@@#
	@@(cd ${ZOPEBASEDIR} && \
		${MV} Zope.cgi \
			pcgi/pcgi-wrapper \
			${CGIBINDIR} )
	@@(cd ${CGIBINDIR} && \
		${CHMOD} 555 Zope.cgi pcgi-wrapper )
	@@${RM} -rf ${ZOPEBASEDIR}/lib/python/build/
	@@#
	@@${ECHO} "===>   Fixing permissions of Zope's own var directory..."
	@@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
	@@${CHOWN} ${SUPER_USER} ${ZOPEBASEDIR}/var
	@@${CHOWN} ${ZOPE_USER} ${ZOPEBASEDIR}/var/*
	@@${RM} ${ZOPEBASEDIR}/var/.cvsignore
	@@if [ -e ${ZOPEBASEDIR}/var/Data.fs.preserve ] ; then \
		${ECHO} "Restoring existing Database from ${ZOPEBASEDIR}/var/Data.fs.preserve." ; \
		${MV} ${ZOPEBASEDIR}/var/Data.fs.preserve ${ZOPEBASEDIR}/var/Data.fs; \
	fi
	@@#
	@@if [ ! -f ${ZOPEBASEDIR}/access ]; then \
		${ECHO} "===>   Setting user/password to zopemaster/test..."; \
		(cd ${ZOPEBASEDIR} && \
			${PYTHON_CMD} zpasswd.py -u zopemaster \
				-p test -e CLEARTEXT access ); \
	fi
	@@#
	@@${CHOWN} ${ZOPE_USER} ${ZOPEBASEDIR}/access
	@@#
	@@${ECHO} "===>   Copying Apache config file changes to ${APACHE_CONFDIR}/apache.conf.Zope-Changes."
	@@${MKDIR} ${APACHE_CONFDIR}
	@@${CP} -p ${FILESDIR}/apache.conf.Zope-Changes ${APACHE_CONFDIR}/
	@@#
	@@${ECHO} "===>   Please have a look at this file and the instructions"
	@@${ECHO} "===>   therein and incorporate them to your apache.conf."
	@@${ECHO} "===>   Creating rc startup file for Zope-${PORTVERSION}..."
	@@${MKDIR} ${PREFIX}/etc/rc.d
	@@${SED} -e "s|%%ZOPEBASEDIR%%|${ZOPEBASEDIR}|g" \
	        -e "s|%%CGIBINDIR%%|${CGIBINDIR}|g" \
	        -e "s|%%ZOPE_USER%%|${ZOPE_USER}|g" \
		-e "s|%%ZOPE_HTTP_PORT%%|${ZOPE_HTTP_PORT}|g" \
		-e "s|%%ZOPE_FTP_PORT%%|${ZOPE_FTP_PORT}|g" \
		-e "s|%%ZOPE_MONITOR_PORT%%|${ZOPE_MONITOR_PORT}|g" \
		< ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh.sample
	@@${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh.sample
	@@${ECHO} "===>  Done with ${PREFIX}/etc/rc.d/zope.sh.sample."
	@@${CAT} ${FILESDIR}/Message
	@@${ECHO} "===>   Your Zope base directory is ${ZOPEBASEDIR}."
	@@${ECHO} "===>   The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt."
	@@${ECHO} "===>   For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-Changes."
	@@${ECHO} "===>   Zope.cgi and pcgi-wrapper live in ${CGIBINDIR}."
@


1.53
log
@Upgrade www/zope to version 2.6.2

PR:		59000
Submitted by:	Osma Suominen <ozone@@sange.fi>
@
text
@d16 1
a16 1
MAINTAINER=	nbm@@FreeBSD.org
@


1.52
log
@Don't list Data.fs, as it's precious and should not be overwritten when
a package update is done.  Also, install zope.sh.sample, and copy it to
zope.sh if zope.sh doesn't already exist.
@
text
@d9 1
a9 1
PORTVERSION=	2.6.1
d41 2
a42 1
ZOPE_USER=	www
d108 1
a108 1
	@@${CHOWN} root ${ZOPEBASEDIR}/var
@


1.51
log
@Port isn't broken, and claim maintainership.
@
text
@d138 3
a140 3
		< ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
	@@${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh
	@@${ECHO} "===>  Done with ${PREFIX}/etc/rc.d/zope.sh."
@


1.50
log
@BROKEN: Does not build
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
a17 2

BROKEN=		Does not build
@


1.49
log
@update www/zope: allow zope to build with other python versions

PR:		54243
Submitted by:	Tim Middleton <x@@vex.net>
@
text
@d19 2
@


1.48
log
@Change python dependency to 2.1 as the documentation recommends.

PR:		53313
Submitted by:	"Miguel Mendez" <flynn@@energyhq.es.eu.org>
@
text
@d20 1
a20 1
PYTHON_VERSION=	python2.1
@


1.47
log
@Upgrade to 2.6.1

PR:		52038
Submitted by:	Miguel Mendez <flynn@@energyhq.es.eu.org>
@
text
@d10 1
d20 1
a20 1
PYTHON_VERSION=	python2.2
@


1.46
log
@BROKEN: Does not compile
@
text
@d9 1
a9 2
PORTVERSION=	2.6.0
PORTREVISION=	1
d15 2
a16 4
MAINTAINER=	freebsd-ports@@FreeBSD.org
COMMENT=	An object-based web application platform with DB access, WebDAV, & more

BROKEN=		"Does not compile"
d19 1
a19 1
PYTHON_VERSION=	python2.1
d102 1
d106 1
a106 1
	@@${CHOWN} ${ZOPE_USER} ${ZOPEBASEDIR}/var
@


1.45
log
@I just don't have the time to maintain this and all its issues.
@
text
@d19 2
@


1.44
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d16 1
a16 1
MAINTAINER=	alane@@FreeBSD.org
@


1.43
log
@restore python21 dependency that was lost in upgrade
@
text
@d17 1
@


1.42
log
@Updated to 2.6.0. Simon, you forgot to remove the temp files before making
the plist ;)

PR:		46168
Submitted by:	Simon 'corecode' Schubert <corecode@@eikonww2.eikon.e-technik.tu-muenchen.de>
@
text
@d10 1
d19 1
@


1.41
log
@Create the cgi-bin dir for Zope's cgi scripts if it doesn't exist, rather
than just bomb.
@
text
@d9 1
a9 2
PORTVERSION=	2.5.1
PORTREVISION=	2
a17 1
PYTHON_VERSION=	python2.1
a54 8
pre-everything: 
	@@if test ! -d ${CGIBINDIR}; then \
		${ECHO_CMD} "The directory for Zope's CGI scripts does"\
			"not exist, so I will create it.";\
		${ECHO_CMD} "They will be placed in ${CGIBINDIR}.";\
		${ECHO_CMD} ;\
		${MKDIR} ${CGIBINDIR}; ${CHMOD} 0755 ${CGIBINDIR}; fi

d62 6
@


1.40
log
@Remove the StUdLyCaPs from maintainer name, 'cause some folks won't realize
mail's case insensitive and will try to type that. Sorry folks, purely a
cosmetic change here, nothing to see, move along, move along....
@
text
@d21 1
a21 1
#RUN_DEPENDS=	${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
d23 3
a25 1
DIST_SUBDIR=	zope
d54 4
a57 1
pre-everything:
d59 5
a63 12
	  ${ECHO_CMD} \
	    "============================================================";\
	  ${ECHO_CMD} \
	    "===> ${CGIBINDIR} does not exist.";\
	  ${ECHO_CMD} \
	    "===> Please create it (it can be a link to an existing";\
	  ${ECHO_CMD} \
	    "===> directory) and run ${MAKE} again.";\
	  ${ECHO_CMD} \
	    "============================================================";\
	  ${FALSE}; \
	fi
@


1.39
log
@Changed MAINTAINER to my FreeBSD address.
@
text
@d16 1
a16 1
MAINTAINER=	AlanE@@FreeBSD.org
@


1.38
log
@1. Use the link /usr/local/www/cgi-bin for installing the cgi scripts.
2. Maintainer changed to ports@@geeksrus.net (alane@@freebsd.org) due to
   maintainer timeouts on this port.
3. PORTREVISION bumped due to change in pkg-plist and install dirs.

PR:		39687
Submitted by:	ports@@geeksrus.net
Approved by:	will
@
text
@d16 1
a16 1
MAINTAINER=	ports@@geeksrus.net
@


1.37
log
@1. Redirect stderr to /dev/null as well as stdout in rc.d/zope.sh, so that
boot time startup does not fail.
2. Bump PORTREVSION (not in PR).

PR:		ports/37878
Submitted by:	alane
Reviewed by:	will
Approved by:	will
@
text
@d10 1
a10 1
PORTREVISION=	1
d16 1
a16 1
MAINTAINER=	nbm@@FreeBSD.org
d32 1
a32 1
SCGIBINDIR?=		${WEBBASEDIR}/cgi-bin.default
d51 16
a99 1
	@@${MKDIR} ${CGIBINDIR}
@


1.36
log
@Upgrade to Zope 2.5.1

PR:		ports/37763
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.35
log
@Implement the HotFix described at
http://www.zope.org/Products/Zope/Hotfix_2002-03-01/README.txt which
says:

``The issue involves the checking of security for objects with proxy
  roles. The context of the owner user that created the object with
  proxy roles was not being taken into account when determining access
  to the object with proxy roles. This flaw could allow users defined
  in subfolders of a site with sufficient privileges to access objects
  at higher levels in the site that they would not normally be able to
  access.''

PR:		36103
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
@
text
@d9 2
a10 2
PORTVERSION=	2.5.0
PORTREVISION=	1
d12 1
a12 2
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/ \
		http://www.zope.org/Products/Zope/Hotfix_2002-03-01/
d14 1
a14 6
DISTFILES=	${DISTNAME}.tgz \
		Hotfix_2002-03-01.tgz

PATCHFILES=	Zope-2.5.0-unix-security.patch
PATCH_DIST_STRIP=	-p1
PATCH_SITES=	http://www.zope.org/Members/zigg/UnixSecurityPatch/
a24 4
post-patch:
	@@${CP} -Rp ${WRKDIR}/lib ${WRKSRC}
	@@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;

d67 3
@


1.34
log
@Upgrade to 2.5.0 plus the security fix.

PR:		ports/34430
Submitted by:	HAYASHI Yasushi <yasi@@yasi.to>
@
text
@d10 1
a10 1
PORTREVISION=	0
d12 2
a13 1
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
d15 2
a16 1
EXTRACT_SUFX=	.tgz
d32 1
@


1.33
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d9 1
a9 1
PORTVERSION=	2.4.2
d14 5
a18 1
DISTFILES=	${DISTNAME}.tgz
d23 1
d29 3
d41 3
d45 1
a45 6
WHOAMI!=	id -un
.if ${WHOAMI} == "root"
NOBODY_USER?=	nobody
.else
NOBODY_USER?=	${WHOAMI}
.endif
d58 3
d98 2
a99 2
	@@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
	@@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
d113 1
a113 1
	@@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
d123 6
a128 1
	@@${SED} -e "s|%%ZOPEBASEDIR%%|${ZOPEBASEDIR}|g" -e "s|%%CGIBINDIR%%|${CGIBINDIR}|g" \
@


1.32
log
@Upgrade to 2.4.2
@
text
@d73 1
a73 1
		${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
@


1.31
log
@Upgrade to Zope 2.4.1.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.30 2001/08/04 17:28:59 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.4.1
d80 2
a81 2
	@@(cd ${ZOPEBASEDIR} ; \
		${INSTALL} -m 555 Zope.cgi \
d84 2
@


1.30
log
@Acqusition context checking hotfix

``The issue involves an error in the '_check_context' method of the
AccessControl.User.BasicUser class. The bug made it possible to access
Zope objects via acquisition that a user would not otherwise have access
to. This issue could allow users with enough internal knowledge of Zope
to perform actions higher in the object hierarchy than they should be
able to.''
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.29 2001/07/25 23:32:57 vanilla Exp $
d9 2
a10 2
PORTVERSION=	2.4.0
PORTREVISION=	1
d12 1
a12 2
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/ \
		http://www.zope.org/Products/Zope/Hotfix_2001-08-04/
d14 1
a14 2
DISTFILES=	${DISTNAME}.tgz \
		Hotfix_2001_08_04.tgz
d65 1
a65 1
	@@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@


1.29
log
@Upgrade to 2.4.0.

Approved by:	nbm
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.28 2001/07/04 20:52:41 olgeni Exp $
d10 4
a13 2
CATEGORIES=	www python
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
d15 2
a16 2
EXTRACT_SUFX=	.tgz
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
d67 1
a67 1
	@@${CP} -Rp ${WRKSRC}/lib ${ZOPEBASEDIR}/
@


1.28
log
@Update port to version 2.3.3.

Approved by:	nbm
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.27 2001/05/03 10:23:54 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.3.3
@


1.27
log
@Actually install the 2001-05-01 Hotfix.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.26 2001/05/03 10:14:53 nbm Exp $
d9 1
a9 2
PORTVERSION=	2.3.2
PORTREVISION=	0
d11 1
a11 2
MASTER_SITES=  http://www.zope.org/Products/Zope/${PORTVERSION}/ \
		http://www.zope.org/Products/Zope/Hotfix_2001-05-01/
d14 1
a14 2
DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} \
		Hotfix_2001-05-01.tgz
d65 1
a65 1
	@@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@


1.26
log
@Update to Zope 2.3.2 + Hotfix 2001-05-01
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.25 2001/03/31 12:12:26 nbm Exp $
d68 1
a68 1
	@@#${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@


1.25
log
@Upgrade to Zope 2.3.1!
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.24 2001/03/10 12:22:14 olgeni Exp $
d9 1
a9 1
PORTVERSION=	2.3.1
d12 2
a13 1
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
d16 2
a17 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@


1.24
log
@Apply Zope hotfix: Hotfix_2001-03-08

From the Zope site:

The issue involves an error in the 'aq_inContextOf' method of objects that
support acquisition. A recent change to the access validation machinery
made this bug begin to affect security restrictions. The bug, with the
change to validation, made it possible to access Zope objects via
acquisition that a user would not otherwise have access to. This issue
could allow users with enough internal knowledge of Zope to perform actions
higher in the object hierarchy than they should be able to.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.23 2001/03/08 11:55:18 olgeni Exp $
d9 2
a10 2
PORTVERSION=	2.3.0
PORTREVISION=	2
d12 1
a12 3
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/ \
		http://www.zope.org/Products/Zope/Hotfix_2001-02-23/ \
		http://www.zope.org/Products/Zope/Hotfix_2001-03-08/
d15 1
a15 3
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		Hotfix_2001-02-23.tgz \
		Hotfix_2001-03-08.tgz
d66 1
a66 1
	@@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@


1.23
log
@More plist and Makefile fixes.

* Removed "access" from pkg-plist, it contains password data that
  should be preserved (I forgot this last time!).

* In the "do-install" target, leave the "access" file unchanged if it
  already exists.

* Remove the pre-deinstall comment: Data.fs is already preserved by
  pkg_delete anyway.

* In the "install" target, use temporary file Data.fs.preserve to avoid
  overwriting Data.fs. "make deinstall/install" can now be safely used to
  perform upgrades.

* Don't leave .o files around anymore.

Approved by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.22 2001/03/06 22:30:21 olgeni Exp $
d10 1
a10 1
PORTREVISION=	1
d13 2
a14 1
		http://www.zope.org/Products/Zope/Hotfix_2001-02-23/
d18 2
a19 1
		Hotfix_2001-02-23.tgz
@


1.22
log
@Miscellaneous fixes.

* Changed the python15 dependency to USE_PYTHON=yes
* Replaced PYTHON15 with PYTHON_CMD from bsd.python.mk
* Added SAPACHE_CONFDIR, like the other Sxxx variables, to be used in the
  PLIST. APACHE_CONFDIR now depends on SAPACHE_CONFDIR
* Added APACHE_CONFDIR and WEBBASEDIR to PLIST_SUB
* Removed temporary file Zope.cgi.orig
* Removed .cvsignore from var/
* Added/removed some files to the PLIST
* Used @@unexec rmdir to remove shared directories from PLIST
* Removed the line with "grep". I didn't understand how it was supposed to
  work, I guess it should have been something like "cmp -s ...", but
  Data.fs cannot be equal to Data.fs.in anyway, because Zope adds some
  things to it the first time it's started (automatically imported
  packages from filesystem).
* Removed temporary files from var/ at deinstall time (*.tmp, *.lock, *.soc,
  *.pid)
* Sometimes the inituser file did not exist at deinstall time, so I
  deleted it with @@unexec. It won't be included by "make package".
* Added the Hotfix_2001-02-23 directory (@@dirrm)
* Used variables from PLIST_SUB instead of www and etc/apache (@@dirrm)

Approved by:		maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.21 2001/03/04 10:32:18 nbm Exp $
d56 3
a58 3
# since in there, Zope can live on its own. It does leave some *.o files
# around (about four), but I can use Zope's own building mechanism.
do-install:	#
d60 3
a62 3
		${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
		${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
		fi
d79 2
d93 11
a103 5
	@@#
	@@${ECHO} "===>   Setting user/password to zopemaster/test..."
	@@(cd ${ZOPEBASEDIR} && \
		${PYTHON_CMD} zpasswd.py -u zopemaster \
			-p test -e CLEARTEXT access )
a123 7

#pre-deinstall:	# Save Database contents. I expect /tmp to have sufficient
#		# space to hold it for the time being.
#		@@if [ -e ${ZOPEBASEDIR}/var/Data.fs ] ; then \
#			${ECHO} "Saving existing Database to /tmp/Data.fs.bak." ; \
#			${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.bak ; \
#			fi
@


1.21
log
@Apply a Zope hotfix, fixing a potential security problem.

From the Zope hotfix:

	This hotfix addresses and important security issue that affects Zope
	versions up to and including Zope 2.3.1 b1.

	The issue is related to ZClasses in that a user with through-the-web
	scripting capabilities on a Zope site can view and assign class
	attributes to ZClasses, possibly allowing them to make inappropriate
	changes to ZClass instances.

	This patch also fixes problems in the ObjectManager, PropertyManager,
	and PropertySheet classes related to mutability of method return values
	which could be perceived as a security problem.

	We *highly* recommend that any Zope site running versions of Zope up to
	and including 2.3.1 b1 have this hotfix product installed to mitigate
	these issues if the site is accessible by untrusted users who have
	through-the-web scripting privileges.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.20 2001/01/29 14:52:23 nbm Exp $
d21 1
a21 1
BUILD_DEPENDS=	python1.5:${PORTSDIR}/lang/python15
d28 1
a28 1
# there. It were a major action to fix all paths otherwise.
d32 4
a35 5
WEBBASEDIR?=	www
SZOPEBASEDIR?=	${WEBBASEDIR}/Zope
SCGIBINDIR?=	${WEBBASEDIR}/cgi-bin.default
APACHE_CONFDIR?=	${PREFIX}/etc/apache
PYTHON15?=	${LOCALBASE}/bin/python1.5
d47 1
d51 3
a53 1
		VERSION=${PORTVERSION}
d71 1
a71 1
	@@(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
d73 1
a73 1
	@@(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
d77 2
a78 1
		${CAT} Zope.cgi.orig >> Zope.cgi )
d90 1
d94 1
a94 1
		${PYTHON15} zpasswd.py -u zopemaster \
@


1.20
log
@Upgrade to Zope 2.3.0.  It requires the recent change to python15 for
the 'new' module.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.19 2001/01/18 13:35:17 nbm Exp $
d10 1
a10 1
PORTREVISION=	0
d12 2
a13 1
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
d16 2
a17 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
d66 1
@


1.19
log
@Update to Zope 2.2.5
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.18 2000/12/20 11:54:42 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.2.5
a27 5

# The web server's "root" directory used to be ${PREFIX}/www, and from
# then on, data, cgi-bin and such. Thus, I decided that Zope belongs
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
@


1.18
log
@Upgrade to Zope 2.2.4, with 2000-12-08, 2000-12-15a, and 2000-12-18
security hotfixes.

All Zope users are encouraged to upgrade, or apply the hotfixes
themselves.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.17 2000/10/14 23:33:12 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.2.4
d12 1
a12 4
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/ \
		http://www.zope.org/Products/Zope/Hotfix_2000-12-08/ \
		http://www.zope.org/Products/Zope/Hotfix_2000-12-15a/ \
		http://www.zope.org/Products/Zope/Hotfix_2000-12-18/
d15 1
a15 4
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		Hotfix_2000-12-08.tgz \
		Hotfix_2000-12-15a.tgz \
		Hotfix_2000-12-18.tgz
a68 1
	@@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@


1.17
log
@Add two security hotfixes for Zope - more complex Zope internals stuff
which allows people who may edit DTML to gain higher privilege, and
those who have higher privilege in some areas of the Zope tree to gain
it in other areas.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.16 2000/09/19 14:25:24 nbm Exp $
d9 2
a10 2
PORTVERSION=	2.2.2
PORTREVISION=	1
d13 3
a15 2
		http://www.zope.org/Products/Zope/Hotfix_2000-10-02/ \
		http://www.zope.org/Products/Zope/Hotfix_2000-10-11/
d19 3
a21 2
		Hotfix_2000-10-02.tar.gz \
		Hotfix_2000-10-11.tgz
@


1.16
log
@Upgrade to Zope 2.2.2

Also allow zope to be installed by non-root.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.15 2000/09/15 14:19:36 nbm Exp $
d10 1
d12 3
a14 1
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
d17 3
d27 2
d73 1
d109 1
a109 1
	@@${MKDIR} -p ${PREFIX}/etc/rc.d
@


1.15
log
@Zope depends on python 1.5.2, and that is installed from lang/python15
now.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.14 2000/09/07 11:04:44 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.2.1
d37 7
d60 1
a60 1
	#
d65 6
a70 4
	#
	@@(cd ${ZOPEBASEDIR} ; \
		${PYTHON15} w_pcgi.py ; \
		${PYTHON15} wo_pcgi.py ; \
d74 1
a74 1
	#
d77 1
a77 1
		${INSTALL} -o nobody -m 555 Zope.cgi \
d80 1
a80 1
	#
d83 3
a85 3
	@@${CHOWN} nobody ${ZOPEBASEDIR}/var
	@@${CHOWN} nobody ${ZOPEBASEDIR}/var/*
	#
d90 3
a92 3
	#
	@@${CHOWN} nobody ${ZOPEBASEDIR}/access
	#
d96 1
a96 1
	#
d100 1
@


1.14
log
@Fix numerous bugs in my upgrading to 2.2.1.

It may even work out the box now.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.13 2000/09/06 22:12:33 nbm Exp $
d17 1
a17 1
BUILD_DEPENDS=	python1.5:${PORTSDIR}/lang/python
@


1.13
log
@Update to Zope 2.2.1.

Zope shutdown bug fixed.
Reported by:	Marc Rassbach <marc@@milestonerdl.com>
Reported by:	Jimmy Olgeni <olgeni@@uli.it>

Zope startup bug fixed (I think).
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.12 2000/08/15 14:09:41 nbm Exp $
d30 4
a33 3
WEBBASEDIR?=	${PREFIX}/www
ZOPEBASEDIR?=	${WEBBASEDIR}/Zope
CGIBINDIR?=	${PREFIX}/www/cgi-bin.default
d37 6
a42 2
PLIST_SUB=	ZOPEBASEDIR=${ZOPEBASEDIR} \
		CGIBINDIR=${CGIBINDIR} \
d53 1
d58 1
d65 1
d71 1
d73 3
a75 3
	@@${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
	@@${CHOWN} nobody ${ZOPEBASDIR}/var
	@@${CHOWN} nobody ${ZOPEBASDIR}/var/*
@


1.12
log
@Update to 2.2.1b1, since there is a minor security problem in anything
beforehand.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.11 2000/08/08 20:01:47 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.2.1b1
d18 1
d29 1
a29 1
PLIST_SUB=	ZOPEBASEDIR=www/Zope CGIBINDIR=www/cgi-bin.default VERSION=${PORTVERSION}
d32 1
a32 1
CGI_BIN_DIR?=	${PREFIX}/www/cgi-bin.default
d36 4
d44 9
a52 9
		@@if [ -e ${ZOPEBASEDIR}/var/Data.fs ] ; then \
			${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
			${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
			fi
		@@( ${MKDIR} ${ZOPEBASEDIR} ; \
		${ECHO} "===>   Please be patient, some builds need their time." ; \
		${ECHO} "===>   Copying..." ; \
		${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/ ; \
		cd ${ZOPEBASEDIR} ; \
d56 35
a90 26
		${ECHO} "#! ${CGI_BIN_DIR}/pcgi-wrapper" > Zope.cgi ; \
		${CAT} Zope.cgi.orig >> Zope.cgi ; \
		${MKDIR} ${CGI_BIN_DIR} ; \
		${INSTALL} -o nobody -m 555 Zope.cgi pcgi/pcgi-wrapper ${CGI_BIN_DIR} ; \
		${ECHO} "===>   Fixing permissions of Zope's own var directory..." ; \
		${CHMOD} ugo+rwt var ; \
		${CHOWN} nobody var ; \
		${CHOWN} nobody var/* ; \
		${ECHO} "===>   Setting user/password to zopemaster/test..." ; \
		${PYTHON15} zpasswd.py -u zopemaster -p test -e CLEARTEXT access ; \
		${CHOWN} nobody access; \
		${ECHO} "===>   Copying Apache config file changes to ${APACHE_CONFDIR}/apache.conf.Zope-Changes." ; \
		${MKDIR} ${APACHE_CONFDIR} ; \
		${CP} -p ${FILESDIR}/apache.conf.Zope-Changes ${APACHE_CONFDIR}/ ; \
		${ECHO} "===>   Please have a look at this file and the instructions" ; \
		${ECHO} "===>   therein and incorporate them to your apache.conf." ; \
		${ECHO} "===>   Creating rc startup file for Zope-${PORTVERSION}..." ; \
		${SED} -e "s|%%ZOPEBASEDIR%%|${ZOPEBASEDIR}|g" -e "s|%%CGI_BIN_DIR%%|${CGI_BIN_DIR}|g" \
			< ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh; \
		${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh ; \
		${ECHO} "===>  Done with ${PREFIX}/etc/rc.d/zope.sh." ; \
		${CAT} ${FILESDIR}/Message ; \
		${ECHO} "===>   Your Zope base directory is ${ZOPEBASEDIR}." ; \
		${ECHO} "===>   The Zope license is in ${ZOPEBASEDIR}/LICENSE.txt." ; \
		${ECHO} "===>   For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-Changes." ; \
		${ECHO} "===>   Zope.cgi and pcgi-wrapper live in ${CGI_BIN_DIR}." )
@


1.11
log
@Take over maintainership from Thomas for a while.

Approved by:	thomas@@hentschel.net (previous maintainer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.10 2000/08/08 18:10:52 nbm Exp $
d9 1
a9 1
PORTVERSION=	2.2.0
d18 1
a18 1
RUN_DEPENDS=	${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
d28 1
a28 1
PLIST_SUB=	ZOPEBASEDIR=www/Zope-${PORTVERSION} CGIBINDIR=share/apache/cgi-bin VERSION=${PORTVERSION}
d30 2
a31 2
ZOPEBASEDIR?=	${WEBBASEDIR}/Zope-${PORTVERSION}
CGI_BIN_DIR?=	${PREFIX}/share/apache/cgi-bin
d33 1
a33 1
PYTHON15?=	${PREFIX}/bin/python1.5
d53 1
d63 1
@


1.10
log
@Fix a type in the installation target

PR:		ports/20486
Submitted by:	thomas@@hentschel.net
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.9 2000/08/05 05:02:53 kris Exp $
d15 1
a15 1
MAINTAINER=	thomas@@hentschel.net
@


1.9
log
@Update to zope 2.2.0 to fix security hole.

Submitted by:	James Howard <howardjp@@wam.umd.edu>
PR:		20144
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.8 2000/07/05 12:37:06 tg Exp $
d67 1
a67 1
			< ${FILESDIR}/zope.sh.in > ${PREFIX}/etc.rc.d/zope.sh; \
@


1.8
log
@As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.7 2000/06/20 02:16:42 kris Exp $
d9 1
a9 1
PORTVERSION=	2.1.6
a15 2

FORBIDDEN=	"Contains security vulnerability - needs to have a hotfix applied. See http://www.zope.org/Products/Zope/Hotfix_06_16_2000/security_alert"
@


1.7
log
@Mark FORBIDDEN: someone needs to apply the hotfix as explained in the
commit.
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.6 2000/05/29 02:49:51 steve Exp $
d68 2
a69 3
		${ECHO} "#! /bin/sh" > ${PREFIX}/etc/rc.d/zope.sh ; \
		${ECHO} "${ZOPEBASEDIR}/start -w '' -f '' -m '' -p ${CGI_BIN_DIR}/Zope.cgi &" >> ${PREFIX}/etc/rc.d/zope.sh ; \
		${ECHO}	"echo -n \" Zope\"" >> ${PREFIX}/etc/rc.d/zope.sh ; \
@


1.6
log
@Update to version 2.1.6.

PR:		18444
Submitted by:	Thomas Hentschel <thomas@@hentschel.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.5 2000/04/10 00:07:29 cpiazza Exp $
d16 2
@


1.5
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/www/zope/Makefile,v 1.4 2000/02/16 00:00:02 mharo Exp $
d9 1
a9 2
PORTVERSION=	2.0.0b5
DISTNAME=	Zope-${VERSION}-src
d11 1
a11 1
MASTER_SITES=	http://www.zope.org/Products/Zope/${VERSION}/
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d56 2
d60 3
a62 2
		${ECHO} "===>   Copying Apache config file changes to ${APACHE_CONFDIR}/apache.conf.Zope-${PORTVERSION}-Changes." ; \
		${CP} -p ${FILESDIR}/apache.conf.Zope-${PORTVERSION}-Changes ${APACHE_CONFDIR}/ ; \
d74 1
a74 1
		${ECHO} "===>   For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-${PORTVERSION}-Changes." ; \
@


1.4
log
@PREFIX -> LOCALBASE (portlint)
@
text
@a1 1
# Version required:     2.0.1
d5 2
a6 1
# $FreeBSD: ports/www/zope/Makefile,v 1.3 2000/02/13 17:09:11 dirk Exp $
d8 2
a10 1
PKGNAME=	zope-${VERSION}
d13 1
d29 1
a29 2
VERSION=	2.0.0b5
PLIST_SUB=	ZOPEBASEDIR=www/Zope-${VERSION} CGIBINDIR=share/apache/cgi-bin VERSION=${VERSION}
d31 1
a31 1
ZOPEBASEDIR?=	${WEBBASEDIR}/Zope-${VERSION}
d59 2
a60 2
		${ECHO} "===>   Copying Apache config file changes to ${APACHE_CONFDIR}/apache.conf.Zope-${VERSION}-Changes." ; \
		${CP} -p ${FILESDIR}/apache.conf.Zope-${VERSION}-Changes ${APACHE_CONFDIR}/ ; \
d63 1
a63 1
		${ECHO} "===>   Creating rc startup file for Zope-${VERSION}..." ; \
d72 1
a72 1
		${ECHO} "===>   For Apache changes see ${APACHE_CONFDIR}/apache.conf.Zope-${VERSION}-Changes." ; \
@


1.3
log
@ports@@freebsd.org -> ports@@FreeBSD.org
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/zope/Makefile,v 1.2 1999/11/28 22:34:09 billf Exp $
d17 1
a17 1
RUN_DEPENDS=	${PREFIX}/sbin/apache:${PORTSDIR}/www/apache13-modssl
@


1.2
log
@(1) Look for ${PREFIX}/sbin/apache instead of apache.

Submitted by:	David Kirchner <dpk@@nwserv.com>

(2) Remove CHMOD definition, we already do it in bsd.port.mk
@
text
@d6 1
a6 1
# $FreeBSD: ports/www/zope/Makefile,v 1.1.1.1 1999/11/01 02:40:07 steve Exp $
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.ORG
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $FreeBSD$
d17 1
a17 1
RUN_DEPENDS=	apache:${PORTSDIR}/www/apache13-modssl
a33 1
CHMOD=	/bin/chmod
@


1.1.1.1
log
@Initial import of zope version 2.0.0b5.
An object-based web application platform with database access.

PR:		13324
Submitted by:	Peter Cornelius <pcc@@gmx.net>
@
text
@@
