delete old
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@700 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
11d1c08ea0
commit
ea46180ff2
@ -1,17 +0,0 @@
|
|||||||
# ChangeLog for app-admin/mmc-agent
|
|
||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
11 Jan 2009; Mario Fetka <mario.fetka@gmail.com> +mmc-agent-2.3.2.ebuild:
|
|
||||||
Bump
|
|
||||||
|
|
||||||
02 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
|
||||||
files/mmc-agent-2.3.1-kerberos-1.patch:
|
|
||||||
update patch
|
|
||||||
|
|
||||||
31 Jul 2008; Mario Fetka <mario.fetka@gmail.com> mmc-agent-2.3.1.ebuild:
|
|
||||||
repoman Cleanup
|
|
||||||
|
|
||||||
14 Jun 2008; Mario Fetka <mario-fetka@gmx.at> +metadata.xml:
|
|
||||||
Initial import
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
AUX mmc-agent-2.3.1-kerberos-1.patch 14230 RMD160 236a276fe5bae2a6927af8b9d619ad83d3c41b38 SHA1 8475086422569d922d114c22285b6e47b02fb18d SHA256 c1913d1e8ca4653479d9920ce9a6f238f503b25e21c03213c38e81178e3b1d0d
|
|
||||||
AUX mmc-agent.initd 438 RMD160 d7dc64366782ab0d6fe4347d6a169b88a4e03a49 SHA1 e4ae8808678161237703bbb63b144899c9a544c9 SHA256 922d0bacad3eda749f8807e3ae5c183f636fa93e0d41d7079e570c58ebccb879
|
|
||||||
DIST mmc-agent-2.3.1.tar.gz 111217 RMD160 7e75cbf9637a50214f7d2f1eee5049f7809d29aa SHA1 35f468ad4eb77ca4117695eb2b6ea83b38a01d46 SHA256 39e594a36f7cde73e6dfcc3845841137c0fe016c82c6343838fb8879931c757b
|
|
||||||
DIST mmc-agent-2.3.2.tar.gz 120949 RMD160 871b3b7766d69019de392e42ebf25a216d217c71 SHA1 1e7c634243c00c6b214f24c3467315d31a444215 SHA256 0ac8ff97818c58008cadb3c6b08dba39e42b078fea9d392fda649e036eabaea2
|
|
||||||
EBUILD mmc-agent-2.3.1.ebuild 1250 RMD160 0230a124ace55353571f7b1b201664bd45405999 SHA1 af139ef81aee700b236962b6622e9e8f2a8986cf SHA256 da0e889c925d0ce8442081c4f3155a4f82dce17b152a54be798ee7e25e4917a1
|
|
||||||
EBUILD mmc-agent-2.3.2.ebuild 1266 RMD160 5a806e21648f53839aac707388108039c343139e SHA1 f410c1c7fd15b9b7ec4d4d4d4822a5287d9dfd73 SHA256 a7483f126ec28affb8af6d01461cc25ddb5f1a6c193cee2019e08abb03d2ccee
|
|
||||||
MISC ChangeLog 488 RMD160 9342f9c6d57681478ccf6e653551566aae20ceb8 SHA1 c96bec68b8d199af765a40076f49854a5ab001c6 SHA256 0c9726222878d99c78eaf10dec89c3a1e395e0d83fe276424cf3eb6895240c06
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
|
@ -1,296 +0,0 @@
|
|||||||
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
|
|
||||||
Date: 2008-06-14
|
|
||||||
Initial Package Version: 2.2.0
|
|
||||||
Origin: Ticket #144
|
|
||||||
Upstream Status: Accepted
|
|
||||||
Description: Kerberized accounts in ou=People
|
|
||||||
|
|
||||||
|
|
||||||
diff -Naur mmc-agent-2.3.1.orig/conf/plugins/kerberos.ini mmc-agent-2.3.1/conf/plugins/kerberos.ini
|
|
||||||
--- mmc-agent-2.3.1.orig/conf/plugins/kerberos.ini 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ mmc-agent-2.3.1/conf/plugins/kerberos.ini 2008-05-17 13:04:35.000000000 +0000
|
|
||||||
@@ -0,0 +1,5 @@
|
|
||||||
+[main]
|
|
||||||
+disable = 0
|
|
||||||
+
|
|
||||||
+[kerberos]
|
|
||||||
+realm = EXAMPLE.COM
|
|
||||||
diff -Naur mmc-agent-2.3.1.orig/mmc/plugins/base/__init__.py mmc-agent-2.3.1/mmc/plugins/base/__init__.py
|
|
||||||
--- mmc-agent-2.3.1.orig/mmc/plugins/base/__init__.py 2008-04-29 15:15:48.000000000 +0000
|
|
||||||
+++ mmc-agent-2.3.1/mmc/plugins/base/__init__.py 2008-06-14 09:22:59.000000000 +0000
|
|
||||||
@@ -1229,6 +1229,10 @@
|
|
||||||
attrs = []
|
|
||||||
attrib = self.l.search_s(dn, ldap.SCOPE_BASE)
|
|
||||||
c, attrs = attrib[0]
|
|
||||||
+ # kerberos -> remove binary key from attrs
|
|
||||||
+ try: attrs.pop('krb5Key')
|
|
||||||
+ except: pass
|
|
||||||
+ #
|
|
||||||
newattrs = copy.deepcopy(attrs)
|
|
||||||
return newattrs
|
|
||||||
|
|
||||||
@@ -1249,6 +1253,10 @@
|
|
||||||
attrib = self.l.search_s(cn, ldap.SCOPE_BASE)
|
|
||||||
|
|
||||||
c,attrs=attrib[0]
|
|
||||||
+ # kerberos -> remove binary key from attrs
|
|
||||||
+ try: attrs.pop('krb5Key')
|
|
||||||
+ except: pass
|
|
||||||
+ #
|
|
||||||
|
|
||||||
newattrs = copy.deepcopy(attrs)
|
|
||||||
|
|
||||||
@@ -1402,8 +1410,13 @@
|
|
||||||
@rtype: list
|
|
||||||
"""
|
|
||||||
if not base: base = self.baseUsersDN
|
|
||||||
- if (pattern==''): searchFilter = "uid=*"
|
|
||||||
- else: searchFilter = pattern
|
|
||||||
+ # kerberos -> search only PosixAccount
|
|
||||||
+ if (pattern==''): searchFilter = "(&(objectClass=posixAccount)(uid=*))"
|
|
||||||
+ elif pattern[0] == '(':
|
|
||||||
+ searchFilter = "(&(objectClass=posixAccount)%s)" % (pattern)
|
|
||||||
+ else:
|
|
||||||
+ searchFilter = "(&(objectClass=posixAccount)(%s))" % (pattern)
|
|
||||||
+ #
|
|
||||||
monoattrs = ["uid", "sn", "givenName", "mail"]
|
|
||||||
result_set = self.search(searchFilter, base, monoattrs + ["telephoneNumber", "loginShell", "objectClass"], ldap.SCOPE_ONELEVEL)
|
|
||||||
|
|
||||||
diff -Naur mmc-agent-2.3.1.orig/mmc/plugins/kerberos/__init__.py mmc-agent-2.3.1/mmc/plugins/kerberos/__init__.py
|
|
||||||
--- mmc-agent-2.3.1.orig/mmc/plugins/kerberos/__init__.py 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ mmc-agent-2.3.1/mmc/plugins/kerberos/__init__.py 2007-11-21 09:56:21.000000000 +0000
|
|
||||||
@@ -0,0 +1,180 @@
|
|
||||||
+# -*- coding: utf-8; -*-
|
|
||||||
+#
|
|
||||||
+# (c) 2004-2007 Linbox / Free&ALter Soft, http://linbox.com
|
|
||||||
+# (c) 2007 Mandriva, http://www.mandriva.com/
|
|
||||||
+# (c) 2007 Kids-und-Co g.e.V http://www.kids-und-co.de
|
|
||||||
+#
|
|
||||||
+# $Id: __init__.py 108 2007-11-21 09:56:21Z iosifb $
|
|
||||||
+#
|
|
||||||
+# This file is part of Mandriva Management Console (MMC).
|
|
||||||
+#
|
|
||||||
+# MMC is free software; you can redistribute it and/or modify
|
|
||||||
+# it under the terms of the GNU General Public License as published by
|
|
||||||
+# the Free Software Foundation; either version 2 of the License, or
|
|
||||||
+# (at your option) any later version.
|
|
||||||
+#
|
|
||||||
+# MMC is distributed in the hope that it will be useful,
|
|
||||||
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
+# GNU General Public License for more details.
|
|
||||||
+#
|
|
||||||
+# You should have received a copy of the GNU General Public License
|
|
||||||
+# along with MMC; if not, write to the Free Software
|
|
||||||
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
+
|
|
||||||
+import logging
|
|
||||||
+import ldap.modlist
|
|
||||||
+import copy
|
|
||||||
+from mmc.plugins.base import ldapUserGroupControl
|
|
||||||
+import xmlrpclib
|
|
||||||
+from mmc.support.errorObj import errorMessage
|
|
||||||
+from mmc.support.mmcException import *
|
|
||||||
+from mmc.support import mmctools
|
|
||||||
+import mmc.plugins.base
|
|
||||||
+from mmc.support.config import *
|
|
||||||
+from mmc.plugins.base import ldapUserGroupControl
|
|
||||||
+
|
|
||||||
+VERSION = "2.3.1"
|
|
||||||
+APIVERSION = "4:2:0"
|
|
||||||
+REVISION = int("$Rev: 108 $".split(':')[1].strip(' $'))
|
|
||||||
+
|
|
||||||
+def getVersion(): return VERSION
|
|
||||||
+def getApiVersion(): return APIVERSION
|
|
||||||
+def getRevision(): return REVISION
|
|
||||||
+
|
|
||||||
+def activate():
|
|
||||||
+ """
|
|
||||||
+ this function define if the module "base" can be activated.
|
|
||||||
+ @return: return True if this module can be activate
|
|
||||||
+ @rtype: boolean
|
|
||||||
+ """
|
|
||||||
+ config = KerberosConfig("kerberos")
|
|
||||||
+ logger = logging.getLogger()
|
|
||||||
+
|
|
||||||
+ if config.disabled:
|
|
||||||
+ logger.info("Kerberos plugin disabled by configuration.")
|
|
||||||
+ return False
|
|
||||||
+
|
|
||||||
+ try:
|
|
||||||
+ ldapObj = ldapUserGroupControl()
|
|
||||||
+ except ldap.INVALID_CREDENTIALS:
|
|
||||||
+ logger.error("Can't bind to LDAP: invalid credentials.")
|
|
||||||
+ return False
|
|
||||||
+
|
|
||||||
+ # Test if the Kerberos LDAP schema is available in the directory
|
|
||||||
+ try:
|
|
||||||
+ schema = ldapObj.getSchema("krb5KDCEntry")
|
|
||||||
+ if len(schema) <= 0:
|
|
||||||
+ logger.error("Kerberos schema is not included in LDAP directory");
|
|
||||||
+ return False
|
|
||||||
+ except:
|
|
||||||
+ logger.exception("invalid schema")
|
|
||||||
+ return False
|
|
||||||
+ try:
|
|
||||||
+ schema = ldapObj.getSchema("krb5Principal")
|
|
||||||
+ if len(schema) <= 0:
|
|
||||||
+ logger.error("Kerberos schema is not included in LDAP directory");
|
|
||||||
+ return False
|
|
||||||
+ except:
|
|
||||||
+ logger.exception("invalid schema")
|
|
||||||
+ return False
|
|
||||||
+ """
|
|
||||||
+ TODO: Check kerberos database
|
|
||||||
+ """
|
|
||||||
+ return True
|
|
||||||
+
|
|
||||||
+def isKrbUser(uid):
|
|
||||||
+ return kerberosLdapControl().isKerberosUser(uid)
|
|
||||||
+
|
|
||||||
+def addKrbAttr(uid,password):
|
|
||||||
+ return kerberosLdapControl().addKerberosAttr(uid,password)
|
|
||||||
+
|
|
||||||
+def delKrbAttr(uid,password):
|
|
||||||
+ return kerberosLdapControl().delKerberosAttr(uid,password)
|
|
||||||
+
|
|
||||||
+def changePassword(uid,password):
|
|
||||||
+ return kerberosLdapControl().changePassword(uid, password)
|
|
||||||
+
|
|
||||||
+class KerberosConfig(PluginConfig):
|
|
||||||
+ def __init__(self,name, conffile = None):
|
|
||||||
+ PluginConfig.__init__(self,name, conffile = None)
|
|
||||||
+ self.setDefault()
|
|
||||||
+ self.readConfig()
|
|
||||||
+
|
|
||||||
+ def readConfig(self):
|
|
||||||
+ PluginConfig.readConf(self)
|
|
||||||
+ self.realm = self.get("kerberos", "realm")
|
|
||||||
+
|
|
||||||
+class kerberosLdapControl(mmc.plugins.base.ldapUserGroupControl):
|
|
||||||
+
|
|
||||||
+ def __init__(self, conffile = None, conffilebase = None):
|
|
||||||
+ mmc.plugins.base.ldapUserGroupControl.__init__(self, conffilebase)
|
|
||||||
+ self.configKerberos = KerberosConfig("kerberos", conffile)
|
|
||||||
+ self.realm = self.configKerberos.realm
|
|
||||||
+
|
|
||||||
+ def delKerberosAttr(self,uid,password):
|
|
||||||
+ # If the password has been encoded in the XML-RPC stream, decode it
|
|
||||||
+ if isinstance(password, xmlrpclib.Binary):
|
|
||||||
+ password = str(password)
|
|
||||||
+ dn = 'uid=' + uid + ',' + self.baseUsersDN
|
|
||||||
+ s = self.l.search_s(dn, ldap.SCOPE_BASE)
|
|
||||||
+ c, attr = s[0]
|
|
||||||
+ old = {}
|
|
||||||
+ new = {}
|
|
||||||
+ for key in attr.keys(): old[key.lower()] = attr[key]
|
|
||||||
+ new = copy.deepcopy(old)
|
|
||||||
+ # remove krb attributes
|
|
||||||
+ new.pop('krb5kdcflags')
|
|
||||||
+ new.pop('krb5principalname')
|
|
||||||
+ new.pop('krb5keyversionnumber')
|
|
||||||
+ try: new.pop('krb5key')
|
|
||||||
+ except KeyError: pass
|
|
||||||
+ newobjclasses = ()
|
|
||||||
+ for s in new.pop('objectclass'):
|
|
||||||
+ if s[0:4] == 'krb5': pass
|
|
||||||
+ else: newobjclasses = newobjclasses + (s,)
|
|
||||||
+ new['objectclass'] = newobjclasses
|
|
||||||
+ modlist = ldap.modlist.modifyModlist(old, new)
|
|
||||||
+ #logger = logging.getLogger()
|
|
||||||
+ #logger.debug(newobjclasses)
|
|
||||||
+ #logger.debug(modlist)
|
|
||||||
+ self.l.modify_s(dn, modlist)
|
|
||||||
+ mmc.plugins.base.ldapUserGroupControl.changeUserPasswd(self,uid,password)
|
|
||||||
+ return True
|
|
||||||
+
|
|
||||||
+ def addKerberosAttr(self,uid,password):
|
|
||||||
+ # If the password has been encoded in the XML-RPC stream, decode it
|
|
||||||
+ if isinstance(password, xmlrpclib.Binary):
|
|
||||||
+ password = str(password)
|
|
||||||
+ dn = 'uid=' + uid + ',' + self.baseUsersDN
|
|
||||||
+ s = self.l.search_s(dn, ldap.SCOPE_BASE)
|
|
||||||
+ c, attr = s[0]
|
|
||||||
+ old = {}
|
|
||||||
+ new = {}
|
|
||||||
+ for key in attr.keys(): old[key.lower()] = attr[key]
|
|
||||||
+ new = copy.deepcopy(old)
|
|
||||||
+ new['objectclass'] = new['objectclass'] + ['krb5Principal','krb5KDCEntry']
|
|
||||||
+ new['userpassword'] = ['{K5Key}']
|
|
||||||
+ new['krb5kdcflags'] = ['126']
|
|
||||||
+ new['krb5keyversionnumber'] = ['0']
|
|
||||||
+ new['krb5principalname'] = [uid+'@' +self.realm]
|
|
||||||
+ modlist = ldap.modlist.modifyModlist(old, new)
|
|
||||||
+ self.l.modify_s(dn, modlist)
|
|
||||||
+ self.l.passwd_s(dn, None, password)
|
|
||||||
+ return True
|
|
||||||
+
|
|
||||||
+ def isKerberosUser(self,uid):
|
|
||||||
+ ret = False
|
|
||||||
+ if self.existUser(uid): ret = "krb5Principal" in self.getDetailedUser(uid)["objectClass"]
|
|
||||||
+ return ret
|
|
||||||
+
|
|
||||||
+ def changePassword(self,uid,password):
|
|
||||||
+ # If the password has been encoded in the XML-RPC stream, decode it
|
|
||||||
+ if isinstance(password, xmlrpclib.Binary):
|
|
||||||
+ password = str(password)
|
|
||||||
+ dn = 'uid=' + uid + ',' + self.baseUsersDN
|
|
||||||
+ self.l.modify_s(dn, [(ldap.MOD_REPLACE,'userPassWord','{K5KEY}')])
|
|
||||||
+ self.l.passwd_s(dn, None, password)
|
|
||||||
+ return True
|
|
||||||
+
|
|
||||||
+
|
|
||||||
diff -Naur mmc-agent-2.3.1.orig/plugins_base.diff mmc-agent-2.3.1/plugins_base.diff
|
|
||||||
--- mmc-agent-2.3.1.orig/plugins_base.diff 1970-01-01 00:00:00.000000000 +0000
|
|
||||||
+++ mmc-agent-2.3.1/plugins_base.diff 2008-05-17 13:04:04.000000000 +0000
|
|
||||||
@@ -0,0 +1,40 @@
|
|
||||||
+--- mds-orig/mmc-agent/mmc/plugins/base/__init__.py 2007-11-21 10:57:03.000000000 +0100
|
|
||||||
++++ kerberos_plugin/trunk/mmc-agent/mmc/plugins/base/__init__.py 2007-11-21 11:34:36.000000000 +0100
|
|
||||||
+@@ -1207,6 +1207,10 @@
|
|
||||||
+ attrs = []
|
|
||||||
+ attrib = self.l.search_s(dn, ldap.SCOPE_BASE)
|
|
||||||
+ c, attrs = attrib[0]
|
|
||||||
++ # kerberos -> remove binary key from attrs
|
|
||||||
++ try: attrs.pop('krb5Key')
|
|
||||||
++ except: pass
|
|
||||||
++ #
|
|
||||||
+ newattrs = copy.deepcopy(attrs)
|
|
||||||
+ return newattrs
|
|
||||||
+
|
|
||||||
+@@ -1227,6 +1231,10 @@
|
|
||||||
+ attrib = self.l.search_s(cn, ldap.SCOPE_BASE)
|
|
||||||
+
|
|
||||||
+ c,attrs=attrib[0]
|
|
||||||
++ # kerberos -> remove binary key from attrs
|
|
||||||
++ try: attrs.pop('krb5Key')
|
|
||||||
++ except: pass
|
|
||||||
++ #
|
|
||||||
+
|
|
||||||
+ newattrs = copy.deepcopy(attrs)
|
|
||||||
+
|
|
||||||
+@@ -1380,8 +1388,13 @@
|
|
||||||
+ @rtype: list
|
|
||||||
+ """
|
|
||||||
+ if not base: base = self.baseUsersDN
|
|
||||||
+- if (pattern==''): searchFilter = "uid=*"
|
|
||||||
+- else: searchFilter = pattern
|
|
||||||
++ # kerberos -> search only PosixAccount
|
|
||||||
++ if (pattern==''): searchFilter = "(&(objectClass=posixAccount)(uid=*))"
|
|
||||||
++ elif pattern[0] == '(':
|
|
||||||
++ searchFilter = "(&(objectClass=posixAccount)%s)" % (pattern)
|
|
||||||
++ else:
|
|
||||||
++ searchFilter = "(&(objectClass=posixAccount)(%s))" % (pattern)
|
|
||||||
++ #
|
|
||||||
+ monoattrs = ["uid", "sn", "givenName", "mail"]
|
|
||||||
+ result_set = self.search(searchFilter, base, monoattrs + ["telephoneNumber", "loginShell", "objectClass"], ldap.SCOPE_ONELEVEL)
|
|
||||||
+
|
|
||||||
diff -Naur mmc-agent-2.3.1.orig/setup.py mmc-agent-2.3.1/setup.py
|
|
||||||
--- mmc-agent-2.3.1.orig/setup.py 2007-09-10 08:20:59.000000000 +0000
|
|
||||||
+++ mmc-agent-2.3.1/setup.py 2008-06-14 09:24:15.000000000 +0000
|
|
||||||
@@ -8,5 +8,5 @@
|
|
||||||
author_email = "cdelfosse@mandriva.com",
|
|
||||||
maintainer = "Cedric Delfosse",
|
|
||||||
maintainer_email = "cdelfosse@mandriva.com",
|
|
||||||
- packages = ["mmc", "mmc.support", "mmc.plugins", "mmc.plugins.base", "mmc.plugins.samba", "mmc.plugins.proxy", "mmc.plugins.mail", "mmc.plugins.network"],
|
|
||||||
+ packages = ["mmc", "mmc.support", "mmc.plugins", "mmc.plugins.base", "mmc.plugins.samba", "mmc.plugins.proxy", "mmc.plugins.mail", "mmc.plugins.network", "mmc.plugins.kerberos"],
|
|
||||||
)
|
|
@ -1,20 +0,0 @@
|
|||||||
#!/sbin/runscript
|
|
||||||
# Copyright 1999-2007 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
depend() {
|
|
||||||
need net slapd
|
|
||||||
}
|
|
||||||
|
|
||||||
start() {
|
|
||||||
ebegin "Starting mmc-agent"
|
|
||||||
eval start-stop-daemon --start --quiet --exec /usr/sbin/mmc-agent --pidfile /var/run/mmc-agent.pid
|
|
||||||
eend $?
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
ebegin "Stopping mmc-agent"
|
|
||||||
start-stop-daemon --stop --quiet --pidfile /var/run/mmc-agent.pid
|
|
||||||
eend $?
|
|
||||||
}
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>maintainer-wanted</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,50 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit distutils
|
|
||||||
|
|
||||||
# ESVN_REPO_URI="http://mds.mandriva.org/svn/mmc-agent"
|
|
||||||
DESCRIPTION="The MMC Agent and its Python plugins."
|
|
||||||
HOMEPAGE="http://mds.mandriva.org/"
|
|
||||||
SRC_URI="http://mds.mandriva.org/pub/mds/sources/${PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DEPEND=">=dev-python/setuptools-0.6_rc1
|
|
||||||
>=dev-python/twisted-web-0.7.0
|
|
||||||
>=dev-python/python-ldap-2.2.1"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
epatch "${FILESDIR}"/${P}-kerberos-1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
# from marienz's setuptools.eclass:
|
|
||||||
src_install() {
|
|
||||||
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
|
|
||||||
dosbin bin/*
|
|
||||||
insinto etc/mmc/agent/keys
|
|
||||||
doins -r conf/agent/keys/*
|
|
||||||
insinto etc/mmc/agent
|
|
||||||
doins -r conf/agent/*.ini
|
|
||||||
insinto etc/mmc/plugins
|
|
||||||
doins -r conf/plugins/*.ini
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/mmc-agent.initd mmc-agent
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
"${python}" setup.py test || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "To disable some plugin in your mmc environments, you have to set"
|
|
||||||
elog "disable to 1 in /etc/mmc/plugins/*.ini"
|
|
||||||
elog "(one config file per service)"
|
|
||||||
elog "You can't disable the base plugin."
|
|
||||||
}
|
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit distutils
|
|
||||||
|
|
||||||
# ESVN_REPO_URI="http://mds.mandriva.org/svn/mmc-agent"
|
|
||||||
DESCRIPTION="The MMC Agent and its Python plugins."
|
|
||||||
HOMEPAGE="http://mds.mandriva.org/"
|
|
||||||
SRC_URI="http://mds.mandriva.org/pub/mds/sources/${PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
DEPEND=">=dev-python/setuptools-0.6_rc1
|
|
||||||
>=dev-python/twisted-web-0.7.0
|
|
||||||
>=dev-python/python-ldap-2.2.1"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
cd ${S}
|
|
||||||
epatch "${FILESDIR}"/${PN}-2.3.1-kerberos-1.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
# from marienz's setuptools.eclass:
|
|
||||||
src_install() {
|
|
||||||
"${python}" setup.py install --root="${D}" --no-compile "$@" || die "install failed"
|
|
||||||
dosbin bin/*
|
|
||||||
insinto etc/mmc/agent/keys
|
|
||||||
doins -r conf/agent/keys/*
|
|
||||||
insinto etc/mmc/agent
|
|
||||||
doins -r conf/agent/*.ini
|
|
||||||
insinto etc/mmc/plugins
|
|
||||||
doins -r conf/plugins/*.ini
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/mmc-agent.initd mmc-agent
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
"${python}" setup.py test || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "To disable some plugin in your mmc environments, you have to set"
|
|
||||||
elog "disable to 1 in /etc/mmc/plugins/*.ini"
|
|
||||||
elog "(one config file per service)"
|
|
||||||
elog "You can't disable the base plugin."
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
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
|
|
||||||
EBUILD mmc-web-base-2.3.1.ebuild 1125 RMD160 a1eab784fbefe7a70d8099b15e36f69f68221d1e SHA1 e58a2d1da731d2c8a7b78226d6b3e614faabc425 SHA256 275fd90253809df312eb697b3f0c79351eaceb2cbfb47d868c5056d8967a9e13
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils webapp 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=""
|
|
||||||
RDEPEND="=app-admin/mmc-agent-${PV}"
|
|
||||||
|
|
||||||
need_httpd
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_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.11.5-custom-cert.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" DATADIR="${MY_HTDOCSDIR}" HTTPDUSER=root install
|
|
||||||
insinto /etc/mmc
|
|
||||||
doins confs/mmc.ini
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
# ChangeLog for app-admin/mmc-web-kerberos
|
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
02 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
|
||||||
+files/postinstall-en-2.3.txt, +metadata.xml,
|
|
||||||
+mmc-web-kerberos-2.3.1.ebuild:
|
|
||||||
initial checkin
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX postinstall-en-2.3.txt 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
|
||||||
DIST mmc-web-kerberos-2.3.1.tar.gz 5622 RMD160 5b9b0ff52255f1f551ddc6f4c997da4be6390957 SHA1 31e141fb76da0517ac46bf2ca33995da11eb03a1 SHA256 9188f3cd251f3f9a948b241e8bb7c8b9d958e2fa153dafa861dee82572c6df4c
|
|
||||||
EBUILD mmc-web-kerberos-2.3.1.ebuild 796 RMD160 58254c54554e954aef95d2d593ae162e4c62da2f SHA1 cb9397b4ceb5ff0ef5dd8a5315e689c88967a0e5 SHA256 838601cf4a5c33958d40f892dd6cd79b004639d7e5e30e9c34f9c35b466497f0
|
|
||||||
MISC ChangeLog 279 RMD160 f4c06e05ae51b40315024ef6e365a548108d79ee SHA1 fe08c40f2ec27dcf0cefd04766b1a61efc63852b SHA256 d3117a4f57ddb0974646cea679e1e5f3903611d1e048fcf3cb72707fc5a7302e
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>maintainer-wanted</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils webapp 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
|
|
||||||
http://ftp.mars.arge.at/pub/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
|
||||||
IUSE=""
|
|
||||||
RDEPEND="=app-admin/mmc-web-base-${PV}"
|
|
||||||
|
|
||||||
need_httpd
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" DATADIR="${MY_HTDOCSDIR}" install
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
# ChangeLog for app-admin/mmc-web-mail
|
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
02 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
|
||||||
+files/postinstall-en-2.3.txt, +metadata.xml, +mmc-web-mail-2.3.1.ebuild:
|
|
||||||
initial checkin
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX postinstall-en-2.3.txt 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
|
||||||
DIST mmc-web-mail-2.3.1.tar.gz 30841 RMD160 60bfb633aee9321c4362ac0461d832e7d516f037 SHA1 cf5bef3069bb49fa9f8d55eb6d3086d42a15903c SHA256 bab70bc59997e0b4e5f871c4053d6fdc413377ec69d8a91f2e5b763b48fec096
|
|
||||||
EBUILD mmc-web-mail-2.3.1.ebuild 755 RMD160 6f99475afcde1649d8fdb0e899b9c65e01b1027c SHA1 8e1b8c6233013a3e50713db02e6618f7c298a835 SHA256 acf272c52d8458bf5964f7d74a8e7c0fd29c380c2d4691ad91035a564fff6e92
|
|
||||||
MISC ChangeLog 269 RMD160 a1a496ce1a224a490b305960e8e5109bb3f89b57 SHA1 bcf25492d2eaf75d2d665a67ff7aed9978677020 SHA256 470c4f626d0f629722fcc6d70afc4aa7b7ed0d629539a11366817a32be107530
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>maintainer-wanted</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils webapp 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=""
|
|
||||||
RDEPEND="=app-admin/mmc-web-base-${PV}"
|
|
||||||
|
|
||||||
need_httpd
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" DATADIR="${MY_HTDOCSDIR}" install
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
# ChangeLog for app-admin/mmc-web-network
|
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
02 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
|
||||||
+files/postinstall-en-2.3.txt, +metadata.xml,
|
|
||||||
+mmc-web-network-2.3.1.ebuild:
|
|
||||||
initial checkin
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX postinstall-en-2.3.txt 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
|
||||||
DIST mmc-web-network-2.3.1.tar.gz 57538 RMD160 34bfd544a27648c121db6dd9b53fe4df5dad3fdd SHA1 ce8fbed6d2781fb473395bd4abbac19aabf25331 SHA256 606f40239c7bf5deeb4cfe831506226a87ae8778c8338735f5cde5577f4d9281
|
|
||||||
EBUILD mmc-web-network-2.3.1.ebuild 755 RMD160 6f99475afcde1649d8fdb0e899b9c65e01b1027c SHA1 8e1b8c6233013a3e50713db02e6618f7c298a835 SHA256 acf272c52d8458bf5964f7d74a8e7c0fd29c380c2d4691ad91035a564fff6e92
|
|
||||||
MISC ChangeLog 277 RMD160 39befbbce124310ab2336fdebe0a773a5c35390d SHA1 c2650ff6092d4712c8330c051de2f9c56a9f8856 SHA256 4fc1a5bc7de56401275e62d4a7db9a1c323d4d270647a0441d180da5fb743b3a
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>maintainer-wanted</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils webapp 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=""
|
|
||||||
RDEPEND="=app-admin/mmc-web-base-${PV}"
|
|
||||||
|
|
||||||
need_httpd
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" DATADIR="${MY_HTDOCSDIR}" install
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
# ChangeLog for app-admin/mmc-web-proxy
|
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
02 Nov 2008; Mario Fetka <mario.fetka@gmail.com> +metadata.xml,
|
|
||||||
+mmc-web-proxy-2.3.1.ebuild:
|
|
||||||
initial checkin
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX postinstall-en-2.3.txt 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
|
||||||
DIST mmc-web-proxy-2.3.1.tar.gz 17940 RMD160 699a74f41dda535db7f609cbd5845cc92d8b6d9c SHA1 690acf94ba0976f38936b1878b71b3d904e39a34 SHA256 c24268c47dba97be245aaf0bc1c1c231e96a3d8c48896a08473830aa15ef8c43
|
|
||||||
EBUILD mmc-web-proxy-2.3.1.ebuild 755 RMD160 6f99475afcde1649d8fdb0e899b9c65e01b1027c SHA1 8e1b8c6233013a3e50713db02e6618f7c298a835 SHA256 acf272c52d8458bf5964f7d74a8e7c0fd29c380c2d4691ad91035a564fff6e92
|
|
||||||
MISC ChangeLog 240 RMD160 023ad003ab47ecbb0ae56e71d741adf606fec3fa SHA1 ebde4983297e4fe7b39765c2295682525c7304a3 SHA256 3d30902f2ab998b6f74f68f64b9a42e715cf4b6c197ea1f66792f9aff264e6c8
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>maintainer-wanted</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils webapp 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=""
|
|
||||||
RDEPEND="=app-admin/mmc-web-base-${PV}"
|
|
||||||
|
|
||||||
need_httpd
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" DATADIR="${MY_HTDOCSDIR}" install
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
# ChangeLog for app-admin/mmc-web-samba
|
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
02 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
|
||||||
+files/postinstall-en-2.3.txt, +metadata.xml, +mmc-web-samba-2.3.1.ebuild:
|
|
||||||
initial checkin
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
AUX postinstall-en-2.3.txt 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|
|
||||||
DIST mmc-web-samba-2.3.1.tar.gz 38536 RMD160 9115a0d0ebbd078fb1f3f34ef4f780e653c441b9 SHA1 e544f65c0c442c1ee1bcc127534e582099078b22 SHA256 dce190bb8e933177810a7869014ce4659eab6123d44c37695f2d98928476c28c
|
|
||||||
EBUILD mmc-web-samba-2.3.1.ebuild 755 RMD160 6f99475afcde1649d8fdb0e899b9c65e01b1027c SHA1 8e1b8c6233013a3e50713db02e6618f7c298a835 SHA256 acf272c52d8458bf5964f7d74a8e7c0fd29c380c2d4691ad91035a564fff6e92
|
|
||||||
MISC ChangeLog 271 RMD160 df937e30e5edf562955a96ed97d75605dbd58e63 SHA1 7dfa21f5d85cdcc38ee62e9916d5bdcd2d210d70 SHA256 ce15187e9213ee9a62262921abc59c7fc6fe77ec55c7dc2a7abf8129bf4eab8e
|
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
|
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<herd>maintainer-wanted</herd>
|
|
||||||
</pkgmetadata>
|
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils webapp 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=""
|
|
||||||
RDEPEND="=app-admin/mmc-web-base-${PV}"
|
|
||||||
|
|
||||||
need_httpd
|
|
||||||
need_php_httpd
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
webapp_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
webapp_src_preinst
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" DATADIR="${MY_HTDOCSDIR}" install
|
|
||||||
|
|
||||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.3.txt
|
|
||||||
webapp_src_install
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user