dev-python/python-opsi: cleanup
(Portage version: 2.2.0_alpha75-r1/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
parent
cb442f837c
commit
7bfe2e79e2
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
19 Nov 2011; Mario Fetka <mario.fetka@gmail.com> -python-opsi-4.0.1.8.ebuild,
|
||||||
|
-python-opsi-4.0.1.16.ebuild:
|
||||||
|
cleanup
|
||||||
|
|
||||||
*python-opsi-4.0.1.16 (25 Jul 2011)
|
*python-opsi-4.0.1.16 (25 Jul 2011)
|
||||||
|
|
||||||
25 Jul 2011; Mario Fetka <mario.fetka@gmail.com>
|
25 Jul 2011; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
DIST python-opsi-4.0.1.16-1.1.src.rpm 587544 RMD160 5791e6d1775055541f39512ec860d974c0843319 SHA1 1d53d4d7594b198da3210d1d5d3fdd5c7bcc46ae SHA256 7a91c0518a580d15c7dd503a808db7c7d1c0e22f09bbf85f0f88204d4fb78e80
|
|
||||||
DIST python-opsi-4.0.1.32-1.1.src.rpm 611369 RMD160 b0b366248aa65d60784207b77eba61f7f2fe8a8e SHA1 2b5927e6058dc77d07448d73a9170313ece6b1ab SHA256 c243de1369419896b7a87a785820eb06ac2361e48fd7897b91cf17e29e3ba426
|
DIST python-opsi-4.0.1.32-1.1.src.rpm 611369 RMD160 b0b366248aa65d60784207b77eba61f7f2fe8a8e SHA1 2b5927e6058dc77d07448d73a9170313ece6b1ab SHA256 c243de1369419896b7a87a785820eb06ac2361e48fd7897b91cf17e29e3ba426
|
||||||
DIST python-opsi-4.0.1.8-1.1.src.rpm 544735 RMD160 758c9509bd7aba4cfca1a048643904fabacfae98 SHA1 31bf6b0933e02b187032f8d297d7f17c8f6da5ed SHA256 9b06f15ecccfd44bd05d8162de610eb742ba72814cb8706e7b0a4ffc981407d5
|
|
||||||
EBUILD python-opsi-4.0.1.16.ebuild 2004 RMD160 ce7f511d0ce59b4df54c659ccdf23bf2be66b1a6 SHA1 aab8c305e50708bffe9f32045ee7dfded9271e23 SHA256 6c0db49527b10b40236e65705d264e68ab9aea23bb56d9d7dd3e38af472b4c58
|
|
||||||
EBUILD python-opsi-4.0.1.32.ebuild 2004 RMD160 ce7f511d0ce59b4df54c659ccdf23bf2be66b1a6 SHA1 aab8c305e50708bffe9f32045ee7dfded9271e23 SHA256 6c0db49527b10b40236e65705d264e68ab9aea23bb56d9d7dd3e38af472b4c58
|
EBUILD python-opsi-4.0.1.32.ebuild 2004 RMD160 ce7f511d0ce59b4df54c659ccdf23bf2be66b1a6 SHA1 aab8c305e50708bffe9f32045ee7dfded9271e23 SHA256 6c0db49527b10b40236e65705d264e68ab9aea23bb56d9d7dd3e38af472b4c58
|
||||||
EBUILD python-opsi-4.0.1.8.ebuild 2004 RMD160 ce7f511d0ce59b4df54c659ccdf23bf2be66b1a6 SHA1 aab8c305e50708bffe9f32045ee7dfded9271e23 SHA256 6c0db49527b10b40236e65705d264e68ab9aea23bb56d9d7dd3e38af472b4c58
|
MISC ChangeLog 816 RMD160 4736ae02d227422b9eea2e552f578e2b0ec409ea SHA1 110535f58804000d70d5def89c5b5047c116e45c SHA256 9cc4bd7899c390b4e0875688bb9f0114c27333951cb77419a5c00e3b0ec0486a
|
||||||
MISC ChangeLog 693 RMD160 a4c290352d2614317224f22ca97f4ade7163c9fb SHA1 7270e5dfc708e774406c591845f1d2d513bec039 SHA256 69921436fa736a3022b50ad7aad02fd9ab23eb58e7520a815bc94af03774150c
|
|
||||||
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2
|
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2
|
||||||
|
@ -1,79 +0,0 @@
|
|||||||
# 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 ~arm ~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 /opt/pcbin/pcpatch 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
|
|
||||||
}
|
|
@ -1,79 +0,0 @@
|
|||||||
# 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 ~arm ~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 /opt/pcbin/pcpatch 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