app-crypt/novell-nici: first round of edir 8.8 ebuild mods
This commit is contained in:
parent
8fdfa96990
commit
ac26d8bee9
@ -2,6 +2,10 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
12 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
+novell-nici-2.7.6.0.01.ebuild:
|
||||||
|
first round of edir 8.8 ebuild mods
|
||||||
|
|
||||||
09 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
09 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
|
||||||
+novell-nici-2.7.4.6-r2.ebuild:
|
+novell-nici-2.7.4.6-r2.ebuild:
|
||||||
Bump
|
Bump
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e
|
DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e
|
||||||
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
|
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
|
||||||
DIST eDir_88_SP3_Linux.iso 108474368 RMD160 91a57fae04ded813e1907eb168b61e15a7745b92 SHA1 0512f75ab992aea0be72c38047dfa4cd7f0c4d45 SHA256 0d35135377e77924f3eab551beea7cd69639cc7843395dd95c4140d91ccda7ad
|
DIST eDir_88_SP3_Linux.iso 108474368 RMD160 91a57fae04ded813e1907eb168b61e15a7745b92 SHA1 0512f75ab992aea0be72c38047dfa4cd7f0c4d45 SHA256 0d35135377e77924f3eab551beea7cd69639cc7843395dd95c4140d91ccda7ad
|
||||||
|
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 novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed58a92c728ee9adfe1 SHA1 4e61f5421b369a44966c848671c6db20aa478d1d SHA256 9aa9f5cc4cd415476bcfaae278c38947c5809802c36ae40855252d9167189a1f
|
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-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-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed
|
||||||
@ -8,5 +10,6 @@ DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae6
|
|||||||
EBUILD novell-nici-2.7.4.6-r1.ebuild 4146 RMD160 15f27ee7bc7e0b596e5b71e930779e4db7db2c9a SHA1 033963c36dba737a5de118b4e12d30dbfdea75b6 SHA256 cddb8bdc85fd5412b4e12c24a057016543d8028a8eb4e7d5188fa9a6bf1211d5
|
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-r2.ebuild 4148 RMD160 8a6a60bdf7a070165f1a0937cd216d30dfd376f2 SHA1 23a685ab54202ee194bc224d28c7592e91e92a4b SHA256 6fd6da2a61313cf2de369ea1acfba0616c400ed2bdff35ee5398003b0534a3e4
|
||||||
EBUILD novell-nici-2.7.4.6.ebuild 4156 RMD160 dd4f764c4374880e87b346a9ed39fd1eb7463ae8 SHA1 125d1d47a89f7fd24f0034698fb4b3f92907471c SHA256 f6b65b49e3fe7c1cf0cf0cc14e13d67a65487bfa2775b778f0f52d1fb77e8862
|
EBUILD novell-nici-2.7.4.6.ebuild 4156 RMD160 dd4f764c4374880e87b346a9ed39fd1eb7463ae8 SHA1 125d1d47a89f7fd24f0034698fb4b3f92907471c SHA256 f6b65b49e3fe7c1cf0cf0cc14e13d67a65487bfa2775b778f0f52d1fb77e8862
|
||||||
MISC ChangeLog 3647 RMD160 3d0a561dc1192aac086cc277da1512ecd9a430ec SHA1 02b5e0f0be4a6c98efed6eaf7784aba061ad14c6 SHA256 e5cc20c81c0e206d54a264d3c60063320274dd327db16c836442637cdd7dbbd2
|
EBUILD novell-nici-2.7.6.0.01.ebuild 3932 RMD160 587c91f24873d5055df42b9ded5bb422450bfa5a SHA1 1fd04997177065ea90e7902bb13f3dc2f5d6021a SHA256 d14d01a3be6bdcc04ad20487176cdda5daa3696a32e26dec32704b0f5ef8ce70
|
||||||
|
MISC ChangeLog 3771 RMD160 3ad10986116bdf8cb1c549a7667c668802918290 SHA1 5b382787b6736ad7445840339e97760eeb417eb2 SHA256 a00fea708234f4c343dd62acf4de964a9c41af1c208a286337b0ea39da2a7ad0
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
@ -0,0 +1,139 @@
|
|||||||
|
# Copyright 1999-2009 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
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 3 '-')
|
||||||
|
|
||||||
|
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_BUILDID32}/${NOVELL_FILE32} )
|
||||||
|
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID64}/${NOVELL_FILE64} )
|
||||||
|
multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID64}/${NOVELL_FILE64} )"
|
||||||
|
|
||||||
|
LICENSE="Novell-eDir-88"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86 ~amd64"
|
||||||
|
IUSE="multilib"
|
||||||
|
|
||||||
|
DEPEND=">=app-arch/p7zip-4.15"
|
||||||
|
|
||||||
|
RDEPEND="virtual/libc
|
||||||
|
net-nds/novell-env"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cd "${WORKDIR}"
|
||||||
|
unpack ${A}
|
||||||
|
if use x86
|
||||||
|
then
|
||||||
|
narch=i586
|
||||||
|
nlib=lib
|
||||||
|
|
||||||
|
mkdir -p "${WORKDIR}"/${PN}-${PV}
|
||||||
|
cd ${PN}-${PV}
|
||||||
|
rpm_unpack ../work/eDirectory/setup/nici-${MY_PV}.${narch}.rpm
|
||||||
|
elif use amd64
|
||||||
|
then
|
||||||
|
narch=x86_64
|
||||||
|
nlib=lib64
|
||||||
|
|
||||||
|
mkdir -p "${WORKDIR}"/${PN}-${PV}
|
||||||
|
cd ${PN}-${PV}
|
||||||
|
rpm_unpack ../work/eDirectory/setup/nici64-${MY_PV}.${narch}.rpm
|
||||||
|
|
||||||
|
if has_multilib_profile
|
||||||
|
then
|
||||||
|
rpm_unpack ../work/eDirectory/setup/32-bit/nici-${MY_PV}.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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user