app-admin/mmc-core: Bump

(Portage version: 2.2.0_alpha17-r1/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2809 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-01-21 15:59:34 +00:00
parent 3e3f088e04
commit 4cadbf0954
4 changed files with 145 additions and 3 deletions

View File

@ -1,7 +1,13 @@
# ChangeLog for app-admin/mmc-agent
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# ChangeLog for app-admin/mmc-core
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*mmc-core-3.0.1 (21 Jan 2011)
21 Jan 2011; Mario Fetka <mario.fetka@gmail.com> +mmc-core-3.0.1.ebuild,
+files/mmc-core-3.0.1-install-target-1.patch:
Bump
02 May 2010; Mario Fetka <mario.fetka@gmail.com> mmc-core-3.0.0.ebuild:
keep log dir

View File

@ -1,7 +1,10 @@
AUX mmc-agent.initd 438 RMD160 d7dc64366782ab0d6fe4347d6a169b88a4e03a49 SHA1 e4ae8808678161237703bbb63b144899c9a544c9 SHA256 922d0bacad3eda749f8807e3ae5c183f636fa93e0d41d7079e570c58ebccb879
AUX mmc-core-3.0.0-install-target-1.patch 3093 RMD160 962349bf319836e3b261197f75e98203ba598a81 SHA1 f38c257806bea19b5d44a6f4f55fa92787f529f1 SHA256 35d615fb32f59a327eb6a3ecce57def0636deabd4f4faea6fe3ab10897194dec
AUX mmc-core-3.0.0-kerberos-1.patch 17278 RMD160 109db7abedd6467045492f0d2bacbc009b707dfb SHA1 14682a3eb5fee83bcbd74528d4d03284f60d8ad8 SHA256 179f0a4d7ad37005679f7dfdb3461ea13b0777f7631c1525dc891f1f751097cf
AUX mmc-core-3.0.1-install-target-1.patch 3228 RMD160 804a4244b021728712561b12a7e9e87aa7831475 SHA1 8de2d7f90a636459cb0cd9996cf932b95bcf117a SHA256 2a403074b39371acd3e0195f07ae702e602a20732a83b3ea76eaa88a4afaa3cf
DIST mmc-core-3.0.0.tar.gz 645109 RMD160 ca519b20ebf011ce78533ce0faec61dd48af35cf SHA1 927f4a8a1e335d97d3af86bb528c7c15960db8c3 SHA256 6aa9a8020ed352cb3c4f6e9c808802e1959fd6d6415d3b66e77453edc4ad9f49
DIST mmc-core-3.0.1.tar.gz 655442 RMD160 deebc610b6bd628b8cdeb4b211da572fb450596c SHA1 9134edf1ec5f9ff6329432216b582afff01f749f SHA256 f983dcc2fdbf47171f3023435cc0f011938ab8288e424f4665bf885a743cbbb6
EBUILD mmc-core-3.0.0.ebuild 1234 RMD160 d63bd5b2219df6402e7e7410ae37ea61a3685257 SHA1 dc334ba3e426e2021864d2d126ad753de42d1e1a SHA256 84c47e990f71860b50d8aa106a23811f9c2018a165b46d757c47e3e38955ec8d
MISC ChangeLog 3167 RMD160 b5f0a152408710041fdf740b54d5402cba981486 SHA1 d2edf9ed335c3a13bd8acae61e559717012c586d SHA256 fa4d4bb840d4aadd11e3b515ed82fb33f66bcd12b9ddcbd4cdabd80bc8347e3b
EBUILD mmc-core-3.0.1.ebuild 1234 RMD160 4c97c95f578f7f9714a764b81c9df9860f07184a SHA1 22bd0b06c73576df0ce2b7e682749032a85b6b5f SHA256 91e1cd0abfeac1f779ebe0e1ad184c595c574d38ba736aa54407324bd113d9ec
MISC ChangeLog 3328 RMD160 772283f0589057030836b8a2b53138a2ce804c0b SHA1 3d0fd4f0973b485143b63093f40fa5a1923f8e13 SHA256 f67da60b29076724ae16d538ae6ede2825fc16dd5f524a6dd3011fceaa911d6b
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -0,0 +1,83 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2011-01-21
Initial Package Version: 3.0.1
Origin: me
Upstream Status: unknown
Description: split install target
diff -Naur mmc-core-3.0.1.orig/agent/Makefile mmc-core-3.0.1/agent/Makefile
--- mmc-core-3.0.1.orig/agent/Makefile 2011-01-21 15:34:54.000000000 +0000
+++ mmc-core-3.0.1/agent/Makefile 2011-01-21 15:50:08.000000000 +0000
@@ -56,37 +56,55 @@
@echo "Nothing to do"
# Install everything
-install:
+install: install_py install_lib_backup install_sbin install_bin install_cfg
@# Install directories
@echo ""
@echo "Move old configuration files to $(DESTDIR)$(ETCDIR)$(BACKUP)"
-[ -d $(DESTDIR)$(ETCDIR) ] && mv -f $(DESTDIR)$(ETCDIR) $(DESTDIR)$(ETCDIR)$(BACKUP)
+
+install_nopy: install_lib_backup install_sbin install_bin install_cfg
+ @# Install directories
@echo ""
- @echo "Creating directories..."
- $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(SBINDIR)
- $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(BINDIR)
- $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(LIBDIR)
- $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(LIBDIRBACKUP)
- $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(ETCDIR)
- $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(PYTHON_PREFIX)
+ # @echo "Move old configuration files to $(DESTDIR)$(ETCDIR)$(BACKUP)"
+ # -[ -d $(DESTDIR)$(ETCDIR) ] && mv -f $(DESTDIR)$(ETCDIR) $(DESTDIR)$(ETCDIR)$(BACKUP)
+install_py:
+ @echo ""
+ @echo "Creating python directories..."
+ $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(PYTHON_PREFIX)
@echo ""
@echo "Install python code in $(DESTDIR)$(PYTHON_PREFIX)"
$(PYTHON) setup.py install --no-compile --prefix $(DESTDIR)$(PYTHON_PREFIX)
+install_lib_backup:
+ @echo ""
+ @echo "Creating lib backup directories..."
+ $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(LIBDIRBACKUP)
@echo ""
@echo "Install LIBDIRBACKUP in $(DESTDIR)$(LIBDIRBACKUP)"
$(INSTALL) -m 755 -o $(OWNER) -g $(OGROUP) $(LIBFILESBACKUP) $(DESTDIR)$(LIBDIRBACKUP)
+install_sbin:
+ @echo ""
+ @echo "Creating sbin directories..."
+ $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(SBINDIR)
@echo ""
@echo "Install SBINFILES in $(DESTDIR)$(SBINDIR)"
$(INSTALL) -m 755 -o $(OWNER) -g $(OGROUP) $(SBINFILES) $(DESTDIR)$(SBINDIR)
+install_bin:
+ @echo ""
+ @echo "Creating bin directories..."
+ $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(BINDIR)
@echo ""
@echo "Install BINFILES in $(DESTDIR)$(BINDIR)"
$(INSTALL) -m 755 -o $(OWNER) -g $(OGROUP) $(BINFILES) $(DESTDIR)$(BINDIR)
+install_cfg:
+ @echo ""
+ @echo "Creating config directories..."
+ $(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(ETCDIR)
@echo ""
@echo "Install CONFILES in $(DESTDIR)$(ETCDIR)"
$(INSTALL) -d -m 755 -o $(OWNER) -g $(OGROUP) $(DESTDIR)$(ETCDIR)/agent
@@ -99,7 +117,7 @@
$(INSTALL) -m 755 -o $(OWNER) -g $(OGROUP) init.d/mmc-agent $(DESTDIR)$(INITDIR)
ifndef NOCHECKPASSWORD
- $(MAKE) -C openldap-check-password install CC=$(CC) INSTALL=$(INSTALL)
+ $(MAKE) -C openldap-check-password install CC=$(CC) INSTALL=$(INSTALL) DESTDIR=$(DESTDIR)
endif
include common.mk

View File

@ -0,0 +1,50 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit eutils distutils
MY_P="${P/_p/-}"
MY_PV="${PV/_p*/}"
DESCRIPTION="The MMC Agent and its Core Python plugins."
HOMEPAGE="http://mds.mandriva.org/"
SRC_URI="http://mds.mandriva.org/pub/mmc-core/sources//${PV}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
SLOT="0"
RDEPEND=">=dev-python/twisted-web-0.7.0
>=dev-python/python-ldap-2.2.1
!app-admin/mmc-agent"
DEPEND="sys-apps/lsb-release"
S="${WORKDIR}/${PN}-${MY_PV}/agent"
src_prepare() {
epatch "${FILESDIR}"/${PN}-3.0.1-install-target-1.patch
epatch "${FILESDIR}"/${PN}-3.0.0-kerberos-1.patch
distutils_src_prepare
}
# from marienz's setuptools.eclass:
src_install() {
emake install_nopy PREFIX=/usr DESTDIR=${D} NOCHECKPASSWORD="1"
distutils_src_install
newinitd "${FILESDIR}"/mmc-agent.initd mmc-agent
keepdir /var/log/mmc
}
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."
}