diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2007-05-04 03:55:11 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2007-05-04 03:55:11 +0000 |
commit | 06a27a0b36e3cd635030841bfae6077d039c3c76 (patch) | |
tree | 1588d24c4914aa5badd6232d8e222bea271a455c /databases/phpmyadmin211/files | |
parent | b68bfd31ae9df0c66283f279374ed7acb4f409dd (diff) |
This commit was manufactured by cvs2svn to create tag 'PRE_XORG_7'.pre-xorg-7
Notes
Notes:
svn path=/head/; revision=191528
svn path=/tags/PRE_XORG_7/; revision=191529; tag=pre-xorg-7
Diffstat (limited to 'databases/phpmyadmin211/files')
-rw-r--r-- | databases/phpmyadmin211/files/config.inc.php.sample | 14 | ||||
-rw-r--r-- | databases/phpmyadmin211/files/pkg-deinstall.in | 26 | ||||
-rw-r--r-- | databases/phpmyadmin211/files/pkg-install.in | 98 | ||||
-rw-r--r-- | databases/phpmyadmin211/files/pkg-message.in | 21 |
4 files changed, 0 insertions, 159 deletions
diff --git a/databases/phpmyadmin211/files/config.inc.php.sample b/databases/phpmyadmin211/files/config.inc.php.sample deleted file mode 100644 index 0087f6fac79d..000000000000 --- a/databases/phpmyadmin211/files/config.inc.php.sample +++ /dev/null @@ -1,14 +0,0 @@ -<?php -/* $FreeBSD$ - * - * Skeleton configuration file -- this file is empty on a fresh - * installaton of phpmyadmin. - * - * Copy any settings you want to override from - * libraries/config.default.php or use scripts/setup.php to generate a - * basic configuration file - * - */ - - -?> diff --git a/databases/phpmyadmin211/files/pkg-deinstall.in b/databases/phpmyadmin211/files/pkg-deinstall.in deleted file mode 100644 index 4962506b4e26..000000000000 --- a/databases/phpmyadmin211/files/pkg-deinstall.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -case $2 in - POST-DEINSTALL) - cat <<EOMSG -The phpMyAdmin-suphp port has been deleted. -If you are not upgrading and don't intend to use -phpMyAdmin any more then you may wish to delete -the %%MYADMUSR%% account, which can be done with -the following command: - - # pw userdel %%MYADMUSR%% -EOMSG - if [ -d %%PREFIX%%/%%MYADMDIR%% ] ; then - echo " # rm -rf %%PREFIX%%/%%MYADMDIR%%/" - fi - echo - ;; -esac - -# -# That's All Folks! -# diff --git a/databases/phpmyadmin211/files/pkg-install.in b/databases/phpmyadmin211/files/pkg-install.in deleted file mode 100644 index bb4180b2660f..000000000000 --- a/databases/phpmyadmin211/files/pkg-install.in +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -PATH=/usr/sbin:/usr/bin:/bin ; export PATH - -myadmdir=%%PREFIX%%/%%MYADMDIR%% -myadmusr=%%MYADMUSR%% -myadmgrp=%%MYADMGRP%% - -myadmgcos="phpMyAdmin Owner" -myadmhome=/nonexistent -myadmshell=/sbin/nologin - -create_group() { - local user group gcos home shell - - user=$1 - group=$2 - gcos=$3 - home=$4 - shell=$5 - - if pw groupadd -n $group ; then - echo "===> 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 myadm user and group if they do not already exist - - if pw user show -n $myadmusr >/dev/null 2>&1 ; then - echo "===> Using pre-existing user $myadmusr" - else - if ! pw group show -n $myadmgrp >/dev/null 2>&1 ; then - create_group $myadmusr $myadmgrp "$myadmgcos" $myadmhome \ - $myadmshell - fi - create_user $myadmusr $myadmgrp "$myadmgcos" $myadmhome $myadmshell - fi - ;; - POST-INSTALL) - - # Change ownership of the phpMyAdm directory - - echo "===> Adjusting file ownership in $myadmdir" - chown -R $myadmusr:$myadmgrp $myadmdir || exit 1 - ;; -esac - -# -# That's All Folks! -# diff --git a/databases/phpmyadmin211/files/pkg-message.in b/databases/phpmyadmin211/files/pkg-message.in deleted file mode 100644 index 34fbb55d1919..000000000000 --- a/databases/phpmyadmin211/files/pkg-message.in +++ /dev/null @@ -1,21 +0,0 @@ - -%%PKGNAME%% has been installed into: - - %%PREFIX%%/%%MYADMDIR%% - -Please edit config.inc.php to suit your needs. - -To make phpMyAdmin available through your web site, I suggest -that you add something like the following to httpd.conf: - - Alias /phpmyadmin/ "%%PREFIX%%/%%MYADMDIR%%/" - - <Directory "%%PREFIX%%/%%MYADMDIR%%/"> - Options none - AllowOverride Limit - - Order Deny,Allow - Deny from all - Allow from 127.0.0.1 .example.com - </Directory> - |