Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=31d3e2677e118843d3ccef07aed047539b20a52e

commit 31d3e2677e118843d3ccef07aed047539b20a52e
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Oct 29 00:03:31 2007 +0100

b2evolution-1.10.2-1-i686
new package

diff --git a/source/network-extra/b2evolution/FrugalBuild 
b/source/network-extra/b2evolution/FrugalBuild
new file mode 100644
index 0000000..605141b
--- /dev/null
+++ b/source/network-extra/b2evolution/FrugalBuild
@@ -0,0 +1,29 @@
+# Compiling Time: 0 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+
+pkgname=b2evolution
+pkgver=1.10.2
+pkgrel=1
+pkgdesc="A powerful blog tool you can install on your own website."
+_F_sourceforge_dirname="evocms"
+_F_sourceforge_ext="-2007-06-08.zip"
+Finclude sourceforge
+url="http://b2evolution.net/";
+rodepends=('apache' 'php' 'mysql' 'webappconfig')
+depends=()
+groups=('network-extra')
+archs=('i686' 'x86_64')
+up2date="lynx -dump http://b2evolution.net/downloads/index.html|grep 
Stable|sed 's/ \+\([0-9.]*\) .*/\1/'"
+backup=(var/www/b2evolution/blogs/conf/_basic_config.php)
+source=($source b2evosetup README.Frugalware)
+sha1sums=('db548ee50248c134088aee829dab0c5daf6b25fb' \
+          '8341c7f3831489959840a5d0f5eb55c6afb6fc58' \
+          '3b1583125ff4604da9519c05675e2e7a310681cb')
+options=('stick')
+
+build()
+{
+       Fmkdir /var/www
+       mv $Fsrcdir/$pkgname $Fdestdir/var/www/$pkgname
+       Fexe /usr/bin/b2evosetup
+}
diff --git a/source/network-extra/b2evolution/README.Frugalware 
b/source/network-extra/b2evolution/README.Frugalware
new file mode 100644
index 0000000..e991717
--- /dev/null
+++ b/source/network-extra/b2evolution/README.Frugalware
@@ -0,0 +1,7 @@
+After installing this package, please run
+
+----
+# /usr/bin/b2evosetup
+----
+
+to setup B2evolution.
diff --git a/source/network-extra/b2evolution/b2evosetup 
b/source/network-extra/b2evolution/b2evosetup
new file mode 100644
index 0000000..8c2c040
--- /dev/null
+++ b/source/network-extra/b2evolution/b2evosetup
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# B2evolution Setup script, using the webappconfig framework
+#
+# Copyright (C) 2007 Miklos Vajna <[EMAIL PROTECTED]>
+
+. /usr/lib/webappconfig/webappconfig
+message "Configuring B2evolution 5.x..."
+message "Performing sanity checks..."
+sanitycheck "MySQL" "mysql"
+sanitycheck "PHP" "php"
+sanitycheck "Apache" "httpd"
+mysql_root_pass
+message -n "Would you like me to create a database for B2evolution [y/n]? "
+read createdb
+if [ "${createdb}" == "y" ]; then
+       message "You will be prompted for your MySQL root password"
+       mysql_create_db b2evolution || exit 1
+
+       chmod 777 /var/www/b2evolution/blogs/conf/_basic_config.php
+fi
+
+symlink_to_docroot /var/www/b2evolution/blogs
+message "Configured B2evolution successfully!"
+echo
+message "If you did not choose to create a database, you should create a DB"
+message "now."
+echo
+message "Now go to http://<my site>/blogs and follow the instructions to"
+message "install B2evolution and configure it"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to