add mmc split package mmc-web-core

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2120 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-05-01 11:35:02 +00:00
parent 0ac067ee9e
commit 04734af8ec
4 changed files with 140 additions and 0 deletions

View File

@ -0,0 +1,61 @@
# ChangeLog for app-admin/mmc-web-base
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
18 Feb 2010; Mario Fetka <mario.fetka@gmail.com>
mmc-web-base-2.3.2.ebuild, mmc-web-base-2.3.2-r1.ebuild,
mmc-web-base-2.3.2-r2.ebuild, mmc-web-base-2.3.2_p642.ebuild:
add arm keyword
29 Jan 2010; Mario Fetka <mario.fetka@gmail.com>
mmc-web-base-2.3.2_p642.ebuild,
+files/mmc-web-base-2.3.2-bulkimport-1.patch:
add bulkimport
05 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+mmc-web-base-2.3.2_p642.ebuild, +files/mmc-web-base-2.3.2-gentoo-3.patch:
use special pulse2 version
*mmc-web-base-2.3.2-r2 (03 Sep 2009)
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
+mmc-web-base-2.3.2-r2.ebuild:
add missing dependencies
* mmc-web-base-2.3.2-r1 (17 Apr 2009)
17 Apr 2009; Mario Fetka <mario.fetka@gmail.com> mmc-web-base-2.3.2-r1:
EAPI2 and test cleanup
16 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
mmc-web-base-2.3.2.ebuild:
add die to do*
08 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
-mmc-web-base-2.3.1.ebuild, mmc-web-base-2.3.2.ebuild:
correct KEYWORDS
07 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
-files/postinstall-en-2.3.txt:
delete not reqired files
13 Mar 2009; Mario Fetka <mario.fetka@gmail.com>
mmc-web-base-2.3.2.ebuild:
new dependencies on gettext
17 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
+files/mmc-web-base-2.3.2-gentoo-2.patch, mmc-web-base-2.3.2.ebuild:
disbale php_flag
17 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
mmc-web-base-2.3.2.ebuild:
move apache mmc.conf after php.conf
17 Feb 2009; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
update to new system
17 Feb 2009; Mario Fetka <mario.fetka@gmail.com>
+files/mmc-web-base-2.3.2-gentoo-1.patch, +metadata.xml,
+mmc-web-base-2.3.2.ebuild:
New design for mmc web packages

View File

@ -0,0 +1,4 @@
AUX mmc-core-3.0.0-gentoo-1.patch 1140 RMD160 686bb0496e69528321eb74dca015440053968761 SHA1 cdc1e3f19463baa1b09b0c78e10d664d2f85de97 SHA256 15cd743bea160c7eeca5a777d5dc09f1ab39c5d236c0b98bd7ccf9fd63f79584
DIST mmc-core-3.0.0.tar.gz 645109 RMD160 ca519b20ebf011ce78533ce0faec61dd48af35cf SHA1 927f4a8a1e335d97d3af86bb528c7c15960db8c3 SHA256 6aa9a8020ed352cb3c4f6e9c808802e1959fd6d6415d3b66e77453edc4ad9f49
EBUILD mmc-web-core-3.0.0.ebuild 996 RMD160 0eafbc8305f4234ee919ec8dfe89fdf2a38f2cab SHA1 72e1998aa6e7ba914699d095bbf70e0327b04b0b SHA256 f654ff3f2e9a406b9905d5bd96f6962d27616f65091a06ead3a368aeff473607
MISC ChangeLog 1885 RMD160 9e13dd7893689256f67d5e9f6cf31275b8bee83b SHA1 e3d28ebae7665b8009c0e183ab787c02435403d6 SHA256 3b553e98c403b2b099fb81a7c43ddfb6314cbd9e5222a795bdbde72165ac122a

View File

@ -0,0 +1,34 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-12-05
Initial Package Version: 2.3.2
Origin: me
Upstream Status: gentoo specific
Description: wrap mmc alias in define and disable php_flag
diff -Naur mmc-web-base-2.3.2.orig/confs/apache/mmc.conf.tmpl mmc-web-base-2.3.2/confs/apache/mmc.conf.tmpl
--- mmc-core-3.0.0.orig/web/confs/apache/mmc.conf.tmpl 2009-12-05 06:59:51.263532054 +0000
+++ mmc-web-base-3.0.0/web/confs/apache/mmc.conf.tmpl 2009-12-05 07:05:06.997531963 +0000
@@ -1,11 +1,12 @@
-### Add an alias /mmc on www server root
-Alias /mmc ###DATADIR###
-
-### Allow access to lmc web directory to everyone
-<Directory ###DATADIR###>
- AllowOverride None
- Order allow,deny
- allow from all
- php_flag short_open_tag on
- php_flag magic_quotes_gpc on
-</Directory>
+<IfDefine MMC>
+ ### Add an alias /mmc on www server root
+ Alias /mmc ###DATADIR###
+ ### Allow access to lmc web directory to everyone
+ <Directory ###DATADIR###>
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ ### php_flag short_open_tag on
+ ### php_flag magic_quotes_gpc on
+ </Directory>
+</IfDefine>

View File

@ -0,0 +1,41 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils depend.apache depend.php
MY_P="${P/_p/-}"
MY_PV="${PV/_p*/}"
DESCRIPTION="Mandriva Directory Server - Identity and network services management made easy !"
HOMEPAGE="http://mds.mandriva.org/"
SRC_URI="http://mds.mandriva.org/pub/mmc-core/sources/${PV}/mmc-core-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd"
IUSE=""
DEPEND="sys-apps/lsb-release
sys-devel/gettext"
RDEPEND=">=app-admin/mmc-core-${PV}
dev-lang/php[ldap,xmlrpc,nls]
virtual/cdrtools"
SLOT="0"
need_php_httpd
S="${WORKDIR}/mmc-core-${PV}/web"
src_prepare() {
epatch "${FILESDIR}"/mmc-core-3.0.0-gentoo-1.patch
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr HTTPDUSER=apache install || die "install failed"
insinto /etc/mmc
doins confs/mmc.ini || die "ini install failed"
insinto /etc/apache2/modules.d
newins confs/apache/mmc.conf 90_mmc.conf
}