summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-30 21:25:28 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-30 21:25:28 +0000
commitd4a8317da5195cd7069fd62b7ea25e58f27c1c9d (patch)
tree18cbd31966feac28de9c2b7721200c0690891ad8 /databases
parentRuby/ProgressBar is a text progress bar library for Ruby. (diff)
phpMinAdmin is a MySQL management tool written in PHP.
Currently it can create database, create/drop/alter tables, create/drop/alter stored procedures, functions and triggers, delete/edit/add fields, execute any SQL statement, and manage keys on fields. The main difference between phpMinAdmin and phpMyAdmin is that phpMinAdmin is light-weight. WWW: http://phpminadmin.sourceforge.net PR: ports/126915 Submitted by: Wen Heping <wenheping at gmail.com>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/adminer/Makefile54
-rw-r--r--databases/adminer/distinfo3
-rw-r--r--databases/adminer/files/pkg-message.in20
-rw-r--r--databases/adminer/pkg-descr9
-rw-r--r--databases/adminer/pkg-plist48
-rw-r--r--databases/phpminadmin/Makefile54
-rw-r--r--databases/phpminadmin/distinfo3
-rw-r--r--databases/phpminadmin/files/pkg-message.in20
-rw-r--r--databases/phpminadmin/pkg-descr9
-rw-r--r--databases/phpminadmin/pkg-plist48
11 files changed, 269 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 5a9b1e7b6bc7..cd50844d18d3 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -435,6 +435,7 @@
SUBDIR += php5-rrdtool
SUBDIR += php5-sqlite
SUBDIR += php5-sybase_ct
+ SUBDIR += phpminadmin
SUBDIR += phpminiadmin
SUBDIR += phpmyadmin
SUBDIR += phppgadmin
diff --git a/databases/adminer/Makefile b/databases/adminer/Makefile
new file mode 100644
index 000000000000..f20c43c1bde5
--- /dev/null
+++ b/databases/adminer/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: phpMinAdmin
+# Date created: 28 August 2008
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phpminadmin
+PORTVERSION= 1.7.0
+CATEGORIES= databases www
+MASTER_SITES= SF
+DISTNAME= phpMinAdmin-${PORTVERSION}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= A MySQL Management Tool Written in PHP
+
+USE_ZIP= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+USE_PHP= mysql session
+SUB_FILES= pkg-message
+
+MM_SCRIPTS_FILES= _compile.php _lang.php \
+ abstraction.inc.php auth.inc.php call.inc.php \
+ connect.inc.php create.inc.php createv.inc.php \
+ database.inc.php design.inc.php download.inc.php \
+ dump.inc.php edit.inc.php editing.inc.php \
+ export.inc.php foreign.inc.php functions.inc.php \
+ index.php indexes.inc.php lang.inc.php \
+ privileges.inc.php procedure.inc.php processlist.inc.php \
+ schema.inc.php select.inc.php sql.inc.php \
+ table.inc.php trigger.inc.php user.inc.php \
+ view.inc.php
+MM_DATA_FILES= arrow.gif default.css down.gif \
+ favicon.ico minus.gif plus.gif \
+ todo.txt up.gif
+MM_DIR= lang
+
+do-install:
+ ${MKDIR} ${WWWDIR}
+.for i in ${MM_SCRIPTS_FILES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${WWWDIR}
+.endfor
+.for i in ${MM_DATA_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${WWWDIR}
+.endfor
+.for i in ${MM_DIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${WWWDIR}
+.endfor
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/databases/adminer/distinfo b/databases/adminer/distinfo
new file mode 100644
index 000000000000..c18fa0c6d899
--- /dev/null
+++ b/databases/adminer/distinfo
@@ -0,0 +1,3 @@
+MD5 (phpMinAdmin-1.7.0.zip) = 86f98a65528bdb56c6072fdc7d8c77c2
+SHA256 (phpMinAdmin-1.7.0.zip) = 4ca1a6a8624507fe2c8cead4f4bba9abe0497d62e2b41fada54e06caa0e85856
+SIZE (phpMinAdmin-1.7.0.zip) = 71256
diff --git a/databases/adminer/files/pkg-message.in b/databases/adminer/files/pkg-message.in
new file mode 100644
index 000000000000..d6d9712a7e5c
--- /dev/null
+++ b/databases/adminer/files/pkg-message.in
@@ -0,0 +1,20 @@
+
+POST-INSTALL CONFIGURATION FOR phpminadmin
+=====================================
+
+Please add the following to your Apache configuration,
+and restart the server:
+
+### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
+ Alias /phpminadmin %%WWWDIR%%
+ AcceptPathInfo On
+ <Directory %%WWWDIR%%>
+ AllowOverride None
+ Order Allow,Deny
+ Allow from all
+ </Directory>
+
+Then you can visit your phpminadmin site with a browser
+(i.e. http://your.server.com/phpminadmin/)
+
+=====================================
diff --git a/databases/adminer/pkg-descr b/databases/adminer/pkg-descr
new file mode 100644
index 000000000000..529132c6b4a9
--- /dev/null
+++ b/databases/adminer/pkg-descr
@@ -0,0 +1,9 @@
+phpMinAdmin is a MySQL management tool written in PHP.
+Currently it can create database, create/drop/alter
+tables, create/drop/alter stored procedures, functions
+and triggers, delete/edit/add fields, execute any SQL
+statement, and manage keys on fields. The main difference
+between phpMinAdmin and phpMyAdmin is that phpMinAdmin
+is light-weight.
+
+WWW: http://phpminadmin.sourceforge.net
diff --git a/databases/adminer/pkg-plist b/databases/adminer/pkg-plist
new file mode 100644
index 000000000000..f6f47b4892ca
--- /dev/null
+++ b/databases/adminer/pkg-plist
@@ -0,0 +1,48 @@
+%%WWWDIR%%/_compile.php
+%%WWWDIR%%/_lang.php
+%%WWWDIR%%/abstraction.inc.php
+%%WWWDIR%%/auth.inc.php
+%%WWWDIR%%/call.inc.php
+%%WWWDIR%%/connect.inc.php
+%%WWWDIR%%/create.inc.php
+%%WWWDIR%%/createv.inc.php
+%%WWWDIR%%/database.inc.php
+%%WWWDIR%%/design.inc.php
+%%WWWDIR%%/download.inc.php
+%%WWWDIR%%/dump.inc.php
+%%WWWDIR%%/edit.inc.php
+%%WWWDIR%%/editing.inc.php
+%%WWWDIR%%/export.inc.php
+%%WWWDIR%%/foreign.inc.php
+%%WWWDIR%%/functions.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/indexes.inc.php
+%%WWWDIR%%/lang.inc.php
+%%WWWDIR%%/privileges.inc.php
+%%WWWDIR%%/procedure.inc.php
+%%WWWDIR%%/processlist.inc.php
+%%WWWDIR%%/schema.inc.php
+%%WWWDIR%%/select.inc.php
+%%WWWDIR%%/sql.inc.php
+%%WWWDIR%%/table.inc.php
+%%WWWDIR%%/trigger.inc.php
+%%WWWDIR%%/user.inc.php
+%%WWWDIR%%/view.inc.php
+%%WWWDIR%%/arrow.gif
+%%WWWDIR%%/default.css
+%%WWWDIR%%/down.gif
+%%WWWDIR%%/favicon.ico
+%%WWWDIR%%/minus.gif
+%%WWWDIR%%/plus.gif
+%%WWWDIR%%/todo.txt
+%%WWWDIR%%/up.gif
+%%WWWDIR%%/lang/cs.inc.php
+%%WWWDIR%%/lang/de.inc.php
+%%WWWDIR%%/lang/en.inc.php
+%%WWWDIR%%/lang/es.inc.php
+%%WWWDIR%%/lang/fr.inc.php
+%%WWWDIR%%/lang/nl.inc.php
+%%WWWDIR%%/lang/sk.inc.php
+%%WWWDIR%%/lang/zh.inc.php
+@dirrm %%WWWDIR%%/lang
+@dirrm %%WWWDIR%%
diff --git a/databases/phpminadmin/Makefile b/databases/phpminadmin/Makefile
new file mode 100644
index 000000000000..f20c43c1bde5
--- /dev/null
+++ b/databases/phpminadmin/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: phpMinAdmin
+# Date created: 28 August 2008
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phpminadmin
+PORTVERSION= 1.7.0
+CATEGORIES= databases www
+MASTER_SITES= SF
+DISTNAME= phpMinAdmin-${PORTVERSION}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= A MySQL Management Tool Written in PHP
+
+USE_ZIP= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+USE_PHP= mysql session
+SUB_FILES= pkg-message
+
+MM_SCRIPTS_FILES= _compile.php _lang.php \
+ abstraction.inc.php auth.inc.php call.inc.php \
+ connect.inc.php create.inc.php createv.inc.php \
+ database.inc.php design.inc.php download.inc.php \
+ dump.inc.php edit.inc.php editing.inc.php \
+ export.inc.php foreign.inc.php functions.inc.php \
+ index.php indexes.inc.php lang.inc.php \
+ privileges.inc.php procedure.inc.php processlist.inc.php \
+ schema.inc.php select.inc.php sql.inc.php \
+ table.inc.php trigger.inc.php user.inc.php \
+ view.inc.php
+MM_DATA_FILES= arrow.gif default.css down.gif \
+ favicon.ico minus.gif plus.gif \
+ todo.txt up.gif
+MM_DIR= lang
+
+do-install:
+ ${MKDIR} ${WWWDIR}
+.for i in ${MM_SCRIPTS_FILES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${WWWDIR}
+.endfor
+.for i in ${MM_DATA_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${WWWDIR}
+.endfor
+.for i in ${MM_DIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${WWWDIR}
+.endfor
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/databases/phpminadmin/distinfo b/databases/phpminadmin/distinfo
new file mode 100644
index 000000000000..c18fa0c6d899
--- /dev/null
+++ b/databases/phpminadmin/distinfo
@@ -0,0 +1,3 @@
+MD5 (phpMinAdmin-1.7.0.zip) = 86f98a65528bdb56c6072fdc7d8c77c2
+SHA256 (phpMinAdmin-1.7.0.zip) = 4ca1a6a8624507fe2c8cead4f4bba9abe0497d62e2b41fada54e06caa0e85856
+SIZE (phpMinAdmin-1.7.0.zip) = 71256
diff --git a/databases/phpminadmin/files/pkg-message.in b/databases/phpminadmin/files/pkg-message.in
new file mode 100644
index 000000000000..d6d9712a7e5c
--- /dev/null
+++ b/databases/phpminadmin/files/pkg-message.in
@@ -0,0 +1,20 @@
+
+POST-INSTALL CONFIGURATION FOR phpminadmin
+=====================================
+
+Please add the following to your Apache configuration,
+and restart the server:
+
+### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
+ Alias /phpminadmin %%WWWDIR%%
+ AcceptPathInfo On
+ <Directory %%WWWDIR%%>
+ AllowOverride None
+ Order Allow,Deny
+ Allow from all
+ </Directory>
+
+Then you can visit your phpminadmin site with a browser
+(i.e. http://your.server.com/phpminadmin/)
+
+=====================================
diff --git a/databases/phpminadmin/pkg-descr b/databases/phpminadmin/pkg-descr
new file mode 100644
index 000000000000..529132c6b4a9
--- /dev/null
+++ b/databases/phpminadmin/pkg-descr
@@ -0,0 +1,9 @@
+phpMinAdmin is a MySQL management tool written in PHP.
+Currently it can create database, create/drop/alter
+tables, create/drop/alter stored procedures, functions
+and triggers, delete/edit/add fields, execute any SQL
+statement, and manage keys on fields. The main difference
+between phpMinAdmin and phpMyAdmin is that phpMinAdmin
+is light-weight.
+
+WWW: http://phpminadmin.sourceforge.net
diff --git a/databases/phpminadmin/pkg-plist b/databases/phpminadmin/pkg-plist
new file mode 100644
index 000000000000..f6f47b4892ca
--- /dev/null
+++ b/databases/phpminadmin/pkg-plist
@@ -0,0 +1,48 @@
+%%WWWDIR%%/_compile.php
+%%WWWDIR%%/_lang.php
+%%WWWDIR%%/abstraction.inc.php
+%%WWWDIR%%/auth.inc.php
+%%WWWDIR%%/call.inc.php
+%%WWWDIR%%/connect.inc.php
+%%WWWDIR%%/create.inc.php
+%%WWWDIR%%/createv.inc.php
+%%WWWDIR%%/database.inc.php
+%%WWWDIR%%/design.inc.php
+%%WWWDIR%%/download.inc.php
+%%WWWDIR%%/dump.inc.php
+%%WWWDIR%%/edit.inc.php
+%%WWWDIR%%/editing.inc.php
+%%WWWDIR%%/export.inc.php
+%%WWWDIR%%/foreign.inc.php
+%%WWWDIR%%/functions.inc.php
+%%WWWDIR%%/index.php
+%%WWWDIR%%/indexes.inc.php
+%%WWWDIR%%/lang.inc.php
+%%WWWDIR%%/privileges.inc.php
+%%WWWDIR%%/procedure.inc.php
+%%WWWDIR%%/processlist.inc.php
+%%WWWDIR%%/schema.inc.php
+%%WWWDIR%%/select.inc.php
+%%WWWDIR%%/sql.inc.php
+%%WWWDIR%%/table.inc.php
+%%WWWDIR%%/trigger.inc.php
+%%WWWDIR%%/user.inc.php
+%%WWWDIR%%/view.inc.php
+%%WWWDIR%%/arrow.gif
+%%WWWDIR%%/default.css
+%%WWWDIR%%/down.gif
+%%WWWDIR%%/favicon.ico
+%%WWWDIR%%/minus.gif
+%%WWWDIR%%/plus.gif
+%%WWWDIR%%/todo.txt
+%%WWWDIR%%/up.gif
+%%WWWDIR%%/lang/cs.inc.php
+%%WWWDIR%%/lang/de.inc.php
+%%WWWDIR%%/lang/en.inc.php
+%%WWWDIR%%/lang/es.inc.php
+%%WWWDIR%%/lang/fr.inc.php
+%%WWWDIR%%/lang/nl.inc.php
+%%WWWDIR%%/lang/sk.inc.php
+%%WWWDIR%%/lang/zh.inc.php
+@dirrm %%WWWDIR%%/lang
+@dirrm %%WWWDIR%%