From 69ad4e3512a6930f1a5738cc4692f1495ab75583 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 16 Aug 2014 07:53:53 +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-ndssfrep/ChangeLog | 10 +++ app-admin/netiq-ndssfrep/Manifest | 4 + app-admin/netiq-ndssfrep/metadata.xml | 5 ++ .../netiq-ndssfrep-8.7.0.1-r1.ebuild | 73 +++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 app-admin/netiq-ndssfrep/ChangeLog create mode 100644 app-admin/netiq-ndssfrep/Manifest create mode 100644 app-admin/netiq-ndssfrep/metadata.xml create mode 100644 app-admin/netiq-ndssfrep/netiq-ndssfrep-8.7.0.1-r1.ebuild diff --git a/app-admin/netiq-ndssfrep/ChangeLog b/app-admin/netiq-ndssfrep/ChangeLog new file mode 100644 index 00000000..1631ea8e --- /dev/null +++ b/app-admin/netiq-ndssfrep/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/netiq-ndssfrep +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*netiq-ndssfrep-8.7.0.1-r1 (16 Aug 2014) + + 16 Aug 2014; Mario Fetka +metadata.xml, + +netiq-ndssfrep-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-ndssfrep/Manifest b/app-admin/netiq-ndssfrep/Manifest new file mode 100644 index 00000000..096baac3 --- /dev/null +++ b/app-admin/netiq-ndssfrep/Manifest @@ -0,0 +1,4 @@ +DIST gw12.0.2_full_linux_multi.tar.gz 769427891 SHA256 0239d8b01361d6b272dfb2bec35f78b029e16b9df8d5252f85d5ad9eaa8e4f36 SHA512 bff0b71c9814af02e3119f9b435ba68f09cd3ab89ada3ebf2d6baf07433d222f4a3c0120e4167dec1e0f4075909a35b80361799e57681910e735c911744aac19 WHIRLPOOL fec027bf6e452c0190d54c0ffcfd68ee2682fc995d39b2579726ce39fab1376001dbb9a637808f98a50b2dbbd5d96590b3423b37a5e3f75c0fc394f00188f065 +EBUILD netiq-ndssfrep-8.7.0.1-r1.ebuild 3604 SHA256 a83c00c1b30e4037e5cc5097436ee7353e728ff4b667b9335444a64cafb313a2 SHA512 691bdd729b054a1d764ac2674f502857c241de278d609e3957b62653a64fe7ceaa43a7f3668dbc24b5f19da3eb78e629668c30132d6abc35780420e64383ad4b WHIRLPOOL db897e4383a635f7ff216bf2268ee277e545c207de924e3dbadf00e140527c48033fed5d732a8cceca9bc887f00084e23973c584c8a6bbc3424edd5f2bdb005a +MISC ChangeLog 361 SHA256 c60d982a495f5d3d924b77e3c529b992387b3755c073560b7967f15f36f2835e SHA512 04475b653a813bdefd7c72ee3f48192e2fbc18b045f9fbfd49f29c4b0e09bfa3fd4926e808015d02dd36e4ecf3478b6b54ea7c49865741a5cd507d794941a344 WHIRLPOOL 78dc9b59d588ac424427396bee0c48834d1699c16b192efd293ae741f8c06eee048a27cd6466f9d8081baf3b79b3cf86860d11e0b4f8243005c12f0e0611e686 +MISC metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 SHA512 c011e0dc20997640fdaf4dbdd0493106446df3ff753040a8ffc638cea0512a535bce9e1c4d2969e708993529c473d9dc17c59804c15a0eee2b0a7e9854b65143 WHIRLPOOL b33b91daccf2a989c728257c6372f7f8a7481bd72af841bf3c76e6625750d6f5e0d31c942fe88368fc016edcc5be954656c488b6d44ea00e4fe0caaec1bdd41e diff --git a/app-admin/netiq-ndssfrep/metadata.xml b/app-admin/netiq-ndssfrep/metadata.xml new file mode 100644 index 00000000..7e328698 --- /dev/null +++ b/app-admin/netiq-ndssfrep/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/app-admin/netiq-ndssfrep/netiq-ndssfrep-8.7.0.1-r1.ebuild b/app-admin/netiq-ndssfrep/netiq-ndssfrep-8.7.0.1-r1.ebuild new file mode 100644 index 00000000..185e2880 --- /dev/null +++ b/app-admin/netiq-ndssfrep/netiq-ndssfrep-8.7.0.1-r1.ebuild @@ -0,0 +1,73 @@ +# 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 NDS Filterd Replica 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/NDSsfrep-${MY_PV}.i386.rpm + use linguas_de && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsfrep_de-${MY_PV}.i386.rpm + use linguas_es && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsfrep_es-${MY_PV}.i386.rpm + use linguas_fr && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsfrep_fr-${MY_PV}.i386.rpm + use linguas_it && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsfrep_it-${MY_PV}.i386.rpm + use linguas_pt && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsfrep_pt-${MY_PV}.i386.rpm + use linguas_ru && rpm_unpack ../work/gw${GWVERSION}_full_linux_multi/consoleone/Linux/NDSsfrep_ru-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /usr/ConsoleOne/lib/dirxml + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/lib/dirxml/*.jar + java-pkg_jarinto /usr/ConsoleOne/snapins/dirxml + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/FilteredReplica.jar + java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/rwiz.jar + if use linguas_de || use linguas_es || use linguas_fr || use linguas_it || use linguas_pt || use linguas_ru ; then + java-pkg_jarinto /usr/ConsoleOne/resources/dirxml + use linguas_de && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_de.jar + use linguas_es && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_es.jar + use linguas_fr && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_fr.jar + use linguas_it && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_it.jar + use linguas_pt && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_pt.jar + use linguas_ru && java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/usr/ConsoleOne/snapins/dirxml/*_ru.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" +}