summaryrefslogtreecommitdiffstats
path: root/www/apache22/pkg-install
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-03-17 08:41:58 +0000
committerclement <clement@FreeBSD.org>2004-03-17 08:41:58 +0000
commit3b98a505f461d8d40d76b7ae0a070827d915aed9 (patch)
tree54669a9105393d5b9d0c50d64602e1f8b97b9678 /www/apache22/pkg-install
parent152afc8991c5defaa16fb1befe990cdbdf71a0ce (diff)
downloadFreeBSD-ports-3b98a505f461d8d40d76b7ae0a070827d915aed9.zip
FreeBSD-ports-3b98a505f461d8d40d76b7ae0a070827d915aed9.tar.gz
- Move apache21 to Attic.
Will be back soon ;-) Suggested by: kris
Diffstat (limited to 'www/apache22/pkg-install')
-rw-r--r--www/apache22/pkg-install35
1 files changed, 0 insertions, 35 deletions
diff --git a/www/apache22/pkg-install b/www/apache22/pkg-install
deleted file mode 100644
index 3bb9913..0000000
--- a/www/apache22/pkg-install
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-#
-
-if [ "$2" != "PRE-INSTALL" ]; then
- exit 0
-fi
-
-USER=www
-GROUP=${USER}
-UID=80
-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 "World Wide Web Owner"; \
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
-fi
-
-exit 0
OpenPOWER on IntegriCloud