summaryrefslogtreecommitdiff
path: root/www-apps/phpwebsite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/phpwebsite
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/phpwebsite')
-rw-r--r--www-apps/phpwebsite/Manifest9
-rw-r--r--www-apps/phpwebsite/files/postinstall-en.txt130
-rw-r--r--www-apps/phpwebsite/metadata.xml12
-rw-r--r--www-apps/phpwebsite/phpwebsite-0.10.2.ebuild48
-rw-r--r--www-apps/phpwebsite/phpwebsite-1.7.2.ebuild43
5 files changed, 242 insertions, 0 deletions
diff --git a/www-apps/phpwebsite/Manifest b/www-apps/phpwebsite/Manifest
new file mode 100644
index 000000000000..3a2c639f461a
--- /dev/null
+++ b/www-apps/phpwebsite/Manifest
@@ -0,0 +1,9 @@
+AUX postinstall-en.txt 4642 SHA256 aa928a0658820728c93f14cca446644745e0cc7408091a1971c7d06bd7616d9f SHA512 18698195eabc6f0b032c679f6f8bb4e6f5c09c1063155feb98ea366ac204e3577b7fbc5a0b49a1f6d5b00f0354c0e5b2bab52f99e4996f81e1511657e7529aa0 WHIRLPOOL 4a148e211ecd6d8a59e1ae76f38806d779ebb54a3633cf7aeb9a78102f9344a3eb4be3c2353c2116d39c2248a84cdd056409269f055b2c46221c7807aeba9b0b
+DIST phpwebsite-0.10.2-full.tar.gz 3338377 SHA256 1b91045e6e8d40dbfaac2b0016dac378885f98588e68e752fec76d1991c71696 SHA512 b767ddf2f211c5bf9ccee22f88dae0a66a26a7a294d8eb95a94a9384d358f18ecf3ce888423c98a8a84091f7bad6399c370220ae31fbf5006f1416a44ec4d4c6 WHIRLPOOL 2081c4e88fa2e6037c6b3e2ba46840266d4616b6a5ad2cc9c2a81b9231c185e18fbae84ebfe04620db68707ed0eda7e4e3d377cae1407fb3425528a15dd9792a
+DIST phpwebsite_1_7_2.tar.gz 14531036 SHA256 a97b481f83d693913c2bd90b28e3d41844fab2abf7dad1a0729df5c2ac00fb99 SHA512 cf3f503794bb12d24ea003b0caf3e98148be43e0acd38e4d15be559cdf643266270800450309337d6540eaa069022730cef64bf315bd0fb3853a344a63c78ae5 WHIRLPOOL d882ef8b7bb69e0355e5e6eea228ec2ffb051bb7a574e2a3257a4999b1f5e34c48872d19658595cdb82f00dfae21febad733df5d1f3b1f679c52b70748a10b07
+DIST phpws_patch_20060419.2.tgz 1560 SHA256 7df6518405f13da4b7ffd87cf5ec3d11d6df32927b6f8a045fc0ec02eef96345 SHA512 12354f8012dbb5540f681b3df54108153745264f9703242edfb31122bfe5e59df86ad51fbb4faced52afad1f69eae137f0da428fac2f32af582e5e91800539c2 WHIRLPOOL 3c110ef4b27336adee28a208ab9db04f436d9fdb500f6bf4b099228fd58192da8717ba83bc7b5ea01d9b3288dec93911c625ab14cdcc54de7cf463681679a341
+EBUILD phpwebsite-0.10.2.ebuild 1332 SHA256 bcdd4ae7651aa8754e97dd506f9934f2920c4ab863f39bb9eba4524e8d20c180 SHA512 16b6ba4832cae9bba062c72d22b3006d2b0b64d4e6228aa39af297ccd955ac4a0439205221bdd24ae612a8ccd29e2f43a414e6ad6990a26db4ea25e1b18fc9d7 WHIRLPOOL 06f3b15d78e328da25a9dded8977bc66db4dbe69b7130cba2687cdfbdafe9cfda53ef373604ed52dfebfc8ee40b5663d6e06b34b5c048652d5c513e861e20e13
+EBUILD phpwebsite-1.7.2.ebuild 1076 SHA256 51fa1908db3656f6478951b3656fa6d8b4581fad324be7bdd53f46b29a280979 SHA512 f71f17722a93f01f61db60b703ed382a433bfecfde4cc3e238b01b4859d68641559ee73b82c24ae6b888475f4db5f7e007149e367fd83ca6793ef4175580f213 WHIRLPOOL de3280bfc51455672a2f364c8fd11c7da69df97787485a7fb487d8190a673e3027dd64840da03d32187d9c4be16cd0d51f675181a450112a3c187f35c32390b3
+MISC ChangeLog 2525 SHA256 0ed0d509da4618d05d6e2877b3efe5ca95e82a036a793271c1ca73185d70d47d SHA512 44283d58ef3155ca41743d0199c9909aaadfdfb83c860cb2e4ef6465f08778610ead32be809a4d19b5287bc04916cad6473b24d12031b6d07ed7907fe2eecb1c WHIRLPOOL 31e8383de14d2449e3a9c63d5ef87deee2f6d28adae75329218f027f1ddc1de9defbbb1c4f00121bf685efc3f089ee9769970e0c4dbc4bad8535f9d03e2a61a7
+MISC ChangeLog-2015 11371 SHA256 d255464b6e05c645c60f3f534dfcc52eb2f91e1d9fd0aa17915b3761bb585b32 SHA512 24765cbdbb29e39a3d858e1c96271ea4fcf79e2ec4095a4a37f64767f275e476445e929acb1271655fb7359cee757eb1b81bee4c2596a568240299fc23e30998 WHIRLPOOL 62623e28773adfa86a1281f88e7136cedf43cd0deabb3414a99dcad742ec6b5fe2529db888c085c5dc3a21878874506f3536501fbcab4b839acc095b3abaf457
+MISC metadata.xml 530 SHA256 11f9a66efb29de4e635a1586e0963bc940b4953d5e6eeb6d82a411e3afcd1ad0 SHA512 ae99108e95329aacd90e09478fa476ddde8c30de43db1c2f09b7083d034d0190114922ae70715414ad32456884b9be9e99fadc6ace9374336dc8eb35aa089c90 WHIRLPOOL d3ac0f070c766f9674f4a8e27f8d896c6149b786c99509460687b2c48ab34607f259bd63d74966a472fd07375ea4aca58a196e64777740b4f70c8b4431671306
diff --git a/www-apps/phpwebsite/files/postinstall-en.txt b/www-apps/phpwebsite/files/postinstall-en.txt
new file mode 100644
index 000000000000..7bca5583dafb
--- /dev/null
+++ b/www-apps/phpwebsite/files/postinstall-en.txt
@@ -0,0 +1,130 @@
+phpWebSite is installed.
+
+Installation Instructions
+=========================
+
+You will need to create a database for phpWebSite
+on your own before starting setup.
+
+Then change permissions for set with this script:
+
+cd ${MY_INSTALLDIR}/setup
+./secure_phpws.sh setup
+
+Once you have a database ready proceed to
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR} to continue installation.
+
+Once you are done with installation you need to run:
+
+cd ${MY_INSTALLDIR}/setup
+./secure_phpws.sh run apache users
+
+Upgrade Instructions
+====================
+
+Preparing to Upgrade
+--------------------
+ - Dump/backup your hub and branch databases.
+ - Backup your hub and branch directories/files.
+ - Create an index.php file that warns users of the upgrade.
+
+<?php
+echo "<div align=\"center\"><h1>Please be patient while we upgrade the site.</h1>
+We'll be back in a jiffy!</div>";
+?>
+
+ - Close and restart your browser. If you have a session live while updating
+ your site, it MIGHT interfere with the upgrade process. If you are using
+ Boost to upgrade, you can skip this step.
+
+If you are upgrading to 0.9.3 or greater, you should make the images/
+directory and subdirectories writable by the web server.
+
+Prepare your branches if you are running any off of your hub site. Depending
+on the owner of these directories will affect the commands to run. The base
+directory of each branch will need to be writable.
+
+If the owner is the webserver and you have root access:
+chmod o+rwx branch1/
+chmod o+rwx branch2/
+etc...
+
+otherwise:
+chmod 0777 branch1/
+chmod 0777 branch2/
+etc...
+
+The images and themes directories will also need to be writable for the
+upgrade:
+
+chmod -R o+rwx branch1/{images,themes}
+chmod -R o+rwx branch2/{images,themes}
+
+-or-
+
+chmod -R 0777 branch1/{images,themes}
+chmod -R 0777 branch2/{images,themes}
+
+If the webserver is not given the proper permissions then the branch upgrade
+will not be successfull.
+
+
+Once you have you have finished these steps (and ONLY after) should you
+continue.
+
+Running the Upgrade
+--------------------------------------
+Now you can untar the new files into your installation. If you go to
+your site's index.php file, you will see a few error messages. The
+aforementioned index.php prevents most people from seeing these messages.
+Point your browser to 'http://www.myWebSitesName.com/setup/' where
+'www.myWebSitesName.com' is the address for your web site.
+
+The first thing the upgrader will do is upgrade your core modules. It
+will also check to see if you are running any branch sites and automatically
+upgrade them as well.
+
+You should receive a 'Core Updated!' message. Underneath these messages
+will be a list of modules that appear to need upgrading as well. Click
+the checkboxes of the modules you want updated (or click the 'Check All' button
+to check all of them) and click the 'Update Modules' button. Your site and
+all your branch sites should now be updated.
+
+If you made a warning index.php file, dump it and put the real file back.
+You should now be able to use your site as normal.
+
+Should something go wrong
+--------------------------------------
+If you go to your site and receive errors the FIRST thing you should try
+is closing your browser, reopening it, and trying to use your site again.
+Sometimes old sessions will conflict with the upgraded information.
+
+If you get an error message or your sites still don't function, restore your
+backed up databases and files and try again. If it STILL doesn't work, contact
+us via Sourceforge, we want to know what went wrong.
+
+Please include your OS, web server, PHP, and phpWebSite version information.
+Also include any error messages that were displayed. The more data you supply
+us, the better chance you will receive help.
+
+You may also try using the repair.php file. It contains answers to a few
+commonly experienced problems.
+
+Returning to update.php
+---------------------------------------
+Most of the time, Boost will handle your upgrade needs. However, should
+an upgraded module cause problems before you can get to the Boost module,
+you can always return to update.php to upgrade the offending module.
+
+Securing your Site
+---------------------------------------
+Although setup.php, update.php, and repair.php require passwords to enter,
+you may want to prevent malicious users (read: jerks) from even accessing
+these files. One way would be to limit read access on that directory after
+you are finished using it. Another measure would be to alter your
+allow_setup.php file. Open this file in an editor and change the 'TRUE'
+to 'FALSE' like so:
+
+$_SESSION['allow_setup'] = FALSE;
+
+Change this back to TRUE when you need to update again.
diff --git a/www-apps/phpwebsite/metadata.xml b/www-apps/phpwebsite/metadata.xml
new file mode 100644
index 000000000000..cce709fb534c
--- /dev/null
+++ b/www-apps/phpwebsite/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>web-apps@gentoo.org</email>
+ <name>Gentoo Webapps</name>
+ </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>
+ <upstream>
+ <remote-id type="sourceforge">phpwebsite</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/phpwebsite/phpwebsite-0.10.2.ebuild b/www-apps/phpwebsite/phpwebsite-0.10.2.ebuild
new file mode 100644
index 000000000000..7ffafe8c5a2d
--- /dev/null
+++ b/www-apps/phpwebsite/phpwebsite-0.10.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit webapp
+
+DESCRIPTION="phpWebSite Content Management System"
+HOMEPAGE="http://phpwebsite.appstate.edu"
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz
+http://phpwebsite.appstate.edu/downloads/security/phpws_patch_20060419.2.tgz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="ppc x86"
+IUSE=""
+
+RDEPEND="virtual/httpd-php"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A} && cd ${S}
+ cp -f index.php ${P}-full
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cd ${S}/${P}-full
+
+ local docs="docs/CHANGELOG.txt docs/CONVERSION.txt docs/CREDITS.txt docs/INSTALL.txt docs/KNOWNISSUES.txt docs/PEARERRORS.txt docs/README.txt docs/REQUIREMENTS.txt docs/THEMES.txt docs/UNINSTALL.txt docs/UPGRADE.txt docs/sample.config.php"
+ dodoc ${docs}
+
+ einfo "Installing main files"
+ cp -r * ${D}${MY_HTDOCSDIR}
+
+ #webapp_configfile ${MY_HTDOCSDIR}/conf/config.php
+
+ # Files that need to be owned by webserver
+ webapp_serverowned ${MY_HTDOCSDIR}/conf
+ webapp_serverowned ${MY_HTDOCSDIR}/files
+ webapp_serverowned ${MY_HTDOCSDIR}/images
+ webapp_serverowned ${MY_HTDOCSDIR}/images/mod
+ webapp_serverowned ${MY_HTDOCSDIR}/images/mod/controlpanel
+ webapp_serverowned ${MY_HTDOCSDIR}/mod
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}
diff --git a/www-apps/phpwebsite/phpwebsite-1.7.2.ebuild b/www-apps/phpwebsite/phpwebsite-1.7.2.ebuild
new file mode 100644
index 000000000000..e2b172dd995d
--- /dev/null
+++ b/www-apps/phpwebsite/phpwebsite-1.7.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit webapp
+
+MY_PV=${PV//./_}
+DESCRIPTION="phpWebSite Content Management System"
+HOMEPAGE="http://phpwebsite.appstate.edu"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ppc ~ppc64 x86"
+IUSE="+mysql postgres"
+REQUIRED_USE="|| ( mysql postgres )"
+
+S="${WORKDIR}"/${PN}_${MY_PV}
+
+RDEPEND="virtual/httpd-php
+ dev-lang/php[gd,mysql?,postgres?]"
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README docs/*
+
+ cp -r * "${D}/${MY_HTDOCSDIR}"
+
+ # Files that need to be owned by webserver
+ webapp_serverowned ${MY_HTDOCSDIR}/config
+ webapp_serverowned ${MY_HTDOCSDIR}/config/core
+ webapp_serverowned ${MY_HTDOCSDIR}/files
+ webapp_serverowned ${MY_HTDOCSDIR}/images
+ webapp_serverowned ${MY_HTDOCSDIR}/mod
+ webapp_serverowned ${MY_HTDOCSDIR}/logs
+ webapp_serverowned ${MY_HTDOCSDIR}/templates
+ webapp_serverowned ${MY_HTDOCSDIR}/javascript
+
+# webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}