net-nds/novell-ndsbase: cleanup

This commit is contained in:
geos_one 2010-07-07 14:07:31 +00:00
parent d9ea5602de
commit d3761085fa
4 changed files with 5 additions and 247 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
-novell-ndsbase-8.8.5.2.9.ebuild, -novell-ndsbase-8.8.5.3.16.ebuild:
cleanup
06 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsbase-8.8.5.4.11.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-ndsbase-8.7.3.10.90.ebuild 2565 RMD160 2bd7d23f0d4a3cf088c88e1daab5ba3ce8ff0832 SHA1 8438b9daa3dc85efaf9b5d752af4da9599a77765 SHA256 0de45b48eac99be18caa23424db930fae65b884d493561f1823feb5c262c1ca4
EBUILD novell-ndsbase-8.8.5.2.9.ebuild 4022 RMD160 926aa48dffc16d13e86e1f39b121a7afa9bf4ce8 SHA1 de62a8c014fb306c4c162209676ab6c0f538577a SHA256 003e10e943adfd447c6cb92620caf9f1e447c82bd7f371d00fe4b030d66b51d2
EBUILD novell-ndsbase-8.8.5.3.16.ebuild 4010 RMD160 06d2eaaf603aa29070a242ded737307a655d2643 SHA1 099eac8b9c964da65d464e9bb61d70464198d752 SHA256 2ba5c3193ec8213091b7d597f1854bf8010a182f6c4ce8d93d19126f617b8676
EBUILD novell-ndsbase-8.8.5.4.11.ebuild 4010 RMD160 387274696f436648720b989bf09ee724d9bd701b SHA1 2b1a7e88810bce27e2fe9553444dea98a5227329 SHA256 de833299a6e4611f9962ed4cf5cf1581b4cadc7dcce2fd5301ac84c39cbf1554
MISC ChangeLog 3382 RMD160 e0c849cf5faa47cd515baab93ed080548766eba7 SHA1 3a2a7054243b66a0212dae0cdc757b4c45db7cf5 SHA256 03fc741091632aa842941525ab6c32d11640197dc044f3a38a0c2a0b9e204dbe
MISC ChangeLog 3515 RMD160 41c4d0f379a8f585f31d388c65dd73c6330ec6cc SHA1 5c6f3e458bb30a32f51c9f4d047af93fbd38ed25 SHA256 0ae3124caeb292c92837a88ecd9f39c4cb2194881477666213b4d6d1100fd736
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,121 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID32="T2wcCZC5kh4~"
NOVELL_FILE32="patchfiles/edir885_Patch2.tar.gz"
NOVELL_BUILDID64="T2wcCZC5kh4~"
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 Directory User Agent"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
multilib? ( 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} )"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_fr linguas_fr_FR linguas_fr_FR linguas_ja linguas_ja_JP unicode multilib"
DEPEND="!net-nds/novell-ndsbase:0
!net-nds/novell-ndsbase:8.7"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=app-crypt/novell-nici-2.6.4_p005
net-nds/novell-edir-env"
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}
if has_multilib_profile
then
march=i586
mlib=lib
mdir=Linux
rpm_unpack ../work/edir8852/${mdir}/novell-NDSbase.${march}.rpm
fi
rpm_unpack ../work/edir8852/${ndir}/novell-NDSbase.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
for x in fr_FR ja_JP
do
if use linguas_${x}
then
insinto /opt/novell/eDirectory/share/locale/${x}/LC_MESSAGES/
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/share/locale/${x}/LC_MESSAGES/*.mo
fi
done
use unicode && insinto /opt/novell/eDirectory/share/locale/fr_FR.UTF-8/LC_MESSAGES/
use unicode && doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/share/locale/fr_FR.UTF-8/LC_MESSAGES/*.mo
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
if has_multilib_profile
then
ABI="x86" dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${mlib}/*.so*
fi
into /usr
java-pkg_jarinto /opt/novell/eDirectory/$(get_libdir)
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.jar
if has_multilib_profile
then
ABI="x86" dlib="$(get_libdir)"
java-pkg_jarinto /opt/novell/eDirectory/${dlib}
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${mlib}/*.jar
fi
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*.gz
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/fr/*/*.gz
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/ja/*/*.gz
keepdir /etc/opt/novell/eDirectory/conf
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file(s):"
if use x86
then
einfo " - ${NOVELL_FILE32}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
elif use amd64
then
einfo " - ${NOVELL_FILE64}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID64}"
if use multilib
then
einfo " - ${NOVELL_FILE32}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
fi
fi
einfo "and place them 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,121 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID32="SGLpwvlw9ig~"
NOVELL_FILE32="patchfiles/edir8853.tar.gz"
NOVELL_BUILDID64="SGLpwvlw9ig~"
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 Directory User Agent"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID32}/${NOVELL_FILE32} )
multilib? ( 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} )"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE="linguas_fr linguas_fr_FR linguas_fr_FR linguas_ja linguas_ja_JP unicode multilib"
DEPEND="!net-nds/novell-ndsbase:0
!net-nds/novell-ndsbase:8.7"
RDEPEND="virtual/libc
>=virtual/jdk-1.4
>=app-crypt/novell-nici-2.6.4_p005
net-nds/novell-edir-env"
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}
if has_multilib_profile
then
march=i586
mlib=lib
mdir=Linux
rpm_unpack ../work/edir8853/${mdir}/novell-NDSbase.${march}.rpm
fi
rpm_unpack ../work/edir8853/${ndir}/novell-NDSbase.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
for x in fr_FR ja_JP
do
if use linguas_${x}
then
insinto /opt/novell/eDirectory/share/locale/${x}/LC_MESSAGES/
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/share/locale/${x}/LC_MESSAGES/*.mo
fi
done
use unicode && insinto /opt/novell/eDirectory/share/locale/fr_FR.UTF-8/LC_MESSAGES/
use unicode && doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/share/locale/fr_FR.UTF-8/LC_MESSAGES/*.mo
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.so*
if has_multilib_profile
then
ABI="x86" dolib "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${mlib}/*.so*
fi
into /usr
java-pkg_jarinto /opt/novell/eDirectory/$(get_libdir)
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/*.jar
if has_multilib_profile
then
ABI="x86" dlib="$(get_libdir)"
java-pkg_jarinto /opt/novell/eDirectory/${dlib}
java-pkg_dojar "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${mlib}/*.jar
fi
doman "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/*/*.gz
use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/fr/*/*.gz
use linguas_ja && doman -i18n=ja "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/man/ja/*/*.gz
keepdir /etc/opt/novell/eDirectory/conf
}
pkg_nofetch() {
einfo "This files require you to register at ${HOMEPAGE} (free account)"
einfo "Please download following file(s):"
if use x86
then
einfo " - ${NOVELL_FILE32}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
elif use amd64
then
einfo " - ${NOVELL_FILE64}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID64}"
if use multilib
then
einfo " - ${NOVELL_FILE32}"
einfo "from http://download.novell.com/Download?buildid=${NOVELL_BUILDID32}"
fi
fi
einfo "and place them 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"
}