net-misc/opsi-depotserver: cleanup

(Portage version: 2.2.0_alpha75-r1/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka 2011-11-19 17:32:01 +01:00
parent 7bfe2e79e2
commit d86b1e8797
4 changed files with 5 additions and 129 deletions

View File

@ -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>
-opsi-depotserver-4.0.1.1.ebuild, -opsi-depotserver-4.0.1.3.ebuild:
cleanup
*opsi-depotserver-4.0.1.3 (25 Jul 2011) *opsi-depotserver-4.0.1.3 (25 Jul 2011)
25 Jul 2011; Mario Fetka <mario.fetka@gmail.com> 25 Jul 2011; Mario Fetka <mario.fetka@gmail.com>

View File

@ -1,8 +1,4 @@
DIST opsi-depotserver-4.0.1.1-1.1.src.rpm 31149 RMD160 9cc0522892afecd8649cd44af5d400b65ae91138 SHA1 d0dc475569a33bb6579168cff7ea9f5bada80022 SHA256 532fed1f57ebc511ffe9c18ada0a9f14c326a336aab4bd498601fae1e040f286
DIST opsi-depotserver-4.0.1.10-1.1.src.rpm 32678 RMD160 0f570f9e43a88fdd5b2aef95d94c5a58c8ced14b SHA1 9370d69a6b9f07ebd1a85340e0713c2563a57449 SHA256 4af83252e07f3bcee1344d6019baf3b034b3885e20121d1584fe780d85bdcb04 DIST opsi-depotserver-4.0.1.10-1.1.src.rpm 32678 RMD160 0f570f9e43a88fdd5b2aef95d94c5a58c8ced14b SHA1 9370d69a6b9f07ebd1a85340e0713c2563a57449 SHA256 4af83252e07f3bcee1344d6019baf3b034b3885e20121d1584fe780d85bdcb04
DIST opsi-depotserver-4.0.1.3-1.1.src.rpm 31351 RMD160 38e30baab44d2db80186b43b07abc64130f91dc7 SHA1 2787a1885b984868561f7ee0b3f13b645f6261af SHA256 a35007c42c6a179629478227d93748657fda8b19d48312049162b7b876d53a75
EBUILD opsi-depotserver-4.0.1.1.ebuild 1639 RMD160 88189ff159d2bf21ffaaceb67243821afeb32d5c SHA1 2928ee88b66b0f4a91c52cafa7a643b123d6bad8 SHA256 63cabf7732d7ef4950634af236b9f133e5eac0a4502fcddc8a1ac559d60f0a81
EBUILD opsi-depotserver-4.0.1.10.ebuild 1639 RMD160 88189ff159d2bf21ffaaceb67243821afeb32d5c SHA1 2928ee88b66b0f4a91c52cafa7a643b123d6bad8 SHA256 63cabf7732d7ef4950634af236b9f133e5eac0a4502fcddc8a1ac559d60f0a81 EBUILD opsi-depotserver-4.0.1.10.ebuild 1639 RMD160 88189ff159d2bf21ffaaceb67243821afeb32d5c SHA1 2928ee88b66b0f4a91c52cafa7a643b123d6bad8 SHA256 63cabf7732d7ef4950634af236b9f133e5eac0a4502fcddc8a1ac559d60f0a81
EBUILD opsi-depotserver-4.0.1.3.ebuild 1639 RMD160 88189ff159d2bf21ffaaceb67243821afeb32d5c SHA1 2928ee88b66b0f4a91c52cafa7a643b123d6bad8 SHA256 63cabf7732d7ef4950634af236b9f133e5eac0a4502fcddc8a1ac559d60f0a81 MISC ChangeLog 492 RMD160 01ae8a6c9aebceebd24726d6b6435dc6be8c90e4 SHA1 618aa506ee60c6f0f598777268f621e11beb471d SHA256 e4ae87867cbb83c932551196e5a53f788d2137df293a73fccaf4f553e91d893f
MISC ChangeLog 360 RMD160 ab8935c8eff31fd085c281cfb44a58c8ef861fa1 SHA1 ae4fe788a22c0b72dd729dc7d130e5a826bab2fc SHA256 aabc241ac753d84621e3ee0f854b06cc435fcb6410cc5175e61860a55e3c8d58
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2 MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -1,62 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
RPM_VER="1.1"
inherit eutils rpm
DESCRIPTION="opsi depot server"
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"
#KEYWORDS=""
IUSE=""
#Requires: python-opsi >= 4.0.1 opsiconfd >= 4.0.1 opsipxeconfd >= 4.0 opsi-utils >= 4.0 opsi-linux-bootimage >= 20090927 samba sudo wget
#%if 0%{?suse_version}
#BuildRequires: pwdutils python-opsi
#Requires: pwdutils dhcp-server
#%endif
#%if 0%{?rhel_version} || 0%{?centos_version}
#Requires: dhcp redhat-lsb
#%endif
RDEPEND="dev-python/python-opsi"
DEPEND="${RDEPEND}"
pkg_setup() {
enewuser opsiconfd -1 /bin/bash /var/lib/opsi pcpatch
}
src_install() {
keepdir /var/lib/opsi/workbench
keepdir /var/lib/opsi/depot
keepdir /home/opsiproducts
keepdir /opt/pcbin/install
keepdir /var/lib/opsi/repository
keepdir /var/log/opsi/clientconnect
keepdir /var/log/opsi/bootimage
keepdir /var/log/opsi/instlog
dobin opsi-setup
}
pkg_postinst() {
if has_version <net-misc/opsi-depotserver-${PVR} ; then
# Upgrade
/usr/bin/opsi-setup --update-from unknown || true
/usr/bin/opsi-setup --set-rights /etc/opsi || true
/usr/bin/opsi-setup --set-rights /tftpboot || true
#/usr/bin/opsi-setup --set-rights /var/lib/opsi || true
else
# Install
/usr/bin/opsi-setup --init-current-config --auto-configure-dhcpd --auto-configure-samba || true
/usr/bin/opsi-setup --set-rights || true
fi
}

View File

@ -1,62 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
RPM_VER="1.1"
inherit eutils rpm
DESCRIPTION="opsi depot server"
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"
#KEYWORDS=""
IUSE=""
#Requires: python-opsi >= 4.0.1 opsiconfd >= 4.0.1 opsipxeconfd >= 4.0 opsi-utils >= 4.0 opsi-linux-bootimage >= 20090927 samba sudo wget
#%if 0%{?suse_version}
#BuildRequires: pwdutils python-opsi
#Requires: pwdutils dhcp-server
#%endif
#%if 0%{?rhel_version} || 0%{?centos_version}
#Requires: dhcp redhat-lsb
#%endif
RDEPEND="dev-python/python-opsi"
DEPEND="${RDEPEND}"
pkg_setup() {
enewuser opsiconfd -1 /bin/bash /var/lib/opsi pcpatch
}
src_install() {
keepdir /var/lib/opsi/workbench
keepdir /var/lib/opsi/depot
keepdir /home/opsiproducts
keepdir /opt/pcbin/install
keepdir /var/lib/opsi/repository
keepdir /var/log/opsi/clientconnect
keepdir /var/log/opsi/bootimage
keepdir /var/log/opsi/instlog
dobin opsi-setup
}
pkg_postinst() {
if has_version <net-misc/opsi-depotserver-${PVR} ; then
# Upgrade
/usr/bin/opsi-setup --update-from unknown || true
/usr/bin/opsi-setup --set-rights /etc/opsi || true
/usr/bin/opsi-setup --set-rights /tftpboot || true
#/usr/bin/opsi-setup --set-rights /var/lib/opsi || true
else
# Install
/usr/bin/opsi-setup --init-current-config --auto-configure-dhcpd --auto-configure-samba || true
/usr/bin/opsi-setup --set-rights || true
fi
}