First cut on an actual Zope pkg, which requires a thread enabled Python,
for which we only have a pth version. Needs Testing. Also needs some work for installation/startup scripts.
This commit is contained in:
parent
9168d2fc40
commit
79f41aa33d
6 changed files with 2341 additions and 0 deletions
9
www/zope25/DESCR
Normal file
9
www/zope25/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
Zope is a free, open source web application platform used for building
|
||||
high-performance, dynamic web sites.
|
||||
|
||||
The Zope architecture competes in the web application server market
|
||||
against products such as Cold Fusion, Silverstream, Netscape Application
|
||||
Server, and the like. These products are aimed at systems programmers
|
||||
and relational databases. Zope, however, contains a powerful and simple
|
||||
scripting object model and high-performance, integrated object database.
|
||||
Thus the term "platform".
|
52
www/zope25/Makefile
Normal file
52
www/zope25/Makefile
Normal file
|
@ -0,0 +1,52 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2002/08/22 16:54:48 drochner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= Zope-2.5.1-src
|
||||
PKGNAME= zope-2.5.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.zope.org/Products/Zope/2.5.1/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= packages@netbsd.org
|
||||
HOMEPAGE= http://www.zope.org/
|
||||
COMMENT= Zope, the Z Object Publishing Environment
|
||||
|
||||
DIST_SUBDIR= zope
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
HOTFIX= Hotfix_2002-06-14.tgz
|
||||
SITES_${HOTFIX}= http://www.zope.org/Products/Zope/Hotfix_2002-06-14/
|
||||
DISTFILES+= ${HOTFIX}
|
||||
|
||||
PYTHON_VERSIONS_ACCEPTED= 21pth
|
||||
USE_BUILDLINK_ONLY= yes
|
||||
|
||||
ZOPEDIR= ${PREFIX}/lib/zope
|
||||
ZOPEPY= pcgi lib/python ZServer z2.py zpasswd.py
|
||||
ZOPEDATA= Extensions doc import var inst utilities
|
||||
|
||||
#do-build:
|
||||
# (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} w_pcgi.py)
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC}/pcgi && ${SETENV} ${MAKE_ENV} ./configure && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE})
|
||||
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
${PYTHONBIN} inst/build_extensions.py)
|
||||
|
||||
#
|
||||
# Install code and prototype data. A real INSTANCE_HOME must be created
|
||||
# outside of ${PREFIX} to allow shared, read-only installations.
|
||||
#
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${ZOPEDIR}
|
||||
(cd ${WRKSRC}; ${FIND} ${ZOPEPY} -type f -and \! \( -name "*.[cho]" \
|
||||
-or -name "sedscript" -or -name "Makefile*" \
|
||||
-or -name "Setup*" -or -name ".cvsignore" \) \
|
||||
-print | ${PAX} -r -w ${ZOPEDIR})
|
||||
#install hotfix
|
||||
(cd ${WRKDIR}; ${PAX} -r -w lib ${ZOPEDIR})
|
||||
(cd ${ZOPEDIR}; ${PYTHONBIN} ${WRKSRC}/inst/compilezpy.py)
|
||||
(cd ${WRKSRC}; ${PAX} -r -w ${ZOPEDATA} ${ZOPEDIR})
|
||||
|
||||
.include "../../lang/python/application.buildlink.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
2248
www/zope25/PLIST
Normal file
2248
www/zope25/PLIST
Normal file
File diff suppressed because it is too large
Load diff
6
www/zope25/distinfo
Normal file
6
www/zope25/distinfo
Normal file
|
@ -0,0 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2002/08/22 16:54:49 drochner Exp $
|
||||
|
||||
SHA1 (zope/Zope-2.5.1-src.tgz) = 6ef5ac94270a61541c4ca5da866e60395823658a
|
||||
Size (zope/Zope-2.5.1-src.tgz) = 2165141 bytes
|
||||
SHA1 (zope/Hotfix_2002-06-14.tgz) = 9559701aa15512dcb890f2760b198693825b9587
|
||||
Size (zope/Hotfix_2002-06-14.tgz) = 1511 bytes
|
13
www/zope25/files/Zope.cgi
Executable file
13
www/zope25/files/Zope.cgi
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!@ZOPEDIR@/pcgi/pcgi-wrapper
|
||||
# $NetBSD: Zope.cgi,v 1.1.1.1 2002/08/22 16:54:49 drochner Exp $
|
||||
PCGI_NAME=Zope
|
||||
PCGI_MODULE_PATH=@ZOPEDIR@/lib/python/Zope
|
||||
PCGI_PUBLISHER=@ZOPEDIR@/pcgi/pcgi_publisher.py
|
||||
PCGI_EXE=@PYTHONBIN@
|
||||
PCGI_SOCKET_FILE=@INSTANCEHOME@/var/pcgi.soc
|
||||
PCGI_PID_FILE=@INSTANCEHOME@/var/pcgi.pid
|
||||
PCGI_ERROR_LOG=@INSTANCEHOME@/var/pcgi.log
|
||||
PCGI_DISPLAY_ERRORS=1
|
||||
BOBO_REALM=@INSTANCEHOME@/Zope.cgi
|
||||
BOBO_DEBUG_MODE=1
|
||||
INSTANCE_HOME=@INSTANCEHOME@
|
13
www/zope25/files/zope.sh
Normal file
13
www/zope25/files/zope.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
# $NetBSD: zope.sh,v 1.1.1.1 2002/08/22 16:54:49 drochner Exp $
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
INSTANCE_HOME=@INSTANCEHOME@
|
||||
export INSTANCE_HOME
|
||||
(cd @INSTANCEHOME@ && @PYTHONBIN@ @ZOPEDIR@/z2.py)
|
||||
;;
|
||||
stop)
|
||||
kill `cat @INSTANCEHOME@/var/Z2.pid`
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue