dev-python/python-opsi: initial commit
(Portage version: 2.2.0_alpha41/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/opsi@2957 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
afbaacb828
commit
9fc9c5c211
10
dev-python/python-opsi/ChangeLog
Normal file
10
dev-python/python-opsi/ChangeLog
Normal file
@ -0,0 +1,10 @@
|
||||
# ChangeLog for dev-python/python-opsi
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
*python-opsi-4.0.1.8 (23 Jun 2011)
|
||||
|
||||
23 Jun 2011; Mario Fetka <mario.fetka@gmail.com> +python-opsi-4.0.1.8.ebuild,
|
||||
+metadata.xml:
|
||||
initial commit
|
||||
|
4
dev-python/python-opsi/Manifest
Normal file
4
dev-python/python-opsi/Manifest
Normal file
@ -0,0 +1,4 @@
|
||||
DIST python-opsi-4.0.1.8-1.1.src.rpm 544735 RMD160 758c9509bd7aba4cfca1a048643904fabacfae98 SHA1 31bf6b0933e02b187032f8d297d7f17c8f6da5ed SHA256 9b06f15ecccfd44bd05d8162de610eb742ba72814cb8706e7b0a4ffc981407d5
|
||||
EBUILD python-opsi-4.0.1.8.ebuild 1994 RMD160 b4c15c6281588e5d4e48e371aceb5b9e88a486c4 SHA1 286a72842a11720b457eb8e1f27e2519f6013efb SHA256 1f4c6d7a96e59a32437c9970493f0cb0b1539d059a04096f27ffa47cd4215e64
|
||||
MISC ChangeLog 274 RMD160 7583e1fadd8697de4cf7ac9ef2d4b9533b71dedd SHA1 2050f4fb5bf80c1fbab80f3fe15f050c97c8f014 SHA256 84cae371cf42709e1b498413f9d47245916aecc46486636122ce9a90941abf8c
|
||||
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
|
5
dev-python/python-opsi/metadata.xml
Normal file
5
dev-python/python-opsi/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
79
dev-python/python-opsi/python-opsi-4.0.1.8.ebuild
Normal file
79
dev-python/python-opsi/python-opsi-4.0.1.8.ebuild
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
RPM_VER="1.1"
|
||||
|
||||
inherit distutils eutils rpm
|
||||
|
||||
DESCRIPTION="opsi python library"
|
||||
HOMEPAGE="http://opsi.org/"
|
||||
SRC_URI="http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/openSUSE_11.3/src/${P}-${RPM_VER}.src.rpm"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/twisted-web
|
||||
dev-python/twisted-conch
|
||||
sys-apps/file[python]
|
||||
dev-python/pycrypto
|
||||
dev-python/python-ldap
|
||||
dev-python/simplejson
|
||||
dev-python/pypam
|
||||
dev-python/mysql-python
|
||||
dev-python/sqlalchemy
|
||||
sys-apps/iproute2
|
||||
app-backup/duplicity
|
||||
dev-python/ldaptor
|
||||
sys-apps/lshw
|
||||
dev-python/m2crypto
|
||||
dev-python/pyopenssl
|
||||
sys-apps/lsb-release
|
||||
dev-libs/newt
|
||||
sys-apps/shadow"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
dev-python/setuptools"
|
||||
|
||||
PYTHON_MODNAME="OPSI"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup pcpatch
|
||||
enewgroup opsiadmin
|
||||
enewuser pcpatch -1 /bin/bash /var/lib/opsi pcpatch
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
sed -i 's#/etc/dhcp3/dhcpd.conf#/etc/dhcp/dhcpd.conf#;s#/etc/init.d/dhcp3-server#/etc/init.d/dhcpd#' data/backends/dhcpd.conf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
dosym ../20_legacy.conf etc/opsi/backendManager/extend.d/configed/20_legacy.conf
|
||||
|
||||
fowners -R root:pcpatch /etc/opsi/backendManager
|
||||
find "${D}"/etc/opsi/backendManager -type d -exec chmod 770 {} \;
|
||||
find "${D}"/etc/opsi/backendManager -type f -exec chmod 660 {} \;
|
||||
fowners -R root:pcpatch /etc/opsi/backends
|
||||
fperms 770 /etc/opsi/backends
|
||||
fperms 660 /etc/opsi/backends/*.conf
|
||||
|
||||
touch "${D}"/etc/opsi/pckeys
|
||||
fowners root:pcpatch /etc/opsi/pckeys
|
||||
fperms 660 /etc/opsi/pckeys
|
||||
|
||||
touch "${D}"/etc/opsi/passwd
|
||||
fowners root:pcpatch /etc/opsi/passwd
|
||||
fperms 660 /etc/opsi/passwd
|
||||
|
||||
dosym acl.conf.default /etc/opsi/backendManager/acl.conf
|
||||
dosym dispatch.conf.default /etc/opsi/backendManager/dispatch.conf
|
||||
}
|
Loading…
Reference in New Issue
Block a user