delete mmc-web-base
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2126 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
0a981f46bf
commit
3f192104f8
@ -1,61 +0,0 @@
|
|||||||
# 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
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
|||||||
AUX mmc-web-base-2.3.2-bulkimport-1.patch 1770 RMD160 0d6a4336193c2040eae0864a8799d200b6106cab SHA1 a4d668a80fbe8f94337e9cf3cf6a3a9d29441c93 SHA256 36dbea351a712ccc0bf5e031695b047d251f72c3cc5cc9a7b1f50a8b567451a2
|
|
||||||
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 889 RMD160 a5e06b79a4db08a1bfbcae623a4c159a86059694 SHA1 8a3f175e6f639c62ce3539c70a3640bc13e80670 SHA256 eff1057dbc0c203551dc0b91edaa959560c58533227fee39501ff0641203b18c
|
|
||||||
EBUILD mmc-web-base-2.3.2-r2.ebuild 907 RMD160 399470501fd0a56f5d4c9e74df9baccb718d0bd8 SHA1 3db543d9864c26f0dc5641eae805e46555d41188 SHA256 ddbabb895ed8ec88cd6acbe458358ebbd9274dd079a7e8779fa50d6b6305cafb
|
|
||||||
EBUILD mmc-web-base-2.3.2.ebuild 1126 RMD160 c110a6ebf9f783d5245f7061e030d07b1723708c SHA1 fac0175ede54959f857ff0fe8dabf708d18d17e3 SHA256 b089934e08f6b7d11ea21b9e07c250e6b55ef704471ba7459c7b4425d356fdc3
|
|
||||||
EBUILD mmc-web-base-2.3.2_p642.ebuild 1172 RMD160 48148c2675206db47e5e55fefa54c25da29f2147 SHA1 8e831db346675120910bee2dde94a46571672775 SHA256 79cbac5a3c2c237bb3e55d539ef19bc3a3fc14cbec7c94bba6a5789e3b32bad6
|
|
||||||
MISC ChangeLog 1885 RMD160 9e13dd7893689256f67d5e9f6cf31275b8bee83b SHA1 e3d28ebae7665b8009c0e183ab787c02435403d6 SHA256 3b553e98c403b2b099fb81a7c43ddfb6314cbd9e5222a795bdbde72165ac122a
|
|
||||||
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5
|
|
@ -1,29 +0,0 @@
|
|||||||
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
|
||||||
Date: 2010-01-29
|
|
||||||
Initial Package Version: 2.3.2
|
|
||||||
Origin: https://ml.mandriva.net/wws/arc/mds-devel/2010-01/msg00004.html
|
|
||||||
Upstream Status: unknown
|
|
||||||
Description: Bulkimport required mods
|
|
||||||
|
|
||||||
diff -Naur mmc-web-base-2.3.2.orig/main.php mmc-web-base-2.3.2/main.php
|
|
||||||
--- mmc-web-base-2.3.2.orig/main.php 2010-01-29 16:07:28.784423139 +0000
|
|
||||||
+++ mmc-web-base-2.3.2/main.php 2010-01-29 16:24:06.781423783 +0000
|
|
||||||
@@ -27,6 +27,7 @@
|
|
||||||
global $conf;
|
|
||||||
|
|
||||||
ob_start();
|
|
||||||
+require ("modules/bulkimport/includes/importUsers.php"); // GLEN (load before session)
|
|
||||||
|
|
||||||
require("includes/session.inc.php");
|
|
||||||
require("includes/config.inc.php");
|
|
||||||
diff -Naur mmc-web-base-2.3.2.orig/modules/base/users/localSidebar.php mmc-web-base-2.3.2/modules/base/users/localSidebar.php
|
|
||||||
--- mmc-web-base-2.3.2.orig/modules/base/users/localSidebar.php 2010-01-29 16:07:28.771423753 +0000
|
|
||||||
+++ mmc-web-base-2.3.2/modules/base/users/localSidebar.php 2010-01-29 16:16:02.722422771 +0000
|
|
||||||
@@ -27,6 +27,7 @@
|
|
||||||
$sidemenu->setBackgroundImage("img/users/icn_users_large.gif");
|
|
||||||
$sidemenu->addSideMenuItem(new SideMenuItem(_("List"), "base","users","index", "img/users/icn_global_active.gif", "img/users/icn_global.gif"));
|
|
||||||
$sidemenu->addSideMenuItem(new SideMenuItem(_("Add"), "base","users","add", "img/users/icn_addUser_active.gif", "img/users/icn_addUser.gif"));
|
|
||||||
+$sidemenu->addSideMenuItem(new SideMenuItem(_T("Bulk Manager (CSV)"), "base", "users", "bulkimport", "img/users/icn_addUser_active.gif", "img/users/icn_addUser.gif"));
|
|
||||||
|
|
||||||
if ($_SESSION["login"] != "root") {
|
|
||||||
$sidemenu->addSideMenuItem(new SideMenuItem(_("Change your password"), "base","users","passwd", "img/access/icn_global_active.gif", "img/access/icn_global.gif"));
|
|
@ -1,32 +0,0 @@
|
|||||||
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
|
|
@ -1,33 +0,0 @@
|
|||||||
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: 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 2007-09-10 09:11:01.000000000 +0000
|
|
||||||
+++ mmc-web-base-2.3.2/confs/apache/mmc.conf.tmpl 2009-02-17 13:12:52.904128616 +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
|
|
||||||
- php_flag short_open_tag on
|
|
||||||
-</Directory>
|
|
||||||
+ ### 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>
|
|
||||||
+</IfDefine>
|
|
||||||
\ No newline at end of file
|
|
@ -1,34 +0,0 @@
|
|||||||
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>
|
|
@ -1,34 +0,0 @@
|
|||||||
<?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>
|
|
@ -1,35 +0,0 @@
|
|||||||
# 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
|
|
||||||
|
|
||||||
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="~amd64 ~arm ~x86 ~x86-fbsd"
|
|
||||||
IUSE=""
|
|
||||||
DEPEND="sys-apps/lsb-release
|
|
||||||
sys-devel/gettext"
|
|
||||||
RDEPEND=">=app-admin/mmc-agent-${PV}
|
|
||||||
dev-lang/php[ldap,xmlrpc,nls]"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.3.2-gentoo-2.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
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
# 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
|
|
||||||
|
|
||||||
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="~amd64 ~arm ~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
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.3.2-gentoo-2.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
|
|
||||||
}
|
|
@ -1,47 +0,0 @@
|
|||||||
# Copyright 1999-2010 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="~amd64 ~arm ~x86 ~x86-fbsd"
|
|
||||||
IUSE=""
|
|
||||||
DEPEND="sys-apps/lsb-release
|
|
||||||
sys-devel/gettext"
|
|
||||||
RDEPEND=">=app-admin/mmc-agent-${PV}"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if ! PHPCHECKNODIE="yes" require_php_with_use ldap xmlrpc nls ; then
|
|
||||||
eerror
|
|
||||||
eerror "${PHP_PKG} needs to be re-installed with all of the following"
|
|
||||||
eerror "USE flags enabled:"
|
|
||||||
eerror
|
|
||||||
eerror "ldap xmlrpc nls"
|
|
||||||
eerror
|
|
||||||
die "Re-install ${PHP_PKG}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd "${S}"
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.3.2-gentoo-2.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" PREFIX=/usr HTTPDUSER=apache install
|
|
||||||
insinto /etc/mmc
|
|
||||||
doins confs/mmc.ini || die "ini install failed"
|
|
||||||
|
|
||||||
insinto /etc/apache2/modules.d
|
|
||||||
newins confs/apache/mmc.conf 90_mmc.conf
|
|
||||||
}
|
|
@ -1,44 +0,0 @@
|
|||||||
# 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/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 ~arm ~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"
|
|
||||||
PDEPEND="app-admin/mmc-web-bulkimport"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.3.2-bulkimport-1.patch
|
|
||||||
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
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user