- switch to pkg-readmes
This commit is contained in:
parent
7e02990b9a
commit
c7efe67578
@ -1,9 +1,9 @@
|
|||||||
# $OpenBSD: Makefile,v 1.5 2010/11/11 12:35:19 sthen Exp $
|
# $OpenBSD: Makefile,v 1.6 2010/11/12 14:35:23 jasper Exp $
|
||||||
|
|
||||||
VERSION= 2.10
|
VERSION= 2.10
|
||||||
PATCHLEVEL= .5
|
PATCHLEVEL= .5
|
||||||
|
|
||||||
PKGNAME= ${DISTNAME:S/-final//:L}
|
PKGNAME= ${DISTNAME:S/-final//:L}
|
||||||
REVISION= 2
|
REVISION= 3
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -2,6 +2,3 @@ This package uses the INSTANCE_HOME installation method, as described at
|
|||||||
http://www.zope.org/Members/4am/instancehome. This allows you to install the
|
http://www.zope.org/Members/4am/instancehome. This allows you to install the
|
||||||
Zope package once and create as many sites as you want without changing your
|
Zope package once and create as many sites as you want without changing your
|
||||||
core Zope installation.
|
core Zope installation.
|
||||||
|
|
||||||
Have a look at ${ZOPEHOME}/doc/README.OpenBSD
|
|
||||||
to see how to create your instance and have it start at boot time.
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.1 2008/03/20 11:37:47 winiger Exp $
|
@comment $OpenBSD: PLIST,v 1.2 2010/11/12 14:35:23 jasper Exp $
|
||||||
@pkgpath www/zope-btreefolder2
|
@pkgpath www/zope-btreefolder2
|
||||||
@newgroup _zope:534
|
@newgroup _zope:534
|
||||||
@newuser _zope:534:_zope:daemon:Zope Account:/nonexistent:/sbin/nologin
|
@newuser _zope:534:_zope:daemon:Zope Account:/nonexistent:/sbin/nologin
|
||||||
@ -42,7 +42,6 @@ lib/zope/doc/FAQ.txt
|
|||||||
lib/zope/doc/HELPSYS.txt
|
lib/zope/doc/HELPSYS.txt
|
||||||
lib/zope/doc/HISTORY.txt
|
lib/zope/doc/HISTORY.txt
|
||||||
lib/zope/doc/INSTALL.txt
|
lib/zope/doc/INSTALL.txt
|
||||||
lib/zope/doc/README.OpenBSD
|
|
||||||
lib/zope/doc/RESTRUCTUREDSTEXT.txt
|
lib/zope/doc/RESTRUCTUREDSTEXT.txt
|
||||||
lib/zope/doc/SECURITY.txt
|
lib/zope/doc/SECURITY.txt
|
||||||
lib/zope/doc/SETUID.txt
|
lib/zope/doc/SETUID.txt
|
||||||
@ -9911,4 +9910,5 @@ lib/zope/skel/log/
|
|||||||
lib/zope/skel/log/README.txt
|
lib/zope/skel/log/README.txt
|
||||||
lib/zope/skel/var/
|
lib/zope/skel/var/
|
||||||
lib/zope/skel/var/README.txt
|
lib/zope/skel/var/README.txt
|
||||||
|
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||||
%%SHARED%%
|
%%SHARED%%
|
||||||
|
39
www/zope/2.10/pkg/README
Normal file
39
www/zope/2.10/pkg/README
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
$OpenBSD: README,v 1.1 2010/11/12 14:35:23 jasper Exp $
|
||||||
|
|
||||||
|
In this document we'll see how to create a zope instance and have it
|
||||||
|
start at boot time. Throughout this document, we will assume that the
|
||||||
|
instance you want will be located in /var/www under the name of 'zope'.
|
||||||
|
Our instance will thus be /var/www/zope.
|
||||||
|
|
||||||
|
1) Creating your instance
|
||||||
|
|
||||||
|
- run ${ZOPEHOME}/bin/mkzopeinstance.py to create your instance:
|
||||||
|
|
||||||
|
# ${ZOPEHOME}/bin/mkzopeinstance.py
|
||||||
|
Please choose a directory in which you'd like to install
|
||||||
|
Zope "instance home" files such as database files, configuration
|
||||||
|
files, etc.
|
||||||
|
|
||||||
|
Directory: /var/www/zope
|
||||||
|
Please choose a username and password for the initial user.
|
||||||
|
These will be the credentials you use to initially manage
|
||||||
|
your new Zope instance.
|
||||||
|
|
||||||
|
Username: zopeadmin
|
||||||
|
Password:
|
||||||
|
Verify password:
|
||||||
|
|
||||||
|
- as we want to run our instance(s) with the _zope user, we should
|
||||||
|
grant him the rights on the log/, var/, and etc/ directories.
|
||||||
|
|
||||||
|
# chown _zope /var/www/zope/{log,var,etc}
|
||||||
|
|
||||||
|
2) Have your instance start at boot time:
|
||||||
|
|
||||||
|
- to have your instance start at boot time, add the following to your
|
||||||
|
/etc/rc.local.
|
||||||
|
|
||||||
|
if [ -r /var/www/zope/etc/zope.conf -a -x /var/www/zope/bin/zopectl ]; then
|
||||||
|
echo -n ' zope'
|
||||||
|
/var/www/zope/bin/zopectl start
|
||||||
|
fi
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile.inc,v 1.3 2009/09/15 17:37:22 jasper Exp $
|
# $OpenBSD: Makefile.inc,v 1.4 2010/11/12 14:35:23 jasper Exp $
|
||||||
|
|
||||||
SHARED_ONLY= Yes
|
SHARED_ONLY= Yes
|
||||||
|
|
||||||
@ -41,11 +41,8 @@ pre-configure:
|
|||||||
@perl -pi -e 's,%%ZOPEPRODUCTSDIR%%,${ZOPEPRODUCTSDIR},g;' \
|
@perl -pi -e 's,%%ZOPEPRODUCTSDIR%%,${ZOPEPRODUCTSDIR},g;' \
|
||||||
-e 's,%%ZOPEUSER%%,${ZOPEUSER},g' \
|
-e 's,%%ZOPEUSER%%,${ZOPEUSER},g' \
|
||||||
${WRKSRC}/skel/etc/zope.conf.in
|
${WRKSRC}/skel/etc/zope.conf.in
|
||||||
@sed -e 's,%%ZOPEHOME%%,${ZOPEHOME},g' \
|
|
||||||
< ${FILESDIR}/README.OpenBSD > ${WRKSRC}/README.OpenBSD
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/README.OpenBSD ${ZOPEHOME}/doc
|
|
||||||
@find ${WRKINST} -type f -exec chmod 755 {} \;
|
@find ${WRKINST} -type f -exec chmod 755 {} \;
|
||||||
|
|
||||||
do-regress: fake
|
do-regress: fake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user