Version bump
authorRenat Lumpau <rl03@gentoo.org>
Wed, 24 Aug 2005 22:40:37 +0000 (22:40 +0000)
committerRenat Lumpau <rl03@gentoo.org>
Wed, 24 Aug 2005 22:40:37 +0000 (22:40 +0000)
Package-Manager: portage-2.0.51.22-r2

www-apps/tikiwiki/ChangeLog
www-apps/tikiwiki/Manifest
www-apps/tikiwiki/files/digest-tikiwiki-1.8.6 [new file with mode: 0644]
www-apps/tikiwiki/files/digest-tikiwiki-1.9.0-r1 [deleted file]
www-apps/tikiwiki/files/digest-tikiwiki-1.9.1 [new file with mode: 0644]
www-apps/tikiwiki/files/xmlrpc2-1.9.0.patch [deleted file]
www-apps/tikiwiki/tikiwiki-1.8.5-r2.ebuild
www-apps/tikiwiki/tikiwiki-1.8.6.ebuild [new file with mode: 0644]
www-apps/tikiwiki/tikiwiki-1.9.1.ebuild [moved from www-apps/tikiwiki/tikiwiki-1.9.0-r1.ebuild with 92% similarity]

index a387bd23cdf22185ebf032fa22cd8b206157f211..2d585dfbff33415ab96ec2df873c4215e44355de 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for www-apps/tikiwiki
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.18 2005/08/23 19:32:54 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/ChangeLog,v 1.19 2005/08/24 22:40:37 rl03 Exp $
+
+*tikiwiki-1.9.1 (24 Aug 2005)
+*tikiwiki-1.8.6 (24 Aug 2005)
+
+  24 Aug 2005; Renat Lumpau <rl03@gentoo.org> -files/xmlrpc2-1.9.0.patch,
+  tikiwiki-1.8.5-r2.ebuild, +tikiwiki-1.8.6.ebuild,
+  -tikiwiki-1.9.0-r1.ebuild, +tikiwiki-1.9.1.ebuild:
+  Version bump
 
   23 Aug 2005; Renat Lumpau <rl03@gentoo.org> tikiwiki-1.9.0-r1.ebuild:
   Fixing cp -a wrt bug #103487
index 5f069af6c3c6553bcdbb112a18e0535778dc4924..ae0b8fa42a1031549c1b43ba63e912037d7ec649 100644 (file)
@@ -1,19 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 3b16cbdf59ebda0b13fdb6066503ae0c tikiwiki-1.9.0-r1.ebuild 2581
-MD5 9e6f558c7e3fe223eb0f506f6e62b429 tikiwiki-1.8.5-r2.ebuild 2329
-MD5 60e8fc972b683dda9043a3eb64d84524 ChangeLog 4879
+MD5 a1719a8cde06741a7a437cafe9e090a8 tikiwiki-1.8.6.ebuild 2069
+MD5 53bd7ad0d739792085a43773b049d08a tikiwiki-1.8.5-r2.ebuild 2158
+MD5 0af2a295c408983988b9065d45a13ed0 ChangeLog 5135
 MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 3c8a69146eabe071e1b9db23fa047a63 tikiwiki-1.9.1.ebuild 2504
 MD5 a43526d55fa814d5e9af0042767a6600 files/postinstall-en.txt 1407
 MD5 6366ec5badc9e0d9d20befdf8052c73a files/digest-tikiwiki-1.8.5-r2 68
-MD5 28eb632d3d2985010cc05afcd084acd4 files/digest-tikiwiki-1.9.0-r1 68
-MD5 f9b53d80344d059dda253d001af38c8c files/xmlrpc2-1.9.0.patch 2587
+MD5 179db1005cef09973bc3ffda69a7bb11 files/digest-tikiwiki-1.8.6 68
+MD5 2aca7d1af17e4d10481d0f62be41ffa8 files/digest-tikiwiki-1.9.1 68
 MD5 b0640c9b04a5e76a0a888afbe7860c41 files/xmlrpc2-1.8.5.patch 2587
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (GNU/Linux)
 
-iD8DBQFDC3n/EzitwsaoONoRAvzcAKC9B4phyWsEqJvwsredYeSFHB4LnQCfY21g
-4UJApjQRDBuOVxgc+2pxWPE=
-=kYuF
+iD8DBQFDDPdwEzitwsaoONoRAkPjAJ9tRxDSatkY+h6Lj57QK/YYPEaQTACgxF5D
+iWXggwzhKB0pZCmMgF7OWqM=
+=RvRJ
 -----END PGP SIGNATURE-----
diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.8.6 b/www-apps/tikiwiki/files/digest-tikiwiki-1.8.6
new file mode 100644 (file)
index 0000000..b179914
--- /dev/null
@@ -0,0 +1 @@
+MD5 ecb6fa251513bc55fac55f42c205e6ca tikiwiki-1.8.6.tar.bz2 5749474
diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.9.0-r1 b/www-apps/tikiwiki/files/digest-tikiwiki-1.9.0-r1
deleted file mode 100644 (file)
index baa9095..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 524deba410cc17048781b3a999d7b509 tikiwiki-1.9.0.tar.bz2 6007822
diff --git a/www-apps/tikiwiki/files/digest-tikiwiki-1.9.1 b/www-apps/tikiwiki/files/digest-tikiwiki-1.9.1
new file mode 100644 (file)
index 0000000..8d47958
--- /dev/null
@@ -0,0 +1 @@
+MD5 7f90436540d06efc323fb8300d41f62c tikiwiki-1.9.1.tar.bz2 6151786
diff --git a/www-apps/tikiwiki/files/xmlrpc2-1.9.0.patch b/www-apps/tikiwiki/files/xmlrpc2-1.9.0.patch
deleted file mode 100644 (file)
index 9b0e230..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
---- commxmlrpc.php.old 2005-08-21 15:01:21.000000000 -0400
-+++ commxmlrpc.php     2005-08-21 15:01:57.000000000 -0400
-@@ -10,8 +10,7 @@
- 
- include_once ('lib/tikilib.php');
- include_once ('lib/userslib.php');
--include_once ("lib/xmlrpc.inc");
--include_once ("lib/xmlrpcs.inc");
-+include_once ("XML/Server.php");
- include_once ('lib/commcenter/commlib.php');
- 
- $tikilib = new Tikilib($dbTiki);
-@@ -26,7 +25,7 @@
-       "sendArticle" => array("function" => "sendArticle")
- );
- 
--$s = new xmlrpc_server($map);
-+$s = new XML_RPC_Server($map);
- 
- /* Validates the user and returns user information */
- function sendPage($params) {
-@@ -49,18 +48,18 @@
-       $description = $pp->scalarval();
-       // 
-       if (!$userlib->validate_user($username, $password, '', '')) {
--              return new xmlrpcresp(0, 101, "Invalid username or password");
-+              return new XML_RPC_Response(0, 101, "Invalid username or password");
-       }
- 
-       // Verify if the user has tiki_p_sendme_pages
-       if (!$userlib->user_has_permission($username, 'tiki_p_sendme_pages')) {
--              return new xmlrpcresp(0, 101, "Permissions denied user $username cannot send pages to this site");
-+              return new XML_RPC_Response(0, 101, "Permissions denied user $username cannot send pages to this site");
-       }
- 
-       // Store the page in the tiki_received_pages_table
-       $data = base64_decode($data);
-       $commlib->receive_page($pageName, $data, $comment, $site, $username, $description);
--      return new xmlrpcresp(new xmlrpcval(1, "boolean"));
-+      return new XML_RPC_Response(new XML_RPC_Value(1, "boolean"));
- }
- 
- function sendArticle($params) {
-@@ -114,12 +113,12 @@
- 
-       // 
-       if (!$userlib->validate_user($username, $password, '', '')) {
--              return new xmlrpcresp(0, 101, "Invalid username or password");
-+              return new XML_RPC_Response(0, 101, "Invalid username or password");
-       }
- 
-       // Verify if the user has tiki_p_sendme_pages
-       if (!$userlib->user_has_permission($username, 'tiki_p_sendme_articles')) {
--              return new xmlrpcresp(0, 101, "Permissions denied user $username cannot send articles to this site");
-+              return new XML_RPC_Response(0, 101, "Permissions denied user $username cannot send articles to this site");
-       }
- 
-       // Store the page in the tiki_received_pages_table
-@@ -132,7 +131,7 @@
-       $commlib->receive_article($site, $username, $title, $authorName, $size, $use_image, $image_name, $image_type, $image_size,
-               $image_x, $image_y, $image_data, $publishDate, $expireDate, $created, $heading, $body, $hash, $author, $type, $rating);
- 
--      return new xmlrpcresp(new xmlrpcval(1, "boolean"));
-+      return new XML_RPC_Response(new XML_RPC_Value(1, "boolean"));
- }
- 
- ?>
index c897ba3a5123f36566acc33f2e485fb070f8ddf9..d00ebfc9b41d3866c116f951ced20b63bb2bc73a 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.8.5-r2.ebuild,v 1.2 2005/08/22 20:18:42 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.8.5-r2.ebuild,v 1.3 2005/08/24 22:40:37 rl03 Exp $
 
 inherit eutils webapp
 
@@ -65,12 +65,6 @@ src_install() {
                done
        done
 
-       # Flag files for scripting engine
-       #
-       find . -name '*.php' -a ! -name '*.inc.php' | while read DIRENTRY; do
-               webapp_runbycgibin php ${MY_HTDOCSDIR}/${DIRENTRY}
-       done
-
        # Setup some post-install notes for webapp-config
        #
        webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
diff --git a/www-apps/tikiwiki/tikiwiki-1.8.6.ebuild b/www-apps/tikiwiki/tikiwiki-1.8.6.ebuild
new file mode 100644 (file)
index 0000000..c1e0b6e
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.8.6.ebuild,v 1.1 2005/08/24 22:40:37 rl03 Exp $
+
+inherit webapp
+
+DESCRIPTION="Full featured Web Content Management System using Php and Smarty Templates"
+HOMEPAGE="http://tikiwiki.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="virtual/php
+       media-gfx/graphviz"
+
+src_install() {
+       webapp_src_preinst
+
+       local DIR
+       local DIRENTRY
+       local DIRS="backups db dump img/wiki
+               img/wiki_up modules/cache temp temp/cache
+               templates_c templates styles lib/Galaxia/processes"
+
+
+       # Ensure that directories exist, some don't.
+       # (part of setup.sh)
+       #
+       for DIR in ${DIRS}; do
+               mkdir -p ${DIR}
+       done
+
+       # Remove the execute permission from the setup.sh script
+       # and rename it.  Its actions have been incorporated here.
+       #
+       chmod a-x setup.sh
+       mv setup.sh setup.sh.done
+
+       # Install the minimal doc (points to web page)
+       #
+       dodoc doc/readme.txt doc/htaccess doc/htaccess.readme INSTALL README
+
+       # The bulk goes into htdocs
+       # but don't copy INSTALL and README
+       cp -a [[:lower:]]* ${D}/${MY_HTDOCSDIR}
+
+       # Recursively set server ownership to allow server to write
+       # This is the rough equivalent of the setup.sh script
+       # provided in the distribution.
+       # Note: Cannot use xargs or find -exec here because 
+       #               these don't     work with shell functions.
+       #
+       webapp_serverowned ${MY_HTDOCSDIR}
+       for DIR in ${DIRS}; do
+               find ${DIR} | while read DIRENTRY; do
+                       webapp_serverowned ${MY_HTDOCSDIR}/${DIRENTRY}
+               done
+       done
+
+       # Setup some post-install notes for webapp-config
+       #
+       webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+       webapp_src_install
+}
+
+pkg_config() {
+       einfo "Type in your MySQL root password to create an empty tiki database:"
+       mysqladmin -u root -p create tikiwiki
+       einfo
+       einfo
+       einfo "Now, point your browser to the location of tiki-install.php"
+       einfo "    ==> e.g. http://localhost/tikiwiki/tiki-install.php"
+       einfo
+}
similarity index 92%
rename from www-apps/tikiwiki/tikiwiki-1.9.0-r1.ebuild
rename to www-apps/tikiwiki/tikiwiki-1.9.1.ebuild
index 5d186eba6c96e177883793073ae0cea2d01de7cb..7d04fdb4ddd174b870a879e44212b5ffc8dc74e4 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.9.0-r1.ebuild,v 1.3 2005/08/23 19:32:54 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/tikiwiki/tikiwiki-1.9.1.ebuild,v 1.1 2005/08/24 22:40:37 rl03 Exp $
 
-inherit webapp eutils
+inherit webapp
 
 DESCRIPTION="Full featured Web Content Management System using Php and Smarty Templates"
 HOMEPAGE="http://tikiwiki.org/"
@@ -17,12 +17,6 @@ RDEPEND="virtual/php
        postgres? ( dev-db/postgresql )
        graphviz? ( media-gfx/graphviz )
 "
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/xmlrpc2-${PV}.patch
-}
-
 pkg_setup () {
        webapp_pkg_setup
        einfo "Make sure your PHP is compiled with mysql or postgres support"
@@ -34,7 +28,7 @@ src_install() {
 
        local DIR
        local DIRENTRY
-       local DIRS="backups db dump files img/wiki
+       local DIRS="backups db dump files img/trackers img/wiki
                img/wiki_up modules/cache temp temp/cache
                templates_c templates styles maps whelp mods
                lib/Galaxia/processes"