git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/opsi@3041 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-11-12 18:21:01 +00:00
parent f2c609b5a9
commit e3c66df191
8 changed files with 246 additions and 0 deletions

View File

@ -1,4 +1,6 @@
DIST opsi-configed-4.0.1.16-1.1.src.rpm 1746091 RMD160 24cb7729ce63cabded788143130560a15c709e5b SHA1 3a64ac1f5b28bc925d4b48f6d7bfaa0321127237 SHA256 4b3e65b96659d9b6ecac98e8df8ce34b5e917c4e37b0f910431fbb435a28b93e
DIST opsi-configed-4.0.1.9-1.1.src.rpm 1637493 RMD160 95b69e7eb4fd0dffcc2e7cbb9d5a4238295b5eca SHA1 83a3993299bbd01bf6a96d54535e73b1079fc94f SHA256 d62fd7def9bf862d450aadc4d49cf495636df680c3cad1ac60ba95b301f5ebe5
EBUILD opsi-configed-4.0.1.16.ebuild 1544 RMD160 9e5c8c89dca2768a9de57bee37ed421636f3925c SHA1 35a1af74b65a8d714edb24394b9cab76a275b083 SHA256 ce93b09be82a1e085281b2032b1af58625f5896e7576180c5f416416744f855c
EBUILD opsi-configed-4.0.1.9.ebuild 1544 RMD160 9e5c8c89dca2768a9de57bee37ed421636f3925c SHA1 35a1af74b65a8d714edb24394b9cab76a275b083 SHA256 ce93b09be82a1e085281b2032b1af58625f5896e7576180c5f416416744f855c
MISC ChangeLog 589 RMD160 e6b74fa33aef4e8fd8ad9575092198159fe19eb2 SHA1 ddb72a81197fa526713f301947d0d227babea43c SHA256 7f0946855ae657939174b586379172d614ee5b70aad5a20d9e780f8dcd6c9f52
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,57 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2 eutils rpm
RPM_VER="1.1"
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"
IUSE=""
KEYWORDS="~amd64 ~x86"
COMMON_DEP="dev-java/swingx:1.6"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}"
RESTRICT=""
SLOT="0"
src_prepare() {
rm -rf *.jar
mv classes build
}
src_compile() {
ejavac -encoding UTF-8 -sourcepath src -classpath $(java-pkg_getjars swingx-1.6) -d build src/de/uib/configed/configed.java
ejavac -encoding UTF-8 -sourcepath src -classpath $(java-pkg_getjars swingx-1.6) -d build src/de/uib/configed/configedApplet.java
ejavac -encoding UTF-8 javainfo.java
jar -cvfm configed.jar MANIFEST.MF -C build/ .
}
src_install() {
java-pkg_jarinto /usr/lib/configed
insinto /usr/lib/configed
doins index.html javainfo.class
java-pkg_dojar "${S}"/configed.jar
# get the swingx.jar for the java webstart into the right place
java-pkg_dojar "${ROOT}"/usr/share/swingx-1.6/lib/swingx.jar
java-pkg_dolauncher ${PN} --main de.uib.configed.configed
insinto /usr/share/configed
doins configed_icon.png
newicon configed_icon.png ${PN}.png
make_desktop_entry ${PN} "Opsi Configuration Editor" ${PN} Settings;Utility;
use source && java-pkg_dosrc "${S}"/src/*
}

View File

@ -1,6 +1,8 @@
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.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.8.ebuild 2004 RMD160 ce7f511d0ce59b4df54c659ccdf23bf2be66b1a6 SHA1 aab8c305e50708bffe9f32045ee7dfded9271e23 SHA256 6c0db49527b10b40236e65705d264e68ab9aea23bb56d9d7dd3e38af472b4c58
MISC ChangeLog 693 RMD160 a4c290352d2614317224f22ca97f4ade7163c9fb SHA1 7270e5dfc708e774406c591845f1d2d513bec039 SHA256 69921436fa736a3022b50ad7aad02fd9ab23eb58e7520a815bc94af03774150c
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View 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 ~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
}

View File

@ -1,6 +1,8 @@
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.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.3.ebuild 1639 RMD160 88189ff159d2bf21ffaaceb67243821afeb32d5c SHA1 2928ee88b66b0f4a91c52cafa7a643b123d6bad8 SHA256 63cabf7732d7ef4950634af236b9f133e5eac0a4502fcddc8a1ac559d60f0a81
MISC ChangeLog 360 RMD160 ab8935c8eff31fd085c281cfb44a58c8ef861fa1 SHA1 ae4fe788a22c0b72dd729dc7d130e5a826bab2fc SHA256 aabc241ac753d84621e3ee0f854b06cc435fcb6410cc5175e61860a55e3c8d58
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,62 @@
# 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,6 +1,8 @@
DIST opsi-utils-4.0.1.1-1.1.src.rpm 119483 RMD160 1395096c530c39a431a7003878c97a408637bf17 SHA1 dbe54c96dba3a331ec12ed331ec971ff398583b3 SHA256 8fc61dec4be697a7effc56f89c548ebe7f67af048a9ee665184cf10f7ca5bdf1
DIST opsi-utils-4.0.1.14-1.1.src.rpm 66351 RMD160 66c0fd80819a693cd611f55be7bffcfbae449da4 SHA1 9cb83ec46767ea8084d40b368662e71d69b1f860 SHA256 5bbd1d552294db83b8ab322d200393300f746318f7660b7fd819ab020f15875d
DIST opsi-utils-4.0.1.8-1.1.src.rpm 59518 RMD160 36030bffe31b0892e4bbad8b75f018e6749b5d7b SHA1 f084ceeafa888b14422c509237116aa07f8a9519 SHA256 204e03f169fe77f674682ea4182a9ea8aff86c062c6b1c78666d41279fd1f2ae
EBUILD opsi-utils-4.0.1.1.ebuild 785 RMD160 12efc72abcdaecd6f841d4af517fba4fff0ec16e SHA1 99d098145b75a24b4d78a949733528210941d2ef SHA256 f8657695f4ca17559352605f292d26eb657e927c2adeaa93b5878e6e47c16c5b
EBUILD opsi-utils-4.0.1.14.ebuild 785 RMD160 12efc72abcdaecd6f841d4af517fba4fff0ec16e SHA1 99d098145b75a24b4d78a949733528210941d2ef SHA256 f8657695f4ca17559352605f292d26eb657e927c2adeaa93b5878e6e47c16c5b
EBUILD opsi-utils-4.0.1.8.ebuild 785 RMD160 12efc72abcdaecd6f841d4af517fba4fff0ec16e SHA1 99d098145b75a24b4d78a949733528210941d2ef SHA256 f8657695f4ca17559352605f292d26eb657e927c2adeaa93b5878e6e47c16c5b
MISC ChangeLog 488 RMD160 7b41e2e18f06afe7237adec91eba8077476aa27c SHA1 356f9c3c17b0a0f89378ae52e87f0362c9e823eb SHA256 c0190670e055c03022aabeeb41d66d60ecca05bb8f333b9c4096d1d370a585f6
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,40 @@
# 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 utils"
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/python-opsi"
DEPEND="${RDEPEND}
sys-devel/gettext"
src_compile() {
msgfmt -o de.mo gettext/opsi-utils_de.po
}
src_install() {
dobin opsi-admin
dobin opsi-newprod
dobin opsi-makeproductfile
dobin opsi-package-manager
dobin opsi-product-updater
dobin opsi-convert
dobin opsi-backup
domo de.mo
insinto /etc/opsi
doins data/opsi-product-updater.conf
}