summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-15 15:32:57 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-15 15:32:57 +0000
commit350d25061860bdf2a10e14fdeab34ff9a419bbe9 (patch)
treec2fea0ba0384d99f5fef566cb51ad6d2cc35ed6d /www-apps/phpwebsite
parentMoved from net-www/phpmp to www-apps/phpmp (diff)
downloadhistorical-350d25061860bdf2a10e14fdeab34ff9a419bbe9.tar.gz
historical-350d25061860bdf2a10e14fdeab34ff9a419bbe9.tar.bz2
historical-350d25061860bdf2a10e14fdeab34ff9a419bbe9.zip
Moved from net-www/phpwebsite to www-apps/phpwebsite.
Diffstat (limited to 'www-apps/phpwebsite')
-rw-r--r--www-apps/phpwebsite/ChangeLog80
-rw-r--r--www-apps/phpwebsite/Manifest4
-rw-r--r--www-apps/phpwebsite/files/digest-phpwebsite-0.9.3_p2-r12
-rw-r--r--www-apps/phpwebsite/metadata.xml11
-rw-r--r--www-apps/phpwebsite/phpwebsite-0.9.3_p2-r1.ebuild70
5 files changed, 167 insertions, 0 deletions
diff --git a/www-apps/phpwebsite/ChangeLog b/www-apps/phpwebsite/ChangeLog
new file mode 100644
index 000000000000..5528d31ec36b
--- /dev/null
+++ b/www-apps/phpwebsite/ChangeLog
@@ -0,0 +1,80 @@
+# ChangeLog for net-www/phpwebsite
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpwebsite/ChangeLog,v 1.1 2004/08/15 15:32:57 stuart Exp $
+
+*phpwebsite-0.9.3_p2-r1 (15 Aug 2004)
+
+ 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +phpwebsite-0.9.3_p2-r1.ebuild:
+ Moved from net-www/phpwebsite to www-apps/phpwebsite.
+
+ 11 Jun 2004; Bryan Østergaard <kloeri@gentoo.org>
+ phpwebsite-0.9.3_p2-r1.ebuild:
+ Stable on alpha.
+
+ 10 May 2004; Don Seiler <rizzo@gentoo.org>;
+ -files/phpwebsite-0.9.3_p1-supplemental.patch, -files/update.php-0.9.3_p1:
+ Removing unused files
+
+ 21 Apr 2004; Martin Holzer <mholzer@gentoo.org>
+ phpwebsite-0.9.3_p2-r1.ebuild:
+ adding IUSE
+
+ 19 Apr 2004; Martin Holzer <mholzer@gentoo.org>
+ phpwebsite-0.9.3_p2-r1.ebuild:
+ moving webapp-detect to pkg_setup
+
+*phpwebsite-0.9.3_p2-r1 (06 Jan 2004)
+
+ 06 Jan 2004; Don Seiler <rizzo@gentoo.org>; phpwebsite-0.9.3_p1-r1.ebuild,
+ phpwebsite-0.9.3_p2-r1.ebuild, phpwebsite-0.9.3_p2.ebuild:
+ Adding in fixed Database.php
+
+*phpwebsite-0.9.3_p2 (15 Dec 2003)
+
+ 15 Dec 2003; Don Seiler <rizzo@gentoo.org>; phpwebsite-0.9.3_p2.ebuild:
+ Version bump
+
+ 15 Dec 2003; Stuart Herbert <stuart@gentoo.org>
+ phpwebsite-0.9.3_p1-r1.ebuild:
+ Fix for bug #32636
+
+ 23 Nov 2003; Martin Holzer <mholzer@gentoo.org>
+ phpwebsite-0.9.3_p1-r1.ebuild, files/phpwebsite-0.9.3-1-supplemental.patch,
+ files/phpwebsite-0.9.3_p1-supplemental.patch:
+ removing $header$ from patch. closes #32844
+
+ 23 Nov 2003; Martin Holzer <mholzer@gentoo.org> phpwebsite-0.9.2_p1.ebuild,
+ phpwebsite-0.9.3.ebuild, phpwebsite-0.9.3_p1.ebuild:
+ adding RESTRICT="nomirror"
+
+ 15 Nov 2003; Don Seiler <rizzo@gentoo.org>; metadata.xml:
+ Added metadata.xml
+
+ 06 Nov 2003; Martin Holzer <mholzer@gentoo.org>
+ phpwebsite-0.9.3_p1-r1.ebuild:
+ adding patch. Closes #32844.
+
+*phpwebsite-0.9.3_p1-r1 (02 Nov 2003)
+
+ 02 Nov 2003; Martin Holzer <mholzer@gentoo.org>
+ phpwebsite-0.9.3_p1-r1.ebuild, files/phpwebsite-0.9.3-1-supplemental.patch:
+ using webapps.eclass. Submitted by Don Seiler <don@seiler.us> in #32395.
+
+*phpwebsite-0.9.3 (01 Sep 2003)
+
+ 01 Sep 2003; Daniel Ahlberg <aliz@gentoo.org> phpwebsite-0.9.3_p1.ebuild :
+ Security update.
+
+ 18 Jul 2003; Don Seiler <rizzo@gentoo.org>; phpwebsite-0.9.3.ebuild:
+ Changing instructions for pre- and post-install scripts
+
+*phpwebsite-0.9.3 (16 Jul 2003)
+
+ 16 Jul 2003; Don Seiler <rizzo@gentoo.org>; phpwebsite-0.9.3.ebuild:
+ 0.9.3 released
+
+*phpwebsite-0.9.2_p1 (16 Jul 2003)
+
+ 16 Jul 2003; Don Seiler <rizzo@gentoo.org>:
+ Initial import. Ebuild submitted by me.
diff --git a/www-apps/phpwebsite/Manifest b/www-apps/phpwebsite/Manifest
new file mode 100644
index 000000000000..90d08557be12
--- /dev/null
+++ b/www-apps/phpwebsite/Manifest
@@ -0,0 +1,4 @@
+MD5 e3fec57aa99eba955f5c444a83489f71 phpwebsite-0.9.3_p2-r1.ebuild 2078
+MD5 730ab2a968cc98e00364816d37d9a1d7 ChangeLog 2456
+MD5 ecbb5a02001856289bc050635b8d8394 metadata.xml 522
+MD5 5d0bf869aca158f5d35948955a1aafee files/digest-phpwebsite-0.9.3_p2-r1 136
diff --git a/www-apps/phpwebsite/files/digest-phpwebsite-0.9.3_p2-r1 b/www-apps/phpwebsite/files/digest-phpwebsite-0.9.3_p2-r1
new file mode 100644
index 000000000000..ebb2e9494dd8
--- /dev/null
+++ b/www-apps/phpwebsite/files/digest-phpwebsite-0.9.3_p2-r1
@@ -0,0 +1,2 @@
+MD5 7cfcb9f27e92649fa7be2180f49f3929 phpwebsite-0.9.3-2-full.tar.gz 3157016
+MD5 af07936975e9db44c878669c46cd4d82 Database0932.zip 11203
diff --git a/www-apps/phpwebsite/metadata.xml b/www-apps/phpwebsite/metadata.xml
new file mode 100644
index 000000000000..31da1fc18da8
--- /dev/null
+++ b/www-apps/phpwebsite/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+ <email>rizzo@gentoo.org</email>
+ <name>Don Seiler</name>
+ <description>web-apps herd member and phpWebSite developer</description>
+</maintainer>
+<longdescription>phpWebSite provides a complete web site content management system. Web-based administration allows for easy maintenance of interactive, community-driven web sites.</longdescription>
+</pkgmetadata>
diff --git a/www-apps/phpwebsite/phpwebsite-0.9.3_p2-r1.ebuild b/www-apps/phpwebsite/phpwebsite-0.9.3_p2-r1.ebuild
new file mode 100644
index 000000000000..c726b99ef0a5
--- /dev/null
+++ b/www-apps/phpwebsite/phpwebsite-0.9.3_p2-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/phpwebsite/phpwebsite-0.9.3_p2-r1.ebuild,v 1.1 2004/08/15 15:32:57 stuart Exp $
+
+inherit webapp-apache
+
+IUSE="apache2"
+MY_PV="${PV/_p/-}"
+S="${WORKDIR}/${PN}-${MY_PV}-full"
+DESCRIPTION="phpWebSite provides a complete web site content management system. Web-based administration allows for easy maintenance of interactive, community-driven web sites."
+HOMEPAGE="http://phpwebsite.appstate.edu"
+SRC_URI="mirror://sourceforge/phpwebsite/${PN}-${MY_PV}-full.tar.gz
+ http://phpwsbb.sourceforge.net/Database0932.zip"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc alpha"
+
+DEPEND=">=sys-devel/patch-2.5.9"
+RDEPEND="virtual/php
+ dev-db/mysql"
+
+
+pkg_setup() {
+ webapp-detect || NO_WEBSERVER=1
+ webapp-pkg_setup "${NO_WEBSERVER}"
+ einfo "Installing for ${WEBAPP_SERVER}"
+}
+
+src_unpack() {
+ unpack ${PN}-${MY_PV}-full.tar.gz
+ cd ${S}/core/
+ unpack Database0932.zip
+}
+
+src_install() {
+ webapp-mkdirs
+
+ dodir "${HTTPD_ROOT}/phpwebsite"
+ cp -a * "${D}/${HTTPD_ROOT}/phpwebsite"
+ dodoc ${S}/docs/*.txt
+ dodoc ${S}/docs/*.php
+ dodoc ${S}/docs/developers/*.txt
+ dodoc ${S}/docs/developers/*.php
+
+ #cd "${D}/${HTTPD_ROOT}"
+ chown -R "${HTTPD_USER}:${HTTPD_GROUP}" "${D}/${HTTPD_ROOT}/phpwebsite"
+ chmod 0775 "${D}/${HTTPD_ROOT}/phpwebsite"
+ find "${D}/${HTTPD_ROOT}/phpwebsite/" -type d | xargs chmod 2775
+ find "${D}/${HTTPD_ROOT}/phpwebsite/" -type f | xargs chmod 0664
+ chmod 0555 "${D}/${HTTPD_ROOT}/phpwebsite/setup/*.sh"
+}
+
+pkg_postinst() {
+ einfo
+ einfo "You will need to create a database for phpWebSite"
+ einfo "on your own before starting setup."
+ einfo
+ #einfo "cd ${HTTPD_ROOT}/phpwebsite/setup"
+ #einfo "./secure_setup.sh setup"
+ #einfo
+ einfo "Once you have a database ready proceed to"
+ einfo "http://$HOSTNAME/phpwebsite to continue installation."
+ einfo
+ einfo "Once you are done with installation you need to run"
+ einfo
+ einfo "cd ${HTTPD_ROOT}/phpwebsite/setup"
+ einfo "./secure_phpws.sh run apache users"
+ einfo
+}