summaryrefslogtreecommitdiffstats
path: root/www/apache22
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-10-29 20:04:00 +0000
committerache <ache@FreeBSD.org>2001-10-29 20:04:00 +0000
commitae4ed2abc1b160164ed818a41507b314657189f4 (patch)
tree8b9f2867eb04aa97cda8cb4cb1fc5e407e2afc31 /www/apache22
parent0cdef081efd26d22e7cc63b7eb94a1da0b17d328 (diff)
downloadFreeBSD-ports-ae4ed2abc1b160164ed818a41507b314657189f4.zip
FreeBSD-ports-ae4ed2abc1b160164ed818a41507b314657189f4.tar.gz
First part to fix missing x-bit on pkg*install
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/pkg-deinstall20
-rw-r--r--www/apache22/pkg-install34
2 files changed, 0 insertions, 54 deletions
diff --git a/www/apache22/pkg-deinstall b/www/apache22/pkg-deinstall
deleted file mode 100644
index 1b5448b..0000000
--- a/www/apache22/pkg-deinstall
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# $FreeBSD: /tmp/pcvs/ports/www/apache22/Attic/pkg-deinstall,v 1.1 2001-10-24 16:03:34 ache Exp $
-#
-
-if [ "$2" != "POST-DEINSTALL" ]; then
- exit 0
-fi
-
-USER=www
-
-if pw usershow "${USER}" 2>/dev/null 1>&2; then
- if pw userdel ${USER}; then
- echo "Delete user/group \"${USER}\"."
- else
- echo "Deleting user/group \"${USER}\" failed..."
- exit 1
- fi
-fi
-
-exit 0
diff --git a/www/apache22/pkg-install b/www/apache22/pkg-install
deleted file mode 100644
index cbeae96..0000000
--- a/www/apache22/pkg-install
+++ /dev/null
@@ -1,34 +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