[DebianGIS-dev] CVS Update: musmap/debian .cvsignore changelog packages packages.config packages.install packages.templates

mparent-guest at haydn.debian.org mparent-guest at haydn.debian.org
Thu Jan 12 20:12:31 UTC 2006


  User: mparent-guest
  Date: 06/01/12 20:12:31

  Added:       debian   .cvsignore changelog packages packages.config
                        packages.install packages.templates
  Log:
  Create initial directory structure
  
  Revision  Changes    Path
  1.1                  musmap/debian/.cvsignore
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/.cvsignore?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/.cvsignore?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: .cvsignore
  ===================================================================
  build-arch-stamp
  build-indep-stamp
  build-stamp
  control
  files
  packages-tmp
  packages-tmp-include
  rules
  substvars
  templates
  tmp-musmap
  ucf
  
  
  1.1                  musmap/debian/changelog
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/changelog?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/changelog?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: changelog
  ===================================================================
  musmap (0.9.1) unstable testing experimental; urgency=low
  
    * Develpoment version
  
   -- Mathieu Parent <mathieuparent at users.sourceforge.net>  Thu, 22 Dec 2005 10:00:00 +0100
  
  musmap (0.9.0) stable unstable testing experimental; urgency=low
  
    * Initial Debian version.
  
   -- Mathieu Parent <mathieuparent at users.sourceforge.net>  Wed, 26 Oct 2005 00:00:00 +0200
  
  
  
  
  1.1                  musmap/debian/packages
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: packages
  ===================================================================
  ## debian/packages for musmap
  Source: musmap
  Section: web
  Priority: extra
  Maintainer: Mathieu Parent <mathieuparent at users.sourceforge.net>
  Standards-Version: 3.6.1
  Upstream-Source: <URL:http://musmap.sourceforge.net/>
  Home-Page: <URL:http://musmap.sourceforge.net/>
  Description: Advanced web mapping interface
  Copyright: .
   License:
   Musmap is under GNU GPL license. 
   It contains:
    - mygosumenu which is released under a BSD-style license. See 
      /usr/share/musmap/js/contrib/mygosumenu/license.txt for complete license.
    - `Javascript cross-browser library` which is under LGPL license.
   .
   On Debian systems, the complete text of the GNU GPL and GNU LGPL licenses 
   can be found in the /usr/share/common-licenses/GPL and 
   /usr/share/common-licenses/LGPL files.
   .
   All files except mygosumenu are
   Copyright (c) 2004 Mathieu Parent
  Major-Changes:
   See /usr/share/doc/musmap/CHANGELOG.gz
  Patches: patches/*.patch
   
  Package: musmap
  Architecture: all
  Build-Depends: po-debconf
  Depends: php4 (>= 4.3.0) | php4-cgi (>= 4.3.0) | libapache-mod-php4 | libapache2-mod-php4 | php5 | php5-cgi | php5-fcgi | libapache-mod-php5 | libapache2-mod-php5
  Depends: php4-mysql | php5-mysql | php4-pgsql | php5-pgsql | php4-sqlite | php5-sqlite
  Depends: apache | apache-perl | apache-ssl | apache2 | httpd
  Depends: php4-mapscript | php5-mapscript | php-mapscript
  Suggests: mysql-server (>=4.1) | mysql-server-41 | postgresql 
  Suggests: www-browser
  Description: Advanced web mapping interface
  %`sed -e 's/^$/./' -e 's/^/ /' ./README`
  Install: sh
  %`sed -e 's/^$/./' -e 's/^/ /' debian/packages.install`
  Finalise: sh
   chown www-data:www-data debian/tmp-musmap/usr/share/musmap/webtmp
  Templates:
  %`sed -e 's/^$/./' -e 's/^/ /' debian/packages.templates`
  Config: sh
  %`sed -e 's/^$/./' -e 's/^/ /' debian/packages.config`
  
  
  
  1.1                  musmap/debian/packages.config
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.config?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.config?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: packages.config
  ===================================================================
  db_input medium musmap/dbengine || true
  db_go
  db_get musmap/dbengine
  dbengine="$RET"
  if [ "$dbengine" = "mysql" ]; then
      db_input medium musmap/dbhost || true
      db_input medium musmap/dbuser || true
      db_input medium musmap/dbpassword || true
      db_input medium musmap/dbname || true
      db_set musmap/dbadminuser "root"
      db_input medium musmap/dbadminuser || true
      db_input medium musmap/dbadminpassword || true
      db_go
      db_get musmap/dbhost
      dbhost="$RET"
      db_get musmap/dbuser
      dbuser="$RET"
      db_get musmap/dbpassword
      dbpassword="$RET"
      db_get musmap/dbname
      dbname="$RET"
      db_get musmap/dbadminuser
      dbadminuser="$RET"
      db_get musmap/dbadminpassword
      dbadminpassword="$RET"
      mysql --host="$dbhost" --user="$dbadminuser" --password="$dbadminpassword" --exec="CREATE DATABASE \`$dbname\`;"
      mysql --host="$dbhost" --user="$dbadminuser" --password="$dbadminpassword" --exec="GRANT ALL ON \`$dbname\`.* TO '$dbuser' IDENTIFIED BY '$dbpassword';"
  elif [ "$dbengine" = "postgresql" ]; then
      db_input medium musmap/dbhost || true
      db_input medium musmap/dbport || true
      db_input medium musmap/dbuser || true
      db_input medium musmap/dbpassword || true
      db_input medium musmap/dbname || true
      db_set musmap/dbadminuser "SYSDBA"
      db_input medium musmap/dbadminuser || true
      db_input medium musmap/dbadminpassword || true
      db_go
      db_get musmap/dbhost
      dbhost="$RET"
      db_get musmap/dbport
      dbport="$RET"
      db_get musmap/dbuser
      dbuser="$RET"
      db_get musmap/dbpassword
      dbpassword="$RET"
      db_get musmap/dbname
      dbname="$RET"
      db_get musmap/dbadminuser
      dbadminuser="$RET"
      db_get musmap/dbadminpassword
      dbadminpassword="$RET"
  elif [ "$dbengine" = "sqlite" ]; then
      db_input medium musmap/dbfilename || true
      db_go
      db_get musmap/dbfilename
      dbfilename="$RET"
  elif [ "$dbengine" = "firebird" ]; then
      db_input medium musmap/dbpath || true
      db_input medium musmap/dbuser || true
      db_input medium musmap/dbpassword || true
      db_go
      db_get musmap/dbpath
      dbpath="$RET"
      db_get musmap/dbuser
      dbuser="$RET"
      db_get musmap/dbpassword
      dbpassword="$RET"
  fi
  
  (echo "<?php"
   echo "/*"
   echo " +----------------------------------------------------------------------+"
   echo " | This file has been automaticaly generated by debconf. To change      |"
   echo " | params run 'dpkg-reconfigure musmap'.                                |"
   echo " +----------------------------------------------------------------------+"
   echo ""
   echo "/**"
   echo " * Database engine"
   echo " *"
   echo " * Uncomment your choice and fill specific informations"
   echo " */"
   echo "  Conf::Set('db_engine', '$dbengine');"
   echo "  \$db_params['mysql']=Array(//mysql"
   echo "    'user'=>'$dbuser',"
   echo "    'password'=>'$dbpassword',"
   echo "    'host'=>'$dbhost',"
   echo "    'dbname'=>'$dbname');"
   echo ""
   echo "  \$db_params['postgresql']=Array(//postgresql"
   echo "    'user'=>'$dbuser',"
   echo "    'password'=>'$dbpassword',"
   echo "    'host'=>'$dbhost',"
   echo "    'port'=>'$dbport',"
   echo "    'dbname'=>'$dbname');"
   echo "  "
   echo "  \$db_params['sqlite']=Array(//sqlite"
   echo "    'filename'=>'/$dbfilename');"
   echo "    "
   echo "  \$db_params['firebird']=Array(//Firebird/Interbase"
   echo "    'database'=> '$dbpath',"
   echo "    'username'=> '$dbuser',"
   echo "    'password'=> '$dbpassword',"
   echo "    'dialect'=>3);"
   echo ""
   echo "/**"
   echo " * Model database params"
   echo " */"
   echo "  Conf::Set('db_params', \$db_params[\$conf['db_engine']]);"
   echo ""
   echo "  unset(\$db_params);"
   echo ""
   echo "// -------- EXTRA CONF ------------------- //"
   echo "  Conf::Set('log_dir', '/var/log/musmap/');"
   echo "  Conf::Set('tmp_dir', '/tmp/');"
   echo "?>") > /etc/musmap/db_config.php
  
   db_get musmap/postinstall
  
  
  1.1                  musmap/debian/packages.install
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.install?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.install?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: packages.install
  ===================================================================
  #== Musmap
  yada install -data -into /usr/share/musmap *.php *.css
  yada copy -data -into /usr/share/musmap admin data images include js print
  #== log
  yada install -dir /var/log/musmap
  #DEPRECATED:yada install -dir /usr/share/musmap/log
  #== Temporary server files
  #DEPRECATED:yada install -dir /usr/share/musmap/srvtmp
  #== Temporary files, available thru web server
  yada install -dir /usr/share/musmap/webtmp
  #== Doc
  #ignore: COPYRIGHT, LICENSE.LGPL, LICENSE, INSTALL
  yada install -doc TODO CHANGELOG
  #== config
  yada install -dir /etc/musmap
  yada symlink -into /etc/musmap /usr/share/musmap/include/conf/config.php
  yada symlink -into /etc/musmap /usr/share/musmap/include/conf/db_config.php
  yada symlink -into /etc/musmap /usr/share/musmap/include/conf/modules.conf.php
  yada symlink -into /etc/musmap /usr/share/musmap/include/conf/fonts.list
  yada symlink -into /etc/musmap /usr/share/musmap/include/conf/scales.txt
  #== Apache config
  for webserver in apache apache-perl apache-ssl apache2; do
      yada install -conf -ucf -into /etc/$webserver/conf.d -as musmap.conf debian/conf/apache.conf
  done
  yada symlink -into /var/www /usr/share/musmap
  #== cleaning
  #remove any CVS directory
  find /usr/share/musmap -name CVS | xargs rm -rf
  
  
  1.1                  musmap/debian/packages.templates
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.templates?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/musmap/debian/packages.templates?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: packages.templates
  ===================================================================
  Template: musmap/dbengine
  Type: select
  _Description: Choose the database engine for musmap
  Choices: mysql, postgresql, sqlite, firebird(experimental)
  Default: mysql
  
  Template: musmap/dbhost
  Type: string
  _Description: Database host (leave blank for local db)
  Default: 
  
  Template: musmap/dbport
  Type: string
  _Description: Database host port
  Default: 5432
  
  Template: musmap/dbuser
  Type: string
  Description: Database user
  Default: musmap
  
  Template: musmap/dbpassword
  Type: password
  Description: Database user password
  Default: 
  
  Template: musmap/dbname
  Type: string
  Description: Database name
  Default: musmap
  
  Template: musmap/dbfilename
  Type: string
  Description: Database file name
  Default: /path/to/musmap
  
  Template: musmap/dbpath
  Type: string
  Description: Database path
  Default: localhost:/path/to/musmap
  
  Template: musmap/dbadminuser
  Type: string
  Description: Database SUPER-user: this is needed to create database.
  Default: 
  
  Template: musmap/dbadminpassword
  Type: password
  Description: Database SUPER-user password
  Default: 
  
  Template: musmap/postinstall
  Type: note
  Description: Musmap is now partially installed, to finish installation 
    you should go to http://127.0.0.1/musmap/ and follow instructions.
  
  



More information about the Pkg-grass-devel mailing list