From fac5be84f11acb11479bc2c004627fc0091490b1 Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 7 Jul 2010 13:33:04 +0000 Subject: [PATCH] app-crypt/novell-nici: cleanup --- .../app-crypt/novell-nici/ChangeLog | 5 + .../app-crypt/novell-nici/Manifest | 15 +- .../novell-nici/novell-nici-2.7.4.6-r1.ebuild | 148 ------------------ .../novell-nici/novell-nici-2.7.4.6-r2.ebuild | 148 ------------------ .../novell-nici/novell-nici-2.7.4.6.ebuild | 148 ------------------ .../novell-nici/novell-nici-2.7.6.0.01.ebuild | 139 ---------------- 6 files changed, 6 insertions(+), 597 deletions(-) delete mode 100644 trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r1.ebuild delete mode 100644 trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild delete mode 100644 trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6.ebuild delete mode 100644 trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.6.0.01.ebuild diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog b/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog index 083f89b..32c2be4 100644 --- a/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog +++ b/trunk/novell4gentoo/app-crypt/novell-nici/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Jul 2010; Mario Fetka + -novell-nici-2.7.4.6.ebuild, -novell-nici-2.7.4.6-r1.ebuild, + -novell-nici-2.7.4.6-r2.ebuild, -novell-nici-2.7.6.0.01.ebuild: + cleanup + 07 Jul 2010; Mario Fetka +novell-nici-2.7.6.3.ebuild, +novell-nici-2.7.6.4.ebuild: Bump diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/Manifest b/trunk/novell4gentoo/app-crypt/novell-nici/Manifest index 874913b..894821e 100644 --- a/trunk/novell4gentoo/app-crypt/novell-nici/Manifest +++ b/trunk/novell4gentoo/app-crypt/novell-nici/Manifest @@ -1,19 +1,6 @@ -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 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-patch2-sle11-i586.iso 7997440 RMD160 e65eb47b944800d92ca4e37f3397e325f97034ab SHA1 10388020720829678b39fa73ce113d1edb16fd5b SHA256 3df7fd33504543cbbd0cef9a1917c3b9979c70f0ad27643d80daba7e28523021 DIST novell-client-2.0-sp2-patch2-sle11-x86_64.iso 7976960 RMD160 f81ab1c343291b428a05230e33e306679825a027 SHA1 9d13af47bf0dd34576ecaa8ff16f7e34bc5bf485 SHA256 7e985f980a3cc197fb9dc0017d4c72e4be61709b894080825315cf0c84b705be -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-3.0-sled11-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed -DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae63b2ed108d097194741b5 SHA1 ef1987e0f71f4775d2e3b5d342fdeacd4f9ca3db SHA256 3223dc757e1788222d95c1b3353b9b156072d1b3a027b6fa4b71007b6aae4a05 -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.ebuild 4156 RMD160 dd4f764c4374880e87b346a9ed39fd1eb7463ae8 SHA1 125d1d47a89f7fd24f0034698fb4b3f92907471c SHA256 f6b65b49e3fe7c1cf0cf0cc14e13d67a65487bfa2775b778f0f52d1fb77e8862 -EBUILD novell-nici-2.7.6.0.01.ebuild 3951 RMD160 38731bcee3644be8654b294dda402c1038349c3f SHA1 9e5e1b994bdc85c4cca035e0613bf5a6067d28f0 SHA256 e698782ac4dede01e3dfd638c20ff7382d768d42394fbf00a3b24562436efb20 EBUILD novell-nici-2.7.6.3.ebuild 4111 RMD160 0e4f6ac921d48735cc3d758dd741dce9ed4dcf50 SHA1 fd67fed27121567bd1bc01e957cf25b647801b01 SHA256 8db92071b4500e2cfe3911d3de148ffc0f95b2091f10e9f5e23455e776aa2833 EBUILD novell-nici-2.7.6.4.ebuild 4109 RMD160 d0ff75c55f2e34769cb42f5154f15f70e567a28e SHA1 f78952b57ad300b630aefd6ec77e47e870e07d57 SHA256 0f13ae6eee68df1b3e7cc258e44b21929aa8787f3962d36558f7eeb8b466b214 -MISC ChangeLog 4216 RMD160 f5ee541a1f9e45b8292aed2fc613b0c668633120 SHA1 fd83ea52da974fda192fb84e43ccfa7cfe7149fb SHA256 21e9f1c09a4a88c9e91d3720c93e209ce9add1ac839faf534047d7a05da5a6e9 +MISC ChangeLog 4407 RMD160 8400e020d3b58b88a0bea9a3070a2f7244c9db3e SHA1 2b3b5663727e5ffddbd6affaca2eb6dce2d87f6e SHA256 d96ab1d61f01f20be339bac44ba66b682084b1cc9512ad73d992a33fd5dc7d54 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r1.ebuild b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r1.ebuild deleted file mode 100644 index b1cdae2..0000000 --- a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r1.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -NOVELL_BUILDID="_xf1ppPR2xA~" -NOVELL_FILE32="novell-client-2.0-sp2-sle11-i586.iso" -NOVELL_FILE64="novell-client-2.0-sp2-sle11-x86_64.iso" -NOVELL_BUILDID_1="SRO5fkNxGt8~" -NOVELL_FILE32_1="eDir_88_SP3_Linux.iso" -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="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} ) - amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} ) - multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID_1}/${NOVELL_FILE32_1} )" - -LICENSE="Novell-NCL" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="multilib" - -DEPEND=">=app-arch/p7zip-4.15" - -RDEPEND="virtual/libc - net-nds/novell-env" - -src_unpack() { - cd "${WORKDIR}" - if use x86 - then - narch=i586 - nlib=lib - - 7z x "${DISTDIR}"/${NOVELL_FILE32} - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/suse/${narch}/nici-${MY_PV}.${narch}.rpm - elif use amd64 - then - narch=x86_64 - nlib=lib64 - - 7z x "${DISTDIR}"/${NOVELL_FILE64} - - if has_multilib_profile - then - 7z x -y "${DISTDIR}"/${NOVELL_FILE32_1} - fi - - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/suse/${narch}/nici64-${MY_PV}.${narch}.rpm - - if has_multilib_profile - then - rpm5_unpack "${WORKDIR}"/setup/nici-2.7.4-0.02.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" -} diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild deleted file mode 100644 index 573385d..0000000 --- a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6-r2.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -NOVELL_BUILDID="_xf1ppPR2xA~" -NOVELL_FILE32="novell-client-3.0-sled11-i586-CD1.iso" -NOVELL_FILE64="novell-client-3.0-sled11-x86_64-CD1.iso" -NOVELL_BUILDID_1="SRO5fkNxGt8~" -NOVELL_FILE32_1="eDir_88_SP3_Linux.iso" -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="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} ) - amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} ) - multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID_1}/${NOVELL_FILE32_1} )" - -LICENSE="Novell-NCL" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="multilib" - -DEPEND=">=app-arch/p7zip-4.15" - -RDEPEND="virtual/libc - net-nds/novell-env" - -src_unpack() { - cd "${WORKDIR}" - if use x86 - then - narch=i586 - nlib=lib - - 7z x "${DISTDIR}"/${NOVELL_FILE32} - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/suse/${narch}/nici-${MY_PV}.${narch}.rpm - elif use amd64 - then - narch=x86_64 - nlib=lib64 - - 7z x "${DISTDIR}"/${NOVELL_FILE64} - - if has_multilib_profile - then - 7z x -y "${DISTDIR}"/${NOVELL_FILE32_1} - fi - - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/suse/${narch}/nici64-${MY_PV}.${narch}.rpm - - if has_multilib_profile - then - rpm5_unpack "${WORKDIR}"/setup/nici-2.7.4-0.02.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" -} diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6.ebuild b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6.ebuild deleted file mode 100644 index e14bc7e..0000000 --- a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.4.6.ebuild +++ /dev/null @@ -1,148 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -NOVELL_BUILDID="CuRXfXSzq7M~" -NOVELL_FILE32="Novell_Client_SLE11-i586-20081218-CD1.iso" -NOVELL_FILE64="Novell_Client_SLE11-x86_64-20081218-CD1.iso" -NOVELL_BUILDID_1="SRO5fkNxGt8~" -NOVELL_FILE32_1="eDir_88_SP3_Linux.iso" -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="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32} ) - amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE64} ) - multilib? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID_1}/${NOVELL_FILE32_1} )" - -LICENSE="Novell-NCL" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="multilib" - -DEPEND=">=app-arch/p7zip-4.15" - -RDEPEND="virtual/libc - net-nds/novell-env" - -src_unpack() { - cd "${WORKDIR}" - if use x86 - then - narch=i586 - nlib=lib - - 7z x "${DISTDIR}"/${NOVELL_FILE32} - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/suse/${narch}/nici-${MY_PV}.${narch}.rpm - elif use amd64 - then - narch=x86_64 - nlib=lib64 - - 7z x "${DISTDIR}"/${NOVELL_FILE64} - - if has_multilib_profile - then - 7z x -y "${DISTDIR}"/${NOVELL_FILE32_1} - fi - - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/suse/${narch}/nici64-${MY_PV}.${narch}.rpm - - if has_multilib_profile - then - rpm5_unpack "${WORKDIR}"/setup/nici-2.7.4-0.02.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" -} diff --git a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.6.0.01.ebuild b/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.6.0.01.ebuild deleted file mode 100644 index 44eef83..0000000 --- a/trunk/novell4gentoo/app-crypt/novell-nici/novell-nici-2.7.6.0.01.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# 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 rpm5 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=i386 - nlib=lib - - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/eDirectory/setup/nici-${MY_PV}.${narch}.rpm - elif use amd64 - then - narch=x86_64 - nlib=lib64 - - mkdir -p "${WORKDIR}"/${PN}-${PV} - cd ${PN}-${PV} - rpm5_unpack "${WORKDIR}"/eDirectory/setup/nici64-${MY_PV}.${narch}.rpm - - if has_multilib_profile - then - rpm5_unpack "${WORKDIR}"/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" -}