new version also fixes the security bug 104422
authorJochen Maes <sejo@gentoo.org>
Tue, 4 Oct 2005 11:28:07 +0000 (11:28 +0000)
committerJochen Maes <sejo@gentoo.org>
Tue, 4 Oct 2005 11:28:07 +0000 (11:28 +0000)
Package-Manager: portage-2.0.52-r1

www-apps/dragonflycms/Manifest
www-apps/dragonflycms/dragonflycms-9.0.6.1.ebuild [new file with mode: 0644]
www-apps/dragonflycms/files/digest-dragonflycms-9.0.6.1 [new file with mode: 0644]

index 865a984fcaaf9c90ed56a8cd19bfe4c5e2c598f7..7495044f02a25b4830a7a255ee33856f1e9c4b5b 100644 (file)
@@ -1,19 +1,21 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 5ca169fcfd41c2e46f99f51f5967b236 metadata.xml 574
-MD5 61bf86b88c5802f1960720e2610c42f0 dragonflycms-9.0.5.0.ebuild 1539
-MD5 1bbf11c642643230e581cb138f93cb98 dragonflycms-9.0.3.0.ebuild 1524
 MD5 ede77ca0f059c716b755868e73a180f6 ChangeLog 1272
+MD5 1bbf11c642643230e581cb138f93cb98 dragonflycms-9.0.3.0.ebuild 1524
 MD5 5489d8ebd937cd75db0cb4937d0082b3 dragonflycms-9.0.4.0.ebuild 1477
-MD5 1d15a225bbe4934b0abc439d9131ee41 files/postinstall-en.txt 826
-MD5 30e21c32d1b9515d3805387218d50fa2 files/digest-dragonflycms-9.0.4.0 70
+MD5 61bf86b88c5802f1960720e2610c42f0 dragonflycms-9.0.5.0.ebuild 1539
+MD5 5ca169fcfd41c2e46f99f51f5967b236 metadata.xml 574
+MD5 4a36804915bb957e5580417773201cc5 dragonflycms-9.0.6.1.ebuild 1537
 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 1d15a225bbe4934b0abc439d9131ee41 files/postinstall-en.txt 826
+MD5 772df86b0bb435027373f5e22676ee11 files/digest-dragonflycms-9.0.6.1 70
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.1 (GNU/Linux)
 
-iD8DBQFDAXZqgIKl8Uu19MoRAvTVAJ991UNbRoiA07gF2nQyOXpc7p9ToQCeJIAt
-kqBwkLe4byY62R6sZMET8tU=
-=6ofl
+iD8DBQFDQmc4MXMsRNMHhmARAgcUAJ42A+7MVvEBoiNJi5nzJ33R1f7G6ACfVDV1
+jHTuiOXB7sCFW/ySeOi70t8=
+=GMMN
 -----END PGP SIGNATURE-----
diff --git a/www-apps/dragonflycms/dragonflycms-9.0.6.1.ebuild b/www-apps/dragonflycms/dragonflycms-9.0.6.1.ebuild
new file mode 100644 (file)
index 0000000..7d95fce
--- /dev/null
@@ -0,0 +1,60 @@
+# 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.6.1.ebuild,v 1.1 2005/10/04 11:28:07 sejo Exp $
+
+inherit webapp
+
+MY_P=Dragonfly${PV}
+DESCRIPTION="CPG Dragonfly CMS is a feature-rich open source content management
+system based off of PHP-Nuke 6.5"
+HOMEPAGE="http://dragonflycms.org"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
+http://dev.gentoo.org/~sejo/files/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~arm ~ppc ~s390 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-db/mysql-3.23.32 <dev-db/mysql-5.1
+        virtual/httpd-php"
+DEPEND=""
+
+src_install() {
+
+       webapp_src_preinst
+
+       #Do the documentation
+       insinto /usr/share/doc/${PF}
+       doins -r ${WORKDIR}/documentation/*
+
+       #installing files where they need to be.
+       einfo "installing php main files"
+       cp -r ${WORKDIR}/public_html/* ${D}${MY_HTDOCSDIR}
+       einfo "Done"
+
+       #identiy the configuration file the app uses
+
+       webapp_configfile ${MY_HTDOCSDIR}/config.php
+
+       # add the postinstall instructions
+
+       webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+       # done, now strut the stuff
+
+       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/digest-dragonflycms-9.0.6.1 b/www-apps/dragonflycms/files/digest-dragonflycms-9.0.6.1
new file mode 100644 (file)
index 0000000..d2693ab
--- /dev/null
@@ -0,0 +1 @@
+MD5 c4aa9862b2474b090e1158bd6a603708 Dragonfly9.0.6.1.tar.bz2 1376475