diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/polarblog | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/polarblog')
-rw-r--r-- | www-apps/polarblog/Manifest | 1 | ||||
-rw-r--r-- | www-apps/polarblog/files/postinstall-en.txt | 13 | ||||
-rw-r--r-- | www-apps/polarblog/files/reconfig | 12 | ||||
-rw-r--r-- | www-apps/polarblog/metadata.xml | 5 | ||||
-rw-r--r-- | www-apps/polarblog/polarblog-1.11.1.ebuild | 33 |
5 files changed, 64 insertions, 0 deletions
diff --git a/www-apps/polarblog/Manifest b/www-apps/polarblog/Manifest new file mode 100644 index 000000000000..3d47d2e88f61 --- /dev/null +++ b/www-apps/polarblog/Manifest @@ -0,0 +1 @@ +DIST pb_v1111.tgz 284842 SHA256 c3cefd0f95a24a6559d1665126c63ee4bab19f72417e33b22231675696dd26db 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..95c06f0095bb --- /dev/null +++ b/www-apps/polarblog/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> 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..c3c3f55660a4 --- /dev/null +++ b/www-apps/polarblog/polarblog-1.11.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |