From da2344f410cd043c0ab61281d9e42ba35e24f944 Mon Sep 17 00:00:00 2001 From: lawrance Date: Sun, 11 Dec 2005 23:53:10 +0000 Subject: (Forgot to remove some files) Update to 0.9.7.2 PR: ports/90251 Submitted by: Matthew Seaman (maintainer) --- net/phpldapadmin098/pkg-deinstall-suphp | 26 --------- net/phpldapadmin098/pkg-install-suphp | 98 --------------------------------- net/phpldapadmin098/pkg-message | 12 ---- 3 files changed, 136 deletions(-) delete mode 100644 net/phpldapadmin098/pkg-deinstall-suphp delete mode 100644 net/phpldapadmin098/pkg-install-suphp delete mode 100644 net/phpldapadmin098/pkg-message (limited to 'net/phpldapadmin098') diff --git a/net/phpldapadmin098/pkg-deinstall-suphp b/net/phpldapadmin098/pkg-deinstall-suphp deleted file mode 100644 index 3e29ddb5febb..000000000000 --- a/net/phpldapadmin098/pkg-deinstall-suphp +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -case $2 in - POST-DEINSTALL) - cat < Group $group created" - else - cat <<-EOERRORMSG - *** Failed to create the $group group. - - Please add the $user user and $group group - manually with the commands: - - pw groupadd -n $group - pw useradd -n $user -g $group -c "$gcos" \\ - -d $home -s $shell -h - - - and retry installing this package. - EOERRORMSG - exit 1 - fi -} - - -create_user() { - local user group gcos home shell - - user=$1 - group=$2 - gcos=$3 - home=$4 - shell=$5 - - if pw useradd -n $user -g $group -c "$gcos" -d $home -s $shell -h - ; then - echo "===> Created $user user" - else - cat <<-EOERRORMSG - *** Failed to create the $user user. - - Please add the $user user manually with the command: - - pw useradd -n $user -g $group -c "$gcos" \\ - -d $home -s $shell -h - - - and retry installing this package. - EOERRORMSG - exit 1 - fi -} - - -case $2 in - PRE-INSTALL) - - # Create the pla user and group if they do not already exist - - if pw user show -n $plausr >/dev/null 2>&1 ; then - echo "===> Using pre-existing user $plausr" - else - if ! pw group show -n $plagrp >/dev/null 2>&1 ; then - create_group $plausr $plagrp "$plagcos" $plahome \ - $plashell - fi - create_user $plausr $plagrp "$plagcos" $plahome $plashell - fi - ;; - POST-INSTALL) - - # Change ownership of the phpLDAPadmin directory - - echo "===> Adjusting file ownership in $pladir" - chown -R $plausr:$plagrp $pladir || exit 1 - ;; -esac - -# -# That's All Folks! -# diff --git a/net/phpldapadmin098/pkg-message b/net/phpldapadmin098/pkg-message deleted file mode 100644 index 8aa6d3b5145b..000000000000 --- a/net/phpldapadmin098/pkg-message +++ /dev/null @@ -1,12 +0,0 @@ - -%%PKGNAME%% has been installed into: - - %%PREFIX%%/%%PLADIR%% - -Please edit config.php to suit your needs. - -To make phpLDAPadmin available through your web site, -I suggest that you add the following to httpd.conf: - - Alias /phpldapadmin/ "%%PREFIX%%/%%PLADIR%%/" - -- cgit