diff --git a/trunk/novell4gentoo/net-nds/novell-novlembox/ChangeLog b/trunk/novell4gentoo/net-nds/novell-novlembox/ChangeLog index 0d29323..6c12cef 100644 --- a/trunk/novell4gentoo/net-nds/novell-novlembox/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-novlembox/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 18 Dec 2009; Mario Fetka + +novell-novlembox-8.8.5.2.5.ebuild: + bump to 8.8 + 12 Dec 2009; Mario Fetka -files/80novell-edir, -novell-novlembox-8.7.3.10_p23.ebuild, -novell-novlembox-8.7.3.10_p34.ebuild, diff --git a/trunk/novell4gentoo/net-nds/novell-novlembox/Manifest b/trunk/novell4gentoo/net-nds/novell-novlembox/Manifest index d0abdcf..f9e2edc 100644 --- a/trunk/novell4gentoo/net-nds/novell-novlembox/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-novlembox/Manifest @@ -1,4 +1,6 @@ DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7 +DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc EBUILD novell-novlembox-8.7.3.10.53.ebuild 3187 RMD160 da9f8df6c9f4c72083693e3629afaa93db9d4dfa SHA1 6fe9229344e668da1bf621b74210a1897f706f49 SHA256 0b84b8470c4c368969b8648279df66cf229e71f3226b39bedcaa5ec6b06881e9 -MISC ChangeLog 2309 RMD160 a9b382399e7644617c4ffcba48dfcafae9c98fb9 SHA1 3c0874055f5c18811ba10fb1fcb53263505b14cd SHA256 87c6bde2f05b5524ec0b0b240be10f65c34f3340ac63663014d42cc95517f1c9 +EBUILD novell-novlembox-8.8.5.2.5.ebuild 4480 RMD160 089ac2c7b577600e8f0fa46715eca7b7f4c5121c SHA1 0c05d824ac5fc269559e357e56c34275dfefc84a SHA256 799b9a26bc4798078644bcdfab1c04c531fd26820f604a10537dcde940d6e6bb +MISC ChangeLog 2413 RMD160 6e7e2d24025b359b6009a1e5ce468db48187b437 SHA1 e69487d04d6274f658168fbf2b23d2ce67a7d6bf SHA256 bb04e4ddf387feee47bc3d4051636be3f1ff8dcb988087f96a804fb84c14a8f6 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-nds/novell-novlembox/novell-novlembox-8.8.5.2.5.ebuild b/trunk/novell4gentoo/net-nds/novell-novlembox/novell-novlembox-8.8.5.2.5.ebuild new file mode 100644 index 0000000..7d51a0d --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-novlembox/novell-novlembox-8.8.5.2.5.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NOVELL_BUILDID="T2wcCZC5kh4~" +NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz" +NOVELL_FILE64="patchfiles/edir885_Patch2.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm java-utils-2 multilib versionator + +MY_PV=$(replace_version_separator 4 '-') + +DESCRIPTION="Novell eDirectory Management Toolbox" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} ) + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} )" + +LICENSE="Novell-eDir-88" +SLOT="8.8" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="!net-nds/novell-novlembox:0 + !net-nds/novell-novlembox:8.7" + +RDEPEND="virtual/libc + >=virtual/jdk-1.4 + net-nds/novell-ndsbase:8.8 + net-nds/novell-ndsserv:8.8 + net-nds/novell-novllmgnt:8.8 + net-nds/novell-novlxis:8.8" + +src_unpack() { + cd "${WORKDIR}" + unpack ${A} + if use x86 + then + narch=i586 + nlib=lib + ndir=Linux + elif use amd64 + then + narch=x86_64 + nlib=lib64 + ndir=Linux64 + fi + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ../work/edir8852/${ndir}/novell-NOVLembox.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + into /opt/novell/eDirectory/ + dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/d* + + dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir) + into /opt/novell/eDirectory/$(get_libdir)/nds-modules + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/* + rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir) + insinto /opt/novell/eDirectory/$(get_libdir)/nds-schema + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-schema/* + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.* + + +# dosed 's$`which java 2> /dev/null`$`java-config --jre-home 2> /dev/null`/jre/bin/java$' /opt/novell/eDirectory/bin/edirutil +# dosed "s|/usr/lib/nds-modules/|/usr/$(get_libdir)/nds-modules/|" /usr/bin/edirutil + + + into /usr + java-pkg_jarinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/*.jar + into /opt/novell/eDirectory/ + java-pkg_dolauncher edirutil --main embox + + dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir) + into /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/emtools/* + rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir) + + dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/$(get_libdir) + into /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox + dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/* + rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/$(get_libdir) + + insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/config + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/config/*.xml + insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/res + doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/res/*.xlf + +# keepdir /var/nds/embox/log +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${NOVELL_FILE32}" + einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID}" + einfo "and place it in ${DISTDIR}" + einfo "" + einfo "To get rid of downloading files from ${HOMEPAGE}" + einfo "you can create a file /etc/portage/novell.acc" + einfo "containing the novell account infos with following commands" + einfo "# echo \"NOVELL_ACCOUNT_USERNAME=\\\"balduin\\\"\" >> /etc/portage/novell.acc" + einfo "# echo \"NOVELL_ACCOUNT_PASSWORD=\\\"derfisch\\\"\" >> /etc/portage/novell.acc" +}