From 8548b0c60211128c8584ec5e356fc0f8414187d5 Mon Sep 17 00:00:00 2001 From: Jochen Maes Date: Mon, 4 Jul 2005 18:25:53 +0000 Subject: fixed permissions problems (Portage version: 2.0.51.22-r1) --- www-apps/dragonflycms/ChangeLog | 7 ++++++- www-apps/dragonflycms/Manifest | 20 +++++--------------- www-apps/dragonflycms/dragonflycms-9.0.3.0.ebuild | 15 ++++++++++++++- www-apps/dragonflycms/dragonflycms-9.0.4.0.ebuild | 16 +++++++++++++++- www-apps/dragonflycms/dragonflycms-9.0.5.0.ebuild | 15 ++++++++++++++- www-apps/dragonflycms/files/postinstall-en.txt | 20 ++++++++++++++++++-- 6 files changed, 72 insertions(+), 21 deletions(-) (limited to 'www-apps/dragonflycms') diff --git a/www-apps/dragonflycms/ChangeLog b/www-apps/dragonflycms/ChangeLog index bf054b12f95c..93377288af3f 100644 --- a/www-apps/dragonflycms/ChangeLog +++ b/www-apps/dragonflycms/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apps/dragonflycms # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/dragonflycms/ChangeLog,v 1.6 2005/07/03 10:44:43 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/dragonflycms/ChangeLog,v 1.7 2005/07/04 18:25:53 sejo Exp $ + + 04 Jul 2005; Jochen Maes files/postinstall-en.txt, + dragonflycms-9.0.3.0.ebuild, dragonflycms-9.0.4.0.ebuild, + dragonflycms-9.0.5.0.ebuild: + fixed permissions problems 03 Jul 2005; Sven Wegener dragonflycms-9.0.3.0.ebuild, dragonflycms-9.0.4.0.ebuild, diff --git a/www-apps/dragonflycms/Manifest b/www-apps/dragonflycms/Manifest index 72d9881034e8..ceec70b7e464 100644 --- a/www-apps/dragonflycms/Manifest +++ b/www-apps/dragonflycms/Manifest @@ -1,19 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 d43a42929ae1d7175d6ec946559775d0 ChangeLog 1084 -MD5 b8a271509708ca957ee84854e13a559a dragonflycms-9.0.3.0.ebuild 1151 -MD5 ef77248a9c414b4259448340b2bc596b dragonflycms-9.0.4.0.ebuild 1103 -MD5 8a76e6e6cc37ea4b6a43188629a81ce8 dragonflycms-9.0.5.0.ebuild 1153 +MD5 b4a4ba3d158b2e9750ead867c89ec821 dragonflycms-9.0.3.0.ebuild 1528 +MD5 05280439e7553934f0e385bb68536e19 dragonflycms-9.0.4.0.ebuild 1481 +MD5 5ca169fcfd41c2e46f99f51f5967b236 metadata.xml 574 +MD5 e9b37a88d471be505fe21f969f0cfff9 dragonflycms-9.0.5.0.ebuild 1530 MD5 0de8c25d7b281327a6e87009d44c9f20 files/digest-dragonflycms-9.0.3.0 70 MD5 30e21c32d1b9515d3805387218d50fa2 files/digest-dragonflycms-9.0.4.0 70 MD5 d51ee9843ef583fd547b75e420105250 files/digest-dragonflycms-9.0.5.0 70 -MD5 64a19aed532f6b3b4729c0819b6bfedf files/postinstall-en.txt 196 -MD5 5ca169fcfd41c2e46f99f51f5967b236 metadata.xml 574 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCx8GzI1lqEGTUzyQRAscCAKDI4orphgD+3+UyOFADGhMw6+QXZACgjOig -mBpIZV5Y8mqkQ9fk9cJ/wWU= -=Nqvz ------END PGP SIGNATURE----- +MD5 1d15a225bbe4934b0abc439d9131ee41 files/postinstall-en.txt 826 diff --git a/www-apps/dragonflycms/dragonflycms-9.0.3.0.ebuild b/www-apps/dragonflycms/dragonflycms-9.0.3.0.ebuild index 989e0feb7b03..a598eb7ae842 100644 --- a/www-apps/dragonflycms/dragonflycms-9.0.3.0.ebuild +++ b/www-apps/dragonflycms/dragonflycms-9.0.3.0.ebuild @@ -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/dragonflycms/dragonflycms-9.0.3.0.ebuild,v 1.4 2005/07/03 10:44:43 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/dragonflycms/dragonflycms-9.0.3.0.ebuild,v 1.5 2005/07/04 18:25:53 sejo Exp $ inherit webapp @@ -44,4 +44,17 @@ src_install() { webapp_src_install + # manually changing the permissions on the directories + # if no-suexec then perms should be 777 else 755 + + if useq no-suexec; then + PERMS=777 + else + PERMS=755 + fi + fperms 600 ${D}/cpg_error.log + fperms ${PERMS} ${D}/cache + fperms ${PERMS} ${D}/modules/coppermine/albums + fperms ${PERMS} ${D}/modules/coppermine/albums/userpics + fperms ${PERMS} ${D}/uploads/{avatars,forums} } diff --git a/www-apps/dragonflycms/dragonflycms-9.0.4.0.ebuild b/www-apps/dragonflycms/dragonflycms-9.0.4.0.ebuild index b69b6a7ab8bb..4060a43a406c 100644 --- a/www-apps/dragonflycms/dragonflycms-9.0.4.0.ebuild +++ b/www-apps/dragonflycms/dragonflycms-9.0.4.0.ebuild @@ -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/dragonflycms/dragonflycms-9.0.4.0.ebuild,v 1.3 2005/07/03 10:44:43 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/dragonflycms/dragonflycms-9.0.4.0.ebuild,v 1.4 2005/07/04 18:25:53 sejo Exp $ inherit webapp @@ -43,4 +43,18 @@ src_install() { webapp_src_install + # manually changing the permissions on the directories + # if no-suexec then perms should be 777 else 755 + + if useq no-suexec; then + PERMS=777 + else + PERMS=755 + fi + fperms 600 ${D}/cpg_error.log + fperms ${PERMS} ${D}/cache + fperms ${PERMS} ${D}/modules/coppermine/albums + fperms ${PERMS} ${D}/modules/coppermine/albums/userpics + fperms ${PERMS} ${D}/uploads/{avatars,forums} + } diff --git a/www-apps/dragonflycms/dragonflycms-9.0.5.0.ebuild b/www-apps/dragonflycms/dragonflycms-9.0.5.0.ebuild index 5813694a967f..057449fd7549 100644 --- a/www-apps/dragonflycms/dragonflycms-9.0.5.0.ebuild +++ b/www-apps/dragonflycms/dragonflycms-9.0.5.0.ebuild @@ -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/dragonflycms/dragonflycms-9.0.5.0.ebuild,v 1.2 2005/07/03 10:44:43 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/dragonflycms/dragonflycms-9.0.5.0.ebuild,v 1.3 2005/07/04 18:25:53 sejo Exp $ inherit webapp @@ -44,4 +44,17 @@ src_install() { webapp_src_install + # manually changing the permissions on the directories + # if no-suexec then perms should be 777 else 755 + + if useq no-suexec; then + PERMS=777 + else + PERMS=755 + fi + fperms 600 ${D}/cpg_error.log + fperms ${PERMS} ${D}/cache + fperms ${PERMS} ${D}/modules/coppermine/albums + fperms ${PERMS} ${D}/modules/coppermine/albums/userpics + fperms ${PERMS} ${D}/uploads/{avatars,forums} } diff --git a/www-apps/dragonflycms/files/postinstall-en.txt b/www-apps/dragonflycms/files/postinstall-en.txt index a580f4521ce8..4c3cf1837adf 100644 --- a/www-apps/dragonflycms/files/postinstall-en.txt +++ b/www-apps/dragonflycms/files/postinstall-en.txt @@ -1,8 +1,24 @@ To complete your installation, you must -1) add a database to mysql that will contain your DragonFly tables +1) Create a new database, for example, 'dragonfly': mysqladmin create dragonfly + OR add a database through your web control panel. + +2) Edit the file "config.php". Change all the fields until you are happy with + the changes and they fit the need of your web site. Give special attention + to the database configuration section. When you have finished editing + config.php, save it. + +3) install by going to http://localhost/dragonflycms/install.php + +4) IMPORTANT: certain directories have been chmodded 755 if you don't have +no-suexec in your useflags! if however you don't use suexec please change the +permissions on following dirs to 777 + - cache + - modules/coppermine/albums + - modules/coppermine/albums/userpics + - uploads/avatars + - uploads/forums -2) install by going to http://localhost/dragonflycms/install.php Enjoy DragonFly!!! -- cgit v1.2.3-65-gdbad