summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-29 14:08:14 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-29 14:08:14 +0000
commit2e0a168d56e1febef7354921fcda8b77009f939a (patch)
tree31efbe526b6833e71808be24ce4a1191a00b0b6d /www-apps/back-end
parentadded path to compile against xvid-0.9, closes bug #61895 (Manifest recommit) (diff)
downloadgentoo-2-2e0a168d56e1febef7354921fcda8b77009f939a.tar.gz
gentoo-2-2e0a168d56e1febef7354921fcda8b77009f939a.tar.bz2
gentoo-2-2e0a168d56e1febef7354921fcda8b77009f939a.zip
Initial ebuild. Requested in #61004.
Diffstat (limited to 'www-apps/back-end')
-rw-r--r--www-apps/back-end/ChangeLog10
-rw-r--r--www-apps/back-end/Manifest6
-rw-r--r--www-apps/back-end/back-end-0.7.1.2.ebuild57
-rw-r--r--www-apps/back-end/files/digest-back-end-0.7.1.21
-rw-r--r--www-apps/back-end/files/postinstall-en.txt14
-rw-r--r--www-apps/back-end/files/reconfig5
-rw-r--r--www-apps/back-end/metadata.xml5
7 files changed, 98 insertions, 0 deletions
diff --git a/www-apps/back-end/ChangeLog b/www-apps/back-end/ChangeLog
new file mode 100644
index 000000000000..7b856bed54aa
--- /dev/null
+++ b/www-apps/back-end/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/back-end
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/back-end/ChangeLog,v 1.1 2004/08/29 14:08:14 rl03 Exp $
+
+*back-end-0.7.1.2 (29 Aug 2004)
+
+ 29 Aug 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +files/postinstall-en.txt, +files/reconfig, +back-end-0.7.1.2.ebuild:
+ Initial ebuild. Requested in #61004.
+
diff --git a/www-apps/back-end/Manifest b/www-apps/back-end/Manifest
new file mode 100644
index 000000000000..e8ea4e7a172d
--- /dev/null
+++ b/www-apps/back-end/Manifest
@@ -0,0 +1,6 @@
+MD5 4823f863a4245f77267237a46def05d1 back-end-0.7.1.2.ebuild 1313
+MD5 3d801aaf4d26ac823d7d81dde4c0710a ChangeLog 324
+MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
+MD5 43c5bc7ad48e732dfebc7e63c7413228 files/postinstall-en.txt 469
+MD5 6296918b10c4dbe3aea4326191951a96 files/digest-back-end-0.7.1.2 68
+MD5 06e1caff32c38d6a02f664565dcb5aab files/reconfig 178
diff --git a/www-apps/back-end/back-end-0.7.1.2.ebuild b/www-apps/back-end/back-end-0.7.1.2.ebuild
new file mode 100644
index 000000000000..9bd4a96311e7
--- /dev/null
+++ b/www-apps/back-end/back-end-0.7.1.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/back-end/back-end-0.7.1.2.ebuild,v 1.1 2004/08/29 14:08:14 rl03 Exp $
+
+inherit webapp
+
+S=${WORKDIR}/${PN}${PV}
+
+IUSE="ldap"
+
+DESCRIPTION="Back-End is a multilingual Web publishing/content management system"
+HOMEPAGE="http://back-end.org/"
+SRC_URI="mirror://sourceforge//${PN}/${PN}${PV}.tar.gz"
+
+KEYWORDS="~x86"
+
+DEPEND="$DEPEND"
+RDEPEND="
+ ${DEPEND}
+ >=virtual/php-4.1
+ >=net-www/apache-1.3
+ >=dev-db/mysql-3.23
+ ldap? ( net-nds/openldap )
+"
+
+LICENSE="GPL-2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f Makefile
+}
+
+src_install() {
+ webapp_src_preinst
+ local file
+
+ dodoc ABOUT_PSL_AND_BE CHANGES NOTE2BE4USERS README UPGRADE_FROM_048 \
+ doc/Bibliography.txt doc/CREDITS doc/README.1st
+ dohtml INSTALL.html INSTALL_ES.html
+
+ dodir ${MY_HOSTROOTDIR}/${PN}
+ cp -R class cvs2cl.pl makecl.sh tables ${D}/${MY_HOSTROOTDIR}/${PN}
+ cp -R public_html/* ${D}/${MY_HTDOCSDIR}
+
+ dodir ${MY_HTDOCSDIR}/updir/dynamicPDFcache ${MY_HTDOCSDIR}/updir/images/en
+ webapp_serverowned ${MY_HTDOCSDIR}/config.ini.php
+ webapp_serverowned ${MY_HTDOCSDIR}/updir
+ cd public_html/updir
+ for file in `find`; do
+ webapp_serverowned ${MY_HTDOCSDIR}/updir/${file}
+ done
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_hook_script ${FILESDIR}/reconfig
+ webapp_src_install
+}
diff --git a/www-apps/back-end/files/digest-back-end-0.7.1.2 b/www-apps/back-end/files/digest-back-end-0.7.1.2
new file mode 100644
index 000000000000..d598666a8ca0
--- /dev/null
+++ b/www-apps/back-end/files/digest-back-end-0.7.1.2
@@ -0,0 +1 @@
+MD5 b7ce62f2e67add40f52c3bfd1ac0a04c back-end0.7.1.2.tar.gz 1652444
diff --git a/www-apps/back-end/files/postinstall-en.txt b/www-apps/back-end/files/postinstall-en.txt
new file mode 100644
index 000000000000..d1a61edd0153
--- /dev/null
+++ b/www-apps/back-end/files/postinstall-en.txt
@@ -0,0 +1,14 @@
+Browse to http://${VHOST_HOSTNAME}/${PN} and complete the installation.
+
+When you are done,:
+- edit ${MY_INSTALLDIR}/config.ini.php and set
+classdir = "${VHOST_ROOT}/${PN}/class"
+
+- rm ${MY_INSTALLDIR}/config_setup.php and
+- chmod 644 ${MY_INSTALLDIR}/config.ini.php
+
+Change the god password but don't delete the accound yet.
+
+If you want htdig/ldap support, see
+http://press.list.free.fr/contrib/CUPE/ldap/README
+http://press.list.free.fr/contrib/CUPE/htdig/README
diff --git a/www-apps/back-end/files/reconfig b/www-apps/back-end/files/reconfig
new file mode 100644
index 000000000000..891ff813b60b
--- /dev/null
+++ b/www-apps/back-end/files/reconfig
@@ -0,0 +1,5 @@
+#!/bin/bash
+if [ $1 = "start" -o $1 = "install" ]; then
+ # fix location of SQL tables
+ sed -e "s|../tables/|${VHOST_ROOT}/${PN}/tables/|" -i ${MY_INSTALLDIR}/config_setup.php
+fi
diff --git a/www-apps/back-end/metadata.xml b/www-apps/back-end/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/back-end/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>