diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-07-29 17:25:58 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-07-29 17:25:58 +0000 |
commit | 48e3ab19428914287d0f3bb44ff7b1a76d62f5e2 (patch) | |
tree | 89b289746a212662591d17902f46846208b144be /chat/ircd-hybrid/INSTALL | |
parent | 0b27543ed11af257591bdf6e15522ba7bfb3bbe5 (diff) | |
download | pkgsrc-48e3ab19428914287d0f3bb44ff7b1a76d62f5e2.tar.gz |
Convert to the bsd.pkg.install.mk framework to handle the daemon's user and
group, the creation of log files and automatic handling of the rc.d script.
Bump PKGREVISION to 1. Ok'ed by seb@, the maintainer.
Diffstat (limited to 'chat/ircd-hybrid/INSTALL')
-rw-r--r-- | chat/ircd-hybrid/INSTALL | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/chat/ircd-hybrid/INSTALL b/chat/ircd-hybrid/INSTALL deleted file mode 100644 index 53a5e5ffeaf..00000000000 --- a/chat/ircd-hybrid/INSTALL +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/10/31 20:06:32 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 - -USER=@USER@ -GROUP=@GROUP@ -ADDUSER=@ADDUSER@ -ADDGROUP=@ADDGROUP@ -CHGRP="@CHGRP@" -ID="@ID@" -RM="@RM@" -TOUCH="@TOUCH@" - -case ${STAGE} in -PRE-INSTALL) - ${TOUCH} "/tmp/grouptestirc.$$" - ${CHGRP} ${GROUP} "/tmp/grouptestirc.$$" >/dev/null 2>&1 - if [ $? -eq 0 ]; then - echo "Group '${GROUP}' already exists...proceeding." - else - echo "Creating '${GROUP}' group..." - ${ADDGROUP} ${GROUP} - echo "Done." - fi - ${RM} -f "/tmp/grouptestirc.$$" - - ${ID} ${USER} >/dev/null 2>&1 - if [ $? -eq 0 ]; then - echo "User '${USER}' already exists...proceeding." - else - echo "Creating '${USER}' user..." - ${ADDUSER} -c "IRC User" -g ${GROUP} -s /sbin/nologin ${USER} - echo "Done." - fi - ;; - -POST-INSTALL) - :;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 |