summaryrefslogtreecommitdiff
path: root/www-apps/polarblog
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/polarblog
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/polarblog')
-rw-r--r--www-apps/polarblog/Manifest7
-rw-r--r--www-apps/polarblog/files/postinstall-en.txt13
-rw-r--r--www-apps/polarblog/files/reconfig12
-rw-r--r--www-apps/polarblog/metadata.xml8
-rw-r--r--www-apps/polarblog/polarblog-1.11.1.ebuild32
5 files changed, 72 insertions, 0 deletions
diff --git a/www-apps/polarblog/Manifest b/www-apps/polarblog/Manifest
new file mode 100644
index 000000000000..2114a0f1b418
--- /dev/null
+++ b/www-apps/polarblog/Manifest
@@ -0,0 +1,7 @@
+AUX postinstall-en.txt 546 SHA256 ab5053d6db5167520579733f86e58db44d874ff6f2d7f919390a1aaa4da90cab SHA512 969431d8b54e5bbdd283d63d5cfa292df9c0414bf5a84bdbab7b6a4fd65443e0acc9db569b5e91895d244e5f085290e58a2645cce63ff573389c667bddd73776 WHIRLPOOL 9f0008f1504a39290876ebab34120d0780c967e1312e0fcb64e96eeb52cae62f3ecaa4372bc17bc1d75a727072890323012da27fc3ef5828a902e8c331106d93
+AUX reconfig 229 SHA256 5a644866d2fdbd066eb9faf17980506d0b919c7ad5270701465141b3e1395fb3 SHA512 fc289905031c92544711098dc587c5fc609f2c950f51c77bca91ce44341e2b6094106bfc0caa6b11f50fb12992f7583609d6bad7fe3d71d8a51c73812de0d664 WHIRLPOOL ffc56b17f9704852f7bcb52575b6e5040b5eeaf27f775e6d6f96835ed7c6afc7c4434ff13cc4812af859e9caefb0dd7b413e126f45a7932460140d7be898239e
+DIST pb_v1111.tgz 284842 SHA256 c3cefd0f95a24a6559d1665126c63ee4bab19f72417e33b22231675696dd26db SHA512 2024230ece57cfea10353d6f28c4d3e81c1d5713d069f2cf4a64539ee831eaba4d15483066ea57f29ad3dacaa5cba41e5e1f640be1481c4e07769877a9242605 WHIRLPOOL f425d2a41b970a111c00ce35fdb55e6c10b1ac9a8ee15275aae63ae9f71aa9ed677ac9249ce85479a4e4864e19ebff4a8d21f324861397bddf2c6f6286780ed4
+EBUILD polarblog-1.11.1.ebuild 724 SHA256 5b090b93866f1a882ce3b53231652d61dfda01f377825cec37478b8cc10893d3 SHA512 1987709016fa5d00baba27eceb2f28ffeae4ab0b0bb3c2e70856cd1cf9ac67c6678d7229b93a42480d1a2dac3bebac288e3f092178a19ff923929518360cd4c5 WHIRLPOOL efc3c2a9ab49fde16a873d5c7f21f12a617a73ab1c5a5f83ffea827481038baa5562fe15a92a7bc5065cd8985f231bf4fc4bb11f1863fb7519e89c4ec68b8d00
+MISC ChangeLog 2481 SHA256 fcaf9e256f6e3165f08f74277cfa0343b0d39b1292780466fab71152e0a736b4 SHA512 64efccad43a55d03d955a0c13f747bf7c8027b0266f723490c9c6516bc2eb26b84fcb29ffc66ac61b05235ba95d6ae4b36c4177c69594bb81612b4e8c63996e8 WHIRLPOOL 6a5613fd8218966a42e05a2b4228e3ee7157d3ff58d905a4f0fc02c5623dcfd33b0273693228ba4eb13b21397d8a497c282847619a0c4b9ad640aac27a251f8f
+MISC ChangeLog-2015 3846 SHA256 20f3e108b9a4856348c953eaba138cbeb6a58a5f84fa2cf760d53a64d508caa4 SHA512 8fd34627dab85fbb9b6dea754f6fac029f3b18b1654b22f8c4e782629235a314c671c40ca6227774193736ee127abc50d75c4787f86a7bd0cd4b3e60844e3e8c WHIRLPOOL 7833eecef051465cff0183ec373ca74462f11b8907fb2260b55f27de2d235007efa2835ed07fd517dc3b4713ba5f4e888dc6301959fb34e5603370e352136b61
+MISC metadata.xml 246 SHA256 f696b469729aeeb7810f246774e90471415680a9ebd6b55c56c13a5213057508 SHA512 1181711d3b020b2ca7beae0a539a9b7f1abe70962cd8561900e5f06e14c9c871c61ca6088fb674de19ef3b844a1b3c29cf0f84f638b2d0cb7c030f60cd1d42ed WHIRLPOOL fef696fa5b101de1ba4bdc0188a4757648d9eb40d4b01408cf17416d1f39909026a80e4b082d8497801aae1caea588b6d28616cd3853e1b03b94a8fd672f9c85
diff --git a/www-apps/polarblog/files/postinstall-en.txt b/www-apps/polarblog/files/postinstall-en.txt
new file mode 100644
index 000000000000..5764bcf53589
--- /dev/null
+++ b/www-apps/polarblog/files/postinstall-en.txt
@@ -0,0 +1,13 @@
+
+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}/${VHOST_APPDIR}/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/ , in particular the
+.htaccess section.
diff --git a/www-apps/polarblog/files/reconfig b/www-apps/polarblog/files/reconfig
new file mode 100644
index 000000000000..89f55b48d928
--- /dev/null
+++ b/www-apps/polarblog/files/reconfig
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed -e "s|/your/path/to/public_html/polarblog|${MY_INSTALLDIR}|" -i ${MY_INSTALLDIR}/config/config.php.dist || die "sed failed"
+fi
diff --git a/www-apps/polarblog/metadata.xml b/www-apps/polarblog/metadata.xml
new file mode 100644
index 000000000000..f2f2ba9e2823
--- /dev/null
+++ b/www-apps/polarblog/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/www-apps/polarblog/polarblog-1.11.1.ebuild b/www-apps/polarblog/polarblog-1.11.1.ebuild
new file mode 100644
index 000000000000..e894fa3bb6fc
--- /dev/null
+++ b/www-apps/polarblog/polarblog-1.11.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+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="~amd64 ~ppc ~sparc ~x86"
+
+LICENSE="GPL-2"
+
+RDEPEND="virtual/httpd-php"
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES INSTALL README
+
+ cp -R [[:lower:]][[:lower:]]* "${D}/${MY_HTDOCSDIR}"
+ webapp_serverowned "${MY_HTDOCSDIR}"
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_src_install
+}