Browse Source

Alejandro Mery:

added phpPgAdmin


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2414 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Alejandro Mery 21 years ago
parent
commit
94d91db907
2 changed files with 79 additions and 0 deletions
  1. +29
    -0
      package/mnemoc/phppgadmin/phppgadmin.conf
  2. +50
    -0
      package/mnemoc/phppgadmin/phppgadmin.desc

+ 29
- 0
package/mnemoc/phppgadmin/phppgadmin.conf

@ -0,0 +1,29 @@
# use the apache prefix
. $base/package/*/apache/apache.conf
phppgadmin_main() {
local x="phpPgAdmin"
mkdir -vp $localstatedir/$x
mkdir -vp $sysconfdir/$x
ln -vfs $localstatedir/$x $x
# if $x/conf exists it's not overwritten, a new link is created
# inside, i.e. $x/conf/$x -> .
# ( /me hates these stupid behavior of ln )
[ -e $x/conf ] || ln -vfs $sysconfdir/$x $x/conf
# phpPgAdmin/conf/config.inc.php excluded, template can be
# found at phpPgAdmin/conf/config.inc.php-dist
tar -v --exclude config.inc.php \
$taropt $archdir/$x-$ver.tar.bz2
cat <<- EOT > $sysconfdir/$x.conf-dist
Alias /$x $localstatedir/$x
<Directory $localstatedir/$x>
DirectoryIndex index.php
</Directory>
EOT
}
mainfunction='phppgadmin_main'

+ 50
- 0
package/mnemoc/phppgadmin/phppgadmin.desc

@ -0,0 +1,50 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/mnemoc/phppgadmin/phppgadmin.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[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; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] A PHP-based PostgreSQL administration utility.
[T] phpPgAdmin is a fully functional PHP-based administration package for
[T] PostgreSQL. It has all the basic functionality you need to completely
[T] administer a PosgreSQL server and/or database, including the ability to
[T] administer views, sequences, stored procedures, and triggers. Features
[T] include the ability to create and drop databases; create, copy, drop, and
[T] alter tables/views/sequences/functions/triggers; edit and add fields (to
[T] the extent Postgres allows); execute any SQL-statement, even
[T] batch-queries; manage keys on fields; create and read dumps of database
[T] and tables; and administer one single database, multiple servers, and
[T] Postgres users/groups.
[U] http://phppgadmin.sourceforge.net/
[A] Christopher Kings-Lynne <chriskl@familyhealth.com.au>
[M] Alejandro Mery <amery@geeks.cl>
[C] extra/database
[L] GPL
[S] Stable
[V] 3.2.1
[P] X -----5---9 800.000
[D] 3030525527 phpPgAdmin-3.2.1.tar.bz2 http://dl.sourceforge.net/sourceforge/phppgadmin/

Loading…
Cancel
Save