# HG changeset patch # User Dirk Olmes # Date 1410401665 -7200 # Node ID e147f2b69f0fd88952ab3da5ea141a349b043324 # Parent 5c773728083ed4f3bbcb40724d293b70d71140c0 remove redaxo ebuild - that customer is gone diff -r 5c773728083e -r e147f2b69f0f www-apps/redaxo/Manifest --- a/www-apps/redaxo/Manifest Thu Sep 11 04:13:32 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -DIST redaxo4_2_1.zip 2143442 RMD160 18d637be99cf076bf2a9feb59a98357da0db192a SHA1 b8f8a23c2b8b97d2b2eb854fafe3001e22840043 SHA256 4d9daacc0104a47cb05c43ffe6be5445b0ed0d00bee4bea9e58e1ac46fd5d61b -EBUILD redaxo-4.2.1.ebuild 2003 RMD160 6316f835508f1a20d3052c4fc77f218207bb8255 SHA1 76b8a8a4d0b53b5081c55139f88836841f572251 SHA256 a5b22b487dc4f19aae5f089f463613bf516de62754f885ecdaa266cdc689d308 diff -r 5c773728083e -r e147f2b69f0f www-apps/redaxo/redaxo-4.2.1.ebuild --- a/www-apps/redaxo/redaxo-4.2.1.ebuild Thu Sep 11 04:13:32 2014 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - -EAPI=2 -inherit webapp depend.php versionator - -DESCRIPTION="PHP-powered CMS application." -HOMEPAGE="http://www.redaxo.de/" - -# translate redaxo-0.0.0 to redaxo0_0_0 -MY_PV=$(replace_all_version_separators '_') -MY_P=${PN}${MY_PV} -SRC_URI="http://www.redaxo.de/files/${MY_P}.zip" - -LICENSE="GPL" -KEYWORDS="~amd64 ~x86" -DEPEND="app-arch/unzip" -RDEPEND="virtual/httpd-cgi" - -need_php_httpd - -pkg_setup() { - webapp_pkg_setup - - if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql ; then - eerror - eerror "${PHP_PKG} needs to be reinstalled with the mysql USE flag enabled." - die "Reinstall ${PHP_PKG} with the above-stated USE flags." - fi -} - -src_unpack() { - unpack ${A} - - # clean up some cruft that comes as part of the install package - cd ${WORKDIR}/${MY_P} - find . -name .DS_Store -exec rm {} \; - remove_if_exists _lastchanges.txt -} - -src_install() { - webapp_src_preinst - - einfo "Installing application files." - cd ${MY_P} - cp -r . "${D}"${MY_HTDOCSDIR} - - # .htaccess, index.php and the redaxo dir are part of the distro - local SERVEROWNED="index.php files files/_readme.txt files/addons \ - redaxo redaxo/include/clang.inc.php redaxo/include/plugins.inc.php \ - redaxo/include/addons.inc.php redaxo/include/master.inc.php \ - redaxo/include/generated redaxo/include/generated/* \ - redaxo/include/addons/* redaxo/include/addons/import_export/backup \ - redaxo/include/addons/image_resize/config.inc.php" - for SFILES in ${SERVEROWNED}; do - webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} - done - - webapp_src_install -} - -webapp_pkg_postinst() { - einfo "This ebuild does not perform any autoinstall of the package" - einfo "" - einfo "This allows you to install redaxo directly into the top of" - einfo "your document root using:" - einfo "webapp-config -I -h localhost -u root redaxo ${PV}" - einfo "" -} - -function remove_if_exists() { - if [ -f $1 ]; then - rm $1 - fi -}