diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog b/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog index 118684b..5396fbf 100644 --- a/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog +++ b/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Sep 2008; Mario Fetka + +novell-nici-2.7.4.0.7.ebuild: + Bump to 2.0 sp1 + 28 Aug 2008; Mario Fetka -files/80novell, -files/80novell64, novell-nici-2.7.3_p12.ebuild: depend on env package diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/Manifest b/trunk/novell4gentoo/app-crypt/novell-nici/Manifest index b7ddf2f..fd61f72 100644 --- a/trunk/novell4gentoo/app-crypt/novell-nici/Manifest +++ b/trunk/novell4gentoo/app-crypt/novell-nici/Manifest @@ -1,7 +1,10 @@ +DIST novell-client-2.0-SP1-sle10sp2-i386.iso 10100736 RMD160 dc9313c69a22359c9cdbb2f9105543d11a912381 SHA1 da0cfa59099a4de7d4bdc2a6390d8993c48ee00c SHA256 9c7edfcb67c6ea3a7c67c48568139b8c6dc369b106781320cf117cbda468ae70 +DIST novell-client-2.0-SP1-sle10sp2-x86_64.iso 10971136 RMD160 2cf2b3c0b73b827ab4be0d74f87a9764c807c76b SHA1 91318ad4e643d2f43d47fd9fb234050d9ad62194 SHA256 789dc3bb04d8e7a7714001bce6af6ba8aba769ed32251e9cad53274322261028 DIST novell-client-2.0-sle10sp1-i386.iso 10866688 RMD160 b478e97de576987b0a3b801965dbddb4fc8d8ce0 SHA1 49d70ed6e7007b7e18468ec0b42bed6ac6b8702f SHA256 a6609aee78e90a5375fd698b571a015b3696d10ff2f11d085e4abf5b404a35d6 DIST novell-client-2.0-sle10sp1-x86_64.iso 11649024 RMD160 4f3a08e9cfea2b78072ba9114ecf03b44d8da17a SHA1 f1f5c78851a66c963fef02c69d89e86a3ba12d00 SHA256 3b70e2c81ded3916771a22a5c284c0d5ac7b32b8a47207d01350f9f952fd216f DIST ss206_SLAH.tgz 31143941 RMD160 6dbfa508a374c2b5139cc45214e9ad1a17919791 SHA1 98916a96c7e5232a8deb3c2a9919e645f4bb1fdc SHA256 513faf240d85b189a64a1e88f9fdb08ee273c1f44e2bf0b51d9611fc9e4f3838 EBUILD novell-nici-2.7.2_p001.ebuild 1688 RMD160 9cb6e827fd8f65800e703286cb858db81253fc2a SHA1 2170f431a15f84b90e05f527a3c66ad0ca4362e8 SHA256 1509e990a854d1edf37edb9055fb77a589bc6517b0921f5d77605a8a49cb256b EBUILD novell-nici-2.7.3_p12.ebuild 3579 RMD160 ff8c0d7da8da1398b3836df7ddc14f13e2ad4a69 SHA1 1bcdd21d9f21b515bc90fd54d060cca9b89628b3 SHA256 351253f8e39fe023eb67889b4e7245ad03f26cf1a07588054e38c0b37fb2da96 -MISC ChangeLog 2432 RMD160 aeeaba01e13dd81da2800bdcb8bd4ab7ad920765 SHA1 c9a5c066c8aef10959100f67f6f19db453178c34 SHA256 6315099b13241bdc78b293d30923c8a5729353f00af75cb0c8cf59e2231633b1 +EBUILD novell-nici-2.7.4.0.7.ebuild 3645 RMD160 c6cf146cd1e2ab11768157124785a31ee20a78c2 SHA1 b41c6409a49454c9cde204870e78c174635da11a SHA256 969b190b31e8fc84d2411d9a246522ad698b8ee39d20186444919e092ff6e40d +MISC ChangeLog 2535 RMD160 c669da270da7c15d836bd16335f5fa529e519d21 SHA1 437eb7880a4289e37c744da18299040404631fbb SHA256 09b54497175940a794402fe2d338b1d9d5e989daeae5b44f55e3085ac902b72e MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.0.7.ebuild b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.0.7.ebuild new file mode 100644 index 0000000..e08c96f --- /dev/null +++ b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.0.7.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="bldJIQnntfA~" +NOVELL_FILE32="novell-client-2.0-SP1-sle10sp2-i386.iso" +NOVELL_FILE64="novell-client-2.0-SP1-sle10sp2-x86_64.iso" +RESTRICT="mirror strip" + +inherit novell eutils rpm 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} )" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +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}-${MY_P} + cd ${PN}-${MY_P} + rpm_unpack "${WORKDIR}"/suse/${narch}/nici-${MY_PV}.${narch}.rpm + elif use amd64 + then + narch=x86_64 + nlib=lib64 + + 7z x "${DISTDIR}"/${NOVELL_FILE64} + mkdir -p "${WORKDIR}"/${PN}-${MY_P} + cd ${PN}-${MY_P} + rpm_unpack "${WORKDIR}"/suse/${narch}/nici64-${MY_PV}.${narch}.rpm + + if has_multilib_profile + then + rpm_unpack "${WORKDIR}"/suse/i586/nici-${MY_PV}.i586.rpm + fi + + fi +} + +src_compile() { :; } + +src_install() { + into /opt/novell + + if use x86 + then + dolib.so "${WORKDIR}"/${PN}-${MY_P}/opt/novell/${nlib}/* + elif has_multilib_profile + then + dolib.so "${WORKDIR}"/${PN}-${MY_P}/opt/novell/${nlib}/* + ABI="x86" dolib.so "${WORKDIR}"/${PN}-${MY_P}/opt/novell/lib/* + ABI="x86" dosym ../../opt/novell/$(get_libdir)/libccs2.so /usr/$(get_libdir)/libccs2.so + else + dolib.so "${WORKDIR}"/${PN}-${MY_P}/opt/novell/${nlib}/* + fi + + doman "${WORKDIR}"/${PN}-${MY_P}/opt/novell/man/*/* + + into /usr + dosym ../../opt/novell/$(get_libdir)/libccs2.so /usr/$(get_libdir)/libccs2.so + + insinto /etc/opt/novell/ + doins "${WORKDIR}"/${PN}-${MY_P}/etc/opt/novell/nici*.cfg + + if use x86 || has_multilib_profile + then + dosym opt/novell/nici.cfg /etc/nici.cfg + fi + + diropts -m777 + dodir /var/opt/novell/nici + exeinto /var/opt/novell/nici + doexe "${WORKDIR}"/${PN}-${MY_P}/var/opt/novell/nici/primenici* + doexe "${WORKDIR}"/${PN}-${MY_P}/var/opt/novell/nici/nicimud* + doexe "${WORKDIR}"/${PN}-${MY_P}/var/opt/novell/nici/set_server_mode* + + insinto /var/opt/novell/nici + doins "${WORKDIR}"/${PN}-${MY_P}/var/opt/novell/nici/nicifk.new + doins "${WORKDIR}"/${PN}-${MY_P}/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" +}