app-admin/mmc-web-base: use special pulse2 version

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@1606 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-05 07:13:18 +00:00
parent 8db863e1dc
commit d2eefcc257
4 changed files with 84 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
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>

View File

@ -1,8 +1,11 @@
AUX mmc-web-base-2.3.2-gentoo-1.patch 1091 RMD160 3d69f88be2133b61a316a6ff7c51a13bfe9da4f6 SHA1 dda41e71c04bb6586cf64fc848dc35e356f8d7b2 SHA256 1ba031d2a9744ccf2983769dd5c363f9c983ff7275e0dd208d122d89b0bd0417
AUX mmc-web-base-2.3.2-gentoo-2.patch 1121 RMD160 e101b31b7969b215c50290cb210201b62b873db4 SHA1 d1589fb29c4fa1e3749bae538303e1c84cda5037 SHA256 070f06dbe933b61e972cae6506f4f722d0fbeae792d4b336e5376b6634ae8d75
AUX mmc-web-base-2.3.2-gentoo-3.patch 1136 RMD160 b1d022792ea150e3dbf67c7b2508a7911eaf49b0 SHA1 f2de38e247700fff46c9250b095ab8c1c671df30 SHA256 5aaf411c1e7722f4a04f4006f6e5a31b6a9b517da8853be80bf1019c50c5e409
DIST mmc-web-base-2.3.2-642.tar.gz 468105 RMD160 32deb6013e99c01e1274a505cf6289d5d37b4e8d SHA1 cbda420fb9281ea2362745a3fd822f6ccc8f7e31 SHA256 009bc6d67dee15de2ce5bd9ea26841a7330aba316c9c7e2e2eda7c049259e1e3
DIST mmc-web-base-2.3.2.tar.gz 457181 RMD160 50fddf40426ca2dcecc1c7ea070d633c62a430b6 SHA1 94ae3719e5c50984aac58b40b2efda5022129ce9 SHA256 81a48fa00f1f4497024f57ae5a1e40a44ebcfa1e3c0ea959499eab765d065a15
EBUILD mmc-web-base-2.3.2-r1.ebuild 884 RMD160 e349ec9a48d32c90e89370c3b9d8a01b97b0b0d8 SHA1 f0d1f58009d7672eb88105e0722457656c025f18 SHA256 96fb6f9793f86ddca9ff997eb214a6dbef15a28394bdd886079bbde64de603a5
EBUILD mmc-web-base-2.3.2-r2.ebuild 902 RMD160 fd658e0dd9955d9c6281d7cdde74e647dfcc6743 SHA1 941fb17f6d21996a873f2925eabbeb2845f9f652 SHA256 20f2751f55917de762a2694ed9f1f05bf7f41bbad55732fc32e4371b67c4191c
EBUILD mmc-web-base-2.3.2.ebuild 1121 RMD160 89b5c1e419aecad6d626773d5eec3ff4114f4327 SHA1 08fa4fb9e2ccca09c6afd906bfacd8d78a7b4e48 SHA256 24b3444b5ad4c37a98cfd030b1888f79e00afe5a99ba00b7efdfaf8fb4c57aec
MISC ChangeLog 1383 RMD160 3e0fd80e1db7ba4f2225e3f0e558ee85cd762481 SHA1 ae7ce70fe6f2af880531ec35119fcc85ecd08d9e SHA256 18879524778b01bdd74a9c08f1e3f30efa458467b432dc4486c2304497ef7a02
EBUILD mmc-web-base-2.3.2_p642.ebuild 1075 RMD160 ab89c01226e42dc54d089c589f7d4f022f1fa07c SHA1 c1d2033514150d433ba8134c0ad404ac316a7f9c SHA256 3c9315165b5d8f7a089503e80bbd001795500942551419298e50b1ceb73c7e9e
MISC ChangeLog 1541 RMD160 7058bd82f9ca2cb4c873378a6f31486e986d3512 SHA1 8c0e4d3018c2dfdc456227f640b2b7ff15a2f803 SHA256 ca347d47d80dad4201b4e097a48674d3841cf7b43f03afa1236fb9b5d8553e5a
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

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-web-base-2.3.2.orig/confs/apache/mmc.conf.tmpl 2009-12-05 06:59:51.263532054 +0000
+++ mmc-web-base-2.3.2/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,42 @@
# Copyright 1999-2009 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/mds/sources/${PV}/${P}.tar.gz"
SRC_URI="http://mds.mandriva.org/pub/pulse2/server/sources/1.2.4/3rd_party/MMC-${MY_PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE=""
DEPEND="sys-apps/lsb-release
sys-devel/gettext"
RDEPEND=">=app-admin/mmc-agent-${PV}
dev-lang/php[ldap,xmlrpc,nls]
virtual/cdrtools"
SLOT="0"
need_php_httpd
S="${WORKDIR}/${PN}-${MY_PV}"
src_prepare() {
epatch "${FILESDIR}"/${PN}-2.3.2-gentoo-3.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
}