net-nds/novell-novlembox: cleanup

This commit is contained in:
geos_one 2010-07-09 07:16:48 +00:00
parent b7f8f1ce94
commit cc81aa9c26
4 changed files with 5 additions and 225 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
09 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
-novell-novlembox-8.8.5.2.5.ebuild, -novell-novlembox-8.8.5.3.7.ebuild:
cleanup
06 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
+novell-novlembox-8.8.5.4.10.ebuild:
Bump

View File

@ -1,10 +1,6 @@
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
DIST edir8853.tar.gz 306613278 RMD160 2b277ab74dd5c00caf5b1381c63779c3ff56a467 SHA1 70214468bce9e385db2f525a8d02c9bc0509eb74 SHA256 da81b5b120b64f860496318bc3f90331cf7842a37a3df477d5ea0a991b6f3494
DIST edir8854.tar.gz 306874252 RMD160 2a1e34bdbd2bc2e58daded72d9ef548742f426dd SHA1 2318e2e5a4e0ae47c47ad5a9dc07c4bf4c9446b4 SHA256 2bac97038a6019808dafe4f377f4ca3e5b96b2214cf85403c9b7cbd896ad5911
DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc
EBUILD novell-novlembox-8.7.3.10.53.ebuild 3187 RMD160 da9f8df6c9f4c72083693e3629afaa93db9d4dfa SHA1 6fe9229344e668da1bf621b74210a1897f706f49 SHA256 0b84b8470c4c368969b8648279df66cf229e71f3226b39bedcaa5ec6b06881e9
EBUILD novell-novlembox-8.8.5.2.5.ebuild 4480 RMD160 145bf4880400f6634cd61707e0add9664a8f0012 SHA1 b6cbcfd5474512f342d1e44d721ec8b903a4cc36 SHA256 5564362590c9e9916cea5984cf7190f52f27785ee3e1d40a62ce2609b2a7ad25
EBUILD novell-novlembox-8.8.5.3.7.ebuild 4468 RMD160 2df4b519d453551d89da82d45656ef7b15180493 SHA1 169911cae0d436b976875cee99fa387d5d871a91 SHA256 b5e1db7eae06ba8b6af13601d610c6d8be20a52d70ff4c9cb5020833dd4840d0
EBUILD novell-novlembox-8.8.5.4.10.ebuild 4468 RMD160 fef4adffa5df0bfa203f0ba9c60e9e8073be31d6 SHA1 d09a0bdb949d68bbda8028c0df199a4bcaceff2a SHA256 ba2174116770d330fb63d0f550944baf62dbae5a5a51f1f05b451c31c2d523e7
MISC ChangeLog 2719 RMD160 e3bf5cd2865055efb53595a648cea9d93eb39e9f SHA1 90d92df78b03d2e3f617e6c3a9d0f38290e96536 SHA256 8340591c7898f1224bea152813ee692c8f6024ab316882f3bf82e0e92ee04306
MISC ChangeLog 2855 RMD160 b8f1ef0d71b9a6238eb40d21cacf2333e961b8c3 SHA1 073a5a7b6cafb00f9f7a6c05dcd2ba8be596a82e SHA256 c7844fc3dbb407c3b529900cb423935a5949b0a705e50ca6997a72ddcce60819
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,110 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="T2wcCZC5kh4~"
NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz"
NOVELL_FILE64="patchfiles/edir885_Patch2.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm java-utils-2 multilib versionator
MY_PV=$(replace_version_separator 4 '-')
DESCRIPTION="Novell eDirectory Management Toolbox"
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} )"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="!net-nds/novell-novlembox:0
!net-nds/novell-novlembox:8.7"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
net-nds/novell-ndsbase:8.8
net-nds/novell-ndsserv:8.8
net-nds/novell-novllmgnt:8.8
net-nds/novell-novlxis:8.8"
src_unpack() {
cd "${WORKDIR}"
unpack ${A}
if use x86
then
narch=i586
nlib=lib
ndir=Linux
elif use amd64
then
narch=x86_64
nlib=lib64
ndir=Linux64
fi
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ../work/edir8852/${ndir}/novell-NOVLembox.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory/
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/d*
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.*
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
insinto /opt/novell/eDirectory/$(get_libdir)/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-schema/*
# dosed 's$`which java 2> /dev/null`$`java-config --jre-home 2> /dev/null`/jre/bin/java$' /opt/novell/eDirectory/bin/edirutil
# dosed "s|/usr/lib/nds-modules/|/usr/$(get_libdir)/nds-modules/|" /usr/bin/edirutil
into /usr
java-pkg_jarinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/*.jar
into /opt/novell/eDirectory/
java-pkg_dolauncher edirutil --main embox
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/emtools/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir)
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/$(get_libdir)
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/config
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/config/*.xml
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/res
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/res/*.xlf
# keepdir /var/nds/embox/log
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE32}"
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"
}

View File

@ -1,110 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID="SGLpwvlw9ig~"
NOVELL_FILE32="patchfiles/edir8853.tar.gz"
NOVELL_FILE64="patchfiles/edir8853.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm java-utils-2 multilib versionator
MY_PV=$(replace_version_separator 4 '-')
DESCRIPTION="Novell eDirectory Management Toolbox"
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} )"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="!net-nds/novell-novlembox:0
!net-nds/novell-novlembox:8.7"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
net-nds/novell-ndsbase:8.8
net-nds/novell-ndsserv:8.8
net-nds/novell-novllmgnt:8.8
net-nds/novell-novlxis:8.8"
src_unpack() {
cd "${WORKDIR}"
unpack ${A}
if use x86
then
narch=i586
nlib=lib
ndir=Linux
elif use amd64
then
narch=x86_64
nlib=lib64
ndir=Linux64
fi
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ../work/edir8853/${ndir}/novell-NOVLembox.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory/
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/d*
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.*
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/$(get_libdir)
insinto /opt/novell/eDirectory/$(get_libdir)/nds-schema
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-schema/*
# dosed 's$`which java 2> /dev/null`$`java-config --jre-home 2> /dev/null`/jre/bin/java$' /opt/novell/eDirectory/bin/edirutil
# dosed "s|/usr/lib/nds-modules/|/usr/$(get_libdir)/nds-modules/|" /usr/bin/edirutil
into /usr
java-pkg_jarinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/*.jar
into /opt/novell/eDirectory/
java-pkg_dolauncher edirutil --main embox
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/emtools/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/emtools/$(get_libdir)
dosym . /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/$(get_libdir)
into /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/*
rm "${D}"/opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/$(get_libdir)
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/config
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/config/*.xml
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/embox/res
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/embox/res/*.xlf
# keepdir /var/nds/embox/log
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file:"
einfo " - ${NOVELL_FILE32}"
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"
}