From 89c501f0d0762b34a5276d15df7b3c430b8e7c16 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 2 Dec 2007 13:40:44 -0300 Subject: [PATCH] Added phpmyadmin (2.11.0) - Handles the basic administration of MySQL over the Web --- database/phpmyadmin/phpmyadmin.conf | 39 +++++++++++++++++++++++++++++ database/phpmyadmin/phpmyadmin.desc | 36 ++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 database/phpmyadmin/phpmyadmin.conf create mode 100644 database/phpmyadmin/phpmyadmin.desc diff --git a/database/phpmyadmin/phpmyadmin.conf b/database/phpmyadmin/phpmyadmin.conf new file mode 100644 index 000000000..223e9d609 --- /dev/null +++ b/database/phpmyadmin/phpmyadmin.conf @@ -0,0 +1,39 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../phpmyadmin/phpmyadmin.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# use the php prefix +pkgprefix -t php +prefix=$( pkgprefix php ) +set_confopt + +# custom installer +makeopt= +makeinstopt= + +hook_add postmake 5 'phpmyadmin_install' + +phpmyadmin_install() { + local x="phpMyAdmin" + + mkdir -vp $root$datadir/$x + + tar -cf - * | tar -C $root$datadir/$x -xvf - + + cat <<- EOT > $root$sysconfdir/$x.conf-dist + Alias /$x $datadir/$x + + DirectoryIndex index.php + + EOT +} diff --git a/database/phpmyadmin/phpmyadmin.desc b/database/phpmyadmin/phpmyadmin.desc new file mode 100644 index 000000000..ff8ae2ce5 --- /dev/null +++ b/database/phpmyadmin/phpmyadmin.desc @@ -0,0 +1,36 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../phpmyadmin/phpmyadmin.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] Handles the basic administration of MySQL over the Web + +[T] PhpMyAdmin is a tool written in PHP intended to handle the administration +[T] of MySQL over the Web. It can create, rename, and drop databases, +[T] create/drop/alter tables, delete/edit/add fields, execute any SQL +[T] statement, manage keys on fields, create dumps of tables and databases, +[T] export/import CSV data and administrate one single database and multiple +[T] MySQL servers. + +[U] http://www.phpmyadmin.net/ + +[A] phpMyAdmin Devel Team +[M] Alejandro Mery + +[C] extra/database + +[L] GPL +[S] Stable +[V] 2.11.0 +[P] X -----5---9 800.000 + +[D] 1624100120 phpMyAdmin-2.11.0-all-languages.tar.bz2 http://dl.sourceforge.net/sourceforge/phpmyadmin/