CVS: moonbase/web/PostNuke BUILD, NONE, 1.1 DEPENDS, NONE, 1.1 DETAILS, NONE, 1.1 POST_INSTALL, NONE, 1.1

sofar at lunar-linux.org sofar at lunar-linux.org
Sun Sep 21 17:54:22 GMT 2003


Update of /var/cvs/lunar/moonbase/web/PostNuke
In directory dbguin.lunar-linux.org:/tmp/cvs-serv26820/PostNuke

Added Files:
	BUILD DEPENDS DETAILS POST_INSTALL 
Log Message:
Adding PostNuke module! read the notes carefully upon installing, it's kinda nasty.


--- NEW FILE: BUILD ---
(

  prepare_install

  PREFIX=/var/postnuke
  mkdir -p $PREFIX                      &&

  for STUFF in $( ls html | grep -v install ) ; do
    verbose_msg "Copying: $STUFF"
    cp -a html/$STUFF $PREFIX
  done                                  &&

  mkdir -p /usr/share/doc/$MODULE       &&
  cp phoenix-sql/Phoenix-0.7.2.6.sql /usr/share/doc/$MODULE/ &&
  sedit "s:$pnconfig['encoded'] = '1';:$pnconfig['encoded'] = '0';:" $PREFIX/config.php

) > $C_FIFO 2>&1

--- NEW FILE: DEPENDS ---
depends apache2 &&
depends php &&
depends mysql

--- NEW FILE: DETAILS ---
    MODULE=PostNuke
   VERSION=0.726
    SOURCE=$MODULE-$VERSION.tar.gz
SOURCE_VFY=md5:2889d4fd0494b693b36817e3ed1e0cd8
SOURCE_URL=http://download.hostnuke.com/sf/postnuke/$SOURCE
   ENTERED=20030921
   UPDATED=20030921
  WEB_SITE=http://http://www.postnuke.com/
     SHORT="An all-round MySql Pph web portal system"
cat << EOF
EOF

--- NEW FILE: POST_INSTALL ---
message ""
message "${MESSAGE_COLOR}Don't forget to edit /var/postnuke/config.php!${DEFAULT_COLOR}"
message "${MESSAGE_COLOR}Don't forget to merge Phoenix-xxxx.sql from /usr/share/doc/${MODULE}:${DEFAULT_COLOR}"
message "${MESSAGE_COLOR}  start mysql and do:${DEFAULT_COLOR}"
message "  create DATABASE postnuke; use postnuke;"
message "  source /usr/share/doc/PostNuke/Phoenix-0.7.2.6.sql;"
message "${MESSAGE_COLOR}Then give permissions to the database for the postnuke user:${DEFAULT_COLOR}"
message "  GRANT ALL PRIVILEGES ON postnuke.* TO postnuke at localhost IDENTIFIED BY '<postnuke-password>' WITH GRANT OPTION;"
message "  exit;"
message "${MESSAGE_COLOR}Make sure you change the default \"Admin\" password from \"Password\" to"
message "something sensible and set ['encoded']='0' in config.php.${DEFAULT_COLOR}"




More information about the Lunar-commits mailing list