From 18e38e05d11e82f05edd66658da311d5e46147fc Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 12 Dec 2009 23:01:06 +0000 Subject: [PATCH] net-misc/novell-ntls: first round of edir 8.8 ebuild mods --- .../net-misc/novell-ntls/ChangeLog | 4 + .../net-misc/novell-ntls/Manifest | 5 +- .../novell-ntls-2.0.5.0.090311.ebuild | 74 +++++++++++++++++++ 3 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 trunk/novell4gentoo/net-misc/novell-ntls/novell-ntls-2.0.5.0.090311.ebuild diff --git a/trunk/novell4gentoo/net-misc/novell-ntls/ChangeLog b/trunk/novell4gentoo/net-misc/novell-ntls/ChangeLog index 438cd30..9808d58 100644 --- a/trunk/novell4gentoo/net-misc/novell-ntls/ChangeLog +++ b/trunk/novell4gentoo/net-misc/novell-ntls/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 12 Dec 2009; Mario Fetka + +novell-ntls-2.0.5.0.090311.ebuild: + first round of edir 8.8 ebuild mods + 12 Dec 2009; Mario Fetka +novell-ntls-2.0.2.0_p070927-r4.ebuild: correct rpm QA warning diff --git a/trunk/novell4gentoo/net-misc/novell-ntls/Manifest b/trunk/novell4gentoo/net-misc/novell-ntls/Manifest index 34675b7..8248ba9 100644 --- a/trunk/novell4gentoo/net-misc/novell-ntls/Manifest +++ b/trunk/novell4gentoo/net-misc/novell-ntls/Manifest @@ -1,7 +1,10 @@ +DIST eDirectory_88SP5_Linux_i586.tar.gz 92524434 RMD160 8c3cb42aabb13eab2c13c4596faf0034eef3a0ed SHA1 51b6f8c6390b0a9f92d86d9af7bab6054bc8f268 SHA256 891447378202d3822b8de1599086994fee9e186c58e06d561ca4a0c855c4b4ea +DIST eDirectory_88SP5_Linux_x86_64.tar.gz 96059884 RMD160 dac9cc0631b5206eb289d417c602d43f0b74f0b0 SHA1 6c9ece98af9510ac3c284bc72695d771e155bb37 SHA256 7f4d46594909b46f11dc3a5e62a283e8fb8da9bb93e9fbcb02420ca004098092 DIST ss206_SLAH.tgz 31143941 RMD160 6dbfa508a374c2b5139cc45214e9ad1a17919791 SHA1 98916a96c7e5232a8deb3c2a9919e645f4bb1fdc SHA256 513faf240d85b189a64a1e88f9fdb08ee273c1f44e2bf0b51d9611fc9e4f3838 EBUILD novell-ntls-2.0.2.0_p070927-r1.ebuild 1586 RMD160 f5a14aec539cf5662e5e9b1a9594cff7bc8cefec SHA1 8a675b78f95b368a006f32ed88ad9f7dcb278c5c SHA256 f44f9fdda5d7a929c8013784a6e6fe578168d7cd4b7b26dde4b17387ece5b581 EBUILD novell-ntls-2.0.2.0_p070927-r2.ebuild 1648 RMD160 0885fc77799c8ac066dbd2929798a5b6c280289b SHA1 8c1c16a4175668b49f48f49b85caa52b5368dd0e SHA256 9b75d6e2df38e245e6c158808d4935de03487e98d58735bfb9956b2465ba24b8 EBUILD novell-ntls-2.0.2.0_p070927-r3.ebuild 1718 RMD160 0de92dfec5028ae9db4575415548073c14d8ee18 SHA1 ff744eefd5aabcdcfe88f0a9b562c4cffd699709 SHA256 0b397bd100fc392956795416d7b91c01259c2d42b39a2f017aaa42a94ac742af EBUILD novell-ntls-2.0.2.0_p070927-r4.ebuild 1713 RMD160 11217924825e12827c3559447af5419cfc2fc558 SHA1 dd6c298441f26c712c8929c4f7f040d9aec484bf SHA256 0ebe876f6a3ec6b495d1d4a5add02ab1d0ef2f2beb870ef7d1094d3bd39c7342 -MISC ChangeLog 2219 RMD160 8a6f7fb0a9471bf2c1d0abc8edb01f8ff13463de SHA1 2b29a1f60260b0cd6558846de9ba30058df1fffe SHA256 fd1b89dfb379799db07d1498ed1d4d80e1831a28e38c72754123f37f13b5686a +EBUILD novell-ntls-2.0.5.0.090311.ebuild 2297 RMD160 993a2227d455fc787896cca2f8c0cfd25431a854 SHA1 11905c9e7fd78d5a1a7d28978058dce88833cea3 SHA256 87d70f18f7775849b507185a3c49cd834d93781c964ae53ec3ef7b9b3726d3b0 +MISC ChangeLog 2347 RMD160 c9b0ce4466786784c9bddc7a9075d1809408ee4e SHA1 299be8132b1e94d5da8d059f90d6ca6ee7f91ed8 SHA256 d243aa4f0c56091cc1ec25ee085b78b5b41706b803f25223363112650ab62cc9 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-misc/novell-ntls/novell-ntls-2.0.5.0.090311.ebuild b/trunk/novell4gentoo/net-misc/novell-ntls/novell-ntls-2.0.5.0.090311.ebuild new file mode 100644 index 0000000..219ac63 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-ntls/novell-ntls-2.0.5.0.090311.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +NOVELL_BUILDID32="63eV_vS9dv4~" +NOVELL_FILE32="eDirectory_88SP5_Linux_i586.tar.gz" +NOVELL_BUILDID64="ffdH4AJgrFs~" +NOVELL_FILE64="eDirectory_88SP5_Linux_x86_64.tar.gz" +RESTRICT="mirror strip" +USE_RPMOFFSET_ONLY="1" + +inherit novell eutils rpm multilib versionator + +MY_PV=$(replace_version_separator 4 '-') + +DESCRIPTION="Novell Transport Security Layer" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} ) + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID64}/${NOVELL_FILE64} )" + +LICENSE="Novell-eDir-88" +SLOT="8.8" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="!net-misc/novell-ntls:0 + !net-misc/novell-ntls:8.7" + +RDEPEND="virtual/libc + net-nds/novell-env + >=app-crypt/novell-nici-2.7.3_p001" + +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/eDirectory/setup/novell-ntls-${MY_PV}.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + into /opt/novell + dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/${nlib}/* + dosym /opt/novell/$(get_libdir)/libntls.so /usr/$(get_libdir)/libntls.so +} + +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" +}