summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-08-21 16:48:14 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-08-21 16:48:14 +0000
commit96c00692bd712546bf456612bd4d3b3bce6a3a42 (patch)
tree51d38d506ccada18e1e825b9f038f9ff85f03c1b /www-apps/back-end
parentVersion bump, closes bug #103136. (diff)
downloadgentoo-2-96c00692bd712546bf456612bd4d3b3bce6a3a42.tar.gz
gentoo-2-96c00692bd712546bf456612bd4d3b3bce6a3a42.tar.bz2
gentoo-2-96c00692bd712546bf456612bd4d3b3bce6a3a42.zip
Version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps/back-end')
-rw-r--r--www-apps/back-end/ChangeLog8
-rw-r--r--www-apps/back-end/Manifest8
-rw-r--r--www-apps/back-end/back-end-0.7.2.1.ebuild (renamed from www-apps/back-end/back-end-0.7.1.2.ebuild)15
-rw-r--r--www-apps/back-end/files/digest-back-end-0.7.1.21
-rw-r--r--www-apps/back-end/files/digest-back-end-0.7.2.11
-rw-r--r--www-apps/back-end/files/postinstall-en.txt15
-rw-r--r--www-apps/back-end/files/reconfig13
7 files changed, 39 insertions, 22 deletions
diff --git a/www-apps/back-end/ChangeLog b/www-apps/back-end/ChangeLog
index c671eaf94ec5..e3a2afaba930 100644
--- a/www-apps/back-end/ChangeLog
+++ b/www-apps/back-end/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/back-end
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/back-end/ChangeLog,v 1.5 2005/01/10 03:53:43 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/back-end/ChangeLog,v 1.6 2005/08/21 16:48:14 rl03 Exp $
+
+*back-end-0.7.2.1 (21 Aug 2005)
+
+ 21 Aug 2005; Renat Lumpau <rl03@gentoo.org> files/postinstall-en.txt,
+ files/reconfig, -back-end-0.7.1.2.ebuild, +back-end-0.7.2.1.ebuild:
+ Version bump
09 Jan 2005; Jason Wever <weeve@gentoo.org> back-end-0.7.1.2.ebuild:
Added ~sparc keyword.
diff --git a/www-apps/back-end/Manifest b/www-apps/back-end/Manifest
index fcb4786d226a..1b901c418d7a 100644
--- a/www-apps/back-end/Manifest
+++ b/www-apps/back-end/Manifest
@@ -1,6 +1,6 @@
+MD5 4ae732204136c178d57a167b7de622c0 back-end-0.7.2.1.ebuild 1381
MD5 671f045edc773211442ecb1dbbcaaab2 ChangeLog 820
-MD5 f54bf726337e91d6c33667dd696add46 back-end-0.7.1.2.ebuild 1397
MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
-MD5 6296918b10c4dbe3aea4326191951a96 files/digest-back-end-0.7.1.2 68
-MD5 43c5bc7ad48e732dfebc7e63c7413228 files/postinstall-en.txt 469
-MD5 82f99d40ca4b55651716629585d48ed5 files/reconfig 281
+MD5 c86bc682fcec7fd0f037e8fef4cd8d90 files/postinstall-en.txt 555
+MD5 d3f9e8e8743505e23dacd88221d77a67 files/digest-back-end-0.7.2.1 68
+MD5 2017d5e6838cb5fc6636a5ac794cf096 files/reconfig 247
diff --git a/www-apps/back-end/back-end-0.7.1.2.ebuild b/www-apps/back-end/back-end-0.7.2.1.ebuild
index 455c7fa0744d..4ca07d8f6c5d 100644
--- a/www-apps/back-end/back-end-0.7.1.2.ebuild
+++ b/www-apps/back-end/back-end-0.7.2.1.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/back-end/back-end-0.7.1.2.ebuild,v 1.4 2005/01/10 03:53:43 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/back-end/back-end-0.7.2.1.ebuild,v 1.1 2005/08/21 16:48:14 rl03 Exp $
inherit webapp
@@ -15,8 +15,7 @@ SRC_URI="mirror://sourceforge//${PN}/${PN}${PV}.tar.gz"
KEYWORDS="~x86 ~ppc ~sparc"
RDEPEND="
- >=virtual/php-4.1
- >=net-www/apache-1.3
+ virtual/httpd-php
>=dev-db/mysql-3.23
ldap? ( net-nds/openldap )
"
@@ -27,21 +26,21 @@ src_unpack() {
unpack ${A}
cd ${S}
rm -f Makefile
+ cp public_html/config-dist.ini.php public_html/config.ini.php
}
src_install() {
webapp_src_preinst
local file
+ local docs="ABOUT_PSL_AND_BE CHANGES NOTE2BE4USERS README UPGRADE_FROM_048 doc/Bibliography.txt doc/CREDITS doc/README.1st doc/changeHistory.txt"
- dodoc ABOUT_PSL_AND_BE CHANGES NOTE2BE4USERS README UPGRADE_FROM_048 \
- doc/Bibliography.txt doc/CREDITS doc/README.1st
+ dodoc ${docs}
dohtml INSTALL.html INSTALL_ES.html
- dodir ${MY_HOSTROOTDIR}/${PN}
- cp -R class cvs2cl.pl makecl.sh tables ${D}/${MY_HOSTROOTDIR}/${PN}
+ dodir ${MY_HOSTROOTDIR}/${PF}
+ cp -R class tables ${D}/${MY_HOSTROOTDIR}/${PF}
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
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
deleted file mode 100644
index d598666a8ca0..000000000000
--- a/www-apps/back-end/files/digest-back-end-0.7.1.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b7ce62f2e67add40f52c3bfd1ac0a04c back-end0.7.1.2.tar.gz 1652444
diff --git a/www-apps/back-end/files/digest-back-end-0.7.2.1 b/www-apps/back-end/files/digest-back-end-0.7.2.1
new file mode 100644
index 000000000000..a112b08cd621
--- /dev/null
+++ b/www-apps/back-end/files/digest-back-end-0.7.2.1
@@ -0,0 +1 @@
+MD5 cef7efa5ecf2b672b59ff2c48dd7e594 back-end0.7.2.1.tar.gz 2334720
diff --git a/www-apps/back-end/files/postinstall-en.txt b/www-apps/back-end/files/postinstall-en.txt
index d1a61edd0153..128a1b29ddf9 100644
--- a/www-apps/back-end/files/postinstall-en.txt
+++ b/www-apps/back-end/files/postinstall-en.txt
@@ -1,10 +1,15 @@
-Browse to http://${VHOST_HOSTNAME}/${PN} and complete the installation.
+Now, create a database for back-end to use, fex:
-When you are done,:
-- edit ${MY_INSTALLDIR}/config.ini.php and set
-classdir = "${VHOST_ROOT}/${PN}/class"
+ mysqladmin create be7
-- rm ${MY_INSTALLDIR}/config_setup.php and
+Browse to http://${VHOST_HOSTNAME}${VHOST_APPDIR} and complete the installation
+
+When you are done:
+
+- edit ${MY_INSTALLDIR}/config.ini.php and set
+classdir = "${VHOST_ROOT}/${PN}-${PVR}/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.
diff --git a/www-apps/back-end/files/reconfig b/www-apps/back-end/files/reconfig
index b9dc828101ff..c1383f7f0e31 100644
--- a/www-apps/back-end/files/reconfig
+++ b/www-apps/back-end/files/reconfig
@@ -1,6 +1,13 @@
#!/bin/bash
-if [ $1 = "start" -o $1 = "install" ]; then
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
# fix location of SQL tables
- sed -e "s|../tables/|${VHOST_ROOT}/${PN}/tables/|" -i ${MY_INSTALLDIR}/config_setup.php
+ sed -e "s|../tables/|'${VHOST_ROOT}/${PN}-${PVR}/tables/|" -i ${MY_INSTALLDIR}/config_setup.php || die "sed failed"
fi
-# we don't clean up because the user should have removed config_setup.php per postinstall instructions