From 25358b9967160591cd69a52b63c2f7b81ce3b999 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 16 Aug 2014 16:42:37 +0200 Subject: [PATCH] Bump Package-Manager: portage-2.2.8-r1 RepoMan-Options: --force --- app-crypt/netiq-nici/ChangeLog | 8 +- app-crypt/netiq-nici/Manifest | 4 +- .../netiq-nici/netiq-nici-2.7.7.0.02.ebuild | 132 ++++++++++++++++++ 3 files changed, 142 insertions(+), 2 deletions(-) create mode 100644 app-crypt/netiq-nici/netiq-nici-2.7.7.0.02.ebuild diff --git a/app-crypt/netiq-nici/ChangeLog b/app-crypt/netiq-nici/ChangeLog index 133afdf9..27c36be1 100644 --- a/app-crypt/netiq-nici/ChangeLog +++ b/app-crypt/netiq-nici/ChangeLog @@ -1,7 +1,13 @@ -# ChangeLog for app-crypt/novell-nici +# ChangeLog for app-crypt/netiq-nici # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*netiq-nici-2.7.7.0.02 (16 Aug 2014) + + 16 Aug 2014; Mario Fetka + +netiq-nici-2.7.7.0.02.ebuild: + Bump + 13 Aug 2014; Mario Fetka novell-nici-2.7.6.3.ebuild, novell-nici-2.7.6.4.ebuild: change download links diff --git a/app-crypt/netiq-nici/Manifest b/app-crypt/netiq-nici/Manifest index 026b1f48..2da0a772 100644 --- a/app-crypt/netiq-nici/Manifest +++ b/app-crypt/netiq-nici/Manifest @@ -1,5 +1,7 @@ +DIST eDirectory_88SP8_Linux_x86_64.tar.gz 115981881 SHA256 69946393b9f6cd82593eb943a62bc6773688239de1b12388765ea2b60f0431c9 SHA512 e8030463f4404aeb33e9b4b85f4da91275ff8beebf480cb8a267e6340a7209f10aef2f060b0c24f7fb18ba457fd3211b6c71748b281888ca46919d1df227b627 WHIRLPOOL 603ef881ba4a7c84d1e670b5a39205a54f56daacd8253d09017209b204f15fc06397e764e4d7a2aac69e3c88c13bf3ef5882d4837382fc6e6d2c2e4caa797449 DIST novell-client-2.0-sp2-patch2-sle11-i586.iso 7997440 SHA256 3df7fd33504543cbbd0cef9a1917c3b9979c70f0ad27643d80daba7e28523021 SHA512 76b11ec47e21ce06ddf52f0dffbf066159134fb5f8e69e0693d533e124b3e64c10b3d8c30b4b1e494fa9205b18eb5dc7c138917b6ce5d937ffc76bf4e98a02d4 WHIRLPOOL 46dc3b9afd03503fefacab5e79232c430aeb941c6f123cc7d4eab4f8836f93d4a79afd740e8fcce2ccc135c44549bfd27b2ff09c93c0eb58a6c6dc5811c00df4 DIST novell-client-2.0-sp2-patch2-sle11-x86_64.iso 7976960 SHA256 7e985f980a3cc197fb9dc0017d4c72e4be61709b894080825315cf0c84b705be SHA512 7921cb808d248bf622bbd926a43ce991bbf97260045f69a9beacfe48333b116c77ac999ab9887017573cae640a3125009c6e0437d8a2f26ca19b9fd504ad7749 WHIRLPOOL ceb4f2a40baddb124d40025ae5a7257160c65a7af4259f1eb73d5eb577525329d9e67931e762c4a6268d4493028e59eca223f734d342039654ec71d3f32f3604 EBUILD netiq-nici-2.7.6.3.ebuild 4114 SHA256 4a3982e568b176e1dc684413907cd93f29a39a0c45e6be5b65276118026c8173 SHA512 a45e6ef07595bcac8b28dc24be48c02fb23d5471f75f205c56c97115f02543e222fbe220ecefc556b307b1da4fb928e65da09d8e759251fb7f3912ba59d1c909 WHIRLPOOL 9671e6d8a3475bb48dabca972d2d17b623652730f470e5014b9be6e43506487968670f4eca51c3254a0514116a32228c04e267022886c03fa392656d59b23214 -MISC ChangeLog 4672 SHA256 c6e3cf106e4b15d60e68fd0c80efb65bb3206e0aba7a498a3716826550bd512f SHA512 ffced4207ebedfb2f57506128b1d5156e7acbb5f664bc72580c61c3a7c21b24ce6b63ff492d58e96edbdf452d655e9587353dbfcacf97bda31db2f7f81b1fa95 WHIRLPOOL f4be70258d2c5da16864769df58a3c2c7f6bf351384a7829f96121ddfb21ae1ffd78af4db5e214863200c70c389fdbdea8bc788aa60afcee59a89a266c29f4ff +EBUILD netiq-nici-2.7.7.0.02.ebuild 3536 SHA256 97e4cfda68ecebf698472ce46a06d8b31a7e4b7142260b529cd9c2cf1152155f SHA512 9e5ccd510c30a141c1333dc78f73c537e03fc4526f87fa7dc0b974ef0c2e10914ff4c3dfa9b9603d8688712d14825f7866101af98271f89040fd5cb3f7000ff7 WHIRLPOOL afe1ffe039c02a91e704b63bb698528a6f187de5f3d3939379bd2f5f93b0a660209049b9a10251fca748ba47ec9770d2a4be4e368df02a28858f5c65e1ec661b +MISC ChangeLog 4801 SHA256 dd7942c3b789a0946a96869aee8cb812e5bc8d634387a9d6dc8ecf103394b40e SHA512 c5f14237745921004dd69577a1532d960ed158ae296f69d7cc315ab29a73ad73b823efec48e1578022b5bed39ba075f925351f388463f92d2331a425847c5a71 WHIRLPOOL 235b63f1837be86346fd75030f68995c4423345d7fdc2df1870b48aa253e642473c0da9591f5afb258d519adb649e85dff3e76311fe65df2e582ee2c66ed61d5 MISC metadata.xml 170 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 SHA512 c011e0dc20997640fdaf4dbdd0493106446df3ff753040a8ffc638cea0512a535bce9e1c4d2969e708993529c473d9dc17c59804c15a0eee2b0a7e9854b65143 WHIRLPOOL b33b91daccf2a989c728257c6372f7f8a7481bd72af841bf3c76e6625750d6f5e0d31c942fe88368fc016edcc5be954656c488b6d44ea00e4fe0caaec1bdd41e diff --git a/app-crypt/netiq-nici/netiq-nici-2.7.7.0.02.ebuild b/app-crypt/netiq-nici/netiq-nici-2.7.7.0.02.ebuild new file mode 100644 index 00000000..4e71fc1b --- /dev/null +++ b/app-crypt/netiq-nici/netiq-nici-2.7.7.0.02.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="oHdJl37wCb0~" +NOVELL_FILE="eDirectory_88SP8_Linux_x86_64.tar.gz" +RESTRICT="mirror strip" +USE_RPMOFFSET_ONLY="1" + +inherit novell eutils rpm5 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="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/patchfiles/${NOVELL_FILE}" + +LICENSE="Novell-NCL" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="multilib" + +DEPEND=">=app-arch/p7zip-4.15" + +RDEPEND="virtual/libc + net-nds/netiq-env" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + if use x86 + then + narch=i586 + nlib=lib + + mkdir -p "${WORKDIR}"/${PN}-${PV} + cd ${PN}-${PV} + rpm5_unpack ./../eDirectory/setup/32-bit/nici-${MY_PV}.${narch}.rpm + elif use amd64 + then + narch=x86_64 + nlib=lib64 + + mkdir -p "${WORKDIR}"/${PN}-${PV} + cd ${PN}-${PV} + rpm5_unpack ./../eDirectory/setup//nici64-${MY_PV}.${narch}.rpm + + if has_multilib_profile + then + narch=i586 + + rpm5_unpack ./../eDirectory/setup/32-bit/nici-${MY_PV}.${narch}.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:" + einfo " - ${NOVELL_FILE}" + 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" +}