app-admin/mmc-web-base: New design for mmc web packages

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@765 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-02-17 11:32:31 +00:00
parent ae48229d64
commit 6882cbb990
5 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# ChangeLog for app-admin/mmc-web-base
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
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

@ -1,3 +1,8 @@
AUX mmc-web-base-2.3.2-gentoo-1.patch 1091 RMD160 3d69f88be2133b61a316a6ff7c51a13bfe9da4f6 SHA1 dda41e71c04bb6586cf64fc848dc35e356f8d7b2 SHA256 1ba031d2a9744ccf2983769dd5c363f9c983ff7275e0dd208d122d89b0bd0417
AUX postinstall-en-2.3.txt 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
DIST mmc-web-base-2.3.1.tar.gz 423338 RMD160 06363d47e41c252b351935406c5cda787d13929f SHA1 8272e203a71562a1bf3605b0e6e932155f80b237 SHA256 88eebdbd62fbdd5d8a0e37c14281995b98cb85befdf28de7d1153574dbf7740e
DIST mmc-web-base-2.3.2.tar.gz 457181 RMD160 50fddf40426ca2dcecc1c7ea070d633c62a430b6 SHA1 94ae3719e5c50984aac58b40b2efda5022129ce9 SHA256 81a48fa00f1f4497024f57ae5a1e40a44ebcfa1e3c0ea959499eab765d065a15
EBUILD mmc-web-base-2.3.1.ebuild 1125 RMD160 a1eab784fbefe7a70d8099b15e36f69f68221d1e SHA1 e58a2d1da731d2c8a7b78226d6b3e614faabc425 SHA256 275fd90253809df312eb697b3f0c79351eaceb2cbfb47d868c5056d8967a9e13
EBUILD mmc-web-base-2.3.2.ebuild 1098 RMD160 7a6c3bb5c89fe7d7c92550385048a73a56450161 SHA1 947d57b7f6a96f04155e35dba73f3181fc30244e SHA256 c35d42b7fbec0adf84b0ddf4128c5c555717d0a6eaa0f9bce72497251aba13ec
MISC ChangeLog 298 RMD160 6263bf2c32faf185d72f4553cba8b9596ac65c5a SHA1 df8cb9088cef21a267ef3583d84e6f7c3fe63528 SHA256 58dfe90391d31088efb5aefb22013fb164dab18c762475c01f32cf951b42a718
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -0,0 +1,32 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2009-02-17
Initial Package Version: 2.3.2
Origin: me
Upstream Status: unknown
Description: add a define rule to aktivate the mmc alias rules
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-web-base-2.3.2.orig/confs/apache/mmc.conf.tmpl 2007-09-10 09:11:01.000000000 +0000
+++ mmc-web-base-2.3.2/confs/apache/mmc.conf.tmpl 2009-02-17 11:25:59.006502344 +0000
@@ -1,10 +1,12 @@
-### Add an alias /mmc on www server root
-Alias /mmc ###DATADIR###
+<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
+ ### Allow access to lmc web directory to everyone
+ <Directory ###DATADIR###>
+ AllowOverride None
+ Order allow,deny
+ allow from all
php_flag short_open_tag on
-</Directory>
+ </Directory>
+</IfDefine>
\ No newline at end of file

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -0,0 +1,46 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils depend.apache depend.php
DESCRIPTION="Mandriva Directory Server - Identity and network services management made easy !"
HOMEPAGE="http://mds.mandriva.org/"
SRC_URI="http://mds.mandriva.org/pub/mds/sources/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND="sys-apps/lsb-release"
RDEPEND=">=app-admin/mmc-agent-${PV}"
SLOT="0"
need_php_httpd
pkg_setup() {
if ! PHPCHECKNODIE="yes" require_php_with_use ldap xmlrpc ; then
eerror
eerror "${PHP_PKG} needs to be re-installed with all of the following"
eerror "USE flags enabled:"
eerror
eerror "ldap xmlrpc"
eerror
die "Re-install ${PHP_PKG}"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-2.3.2-gentoo-1.patch
}
src_install() {
emake DESTDIR="${D}" PREFIX=/usr HTTPDUSER=apache install
insinto /etc/mmc
doins confs/mmc.ini
insinto /etc/apache2/modules.d
newins confs/apache/mmc.conf 50_mmc.conf
}