changeset 343:784725f461de

add an ebuild for s9y 1.6.2
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 02 Jan 2013 15:26:08 +0100
parents df76edd71c4c
children 560c63f95c62
files www-apps/serendipity/Manifest www-apps/serendipity/serendipity-1.6.2.ebuild
diffstat 2 files changed, 80 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/www-apps/serendipity/Manifest	Wed Dec 26 07:48:55 2012 +0100
+++ b/www-apps/serendipity/Manifest	Wed Jan 02 15:26:08 2013 +0100
@@ -1,14 +1,15 @@
-DIST serendipity-1.3.1.tar.gz 4482417 RMD160 40565957b31bad1c41506abf9bb9d8c20eb13d92 SHA1 623d689136fa9e9a5b013046090392b016cf09fa SHA256 6304a5885f3c60188c1d49aa74e85908788ce50e006e9443a649be9f902edcba
-DIST serendipity-1.4.1.tar.gz 5278932 RMD160 56eb582c37d9f0a21e0f38f067a3c8f42946ed60 SHA1 03a9511dcd11b08b2fb3d5a129072a1158224b60 SHA256 e950cff732323aaf3243d3a28afd18322cc7ab86daf81b21c2b4a2667d70e6f7
-DIST serendipity-1.4.tar.gz 5277144 RMD160 d03ee511172863433eac3c6b96fc254db0acab4b SHA1 fdafeb0374e8bf9ca4ff1845d13a67fbade54d58 SHA256 c636c4199d26eb262c077997850fa871a160c067404250752e8ca2d0804e098a
-DIST serendipity-1.5.1.tar.gz 5337760 RMD160 5a14551f727230e0c134a0aff555c40a0856ece6 SHA1 4f7712835480b24b05de68fc6af2f7c7fb700377 SHA256 5e6dc05208e115c3068f91a91687aa91078f19a36e630104146e2fc8a0ffcbe9
-DIST serendipity-1.5.2.tar.gz 5337799 RMD160 9210d2982b28459929488a46b8cba70efd220cd1 SHA1 58ba1d14d0beb07d538968ddfa7f95419002251b SHA256 75544fd4104a2b1afbac6a80aa8ff0bb5bfc008dcdaa1e4531740d96e00465e5
-DIST serendipity-1.5.5.tar.gz 5338491 RMD160 883c746ef50267b96d5ba9669491d81d6107cb1a SHA1 70c0287630e213e9067be384917233498fe8b745 SHA256 b61bb613eba147a30b3be479a2cf8b218b2475d1f045127964e56fa285bdb657
-DIST serendipity-1.6.tar.gz 5357394 RMD160 486bee0ab9bfc7b215a0cbfa5d9298316c75994e SHA1 7d7fba385d379559bae724907fdb20d6d0426b9e SHA256 c2fb8ba8ccb0a509004151eeb57dcdef78c6e137dfe839fe635042cf36a49365
-EBUILD serendipity-1.3.1.ebuild 1976 RMD160 44845a102490482da1fe3ff4ee2950069b411d47 SHA1 be7d9821dac7feac30927f077dc4765dfd04a5fd SHA256 5a06f6ae838bacdcaa4cfe0ca4f90ff6a10081b6eb20df457cc47e9b0db06f38
-EBUILD serendipity-1.4.1.ebuild 2128 RMD160 fb4e4c13ce065160984fe8a0298448d5f55841da SHA1 5e7cc2e38a87fba7a40801f1ac7fb952ea1b9033 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465
-EBUILD serendipity-1.4.ebuild 1976 RMD160 44845a102490482da1fe3ff4ee2950069b411d47 SHA1 be7d9821dac7feac30927f077dc4765dfd04a5fd SHA256 5a06f6ae838bacdcaa4cfe0ca4f90ff6a10081b6eb20df457cc47e9b0db06f38
-EBUILD serendipity-1.5.1.ebuild 2128 RMD160 fb4e4c13ce065160984fe8a0298448d5f55841da SHA1 5e7cc2e38a87fba7a40801f1ac7fb952ea1b9033 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465
-EBUILD serendipity-1.5.2.ebuild 2128 RMD160 fb4e4c13ce065160984fe8a0298448d5f55841da SHA1 5e7cc2e38a87fba7a40801f1ac7fb952ea1b9033 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465
-EBUILD serendipity-1.5.5.ebuild 2123 RMD160 c88742b8a8429794801e14b7f7ac5577c7711276 SHA1 a0e2a70e846a67344f7d0c5790b105bc7f50646f SHA256 8514b35a5e8e5c321f5e15306e1d12e4d2a7dd492dbfb8e11e86681017ffc998
-EBUILD serendipity-1.6.0.ebuild 2186 RMD160 82580b832ebaa5042f3305c8e2133611f99ad9bb SHA1 63ae04291638adfd508bce9fe6feceb692429b22 SHA256 5bbfdec818f7ebbd2f72444215a571b7663ad94ea3f60854f7a766e6ba3fc177
+DIST serendipity-1.3.1.tar.gz 4482417 SHA256 6304a5885f3c60188c1d49aa74e85908788ce50e006e9443a649be9f902edcba
+DIST serendipity-1.4.1.tar.gz 5278932 SHA256 e950cff732323aaf3243d3a28afd18322cc7ab86daf81b21c2b4a2667d70e6f7
+DIST serendipity-1.4.tar.gz 5277144 SHA256 c636c4199d26eb262c077997850fa871a160c067404250752e8ca2d0804e098a
+DIST serendipity-1.5.1.tar.gz 5337760 SHA256 5e6dc05208e115c3068f91a91687aa91078f19a36e630104146e2fc8a0ffcbe9
+DIST serendipity-1.5.2.tar.gz 5337799 SHA256 75544fd4104a2b1afbac6a80aa8ff0bb5bfc008dcdaa1e4531740d96e00465e5
+DIST serendipity-1.5.5.tar.gz 5338491 SHA256 b61bb613eba147a30b3be479a2cf8b218b2475d1f045127964e56fa285bdb657
+DIST serendipity-1.6.tar.gz 5357394 SHA256 c2fb8ba8ccb0a509004151eeb57dcdef78c6e137dfe839fe635042cf36a49365
+EBUILD serendipity-1.3.1.ebuild 1976 SHA256 5a06f6ae838bacdcaa4cfe0ca4f90ff6a10081b6eb20df457cc47e9b0db06f38 SHA512 5e5324ed041606ce4500fd7083715bb90b59bfe9e2615d4f0544387cdafae75c0f8cc99ca4718983f1aa5e5f895b3d420c0e173d2b201ff3965d76dc44e5d177 WHIRLPOOL d69c3860222a294b1701a6c5d136bdf34d79922d743d8b99e351dc9b39d50b3968ae287a4e9d92db05b449ac85eda1a50624d2d6c4fdd400d171ddc8ac06f13b
+EBUILD serendipity-1.4.1.ebuild 2128 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465 SHA512 2f9313bec70f7e049edba02d08d34d804124110f79e697bcd8e98efed8ef3bf1694aa54865ad9647fea91f842e4d33fa35855919fc2dce5f366e9fe1c485f6bd WHIRLPOOL 312e4005398736be0509951031f92b5ffdb0965dfd0ff0b338ffd5c39e1b6cca9f83a5705e49f8465e8d84c9e33b9ddb46bf96fa91561610b0695898592a56c7
+EBUILD serendipity-1.4.ebuild 1976 SHA256 5a06f6ae838bacdcaa4cfe0ca4f90ff6a10081b6eb20df457cc47e9b0db06f38 SHA512 5e5324ed041606ce4500fd7083715bb90b59bfe9e2615d4f0544387cdafae75c0f8cc99ca4718983f1aa5e5f895b3d420c0e173d2b201ff3965d76dc44e5d177 WHIRLPOOL d69c3860222a294b1701a6c5d136bdf34d79922d743d8b99e351dc9b39d50b3968ae287a4e9d92db05b449ac85eda1a50624d2d6c4fdd400d171ddc8ac06f13b
+EBUILD serendipity-1.5.1.ebuild 2128 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465 SHA512 2f9313bec70f7e049edba02d08d34d804124110f79e697bcd8e98efed8ef3bf1694aa54865ad9647fea91f842e4d33fa35855919fc2dce5f366e9fe1c485f6bd WHIRLPOOL 312e4005398736be0509951031f92b5ffdb0965dfd0ff0b338ffd5c39e1b6cca9f83a5705e49f8465e8d84c9e33b9ddb46bf96fa91561610b0695898592a56c7
+EBUILD serendipity-1.5.2.ebuild 2128 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465 SHA512 2f9313bec70f7e049edba02d08d34d804124110f79e697bcd8e98efed8ef3bf1694aa54865ad9647fea91f842e4d33fa35855919fc2dce5f366e9fe1c485f6bd WHIRLPOOL 312e4005398736be0509951031f92b5ffdb0965dfd0ff0b338ffd5c39e1b6cca9f83a5705e49f8465e8d84c9e33b9ddb46bf96fa91561610b0695898592a56c7
+EBUILD serendipity-1.5.5.ebuild 2123 SHA256 8514b35a5e8e5c321f5e15306e1d12e4d2a7dd492dbfb8e11e86681017ffc998 SHA512 04369c886efde46959dada1008e9ecafba889de3445a9bd202812a43a9384e075f6e1939592a4a56e0d3814277e21729bb9197b2a87588dfba8d1f62fb721eb1 WHIRLPOOL 3c223b56a15d7afdecfdc14cad3c74c4d2122d0986070c387a89472bfe88e43f1b4541cf8e86a320fa7e4ece31373e22d7217b6d0a3488c95ed52257ad4c8ec6
+EBUILD serendipity-1.6.0.ebuild 2186 SHA256 5bbfdec818f7ebbd2f72444215a571b7663ad94ea3f60854f7a766e6ba3fc177 SHA512 6aa7e194e89e16090452ae733d3ce6d0e024b4e2471e167d5fb79b377673f0d5d550b99e26317fafcb2dc91f2775fe0e460885e149ad3fea71170cf8808f8f4c WHIRLPOOL fe7b881d8f232987d96d54400d117b33bc108beea29586ff81e01f69f621c37a71f27b9f726d33f6a137e9c84dd2cd4b3fe97a7a91c1b3be470d425cbdd6d2dc
+EBUILD serendipity-1.6.2.ebuild 2186 SHA256 5bbfdec818f7ebbd2f72444215a571b7663ad94ea3f60854f7a766e6ba3fc177 SHA512 6aa7e194e89e16090452ae733d3ce6d0e024b4e2471e167d5fb79b377673f0d5d550b99e26317fafcb2dc91f2775fe0e460885e149ad3fea71170cf8808f8f4c WHIRLPOOL fe7b881d8f232987d96d54400d117b33bc108beea29586ff81e01f69f621c37a71f27b9f726d33f6a137e9c84dd2cd4b3fe97a7a91c1b3be470d425cbdd6d2dc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www-apps/serendipity/serendipity-1.6.2.ebuild	Wed Jan 02 15:26:08 2013 +0100
@@ -0,0 +1,65 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit webapp depend.php versionator
+
+DESCRIPTION="PHP-powered, flexible blogging/CMS application."
+HOMEPAGE="http://www.s9y.org/"
+MY_P="${PN}-$(get_version_component_range 1-2)"
+SRC_URI="mirror://sourceforge/php-blog/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+IUSE="imagemagick"
+
+DEPEND=""
+RDEPEND="virtual/httpd-cgi
+    imagemagick? ( media-gfx/imagemagick )"
+
+need_php_httpd
+
+S="${WORKDIR}/${PN}"
+
+pkg_setup() {
+     webapp_pkg_setup
+
+    if  ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \
+        || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \
+            || ! PHPCHECKNODIE="yes" require_php_with_use iconv unicode xml zlib ; then
+            eerror
+            eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli,"
+            eerror "postgres or sqlite USE flags enabled for a database backend."
+            eerror "It must also have either gd or gd-external USE flag enabled."
+            eerror "It must also have all of iconv pcre unicode xml zlib USE flags enabled."
+            die "Reinstall ${PHP_PKG} with the above-stated USE flags."
+    fi
+}
+
+src_install() {
+    webapp_src_preinst
+
+    rm docs/INSTALL*
+    local docs="docs/*"
+    dodoc ${docs}
+    rm -rf docs/
+
+    einfo "Installing application files."
+    cp -r . "${D}"${MY_HTDOCSDIR}
+    touch "${D}"${MY_HTDOCSDIR}/.htaccess
+    touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php
+
+    keepdir ${MY_HTDOCSDIR}/archives/
+    webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php
+    #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+    # archives, templates_c and uploads need to be writable to PHP
+    # .htaccess amd serendipity_config_local.inc.php need to be too
+    # plugins and templates need to be writable for spartacus support.
+    local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads"
+    for SFILES in ${SERVEROWNED}; do
+        webapp_serverowned ${MY_HTDOCSDIR}/${SFILES}
+    done
+
+    webapp_src_install
+}