net-nds/novell-ndsbase: Cleanup

(Portage version: 2.2.0_alpha67-r1/svn/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
geos_one 2011-10-26 15:43:49 +00:00
parent 97529f37db
commit 96fa2c63b6
4 changed files with 5 additions and 247 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
26 Oct 2011; Mario Fetka <mario.fetka@gmail.com>
-novell-ndsbase-8.8.5.4.11.ebuild, -novell-ndsbase-8.8.6.2.12.ebuild:
Cleanup
*novell-ndsbase-8.8.6.3.15 (26 Oct 2011)
26 Oct 2011; Mario Fetka <mario.fetka@gmail.com>

View File

@ -1,10 +1,6 @@
DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7
DIST edir8854.tar.gz 306874252 RMD160 2a1e34bdbd2bc2e58daded72d9ef548742f426dd SHA1 2318e2e5a4e0ae47c47ad5a9dc07c4bf4c9446b4 SHA256 2bac97038a6019808dafe4f377f4ca3e5b96b2214cf85403c9b7cbd896ad5911
DIST edir8862.tar.gz 453058925 RMD160 e585bfab7298a80636af495a4d296646bc3b5c4c SHA1 5d86893a2157ed55c96c3800fbf7a5f55c806540 SHA256 e2f08a1c4baaec6fd12a1a78f62a1d505e91f4a627517813dda458ad48740032
DIST edir8863.tar.gz 469034121 RMD160 5b2d24a9d0d6e1f45e02b16ec54eebff61d162d5 SHA1 405fefb7e4dc6b9a500fe97d6fb98f57e291f770 SHA256 fba97cca185d283c71245a46d8bae087d41149b2ea72da14392aa692a19ff478
EBUILD novell-ndsbase-8.7.3.10.90.ebuild 2518 RMD160 e0c67a58b1c52f7ea7de4af10d796e2a59fbe9b9 SHA1 e678da62a5c0ea3f5bcb6e75fcf7be179000e5c2 SHA256 4dff1670d6166556d69837d4d77580e4cedcd20e79b5c998f09bfbad491a70d4
EBUILD novell-ndsbase-8.8.5.4.11.ebuild 3963 RMD160 de61f14cf5f61ee969cfb18fd2dabe0d9325c316 SHA1 ed00542cd559d34fac60894228f7987404eb13bb SHA256 f45d2c0841aa60adaf8bff0df6f96ecb52b338338d0574ded1e822233efdb402
EBUILD novell-ndsbase-8.8.6.2.12.ebuild 3963 RMD160 f6b105aa2c109972d5dfc95c70a660d137b43e77 SHA1 8eebe1fa8f493763337a41634d8c3054ec08cb83 SHA256 7648f6555ac5328ee1402226768656387117c4cb73af36cb8b761936eb309e89
EBUILD novell-ndsbase-8.8.6.3.15.ebuild 3963 RMD160 840bc8aa362a32bb38d8caf553c4a0eca005a8ed SHA1 c7bfea44d7ea0b348b4dd4b9079b24eb31825460 SHA256 7ff4f68529311dd807902a44172e7dd547194dc53ab5db312857596f832a18ba
MISC ChangeLog 3870 RMD160 4e0dca30e1874509010aaced7357878a9f1aaacb SHA1 0f09ab97fb3358050d507a6c62dc799f0af1fb6c SHA256 ec78dfb03a0a443ea69449e9f7696d3e93eba34a8b9ca245834a9e143f0c8f28
MISC ChangeLog 4004 RMD160 e1ea5f885768786d3a34799423b384bb02d58ff6 SHA1 0324e25ebe12cb89e85c96392879eb8305326dab SHA256 c7465550c67018c56a5e42afeba4758a6808122f42ba18f153f7ff4523e96369
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

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="n8PWgAEctzY~"
NOVELL_FILE32="patchfiles/edir8854.tar.gz"
NOVELL_BUILDID64="n8PWgAEctzY~"
NOVELL_FILE64="patchfiles/edir8854.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_ja 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/edir8854/${mdir}/novell-NDSbase.${march}.rpm
fi
rpm_unpack ../work/edir8854/${ndir}/novell-NDSbase.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
for x in fr ja
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="MiMUKiNwL9U~"
NOVELL_FILE32="patchfiles/edir8862.tar.gz"
NOVELL_BUILDID64="MiMUKiNwL9U~"
NOVELL_FILE64="patchfiles/edir8862.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm java-utils-2 multilib versionator
MY_PV=$(replace_version_separator 3 '-')
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_ja 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/edir8862/${mdir}/novell-NDSbase.${march}.rpm
fi
rpm_unpack ../work/edir8862/${ndir}/novell-NDSbase.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/eDirectory
for x in fr ja
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"
}