add first amd64 aware package to tree
This commit is contained in:
parent
983d7c3cb2
commit
3404b2c7be
@ -2,6 +2,11 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
04 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-nici-2.7.3_p5-r1.ebuild:
|
||||
the first package with amd64 support and the only package with multilib deps
|
||||
Warning this is extrem testing ebuild
|
||||
|
||||
17 Jun 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
+novell-nici-2.7.3_p5.ebuild:
|
||||
Bump Nici to latest version
|
||||
|
@ -9,14 +9,18 @@ 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 2893 RMD160 7e482e9366d3c7c64867265d467c4a8318b795dc SHA1 84abf4d2b7e584bcb69fb13e97bdcf13540f772f SHA256 dc62576812d7d0376134ad4b9ee8ab91155b43746861977a23d16b0b4aba1c73
|
||||
MD5 568a5eef565dc18ffe89432b0b54cd83 novell-nici-2.7.3_p5-r1.ebuild 2893
|
||||
RMD160 7e482e9366d3c7c64867265d467c4a8318b795dc novell-nici-2.7.3_p5-r1.ebuild 2893
|
||||
SHA256 dc62576812d7d0376134ad4b9ee8ab91155b43746861977a23d16b0b4aba1c73 novell-nici-2.7.3_p5-r1.ebuild 2893
|
||||
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
|
||||
SHA256 53e5a62e5000c18d99ca6301b318b8bae7aaf3022055598cef1d4753587fe2c6 novell-nici-2.7.3_p5.ebuild 1858
|
||||
MISC ChangeLog 1561 RMD160 cd974b1b02e943c33ce1c3ae3e5462b061fba46c SHA1 6f94fa42b64b140bda843482368498c8590c8717 SHA256 eb33c1ac346cbe7d693d8f11076c52191830f6c05e177e5dd1511702e2e367a4
|
||||
MD5 14f19aba01c296a30597e9b75938f2f4 ChangeLog 1561
|
||||
RMD160 cd974b1b02e943c33ce1c3ae3e5462b061fba46c ChangeLog 1561
|
||||
SHA256 eb33c1ac346cbe7d693d8f11076c52191830f6c05e177e5dd1511702e2e367a4 ChangeLog 1561
|
||||
MISC ChangeLog 1764 RMD160 ee6b78e28ea1b17ff727277c2b4b376fbefd2805 SHA1 4f6e0b831db8279aed1f4a35ec4ce339ab92f305 SHA256 90542df974ba0929bc000bdf8a8d4b171f7d04951304a192294e6a750e8bda0f
|
||||
MD5 53088fc329a41aa329bd4435813be240 ChangeLog 1764
|
||||
RMD160 ee6b78e28ea1b17ff727277c2b4b376fbefd2805 ChangeLog 1764
|
||||
SHA256 90542df974ba0929bc000bdf8a8d4b171f7d04951304a192294e6a750e8bda0f ChangeLog 1764
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
|
||||
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
|
||||
@ -27,3 +31,6 @@ SHA256 c78d6408747f889a89c04609c8a5b3c08306fdac38ce17f68427114aaab8e408 files/di
|
||||
MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-nici-2.7.3_p5 626
|
||||
RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-nici-2.7.3_p5 626
|
||||
SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-nici-2.7.3_p5 626
|
||||
MD5 ec699dae9428f5ecd71e3b6fdc0b8405 files/digest-novell-nici-2.7.3_p5-r1 626
|
||||
RMD160 a08fca1bf3e2cb25ea5b9fb70f27de63c0e9974a files/digest-novell-nici-2.7.3_p5-r1 626
|
||||
SHA256 d20395db16f0e2a59b7411ac9ea0817b657bd9804d54da40d459a518a13b5153 files/digest-novell-nici-2.7.3_p5-r1 626
|
||||
|
@ -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
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils rpm multilib
|
||||
|
||||
MY_PV="${PV/_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/21a91ftmUKk~/Novell_Client_SLED10-i386-2007531-CD1.iso )
|
||||
amd46? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/21a91ftmUKk~/Novell_Client_SLED10-x86_64-2007531-CD1.iso )"
|
||||
|
||||
LICENSE="Novell-eDir-88"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-arch/p7zip-4.15"
|
||||
|
||||
RDEPEND="virtual/libc"
|
||||
|
||||
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
|
||||
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_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 && ABI="x86" ; 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 && ABI="x86"
|
||||
then
|
||||
dolib.so ${WORKDIR}/${PN}-${MY_P}/opt/novell/${nlib}/*
|
||||
exeinto /opt/novell/$(get_multilibdir)
|
||||
doexe ${WORKDIR}/${PN}-${MY_P}/opt/novell/lib/*
|
||||
dosym ../../opt/novell/$(get_multilibdir)/libccs2.so /usr/$(get_multilibdir)/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 && ABI="x86" )
|
||||
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
|
||||
doenvd ${FILESDIR}/80novell
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use x86
|
||||
then
|
||||
/var/opt/novell/nici/primenici
|
||||
elif use amd64
|
||||
then
|
||||
/var/opt/novell/nici/primenici64
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user