aboutsummaryrefslogtreecommitdiff
path: root/databases/phpmyadmin211/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/phpmyadmin211/files')
-rw-r--r--databases/phpmyadmin211/files/config.inc.php.sample14
-rw-r--r--databases/phpmyadmin211/files/pkg-deinstall.in26
-rw-r--r--databases/phpmyadmin211/files/pkg-install.in110
-rw-r--r--databases/phpmyadmin211/files/pkg-message.in21
4 files changed, 0 insertions, 171 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 83204b698c11..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 %%PMA_USR%% account, which can be done with
-the following command:
-
- # pw userdel %%PMA_USR%%
-EOMSG
- if [ -d %%WWWDIR%% ] ; then
- echo " # rm -rf %%WWWDIR%%/"
- 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 b8adfb92959b..000000000000
--- a/databases/phpmyadmin211/files/pkg-install.in
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-PATH=/usr/sbin:/usr/bin:/bin ; export PATH
-
-pma_dir=%%WWWDIR%%
-pma_usr=%%PMA_USR%%
-pma_uid=%%PMA_UID%%
-pma_grp=%%PMA_GRP%%
-pma_gid=%%PMA_GID%%
-
-pma_gcos="%%PMA_GCOS%%"
-pma_home=%%PMA_HOME%%
-pma_shell=%%PMA_SHELL%%
-
-create_group() {
- local user uid group gid gcos home shell
-
- user=$1
- uid=$2
- group=$3
- gid=$4
- gcos=$5
- home=$6
- shell=$7
-
-
- if pw group show -n $group >/dev/null 2>&1 ; then
- echo "===> Using pre-existing group $group"
- else
- if pw groupadd -n $group -g $gid ; 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 -g $gid
- pw useradd -n $user -u $uid -g $group -c "$gcos" \\
- -d $home -s $shell -h -
-
- and retry installing this package.
- EOERRORMSG
- exit 1
- fi
- fi
-
-}
-
-
-create_user() {
- local user uid group gid gcos home shell
-
- user=$1
- uid=$2
- group=$3
- gid=$4
- gcos=$5
- home=$6
- shell=$7
-
- if pw user show -n $user >/dev/null 2>&1 ; then
- echo "===> Using pre-existing user $user"
- else
- if pw useradd -n $user -u $uid -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 -u $uid -g $group -c "$gcos" \\
- -d $home -s $shell -h -
-
- and retry installing this package.
- EOERRORMSG
- exit 1
- fi
- fi
-}
-
-
-case $2 in
- PRE-INSTALL)
-
- # Create the pma user and group if they do not already exist
- create_group $pma_usr $pma_uid $pma_grp $pma_gid \
- "$pma_gcos" $pma_home $pma_shell
- create_user $pma_usr $pma_uid $pma_grp $pma_gid \
- "$pma_gcos" $pma_home $pma_shell
- ;;
-
- POST-INSTALL)
-
- # Change ownership of the phpMyAdm directory
-
- echo "===> Adjusting file ownership in $pma_dir"
- chown -R $pma_usr:$pma_grp $pma_dir || 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 152f150c8762..000000000000
--- a/databases/phpmyadmin211/files/pkg-message.in
+++ /dev/null
@@ -1,21 +0,0 @@
-
-%%PKGNAME%% has been installed into:
-
- %%WWWDIR%%
-
-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/ "%%WWWDIR%%/"
-
- <Directory "%%WWWDIR%%/">
- Options none
- AllowOverride Limit
-
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1 .example.com
- </Directory>
-