From f7b0ffcc8da858cee3c8df5de61d42d0ee429b57 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 16 Aug 2014 07:55:29 +0200 Subject: [PATCH] change layout and depnd on new name and install requred 8.7 liebs to consoleone libdir Package-Manager: portage-2.2.8-r1 RepoMan-Options: --force --- app-admin/netiq-ndssldap/ChangeLog | 10 +++ app-admin/netiq-ndssldap/Manifest | 4 ++ app-admin/netiq-ndssldap/metadata.xml | 5 ++ .../netiq-ndssldap-8.7.0.1-r1.ebuild | 64 +++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 app-admin/netiq-ndssldap/ChangeLog create mode 100644 app-admin/netiq-ndssldap/Manifest create mode 100644 app-admin/netiq-ndssldap/metadata.xml create mode 100644 app-admin/netiq-ndssldap/netiq-ndssldap-8.7.0.1-r1.ebuild diff --git a/app-admin/netiq-ndssldap/ChangeLog b/app-admin/netiq-ndssldap/ChangeLog new file mode 100644 index 00000000..a8545230 --- /dev/null +++ b/app-admin/netiq-ndssldap/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/netiq-ndssldap +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*netiq-ndssldap-8.7.0.1-r1 (16 Aug 2014) + + 16 Aug 2014; Mario Fetka +metadata.xml, + +netiq-ndssldap-8.7.0.1-r1.ebuild: + change layout and depnd on new name and install requred 8.7 liebs to + consoleone libdir diff --git a/app-admin/netiq-ndssldap/Manifest b/app-admin/netiq-ndssldap/Manifest new file mode 100644 index 00000000..6255ca69 --- /dev/null +++ b/app-admin/netiq-ndssldap/Manifest @@ -0,0 +1,4 @@ +DIST gw12.0.2_full_linux_multi.tar.gz 769427891 SHA256 0239d8b01361d6b272dfb2bec35f78b029e16b9df8d5252f85d5ad9eaa8e4f36 SHA512 bff0b71c9814af02e3119f9b435ba68f09cd3ab89ada3ebf2d6baf07433d222f4a3c0120e4167dec1e0f4075909a35b80361799e57681910e735c911744aac19 WHIRLPOOL fec027bf6e452c0190d54c0ffcfd68ee2682fc995d39b2579726ce39fab1376001dbb9a637808f98a50b2dbbd5d96590b3423b37a5e3f75c0fc394f00188f065 +EBUILD netiq-ndssldap-8.7.0.1-r1.ebuild 2847 SHA256 56cad0743e41c25e33379abd3b4191dd06d2cda0fe0d1d9da08208c96790a8b9 SHA512 1fd93bd1998e85b43530518ff251d0d2de0badf0b9d9cc0d9ec44bc8c88f005ffc59fdb9e39cd0825082b4b616c46a5f127d59fdd42265ef225de71b31ef33b2 WHIRLPOOL 1c5be5c2215f863c878957d009176f4e20ba6c534211253d1b01720699076b87ff220afbb6bc835b906062bd6c254a29fc7bc0fc7496c7343548713c1dca9bef +MISC ChangeLog 361 SHA256 a4e30bf5f0cbbe5ac1c2810e1bf64138336af98d18f78692cb62a2e8b89bca50 SHA512 13adb94652b6ba55406c533d8e3b8bbc8bd9faafc17cb03754206b310b44ffc9439b9e2d880bbd130dc3283c2ddb87996b2a9ac1dc7b3f7b24006553645dcff2 WHIRLPOOL 11dc9cd96c3b133cd7a76e9c0c6de0c161dba2812dd71c9cde88914c49c85b4999705a09549d4257ecf5b28508316beab56bfdad5d9f7aff4235ef18b1f9aa32 +MISC metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 SHA512 c011e0dc20997640fdaf4dbdd0493106446df3ff753040a8ffc638cea0512a535bce9e1c4d2969e708993529c473d9dc17c59804c15a0eee2b0a7e9854b65143 WHIRLPOOL b33b91daccf2a989c728257c6372f7f8a7481bd72af841bf3c76e6625750d6f5e0d31c942fe88368fc016edcc5be954656c488b6d44ea00e4fe0caaec1bdd41e diff --git a/app-admin/netiq-ndssldap/metadata.xml b/app-admin/netiq-ndssldap/metadata.xml new file mode 100644 index 00000000..7e328698 --- /dev/null +++ b/app-admin/netiq-ndssldap/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/app-admin/netiq-ndssldap/netiq-ndssldap-8.7.0.1-r1.ebuild b/app-admin/netiq-ndssldap/netiq-ndssldap-8.7.0.1-r1.ebuild new file mode 100644 index 00000000..3829a8bd --- /dev/null +++ b/app-admin/netiq-ndssldap/netiq-ndssldap-8.7.0.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="23yZ-f32-A0~" +NOVELL_FILE32="patchfiles/gw12.0.2_full_linux_multi.tar.gz" +GWVERSION="12.0.2-108211" +RESTRICT="mirror strip" + +inherit novell eutils rpm java-utils-2 versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Novell LDAP ConsoleOne Snapins" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" +LICENSE="Novell-eDir-87" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="linguas_de linguas_es linguas_fr linguas_it linguas_ja linguas_pt linguas_ru" +DEPEND="" +RDEPEND="virtual/libc + >=virtual/jre-1.6 + >=app-admin/netiq-novlc1-1.3.6_p1" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap_it-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsldap_ru-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/snapins/ldap + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/ldap/*.jar + if use linguas_de || use linguas_es || use linguas_fr || use linguas_it || use linguas_ja || use linguas_pt || use linguas_ru ; then + java-pkg_jarinto /usr/ConsoleOne/resources/ldap + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/resources/ldap/*.jar + fi + insinto /usr/ConsoleOne/help + doins -r "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/help/* +} + +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" +}