diff --git a/www/zope/pkg/DEINSTALL b/www/zope/pkg/DEINSTALL deleted file mode 100644 index 019001f79ab..00000000000 --- a/www/zope/pkg/DEINSTALL +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1 2004/08/03 10:16:37 xsa Exp $ -PATH=/bin:/usr/bin:/sbin:/usr/sbin -PREFIX=${PKG_PREFIX:-/usr/local} -ZOPEUSER=${ZOPEUSER} -ZOPEGROUP=${ZOPEGROUP} - -if [ ${PKG_DELETE_EXTRA} != Yes ]; then - echo - echo "+---------------" - echo "| To completely deinstall the $1 package you need to perform" - echo "| these steps as root:" - echo "|" - if userinfo -e $ZOPEUSER; then - echo "| userdel $ZOPEUSER" - fi - if groupinfo -e $ZOPEGROUP; then - echo "| groupdel $ZOPEGROUP" - fi - echo "|" - echo "| Do not do this if you plan on re-installing" - echo "| $1 at some future time." - echo "+---------------" - echo -fi - -exit 0 diff --git a/www/zope/pkg/INSTALL b/www/zope/pkg/INSTALL deleted file mode 100644 index 84415611c39..00000000000 --- a/www/zope/pkg/INSTALL +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -# $OpenBSD: INSTALL,v 1.1 2004/08/03 10:16:37 xsa Exp $ -PATH=/bin:/usr/bin:/sbin:/usr/sbin -PREFIX=${PKG_PREFIX:-/usr/local} -ZOPEUSER=${ZOPEUSER} -ZOPEGROUP=${ZOPEGROUP} -ID=534 - -do_usergroup_install() -{ - if groupinfo -e $ZOPEGROUP; then - echo "===> Using $ZOPEGROUP group for Zope" - else - echo "===> Creating $ZOPEGROUP group for Zope" - groupadd -g $ID $ZOPEGROUP - fi - if userinfo -e $ZOPEUSER; then - echo "===> Using $ZOPEUSER user for Zope" - else - echo "===> Creating $ZOPEUSER user for Zope" - useradd -g $ZOPEGROUP \ - -d /nonexistent \ - -L daemon \ - -c 'Zope Account' \ - -s /sbin/nologin \ - -u $ID $ZOPEUSER - fi -} - -# verify proper execution -# -if [ $# -ne 2 ]; then - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 -fi - -# Verify/process the command -# -case $2 in - PRE-INSTALL) - do_usergroup_install - ;; - POST-INSTALL) - ;; - *) - echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2 - exit 1 - ;; -esac - -exit 0 diff --git a/www/zope/pkg/PLIST b/www/zope/pkg/PLIST index c2008a8bdd0..4e9d57b286c 100644 --- a/www/zope/pkg/PLIST +++ b/www/zope/pkg/PLIST @@ -1,4 +1,6 @@ -@comment $OpenBSD: PLIST,v 1.13 2004/09/15 18:49:53 espie Exp $ +@comment $OpenBSD: PLIST,v 1.14 2004/09/28 12:47:20 xsa Exp $ +@newgroup _zope:534 +@newuser _zope:534:_zope:daemon:Zope Account:/nonexistent:/sbin/nologin lib/zope/ lib/zope/bin/ lib/zope/bin/README.txt @@ -3056,5 +3058,3 @@ lib/zope/skel/log/README.txt lib/zope/skel/var/ lib/zope/skel/var/README.txt %%SHARED%% -@extraunexec userdel _zope -@extraunexec groupdel _zope