From 58092378273e2364fef70894ae6da1366a3719e7 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 5 Aug 2007 11:26:22 +0000 Subject: [PATCH] add amd64 support --- .../app-crypt/novell-nici/Manifest | 8 +- .../novell-nici-2.7.3_p5-r1.ebuild | 25 ++- .../net-nds/novell-xtier-base/ChangeLog | 4 + .../net-nds/novell-xtier-base/Manifest | 19 +- .../novell-xtier-base/files/80novell-xtier64 | 5 + .../digest-novell-xtier-base-3.1.5_p37-r1 | 12 ++ .../novell-xtier-base-3.1.5_p37-r1.ebuild | 189 ++++++++++++++++++ .../net-nds/novell-xtier-core/ChangeLog | 4 + .../net-nds/novell-xtier-core/Manifest | 19 +- .../novell-xtier-core/files/80novell-xtier64 | 5 + .../digest-novell-xtier-core-3.1.5_p37-r1 | 6 + .../novell-xtier-core-3.1.5_p37-r1.ebuild | 59 ++++++ .../net-nds/novell-xtier-xplat/Manifest | 8 +- .../novell-xtier-xplat-3.1.5_p37-r1.ebuild | 4 +- .../sys-auth/novell-nmasclient/Manifest | 8 +- .../novell-nmasclient-3.4.0_p10-r1.ebuild | 5 +- .../sys-libs/novell-xplatlib/ChangeLog | 4 + .../sys-libs/novell-xplatlib/Manifest | 19 +- .../sys-libs/novell-xplatlib/files/80novell64 | 5 + .../files/digest-novell-xplatlib-1.0.3_p21-r1 | 6 + .../novell-xplatlib-1.0.3_p21-r1.ebuild | 65 ++++++ 21 files changed, 445 insertions(+), 34 deletions(-) create mode 100644 branches/experimental/net-nds/novell-xtier-base/files/80novell-xtier64 create mode 100644 branches/experimental/net-nds/novell-xtier-base/files/digest-novell-xtier-base-3.1.5_p37-r1 create mode 100644 branches/experimental/net-nds/novell-xtier-base/novell-xtier-base-3.1.5_p37-r1.ebuild create mode 100644 branches/experimental/net-nds/novell-xtier-core/files/80novell-xtier64 create mode 100644 branches/experimental/net-nds/novell-xtier-core/files/digest-novell-xtier-core-3.1.5_p37-r1 create mode 100644 branches/experimental/net-nds/novell-xtier-core/novell-xtier-core-3.1.5_p37-r1.ebuild create mode 100644 branches/experimental/sys-libs/novell-xplatlib/files/80novell64 create mode 100644 branches/experimental/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p21-r1 create mode 100644 branches/experimental/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p21-r1.ebuild diff --git a/branches/experimental/app-crypt/novell-nici/Manifest b/branches/experimental/app-crypt/novell-nici/Manifest index 87897ff..972065b 100644 --- a/branches/experimental/app-crypt/novell-nici/Manifest +++ b/branches/experimental/app-crypt/novell-nici/Manifest @@ -13,10 +13,10 @@ EBUILD novell-nici-2.7.2_p001.ebuild 1593 RMD160 d96ce2a8a84d393f5f59cd6bac2e65b MD5 2a4fbefa1b48e12d2f0e0255a1e3fa38 novell-nici-2.7.2_p001.ebuild 1593 RMD160 d96ce2a8a84d393f5f59cd6bac2e65b1f8916982 novell-nici-2.7.2_p001.ebuild 1593 SHA256 9fde78e3b2212b33077dcf623801ae355ce7e9c3feca9d302b39188fd1b1e261 novell-nici-2.7.2_p001.ebuild 1593 -EBUILD novell-nici-2.7.3_p5-r1.ebuild 2897 RMD160 31b8b94f68d419081c4a9f9f331a4a39d1d97e03 SHA1 87f2e02ddfca36ffdcd3faabc415a491b16ce009 SHA256 fd60b0649214815579a3c675920853a1c506e83a204dcdeb22205d8864d2002f -MD5 ea6496644be14f6afe705581bae783c2 novell-nici-2.7.3_p5-r1.ebuild 2897 -RMD160 31b8b94f68d419081c4a9f9f331a4a39d1d97e03 novell-nici-2.7.3_p5-r1.ebuild 2897 -SHA256 fd60b0649214815579a3c675920853a1c506e83a204dcdeb22205d8864d2002f novell-nici-2.7.3_p5-r1.ebuild 2897 +EBUILD novell-nici-2.7.3_p5-r1.ebuild 2947 RMD160 4cfae7bc2038083fdba00679a6cceb9cb656ad27 SHA1 f3b013deba9bbf9774a2116d6c0ae0f64b156d82 SHA256 b1a5a2ed3af4c43e1e9d38c80eba488feb7f0d95364ccc573933732f22e7a0ca +MD5 f695c549bb55bd1a2d04fe45ddaaa056 novell-nici-2.7.3_p5-r1.ebuild 2947 +RMD160 4cfae7bc2038083fdba00679a6cceb9cb656ad27 novell-nici-2.7.3_p5-r1.ebuild 2947 +SHA256 b1a5a2ed3af4c43e1e9d38c80eba488feb7f0d95364ccc573933732f22e7a0ca novell-nici-2.7.3_p5-r1.ebuild 2947 EBUILD novell-nici-2.7.3_p5.ebuild 1858 RMD160 067c995c26d3a71b77f25e34d535c94720cea6e6 SHA1 7df0b2b97297f5201440ef2e07d17bb00fe49928 SHA256 53e5a62e5000c18d99ca6301b318b8bae7aaf3022055598cef1d4753587fe2c6 MD5 5926a7ae659d5812332f954c1a3b886f novell-nici-2.7.3_p5.ebuild 1858 RMD160 067c995c26d3a71b77f25e34d535c94720cea6e6 novell-nici-2.7.3_p5.ebuild 1858 diff --git a/branches/experimental/app-crypt/novell-nici/novell-nici-2.7.3_p5-r1.ebuild b/branches/experimental/app-crypt/novell-nici/novell-nici-2.7.3_p5-r1.ebuild index d96967a..fc6237b 100644 --- a/branches/experimental/app-crypt/novell-nici/novell-nici-2.7.3_p5-r1.ebuild +++ b/branches/experimental/app-crypt/novell-nici/novell-nici-2.7.3_p5-r1.ebuild @@ -24,23 +24,30 @@ RESTRICT="nomirror strip" src_unpack() { cd ${WORKDIR} - if use x86 ; then + if use x86 + then narch=i586 nlib=lib + 7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso mkdir -p ${WORKDIR}/${PN}-${MY_P} cd ${PN}-${MY_P} rpm_unpack ${WORKDIR}/suse/${narch}/nici-${MY_PV}.${narch}.rpm - elif use amd64 ; then + elif use amd64 + then narch=x86_64 nlib=lib64 + 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso 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 + + if has_multilib_profile + then rpm_unpack ${WORKDIR}/suse/i586/nici-${MY_PV}.i586.rpm fi + fi } @@ -48,6 +55,7 @@ src_compile() { :; } src_install() { into /opt/novell + if use x86 then dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/${nlib}/* @@ -59,32 +67,39 @@ src_install() { 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 + if use x86 then - doenvd ${FILESDIR}/80novell + doenvd ${FILESDIR}/80novell elif use amd64 then - doenvd ${FILESDIR}/80novell64 + doenvd ${FILESDIR}/80novell64 fi } diff --git a/branches/experimental/net-nds/novell-xtier-base/ChangeLog b/branches/experimental/net-nds/novell-xtier-base/ChangeLog index 5825b32..42a670a 100644 --- a/branches/experimental/net-nds/novell-xtier-base/ChangeLog +++ b/branches/experimental/net-nds/novell-xtier-base/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Aug 2007; Mario Fetka +files/80novell-xtier64, + +novell-xtier-base-3.1.5_p37-r1.ebuild: + Add and64 support + 02 Aug 2007; Mario Fetka -novell-xtier-base-3.1.4_p4-r4.ebuild, +novell-xtier-base-3.1.5_p37.ebuild: diff --git a/branches/experimental/net-nds/novell-xtier-base/Manifest b/branches/experimental/net-nds/novell-xtier-base/Manifest index 79759f8..8299846 100644 --- a/branches/experimental/net-nds/novell-xtier-base/Manifest +++ b/branches/experimental/net-nds/novell-xtier-base/Manifest @@ -2,6 +2,10 @@ AUX 80novell-xtier 183 RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 SHA1 0198 MD5 f52d3a51b0482348825586842d5943b9 files/80novell-xtier 183 RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 files/80novell-xtier 183 SHA256 201cf6aeb826faf7ddd8ba99ff4847a686b23ca9821c0fde9e15c1b20bfb72d3 files/80novell-xtier 183 +AUX 80novell-xtier64 235 RMD160 071cc960a1640aa0eabfeada645bd71ca0ab7d3f SHA1 c64833bb3595325b434f8fd42b13a09ba50af3af SHA256 fbcd1066d8419e61386b90583ebe08bee8370e97daa22761f8376cda81827281 +MD5 3359211ecf45c9dc5c18abb4be62c6b8 files/80novell-xtier64 235 +RMD160 071cc960a1640aa0eabfeada645bd71ca0ab7d3f files/80novell-xtier64 235 +SHA256 fbcd1066d8419e61386b90583ebe08bee8370e97daa22761f8376cda81827281 files/80novell-xtier64 235 AUX novell-xregd20.initd 650 RMD160 a68a152abd479ac2e4292dcb633b085b0683585d SHA1 ced9d00bb48bdc770b0e2c4ed6da0ac018794bbe SHA256 c708d5e30c1340dedea93a56294efbc66bb419d324c4b3a7ec8586c0d0e75d52 MD5 a88889973c9ca37bc4e72f2eb5642faa files/novell-xregd20.initd 650 RMD160 a68a152abd479ac2e4292dcb633b085b0683585d files/novell-xregd20.initd 650 @@ -10,14 +14,18 @@ DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb07 DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 DIST binutils-2.16.91.0.5-18.i586.rpm 4265211 RMD160 aa5d41e1cd94e2cdcffa655db49647794066d42d SHA1 b9a2ae1479543d887cb7caa9035759afa2796a8a SHA256 616f3acba1d84e59d243a8d1b1e3fb4814e5cd0f72d121e5beaf1221f4f54e2f DIST binutils-2.16.91.0.5-18.x86_64.rpm 4370737 RMD160 f56f6d9ec337f1a125e2e92bab1351b3666931e9 SHA1 f92b793d2ea11ff5a0e2b6994fa22132497eb5b7 SHA256 c8d33d41b99378e0cb17b1d484395499fb2f6ca5f3062a5d5e80c73d69962d2e +EBUILD novell-xtier-base-3.1.5_p37-r1.ebuild 7468 RMD160 368bcacaafaa25d9cfddc69deabfdddf1524e425 SHA1 c988f7d31f5caffa21834fd67e279843737b0b00 SHA256 e69c7c3f2e69ad8e1824316c3827cc16162552095ee5b85668019740ff5db552 +MD5 a1a48bf16a933c0bb2d97993e62cdc93 novell-xtier-base-3.1.5_p37-r1.ebuild 7468 +RMD160 368bcacaafaa25d9cfddc69deabfdddf1524e425 novell-xtier-base-3.1.5_p37-r1.ebuild 7468 +SHA256 e69c7c3f2e69ad8e1824316c3827cc16162552095ee5b85668019740ff5db552 novell-xtier-base-3.1.5_p37-r1.ebuild 7468 EBUILD novell-xtier-base-3.1.5_p37.ebuild 7102 RMD160 58659de502b8c0fa599a8f0d96a06890da8a601f SHA1 598ca2e890e7a5c18f6bec5a8343801728aee208 SHA256 c7bdd3979e3b828ee7fd8a5f8738fb8578b6da147f73594555206542ec0a3650 MD5 c96fd0f36ee454fd379a73fef98d892b novell-xtier-base-3.1.5_p37.ebuild 7102 RMD160 58659de502b8c0fa599a8f0d96a06890da8a601f novell-xtier-base-3.1.5_p37.ebuild 7102 SHA256 c7bdd3979e3b828ee7fd8a5f8738fb8578b6da147f73594555206542ec0a3650 novell-xtier-base-3.1.5_p37.ebuild 7102 -MISC ChangeLog 1081 RMD160 f1a354c6b36df43ea5bb7a92ba9adb46a72059bd SHA1 4359509257247ad19bf5f273f5afd9a24aea317f SHA256 2ad115bc0336b044a38ea2757e362ca33bad42c85b75958f5b34d81c3fafa023 -MD5 a58f8e2df12edea14e514624551ff396 ChangeLog 1081 -RMD160 f1a354c6b36df43ea5bb7a92ba9adb46a72059bd ChangeLog 1081 -SHA256 2ad115bc0336b044a38ea2757e362ca33bad42c85b75958f5b34d81c3fafa023 ChangeLog 1081 +MISC ChangeLog 1217 RMD160 372c362e38668555540bb05fcd266653c95aa502 SHA1 44657335a93982fbdd07820c2e7ceaf94eb1afc8 SHA256 b95d42e411d31fb4332af8be9ab54a7505f7c140ad23b01db0cd53d30e5fcc5a +MD5 70c3af7949ed227b98d73a9038dcd92b ChangeLog 1217 +RMD160 372c362e38668555540bb05fcd266653c95aa502 ChangeLog 1217 +SHA256 b95d42e411d31fb4332af8be9ab54a7505f7c140ad23b01db0cd53d30e5fcc5a ChangeLog 1217 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -25,3 +33,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 03635e36bd0e5635ec3e1bf993e60618 files/digest-novell-xtier-base-3.1.5_p37 1192 RMD160 9f838623a5b450201ee60c79c16d084889d159eb files/digest-novell-xtier-base-3.1.5_p37 1192 SHA256 5242f6dc0209a0cbe9f37488240a0eb77bca586b41455f8ac2f2bb9c5c9c3a60 files/digest-novell-xtier-base-3.1.5_p37 1192 +MD5 03635e36bd0e5635ec3e1bf993e60618 files/digest-novell-xtier-base-3.1.5_p37-r1 1192 +RMD160 9f838623a5b450201ee60c79c16d084889d159eb files/digest-novell-xtier-base-3.1.5_p37-r1 1192 +SHA256 5242f6dc0209a0cbe9f37488240a0eb77bca586b41455f8ac2f2bb9c5c9c3a60 files/digest-novell-xtier-base-3.1.5_p37-r1 1192 diff --git a/branches/experimental/net-nds/novell-xtier-base/files/80novell-xtier64 b/branches/experimental/net-nds/novell-xtier-base/files/80novell-xtier64 new file mode 100644 index 0000000..17e24ef --- /dev/null +++ b/branches/experimental/net-nds/novell-xtier-base/files/80novell-xtier64 @@ -0,0 +1,5 @@ +NOVELL_XTIER_DIR=/opt/novell/xtier +PATH=/opt/novell/xtier/bin +ROOTPATH=/opt/novell/xtier/bin +LDPATH=/opt/novell/xtier/lib32:/opt/novell/xtier/lib64 +PRELINK_PATH_MASK=/opt/novell/xtier/lib32:/opt/novell/xtier/lib64:/opt/novell/xtier/bin \ No newline at end of file diff --git a/branches/experimental/net-nds/novell-xtier-base/files/digest-novell-xtier-base-3.1.5_p37-r1 b/branches/experimental/net-nds/novell-xtier-base/files/digest-novell-xtier-base-3.1.5_p37-r1 new file mode 100644 index 0000000..b309002 --- /dev/null +++ b/branches/experimental/net-nds/novell-xtier-base/files/digest-novell-xtier-base-3.1.5_p37-r1 @@ -0,0 +1,12 @@ +MD5 476f30aa3db4de7b884b2085f89b837b Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +MD5 94c4812cfd6400e3e9360de01cb9d304 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +MD5 00f1263b1f6e9effffbb691c3a265b71 binutils-2.16.91.0.5-18.i586.rpm 4265211 +RMD160 aa5d41e1cd94e2cdcffa655db49647794066d42d binutils-2.16.91.0.5-18.i586.rpm 4265211 +SHA256 616f3acba1d84e59d243a8d1b1e3fb4814e5cd0f72d121e5beaf1221f4f54e2f binutils-2.16.91.0.5-18.i586.rpm 4265211 +MD5 02904f4f431263ffd79e599f7ec98c58 binutils-2.16.91.0.5-18.x86_64.rpm 4370737 +RMD160 f56f6d9ec337f1a125e2e92bab1351b3666931e9 binutils-2.16.91.0.5-18.x86_64.rpm 4370737 +SHA256 c8d33d41b99378e0cb17b1d484395499fb2f6ca5f3062a5d5e80c73d69962d2e binutils-2.16.91.0.5-18.x86_64.rpm 4370737 diff --git a/branches/experimental/net-nds/novell-xtier-base/novell-xtier-base-3.1.5_p37-r1.ebuild b/branches/experimental/net-nds/novell-xtier-base/novell-xtier-base-3.1.5_p37-r1.ebuild new file mode 100644 index 0000000..78623b6 --- /dev/null +++ b/branches/experimental/net-nds/novell-xtier-base/novell-xtier-base-3.1.5_p37-r1.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell Xtier Base" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso + http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/binutils-2.16.91.0.5-18.i586.rpm ) + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso + http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/x86_64/binutils-2.16.91.0.5-18.x86_64.rpm )" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + >=dev-libs/expat-2.0.0 + =net-nds/novell-xtier-core-${PV}-r1 + >=sys-libs/ncurses-5.5 + >=sys-devel/gcc-4.1" + +RESTRICT="nomirror strip" + +src_unpack() { + cd ${WORKDIR} + if use x86 + then + narch=i586 + nlib=lib + 7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso + elif use amd64 + then + narch=x86_64 + nlib=lib64 + 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso + fi + rpm_unpack ${DISTDIR}/binutils-2.16.91.0.5-18.${narch}.rpm + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + into /opt/novell/xtier + # still a hack + dolib.so "${WORKDIR}"/usr/${nlib}/libbfd-*.so + dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/xtier/bin/* + dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/xtier/${nlib}/* + dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/* + dodir /var/opt/novell/xtier/xregd/db + keepdir /var/opt/novell/xtier/xregd/db + dodir /etc/opt/novell/xtier/xregd + keepdir /etc/opt/novell/xtier/xregd + insinto /etc/opt/novell/xtier/ + doins ${WORKDIR}/${PN}-${MY_PV}/etc/opt/novell/xtier/* + + if use x86 + then + doenvd "${FILESDIR}"/80novell-xtier + elif use amd64 + then + doenvd "${FILESDIR}"/80novell-xtier64 + fi + + newinitd "${FILESDIR}"/novell-xregd20.initd novell-xregd +} + +pkg_preinst(){ +# *************************************** +# ******* Begin of pre script *********** +# *************************************** +einfo "Running Novell XTier Base pre script..." +# We just want to stop the novell-xregd service and export the XTier registry to a +# temporary file if this is an upgrade. +if [ -e "/etc/init.d/novell-xregd" ]; then + #echo "Novell XTier Base pre script stoping novell-xregd for upgrade" + /etc/init.d/novell-xregd stop +fi +# Check if we need to export the XTier registry +# Note: We export the registry at this time to avoid losing its settings in case +# that we have to rebuild the database. +if [ -e "/var/opt/novell/xtier/xregd/db/xtier_registry.db" ]; then + einfo " Exporting Xtier Registry to temporary file..." + rm -f /var/opt/novell/xtier/xregd/xtier_registry.xml.export + /opt/novell/xtier/bin/regutil -e /etc/opt/novell/xtier/xtier_registry.xml.export + einfo " done exporting Xtier Xml Registry" +fi + +einfo "done running Novell XTier Base pre script!" + +# Do necessary user and group administration +enewgroup novlxtier +enewuser novlxregd -1 -1 /var/opt/novell/xtier/xregd novlxtier +einfo "done running Novell XTier Base pre script!" +# *************************************** +# ******* End of pre script ************* +# *************************************** +} + + +pkg_postinst(){ +# *************************************** +# ******* Begin of post script ********** +# *************************************** +echo "Running Novell XTier Base post script..." +# Check if we need to import the XTier registry +if [ ! -e "/var/opt/novell/xtier/xregd/db/xtier_registry.db" ]; then + einfo " Importing Xtier Xml Registry..." + + # Import the registry. + # Note: We could be dealing with an upgrade from a Pre-XFlaim registry in which + # case we would have saved the previous registry contents to let us upgrade to XFlaim based + # registry without loosing configuration settings. + einfo " Using newly installed registry file" + mkdir -p /var/opt/novell/xtier/xregd/db/ + /opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml + # Make sure that novlxregd has rights to the registry db + chown -R novlxregd:novlxtier /var/opt/novell/xtier/xregd/db/ + einfo " done importing Xtier Xml Registry" +else + # The XTier registry exists, check its integrity. + /opt/novell/xtier/bin/regutil -c + if [ "$?" != "0" ]; then + einfo " Existing XTier Registry Db Unsupported or Corrupted" + einfo " Re-installing XTier Registry Db" + + # Import the registry. Use registry file that was exported earlier if present to + # avoid losing configuration settings that may have been made. + if [ -e "/etc/opt/novell/xtier/xtier_registry.xml.export" ]; then + /opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xregd/xtier_registry.xml.export + else + einfo " Exported registry file not found" + einfo " Configuration settings stored in the registry after initial install have been lost" + /opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml + fi + # Make sure that novlxregd has rights to the registry db + chown -R novlxregd:novlxtier /var/opt/novell/xtier/xregd/db/ + einfo " done importing Xtier Xml Registry" + fi +fi +# Make sure that we are not leaving the temporary registry xml file around +rm -f /etc/opt/novell/xtier/xtier_registry.xml.export +einfo "done running Novell XTier Base post script!" +# *************************************** +# ******* End of post script ************ +# *************************************** +} + +pkg_prerm(){ +# *************************************** +# ******* Begin of pre-remove script **** +# *************************************** +einfo "Running Novell XTier Base preun script ..." +# Stop novell-xregd +/etc/init.d/novell-xregd stop +# Check if we need to export the XTier registry +if [ -e "/var/opt/novell/xtier/xregd/db/xtier_registry.db" ]; then + einfo " Exporting Xtier Xml Registry..." + rm -f /etc/opt/novell/xtier/xtier_registry.xml.export + /opt/novell/xtier/bin/regutil -e /etc/opt/novell/xtier/xtier_registry.xml.export + einfo " done exporting Xtier Xml Registry" +fi +einfo "done running Novell XTier Base preun script!" +# *************************************** +# ******* End of pre-remove script ****** +# *************************************** +} + +pkg_postrm(){ +# *************************************** +# ******* Begin of postun script ******** +# *************************************** +einfo "Running Novell XTier Base postun script ..." +# Delete the var files +rm -rf /var/opt/novell/xtier +einfo "done running Novell XTier Base postun script!" +# *************************************** +# ******* End of postun script ********** +# *************************************** +} diff --git a/branches/experimental/net-nds/novell-xtier-core/ChangeLog b/branches/experimental/net-nds/novell-xtier-core/ChangeLog index 89ed297..8b2e9d6 100644 --- a/branches/experimental/net-nds/novell-xtier-core/ChangeLog +++ b/branches/experimental/net-nds/novell-xtier-core/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Aug 2007; Mario Fetka +files/80novell-xtier64, + +novell-xtier-core-3.1.5_p37-r1.ebuild: + Add amd64 Support + 02 Aug 2007; Mario Fetka -novell-xtier-core-3.1.4_p4-r4.ebuild, +novell-xtier-core-3.1.5_p37.ebuild: diff --git a/branches/experimental/net-nds/novell-xtier-core/Manifest b/branches/experimental/net-nds/novell-xtier-core/Manifest index 44979af..f5c3db4 100644 --- a/branches/experimental/net-nds/novell-xtier-core/Manifest +++ b/branches/experimental/net-nds/novell-xtier-core/Manifest @@ -2,16 +2,24 @@ AUX 80novell-xtier 183 RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 SHA1 0198 MD5 f52d3a51b0482348825586842d5943b9 files/80novell-xtier 183 RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 files/80novell-xtier 183 SHA256 201cf6aeb826faf7ddd8ba99ff4847a686b23ca9821c0fde9e15c1b20bfb72d3 files/80novell-xtier 183 +AUX 80novell-xtier64 235 RMD160 071cc960a1640aa0eabfeada645bd71ca0ab7d3f SHA1 c64833bb3595325b434f8fd42b13a09ba50af3af SHA256 fbcd1066d8419e61386b90583ebe08bee8370e97daa22761f8376cda81827281 +MD5 3359211ecf45c9dc5c18abb4be62c6b8 files/80novell-xtier64 235 +RMD160 071cc960a1640aa0eabfeada645bd71ca0ab7d3f files/80novell-xtier64 235 +SHA256 fbcd1066d8419e61386b90583ebe08bee8370e97daa22761f8376cda81827281 files/80novell-xtier64 235 DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 SHA1 96d1df5bce5f0afb0a625084226fb347728fcffb SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 +EBUILD novell-xtier-core-3.1.5_p37-r1.ebuild 1672 RMD160 dcec5ecfedbd0e4c2388bc09e0d6196f752edee4 SHA1 1c00179b8c5c225af7153cc9a26ad8b571428d21 SHA256 4de23c56d0dfe44aca2b10ea3b98f9ef876df2655736c5a80ba2f95e88106ab7 +MD5 bdba74e510571c89fa3a15274d6366e5 novell-xtier-core-3.1.5_p37-r1.ebuild 1672 +RMD160 dcec5ecfedbd0e4c2388bc09e0d6196f752edee4 novell-xtier-core-3.1.5_p37-r1.ebuild 1672 +SHA256 4de23c56d0dfe44aca2b10ea3b98f9ef876df2655736c5a80ba2f95e88106ab7 novell-xtier-core-3.1.5_p37-r1.ebuild 1672 EBUILD novell-xtier-core-3.1.5_p37.ebuild 1307 RMD160 a0a25db5c4ffb7dd3aa57ed7ad8ea50b23d2c8c6 SHA1 8cb2fd46be78e2644f782ae53743c1b31e1eedd2 SHA256 ecd1beeb645969eecf5aa24eb7e5a90ca26a1c49f1d3125cb34766ba99dd73fe MD5 a1d7c14762cf1b747056865e39194d02 novell-xtier-core-3.1.5_p37.ebuild 1307 RMD160 a0a25db5c4ffb7dd3aa57ed7ad8ea50b23d2c8c6 novell-xtier-core-3.1.5_p37.ebuild 1307 SHA256 ecd1beeb645969eecf5aa24eb7e5a90ca26a1c49f1d3125cb34766ba99dd73fe novell-xtier-core-3.1.5_p37.ebuild 1307 -MISC ChangeLog 1035 RMD160 8e24f97d712e9ae1f24d9b00a97b2403aaa5eb26 SHA1 119646a8da1a2128b70e7e7a05e9b0258dc9eeb6 SHA256 0cd52723e3a06382eebc6524cd41c0d84d1c8b3579f5c2b51efb094442f990d0 -MD5 d8a1a64701d98e98ab3cc341335dfcac ChangeLog 1035 -RMD160 8e24f97d712e9ae1f24d9b00a97b2403aaa5eb26 ChangeLog 1035 -SHA256 0cd52723e3a06382eebc6524cd41c0d84d1c8b3579f5c2b51efb094442f990d0 ChangeLog 1035 +MISC ChangeLog 1171 RMD160 bd5fb010f68ee59b558720d7ce547871e2cfb54d SHA1 ba8fe2f4c2d702ff58605f8621fd8409b0f67835 SHA256 0accdba972ca0d6f47da673a6a169b9019f9d869e8411baba0afbb5a5b553654 +MD5 3124aa3e68182db396446342e94b8ae2 ChangeLog 1171 +RMD160 bd5fb010f68ee59b558720d7ce547871e2cfb54d ChangeLog 1171 +SHA256 0accdba972ca0d6f47da673a6a169b9019f9d869e8411baba0afbb5a5b553654 ChangeLog 1171 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -19,3 +27,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-xtier-core-3.1.5_p37 626 RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-xtier-core-3.1.5_p37 626 SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-xtier-core-3.1.5_p37 626 +MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-xtier-core-3.1.5_p37-r1 626 +RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-xtier-core-3.1.5_p37-r1 626 +SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-xtier-core-3.1.5_p37-r1 626 diff --git a/branches/experimental/net-nds/novell-xtier-core/files/80novell-xtier64 b/branches/experimental/net-nds/novell-xtier-core/files/80novell-xtier64 new file mode 100644 index 0000000..17e24ef --- /dev/null +++ b/branches/experimental/net-nds/novell-xtier-core/files/80novell-xtier64 @@ -0,0 +1,5 @@ +NOVELL_XTIER_DIR=/opt/novell/xtier +PATH=/opt/novell/xtier/bin +ROOTPATH=/opt/novell/xtier/bin +LDPATH=/opt/novell/xtier/lib32:/opt/novell/xtier/lib64 +PRELINK_PATH_MASK=/opt/novell/xtier/lib32:/opt/novell/xtier/lib64:/opt/novell/xtier/bin \ No newline at end of file diff --git a/branches/experimental/net-nds/novell-xtier-core/files/digest-novell-xtier-core-3.1.5_p37-r1 b/branches/experimental/net-nds/novell-xtier-core/files/digest-novell-xtier-core-3.1.5_p37-r1 new file mode 100644 index 0000000..3dc529b --- /dev/null +++ b/branches/experimental/net-nds/novell-xtier-core/files/digest-novell-xtier-core-3.1.5_p37-r1 @@ -0,0 +1,6 @@ +MD5 476f30aa3db4de7b884b2085f89b837b Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +MD5 94c4812cfd6400e3e9360de01cb9d304 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 diff --git a/branches/experimental/net-nds/novell-xtier-core/novell-xtier-core-3.1.5_p37-r1.ebuild b/branches/experimental/net-nds/novell-xtier-core/novell-xtier-core-3.1.5_p37-r1.ebuild new file mode 100644 index 0000000..ae8927a --- /dev/null +++ b/branches/experimental/net-nds/novell-xtier-core/novell-xtier-core-3.1.5_p37-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell Client for Linux file system deamon" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso ) + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso )" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + >=sys-auth/novell-nmasclient-3.4.0_p10-r1 + =net-nds/novell-xtier-base-${PV}-r1 + >=sys-devel/gcc-4.1" + +RESTRICT="nomirror strip" + +src_unpack() { + cd ${WORKDIR} + if use x86 + then + narch=i586 + nlib=lib + 7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso + elif use amd64 + then + narch=x86_64 + nlib=lib64 + 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso + fi + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + into /opt/novell/xtier/ + dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/xtier/${nlib}/* + dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/* + if use x86 + then + doenvd "${FILESDIR}"/80novell-xtier + elif use amd64 + then + doenvd "${FILESDIR}"/80novell-xtier64 + fi +} \ No newline at end of file diff --git a/branches/experimental/net-nds/novell-xtier-xplat/Manifest b/branches/experimental/net-nds/novell-xtier-xplat/Manifest index 5ab7657..e1c587f 100644 --- a/branches/experimental/net-nds/novell-xtier-xplat/Manifest +++ b/branches/experimental/net-nds/novell-xtier-xplat/Manifest @@ -8,10 +8,10 @@ RMD160 071cc960a1640aa0eabfeada645bd71ca0ab7d3f files/80novell-xtier64 235 SHA256 fbcd1066d8419e61386b90583ebe08bee8370e97daa22761f8376cda81827281 files/80novell-xtier64 235 DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 SHA1 96d1df5bce5f0afb0a625084226fb347728fcffb SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 -EBUILD novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 RMD160 a4851d831835b84ce1ea666df4b1296c54059b3b SHA1 e78d4a7f7f810b7282a6431f1c1c2f9eb263736b SHA256 869fa6d4a00cd7d5ee24bbaa98ebdbad969e24b9cab1b5678748a4aa66844957 -MD5 4b33ca20e374538dc21b0124913d74a9 novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 -RMD160 a4851d831835b84ce1ea666df4b1296c54059b3b novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 -SHA256 869fa6d4a00cd7d5ee24bbaa98ebdbad969e24b9cab1b5678748a4aa66844957 novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 +EBUILD novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 RMD160 d5c57d8940fb94b526fbea8c45cd3fe34f6d0cde SHA1 0f2d36757a30a5f9046ff18d8985b2b185944473 SHA256 61b1414e3d0128b626bbbf72717089ce2b07f93ec9a423c471acd4f7979564f5 +MD5 10f403b7af557c4e9d1b2edd11bfd2d5 novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 +RMD160 d5c57d8940fb94b526fbea8c45cd3fe34f6d0cde novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 +SHA256 61b1414e3d0128b626bbbf72717089ce2b07f93ec9a423c471acd4f7979564f5 novell-xtier-xplat-3.1.5_p37-r1.ebuild 1610 EBUILD novell-xtier-xplat-3.1.5_p37.ebuild 1280 RMD160 e51ce702cdf8fe65819fcaab80e86dea45d50b1b SHA1 6d3a2400ad09e8368c35c8b130de60fb117e4d93 SHA256 fadf507f518c4f92124df43e550e9154906c1938496d30ef2ae0d65fdbb75a74 MD5 d924c9cce7bb8fd4ec825f0a358a07c1 novell-xtier-xplat-3.1.5_p37.ebuild 1280 RMD160 e51ce702cdf8fe65819fcaab80e86dea45d50b1b novell-xtier-xplat-3.1.5_p37.ebuild 1280 diff --git a/branches/experimental/net-nds/novell-xtier-xplat/novell-xtier-xplat-3.1.5_p37-r1.ebuild b/branches/experimental/net-nds/novell-xtier-xplat/novell-xtier-xplat-3.1.5_p37-r1.ebuild index 9a029e6..6650cdc 100644 --- a/branches/experimental/net-nds/novell-xtier-xplat/novell-xtier-xplat-3.1.5_p37-r1.ebuild +++ b/branches/experimental/net-nds/novell-xtier-xplat/novell-xtier-xplat-3.1.5_p37-r1.ebuild @@ -14,13 +14,13 @@ SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn LICENSE="Novell-NCL" SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="gtk" +IUSE="" DEPEND=">=app-arch/p7zip-4.15" RDEPEND="virtual/libc >=sys-auth/novell-nmasclient-3.4.0_p10-r1 - =net-nds/novell-xtier-base-${PV}" + =net-nds/novell-xtier-base-${PV}-r1" RESTRICT="nomirror strip" diff --git a/branches/experimental/sys-auth/novell-nmasclient/Manifest b/branches/experimental/sys-auth/novell-nmasclient/Manifest index 89880f0..d316c69 100644 --- a/branches/experimental/sys-auth/novell-nmasclient/Manifest +++ b/branches/experimental/sys-auth/novell-nmasclient/Manifest @@ -13,10 +13,10 @@ EBUILD novell-nmasclient-3.2.0_p9-r3.ebuild 926 RMD160 6f1160c56e08cf33a82d34b75 MD5 05c94f880acc3088f1995d3d65b76b44 novell-nmasclient-3.2.0_p9-r3.ebuild 926 RMD160 6f1160c56e08cf33a82d34b755aabc2637e7953c novell-nmasclient-3.2.0_p9-r3.ebuild 926 SHA256 81daa1bffba06efd568bd7d5ad70209e7703a5e50b8108cdfeeff370c3bb7959 novell-nmasclient-3.2.0_p9-r3.ebuild 926 -EBUILD novell-nmasclient-3.4.0_p10-r1.ebuild 2488 RMD160 7bc138f42c3d0515c3c90f00aac7748236077788 SHA1 3f16bab8d9b98e97d3a3d1fcfa374ec15125d693 SHA256 bc1e77daa1466ef077bd64f351c346db7a5f2ae363cd86de044fe14bbc8783d8 -MD5 12887d694c2d4c68464a53696ad7aebd novell-nmasclient-3.4.0_p10-r1.ebuild 2488 -RMD160 7bc138f42c3d0515c3c90f00aac7748236077788 novell-nmasclient-3.4.0_p10-r1.ebuild 2488 -SHA256 bc1e77daa1466ef077bd64f351c346db7a5f2ae363cd86de044fe14bbc8783d8 novell-nmasclient-3.4.0_p10-r1.ebuild 2488 +EBUILD novell-nmasclient-3.4.0_p10-r1.ebuild 2342 RMD160 a46d6b6dd6c7a200e848763a785c24358170ad78 SHA1 ccd3646fd2098e79c6e8e818bdc3bd9501182910 SHA256 786ee04b349e1ab1bdf5d3f1b10256c3378e8bf13eef89053b7c31b35ef4a39d +MD5 33bfd6fb712f219db01752f32633f6de novell-nmasclient-3.4.0_p10-r1.ebuild 2342 +RMD160 a46d6b6dd6c7a200e848763a785c24358170ad78 novell-nmasclient-3.4.0_p10-r1.ebuild 2342 +SHA256 786ee04b349e1ab1bdf5d3f1b10256c3378e8bf13eef89053b7c31b35ef4a39d novell-nmasclient-3.4.0_p10-r1.ebuild 2342 EBUILD novell-nmasclient-3.4.0_p10.ebuild 1222 RMD160 4091306b5f09c6270f71300703675389bdee06c2 SHA1 950e4ea13667909981979b78a63b22b45b76d74a SHA256 bd6b4051f904c73aef58fccf478200f92ab82ec9c1ac8a0bdb0dc8fab86c384f MD5 e6470c5c823917bb6272c7c3df771148 novell-nmasclient-3.4.0_p10.ebuild 1222 RMD160 4091306b5f09c6270f71300703675389bdee06c2 novell-nmasclient-3.4.0_p10.ebuild 1222 diff --git a/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild b/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild index b425d53..76a27db 100644 --- a/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild +++ b/branches/experimental/sys-auth/novell-nmasclient/novell-nmasclient-3.4.0_p10-r1.ebuild @@ -8,9 +8,8 @@ MY_PV="${PV/_p/-}" DESCRIPTION="Novell NMAS Client for Linux" HOMEPAGE="http://www.novell.com" -SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso ) - amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso - http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso )" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso )" LICENSE="Novell-NCL" SLOT="0" diff --git a/branches/experimental/sys-libs/novell-xplatlib/ChangeLog b/branches/experimental/sys-libs/novell-xplatlib/ChangeLog index 14ee527..b691a6c 100644 --- a/branches/experimental/sys-libs/novell-xplatlib/ChangeLog +++ b/branches/experimental/sys-libs/novell-xplatlib/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Aug 2007; Mario Fetka +files/80novell64, + +novell-xplatlib-1.0.3_p21-r1.ebuild: + Add amd64 support + 02 Aug 2007; Mario Fetka -novell-xplatlib-1.0.2_p5-r4.ebuild, +novell-xplatlib-1.0.3_p21.ebuild: Update xplatlib diff --git a/branches/experimental/sys-libs/novell-xplatlib/Manifest b/branches/experimental/sys-libs/novell-xplatlib/Manifest index ea6a8d9..5db1e9b 100644 --- a/branches/experimental/sys-libs/novell-xplatlib/Manifest +++ b/branches/experimental/sys-libs/novell-xplatlib/Manifest @@ -2,16 +2,24 @@ AUX 80novell 175 RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 SHA1 ce625b90ee MD5 1cb295c31c8b72610363844e9ccd5138 files/80novell 175 RMD160 6706cbb05c0079b008b1e35a74518b137c1842c4 files/80novell 175 SHA256 1602e6f7016cd33476f398196f1061158d9f8f5e302b83911c92e013d6a7d81c files/80novell 175 +AUX 80novell64 215 RMD160 d304cf813f3377e6fbb7b6bc4a8705590bd28afa SHA1 048891321018e5f7beb1bfc97883b9f2fa72ee6b SHA256 3806ba4709b79d940c2271af9607be295e97dd13c3bc889f95dec1a7d577f3d5 +MD5 1042c6a1a384e99fea540ed91569750f files/80novell64 215 +RMD160 d304cf813f3377e6fbb7b6bc4a8705590bd28afa files/80novell64 215 +SHA256 3806ba4709b79d940c2271af9607be295e97dd13c3bc889f95dec1a7d577f3d5 files/80novell64 215 DIST Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 SHA1 96d1df5bce5f0afb0a625084226fb347728fcffb SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf DIST Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa SHA1 0430885f18e803bba63ec264022589c4d934ef03 SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 +EBUILD novell-xplatlib-1.0.3_p21-r1.ebuild 1837 RMD160 83f52bd482b32262cf5de7cc5d121740204bc6a9 SHA1 7ebb16c3b40aa31de7171a8d163c678ae579e2c8 SHA256 9d3a73453f07cfdf33f0d37faf0aa9923f49cc5f901efe471dca003e7c01ac9e +MD5 4bc77259b5368892a19384f52d7c311c novell-xplatlib-1.0.3_p21-r1.ebuild 1837 +RMD160 83f52bd482b32262cf5de7cc5d121740204bc6a9 novell-xplatlib-1.0.3_p21-r1.ebuild 1837 +SHA256 9d3a73453f07cfdf33f0d37faf0aa9923f49cc5f901efe471dca003e7c01ac9e novell-xplatlib-1.0.3_p21-r1.ebuild 1837 EBUILD novell-xplatlib-1.0.3_p21.ebuild 1462 RMD160 92dca556783ce6ea0e733f21e8a998d2400132d3 SHA1 6ade9f0dda18dbbedbab75edef5348b9e68f1743 SHA256 1dd3851a019d5f57c20c98f6b5733f7c2fa86063402833316a138a4109a6e231 MD5 4e28ae3ac323ed9ee3a711cb67264083 novell-xplatlib-1.0.3_p21.ebuild 1462 RMD160 92dca556783ce6ea0e733f21e8a998d2400132d3 novell-xplatlib-1.0.3_p21.ebuild 1462 SHA256 1dd3851a019d5f57c20c98f6b5733f7c2fa86063402833316a138a4109a6e231 novell-xplatlib-1.0.3_p21.ebuild 1462 -MISC ChangeLog 1155 RMD160 3af67c36aa95516ab1e457a6613f475f4610ff24 SHA1 eb6183cfc0cdd023c62588c64887382246f8bf6d SHA256 5edfa468ac7e05b6c38689228b278ec656dfb95def23ee9a3999f31294914548 -MD5 7bc69f1062784d618c4a43361cfba363 ChangeLog 1155 -RMD160 3af67c36aa95516ab1e457a6613f475f4610ff24 ChangeLog 1155 -SHA256 5edfa468ac7e05b6c38689228b278ec656dfb95def23ee9a3999f31294914548 ChangeLog 1155 +MISC ChangeLog 1283 RMD160 632c852d5b6340b63e4a1b1e262af4d731d26d49 SHA1 aa4c2991278153dea3159ffe69bc6fafad792410 SHA256 935c67ec6359008ab841a140a8b2602b2e0a9fd56ae8f24bb6185e41f3e72770 +MD5 d4b60205619aec58603b15d023eae161 ChangeLog 1283 +RMD160 632c852d5b6340b63e4a1b1e262af4d731d26d49 ChangeLog 1283 +SHA256 935c67ec6359008ab841a140a8b2602b2e0a9fd56ae8f24bb6185e41f3e72770 ChangeLog 1283 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -19,3 +27,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-xplatlib-1.0.3_p21 626 RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-xplatlib-1.0.3_p21 626 SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-xplatlib-1.0.3_p21 626 +MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-xplatlib-1.0.3_p21-r1 626 +RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-xplatlib-1.0.3_p21-r1 626 +SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-xplatlib-1.0.3_p21-r1 626 diff --git a/branches/experimental/sys-libs/novell-xplatlib/files/80novell64 b/branches/experimental/sys-libs/novell-xplatlib/files/80novell64 new file mode 100644 index 0000000..2d8dd9e --- /dev/null +++ b/branches/experimental/sys-libs/novell-xplatlib/files/80novell64 @@ -0,0 +1,5 @@ +NOVELL_DIR=/opt/novell +PATH=/opt/novell/bin +ROOTPATH=/opt/novell/bin:/opt/novell/sbin +LDPATH=/opt/novell/lib64:/opt/novell/lib32 +PRELINK_PATH_MASK=/opt/novell/lib64:/opt/novell/lib32:/opt/novell/bin:/opt/novell/sbin \ No newline at end of file diff --git a/branches/experimental/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p21-r1 b/branches/experimental/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p21-r1 new file mode 100644 index 0000000..3dc529b --- /dev/null +++ b/branches/experimental/sys-libs/novell-xplatlib/files/digest-novell-xplatlib-1.0.3_p21-r1 @@ -0,0 +1,6 @@ +MD5 476f30aa3db4de7b884b2085f89b837b Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +RMD160 5296935f1b2b5cb0796b685f5c6bacd532f49094 Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +SHA256 3433f30fed62339de2fe12426e4e4e064ec4823073d2271531d7a1009f9cdecf Novell_Client_SLED10-i386-2007531-CD1.iso 10256384 +MD5 94c4812cfd6400e3e9360de01cb9d304 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +RMD160 9b5a8704e518ac7ce1d9d03a890e77a67610cbaa Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 +SHA256 f170dad7e9774d6b55186228f0ed3de512b09255d5d19f54e86964a327b62806 Novell_Client_SLED10-x86_64-2007531-CD1.iso 11108352 diff --git a/branches/experimental/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p21-r1.ebuild b/branches/experimental/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p21-r1.ebuild new file mode 100644 index 0000000..ea30132 --- /dev/null +++ b/branches/experimental/sys-libs/novell-xplatlib/novell-xplatlib-1.0.3_p21-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils rpm + +MY_PV="${PV/_p/-}" +MY_P="${PV/_p*/}" + +DESCRIPTION="Novell XPLAT Libraries" +HOMEPAGE="http://www.novell.com" +SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso ) + amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso )" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + >=net-nds/novell-xtier-base-3.1.5_p37-r1 + >=net-nds/novell-xtier-xplat-3.1.5_p37-r1" + +RESTRICT="nomirror strip" + +src_unpack() { + cd ${WORKDIR} + if use x86 + then + narch=i586 + nlib=lib + 7z x ${DISTDIR}/Novell_Client_SLED10-i386-2007531-CD1.iso + elif use amd64 + then + narch=x86_64 + nlib=lib64 + 7z x ${DISTDIR}/Novell_Client_SLED10-x86_64-2007531-CD1.iso + fi + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + into /opt/novell + dolib.so "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/${nlib}/* + for lib in cal cln clx loc ncp net + do + dosym lib${lib}lnx.so.${MY_P} /opt/novell/${get_libdir}/lib${lib}lnx.so.1 + dosym lib${lib}lnx.so.${MY_P} /opt/novell/${get_libdir}/lib${lib}lnx.so + done + dodoc "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN}/* + + if use x86 + then + doenvd "${FILESDIR}"/80novell + elif use amd64 + then + doenvd "${FILESDIR}"/80novell64 + fi +} \ No newline at end of file