add new novell edit 88 package

This commit is contained in:
geos_one 2010-12-29 07:01:55 +00:00
parent 444ee1da17
commit d463d00ec0
3 changed files with 98 additions and 0 deletions

View File

@ -0,0 +1,4 @@
DIST eDirectory_88SP6_Linux_i586.tar.gz 108870033 RMD160 51872cce91d40352a0982659653df6376901ebe3 SHA1 7f0f7560734935f9cd153d5cf574c19fbe62b81c SHA256 92ecbe7533dc1caf27323d8109019d51afbf126e71e948ed5c2d92865618e96b
DIST eDirectory_88SP6_Linux_x86_64.tar.gz 116347772 RMD160 a64fb0d206fa56893a2b77f7a597f260427c410e SHA1 63221a4e8cee83e779a40c02033aeca0cf0cb80b SHA256 a4055d5d3764218542f97b59b67425121aa4b05cc3a1d8e38cfd7b28d7383023
EBUILD novell-audtplatformagent-2.0.2.62.ebuild 2769 RMD160 f84250c445ad48594e47d7e5b5a05cd1adc905d2 SHA1 56dc102a82a027ea1c0dfc4d98a1f28c7a594008 SHA256 eea68be794a474a83210aba82b4d6dd4f0a28847c979af856b399e28ddab9b37
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>mario.fetka@gmail.com</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,86 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
NOVELL_BUILDID32="Yk-7PvWPr3g~"
NOVELL_FILE32="eDirectory_88SP6_Linux_i586.tar.gz"
NOVELL_BUILDID64="aRbvy7H-57c~"
NOVELL_FILE64="eDirectory_88SP6_Linux_x86_64.tar.gz"
RESTRICT="mirror strip"
inherit novell eutils rpm multilib versionator
MY_PV=$(replace_version_separator 3 '-')
DESCRIPTION="Novell Sentinel Event Infrastructure"
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} )"
LICENSE="Novell-eDir-88"
SLOT="8.8"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=""
RDEPEND="virtual/libc
net-nds/novell-audtplatformagent-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}
rpm_unpack ../work/eDirectory/setup/novell-AUDTplatformagent-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/naudit/
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/naudit/l*
insinto /opt/novell/naudit/bin
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/naudit/java
insinto /opt/novell/naudit/bin/java
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/naudit/java/pa
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/usr/${nlib}/*.*
insinto /etc/opt/novell/naudit/conf
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/*.*
dosym opt/novell/naudit/conf/logevent.conf /etc/logevent.conf
keepdir /var/opt/novell/naudit/data
keepdir /var/opt/novell/naudit/log
}
#pkg_postinst(){
# /usr/bin/ether
#}
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"
}