#!/bin/sh # $FreeBSD$ # if [ "$2" != "PRE-INSTALL" ]; then exit 0 fi USER=jabber GROUP=${USER} UID=93 GID=${UID} if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then if pw groupadd ${GROUP} -g ${GID}; then echo "Added group \"${GROUP}\"." else echo "Adding group \"${GROUP}\" failed..." exit 1 fi fi if ! pw usershow "${USER}" 2>/dev/null 1>&2; then if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ -s "/sbin/nologin" -d "/nonexistent" \ -c "Jabber Daemon"; \ then echo "Added user \"${USER}\"." else echo "Adding user \"${USER}\" failed..." exit 1 fi fi mkdir -m 750 /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log chown jabber:jabber /var/jabberd /var/jabberd/db /var/jabberd/pid /var/jabberd/log exit 0 s-git' href='https://www.csie.ntu.edu.tw/~b01902062/git/freebsd-ports-graphics' title='freebsd-ports-graphics Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/net/rwhoisd
Commit message (Expand)AuthorAgeFilesLines
* Fix fetch: Add official site, remove non-existant hosts.vs2005-03-021-2/+1
* Remove conditional dependencies on security/tcp_wrapper: That portcperciva2005-01-211-4/+0
* remove empty patcheseik2004-05-241-0/+0
* SIZEify.trevor2004-01-301-0/+1
* Rename PORTDOCS to MYPORTDOCS to avoid a conflict with the recently addedmarcus2003-11-071-2/+2
* Fix build on -CURRENT.fjoe2003-10-28