summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2004-08-28 11:31:02 +0000
committerRenat Lumpau <rl03@gentoo.org>2004-08-28 11:31:02 +0000
commitaa350bd9600f83e07738f03356c791a7d94d3f5f (patch)
tree0dfe09c75e2ad7506c7d0ce942d9a32192d8c773 /www-apps/polarblog
parent (Manifest recommit) (diff)
downloadgentoo-2-aa350bd9600f83e07738f03356c791a7d94d3f5f.tar.gz
gentoo-2-aa350bd9600f83e07738f03356c791a7d94d3f5f.tar.bz2
gentoo-2-aa350bd9600f83e07738f03356c791a7d94d3f5f.zip
Initial ebuild, requested in #61001
Diffstat (limited to 'www-apps/polarblog')
-rw-r--r--www-apps/polarblog/ChangeLog10
-rw-r--r--www-apps/polarblog/Manifest6
-rw-r--r--www-apps/polarblog/files/digest-polarblog-1.021
-rw-r--r--www-apps/polarblog/files/postinstall-en.txt12
-rw-r--r--www-apps/polarblog/files/reconfig6
-rw-r--r--www-apps/polarblog/metadata.xml9
-rw-r--r--www-apps/polarblog/polarblog-1.02.ebuild41
7 files changed, 85 insertions, 0 deletions
diff --git a/www-apps/polarblog/ChangeLog b/www-apps/polarblog/ChangeLog
new file mode 100644
index 000000000000..db66c9ec74ad
--- /dev/null
+++ b/www-apps/polarblog/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/polarblog
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/polarblog/ChangeLog,v 1.1 2004/08/28 11:31:02 rl03 Exp $
+
+*polarblog-1.02 (28 Aug 2004)
+
+ 28 Aug 2004; Renat Lumpau <rl03@gentoo.org> +metadata.xml,
+ +files/postinstall-en.txt, +files/reconfig, +polarblog-1.02.ebuild:
+ Initial ebuild, requested in #61001.
+
diff --git a/www-apps/polarblog/Manifest b/www-apps/polarblog/Manifest
new file mode 100644
index 000000000000..1471a3e47853
--- /dev/null
+++ b/www-apps/polarblog/Manifest
@@ -0,0 +1,6 @@
+MD5 53ac70294f9a4c083c6fcb7c6235be47 polarblog-1.02.ebuild 774
+MD5 7a2fa94e381b0cdb8c9d609a5d22d63a ChangeLog 321
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
+MD5 8cd5b0a64b580ec4ed2a0dec96385724 files/postinstall-en.txt 501
+MD5 b9c871d8f0e42805c9c6eecb6c87444b files/digest-polarblog-1.02 55
+MD5 b78cec314fa6a3e0facf242931dd5091 files/reconfig 210
diff --git a/www-apps/polarblog/files/digest-polarblog-1.02 b/www-apps/polarblog/files/digest-polarblog-1.02
new file mode 100644
index 000000000000..0f01c1f87e41
--- /dev/null
+++ b/www-apps/polarblog/files/digest-polarblog-1.02
@@ -0,0 +1 @@
+MD5 1fd9cb6bc07f057699455f21a86f0540 pb_v102.tgz 88720
diff --git a/www-apps/polarblog/files/postinstall-en.txt b/www-apps/polarblog/files/postinstall-en.txt
new file mode 100644
index 000000000000..8d3aaec4ba5c
--- /dev/null
+++ b/www-apps/polarblog/files/postinstall-en.txt
@@ -0,0 +1,12 @@
+
+Now execute:
+
+cp ${MY_INSTALLDIR}/css/<one_of_css_files>.css.dist ${MY_INSTALLDIR}/css/<one_of_css_files>.css
+cp ${MY_INSTALLDIR}/config/config.php.dist ${MY_INSTALLDIR}/config/config.php
+and edit them. As a minimum, set LIB_PATH, DB_PREFIX, DB_HOST, DB_NAME,
+DB_USER, DB_PASSWORD, CSS.
+
+Then go to http://${VHOST_HOSTNAME}/polarblog/install.php to finish the installation.
+Don't forget to delete ${MY_INSTALLDIR}/install.php when you are done.
+
+Read the docs at http://polarblog.polarlava.com/docs/
diff --git a/www-apps/polarblog/files/reconfig b/www-apps/polarblog/files/reconfig
new file mode 100644
index 000000000000..b7a2f6583eb4
--- /dev/null
+++ b/www-apps/polarblog/files/reconfig
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $1 = "start" -o $1 = "install" ]; then
+ # enable RSS
+ chmod 777 ${MY_INSTALLDIR}
+ sed -e "s|/your/path/to/public_html/polarblog|${MY_INSTALLDIR}|" -i ${MY_INSTALLDIR}/config/config.php.dist
+fi
diff --git a/www-apps/polarblog/metadata.xml b/www-apps/polarblog/metadata.xml
new file mode 100644
index 000000000000..13bc126c7d91
--- /dev/null
+++ b/www-apps/polarblog/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>web-apps@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apps/polarblog/polarblog-1.02.ebuild b/www-apps/polarblog/polarblog-1.02.ebuild
new file mode 100644
index 000000000000..e942085ef88b
--- /dev/null
+++ b/www-apps/polarblog/polarblog-1.02.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/polarblog/polarblog-1.02.ebuild,v 1.1 2004/08/28 11:31:02 rl03 Exp $
+
+inherit webapp
+
+MY_PV=${PV/./}
+S=${WORKDIR}/PB_v${MY_PV}
+
+IUSE=""
+
+DESCRIPTION="PolarBlog is an open source embedded weblog solution"
+HOMEPAGE="http://polarblog.polarlava.com"
+SRC_URI="http://polarblog.polarlava.com/releases/pb_v${MY_PV}.tgz"
+KEYWORDS="~x86"
+
+DEPEND="$DEPEND"
+RDEPEND="
+ >=dev-db/mysql-3.23.23
+ >=virtual/php-4
+"
+
+LICENSE="GPL-2"
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ webapp_src_preinst
+
+ for file in CHANGES INSTALL README; do
+ dodoc ${file} && rm -f ${file}
+ done
+ rm -f COPYING
+
+ cp -R . ${D}/${MY_HTDOCSDIR}
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_hook_script ${FILESDIR}/reconfig
+ webapp_src_install
+}