Opened 21 years ago

Closed 19 years ago

#580 closed defect (fixed)

NEW: tiki

Reported by: ari@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

# $Id $

PortSystem 1.0

name tiki version 1.6.0 homepage http://tikiwiki.sourceforge.net/ description php based wiki with lots of extra features categories www platforms darwin maintainers ari@… set sourcepath tikiwiki master_sites http://unc.dl.sourceforge.net/sourceforge/${sourcepath}/ \

http://telia.dl.sourceforge.net/sourceforge/${sourcepath}/ \ http://easynews.dl.sourceforge.net/sourceforge/${sourcepath}/ \ http://umn.dl.sourceforge.net/sourceforge/${sourcepath}/ \ http://twtelecom.dl.sourceforge.net/sourceforge/${sourcepath}/ \ http://belnet.dl.sourceforge.net/sourceforge/${sourcepath}/ \ http://switch.dl.sourceforge.net/sourceforge/${sourcepath}/ \ http://cesnet.dl.sourceforge.net/sourceforge/${sourcepath}/

use_zip yes extract.sufx zip distfiles ${name}16.${extract.sufx} # fix bug in tiki which stops it working with php 4.1 (installed in OSX Server 10.2) patchfiles patch-tiki-install.php.diff checksums md5 7f2526bcb9fa70d5222d989ece1e69de worksrcdir tiki depends_lib bin:httpd:apache configure {} build {} install {

system "mkdir -p

${destroot}${prefix}/www/${name}-${version}"

system "cp -fR ${workpath}/${name}/*

${destroot}${prefix}/www/${name}-${version}/"

system "cd ${destroot}${prefix}/www/${name}-${version}/

&& sudo sh ./setup.sh www www && chown -R www:www *"

}

long_description TikiWiki is an open source web application which provides a full Wiki environment \

as well as Articles, Sections, User/Group Management

(including optinal LDAP interaction), \

Polls and Quizzes, File and Image Galleries, Forums,

Comments on many areas, Weblogs, and much more.

Attachments (2)

patch-tiki-install.php.diff (415 bytes) - added by ari@… 21 years ago.
additional patch for this port
Portfile (1.8 KB) - added by ari@… 21 years ago.
Portfile for 1.6.1

Download all attachments as: .zip

Change History (7)

Changed 21 years ago by ari@…

Attachment: patch-tiki-install.php.diff added

additional patch for this port

comment:1 Changed 21 years ago by ari@…

I don't know how to do this, but this text needs to be displayed to the user when they finish the install: =============================== You have now installed tiki successfully. In order to use this software there are still a few things to do.

  1. link the tiki site to your webserver documents folder. On OSX Server this

would be done like this:

ln -s /opt/local/www/tiki-1.6.0 /Library/WebServer/Documents/tiki

  1. create a database suitable for tiki. With mysql running on the same machine

as this tiki installation, you would do this:

mysql -u root -p [type root password] create database tiki; GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER, CREATE TEMPORARY TABLES ON tiki . * TO "tiki"@"localhost"; SET PASSWORD FOR "tiki"@"localhost" = PASSWORD( "*" );

You would type your password instead of those asterisks.

  1. point a web browser to this machine to complete the setup:

http://localhost/tiki/tiki-install.php

===============================

comment:2 Changed 21 years ago by ari@…

One final comment: I am not completely certain of the syntax to have this port depend on php (4.1 or greater). mysql is usually required by another database can be used in its place, so it should not be a dependency.

comment:3 Changed 21 years ago by ari@…

attachments.isobsolete: 01

(From update of attachment 330) No longer required with tiki 1.6.1

Changed 21 years ago by ari@…

Attachment: Portfile added

Portfile for 1.6.1

comment:4 Changed 19 years ago by snu@…

Summary: new tiki portNEW: tiki

comment:5 Changed 19 years ago by waqar@…

Resolution: fixed
Status: newclosed

Checked in.

Note: See TracTickets for help on using tickets.