From a20ced863b869f2b4a9065c6d80b9c32d6a8e1b2 Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 9 Dec 2009 15:10:36 +0000 Subject: [PATCH] app-crypt/novell-nici: Bump --- .../app-crypt/novell-nici/ChangeLog | 4 + .../app-crypt/novell-nici/Manifest | 5 +- .../novell-nici/novell-nici-2.7.4.6-r2.ebuild | 148 ++++++++++++++++++ 3 files changed, 156 insertions(+), 1 deletion(-) create mode 100644 trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog b/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog index 318e3c47..50876234 100644 --- a/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog +++ b/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Dec 2009; Mario Fetka + +novell-nici-2.7.4.6-r2.ebuild: + Bump + 10 Apr 2009; Mario Fetka -novell-nici-2.7.2_p001.ebuild, -novell-nici-2.7.3_p12.ebuild, -novell-nici-2.7.4.0.7.ebuild, -novell-nici-2.7.4.3.ebuild, diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/Manifest b/trunk/novell4gentoo/app-crypt/novell-nici/Manifest index fb333980..332098be 100644 --- a/trunk/novell4gentoo/app-crypt/novell-nici/Manifest +++ b/trunk/novell4gentoo/app-crypt/novell-nici/Manifest @@ -3,7 +3,10 @@ DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8 DIST eDir_88_SP3_Linux.iso 108474368 RMD160 91a57fae04ded813e1907eb168b61e15a7745b92 SHA1 0512f75ab992aea0be72c38047dfa4cd7f0c4d45 SHA256 0d35135377e77924f3eab551beea7cd69639cc7843395dd95c4140d91ccda7ad DIST novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed58a92c728ee9adfe1 SHA1 4e61f5421b369a44966c848671c6db20aa478d1d SHA256 9aa9f5cc4cd415476bcfaae278c38947c5809802c36ae40855252d9167189a1f DIST novell-client-2.0-sp2-sle11-x86_64.iso 8400896 RMD160 92fe3ecfdb89e28cc3b417d1305e2ea8d79970f5 SHA1 b8241956f966ce55a24572aee25aa4747826f760 SHA256 cfb27415884042ecde16be9f671dc8910d578fb850b57aeb57bc96d26329dee9 +DIST novell-client-3.0-sled11-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed +DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae63b2ed108d097194741b5 SHA1 ef1987e0f71f4775d2e3b5d342fdeacd4f9ca3db SHA256 3223dc757e1788222d95c1b3353b9b156072d1b3a027b6fa4b71007b6aae4a05 EBUILD novell-nici-2.7.4.6-r1.ebuild 4146 RMD160 15f27ee7bc7e0b596e5b71e930779e4db7db2c9a SHA1 033963c36dba737a5de118b4e12d30dbfdea75b6 SHA256 cddb8bdc85fd5412b4e12c24a057016543d8028a8eb4e7d5188fa9a6bf1211d5 +EBUILD novell-nici-2.7.4.6-r2.ebuild 4148 RMD160 8a6a60bdf7a070165f1a0937cd216d30dfd376f2 SHA1 23a685ab54202ee194bc224d28c7592e91e92a4b SHA256 6fd6da2a61313cf2de369ea1acfba0616c400ed2bdff35ee5398003b0534a3e4 EBUILD novell-nici-2.7.4.6.ebuild 4156 RMD160 dd4f764c4374880e87b346a9ed39fd1eb7463ae8 SHA1 125d1d47a89f7fd24f0034698fb4b3f92907471c SHA256 f6b65b49e3fe7c1cf0cf0cc14e13d67a65487bfa2775b778f0f52d1fb77e8862 -MISC ChangeLog 3554 RMD160 97c53d7d450272c42e037cba4323d9fc54166d4c SHA1 ccd18a618cfac63acd38ac985f74d08e41cfdb09 SHA256 696a866cf224f19f0d83a58cb43d0838b34d02e991850321acc124408c33b33f +MISC ChangeLog 3647 RMD160 3d0a561dc1192aac086cc277da1512ecd9a430ec SHA1 02b5e0f0be4a6c98efed6eaf7784aba061ad14c6 SHA256 e5cc20c81c0e206d54a264d3c60063320274dd327db16c836442637cdd7dbbd2 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild new file mode 100644 index 00000000..573385dd --- /dev/null +++ b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="_xf1ppPR2xA~" +NOVELL_FILE32="novell-client-3.0-sled11-i586-CD1.iso" +NOVELL_FILE64="novell-client-3.0-sled11-x86_64-CD1.iso" +NOVELL_BUILDID_1="SRO5fkNxGt8~" +NOVELL_FILE32_1="eDir_88_SP3_Linux.iso" +RESTRICT="mirror strip" +USE_RPMOFFSET_ONLY="1" + +inherit novell eutils rpm5 multilib versionator + +MY_PVV=$(replace_version_separator 3 '-') +MY_PV="${MY_PVV/_p/-}" + +DESCRIPTION="Novell NICI U.S./Worldwide (128bit) Crypto" +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} ) + multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID_1}/${NOVELL_FILE32_1} )" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="multilib" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + net-nds/novell-env" + +src_unpack() { + cd "${WORKDIR}" + if use x86 + then + narch=i586 + nlib=lib + + 7z x "${DISTDIR}"/${NOVELL_FILE32} + mkdir -p "${WORKDIR}"/${PN}-${PV} + cd ${PN}-${PV} + rpm5_unpack "${WORKDIR}"/suse/${narch}/nici-${MY_PV}.${narch}.rpm + elif use amd64 + then + narch=x86_64 + nlib=lib64 + + 7z x "${DISTDIR}"/${NOVELL_FILE64} + + if has_multilib_profile + then + 7z x -y "${DISTDIR}"/${NOVELL_FILE32_1} + fi + + mkdir -p "${WORKDIR}"/${PN}-${PV} + cd ${PN}-${PV} + rpm5_unpack "${WORKDIR}"/suse/${narch}/nici64-${MY_PV}.${narch}.rpm + + if has_multilib_profile + then + rpm5_unpack "${WORKDIR}"/setup/nici-2.7.4-0.02.i386.rpm + fi + + fi +} + +src_compile() { :; } + +src_install() { + into /opt/novell + + if use x86 + then + dolib.so "${WORKDIR}"/${PN}-${PV}/opt/novell/${nlib}/* + elif has_multilib_profile + then + dolib.so "${WORKDIR}"/${PN}-${PV}/opt/novell/${nlib}/* + ABI="x86" dolib.so "${WORKDIR}"/${PN}-${PV}/opt/novell/lib/* + ABI="x86" dosym ../../opt/novell/$(get_libdir)/libccs2.so /usr/$(get_libdir)/libccs2.so + else + dolib.so "${WORKDIR}"/${PN}-${PV}/opt/novell/${nlib}/* + fi + + doman "${WORKDIR}"/${PN}-${PV}/opt/novell/man/*/* + + into /usr + dosym ../../opt/novell/$(get_libdir)/libccs2.so /usr/$(get_libdir)/libccs2.so + + insinto /etc/opt/novell/ + doins "${WORKDIR}"/${PN}-${PV}/etc/opt/novell/nici*.cfg + + if use x86 || has_multilib_profile + then + dosym opt/novell/nici.cfg /etc/nici.cfg +# ABI="x86" dosed "s$/opt/novell/lib$/opt/novell/$(get_libdir)$" /etc/opt/novell/nici.cfg + fi + + if has_multilib_profile + then + dosed "s|/opt/novell/lib|/opt/novell/lib32|" /etc/opt/novell/nici.cfg + fi + + diropts -m777 + dodir /var/opt/novell/nici + exeinto /var/opt/novell/nici + doexe "${WORKDIR}"/${PN}-${PV}/var/opt/novell/nici/primenici* + doexe "${WORKDIR}"/${PN}-${PV}/var/opt/novell/nici/nicimud* + doexe "${WORKDIR}"/${PN}-${PV}/var/opt/novell/nici/set_server_mode* + + insinto /var/opt/novell/nici + doins "${WORKDIR}"/${PN}-${PV}/var/opt/novell/nici/nicifk.new + doins "${WORKDIR}"/${PN}-${PV}/var/opt/novell/nici/xmgrcfg.wks + dodir /var/novell + dosym ../opt/novell/nici /var/novell/nici + +} + +pkg_postinst() { + if use x86 + then + /var/opt/novell/nici/primenici + elif use amd64 + then + /var/opt/novell/nici/primenici64 + fi +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + if use x86 + then + einfo " - ${NOVELL_FILE32}" + elif use amd64 + then + einfo " - ${NOVELL_FILE64}" + fi + 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" +}