net-nds/novell-ndsserv: Cleanup
(Portage version: 2.2.0_alpha67-r1/svn/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
parent
6bdaac7e05
commit
5def616d59
@ -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-ndsserv-8.8.5.4.12.ebuild, -novell-ndsserv-8.8.6.2.12.ebuild:
|
||||
Cleanup
|
||||
|
||||
*novell-ndsserv-8.8.6.3.15 (26 Oct 2011)
|
||||
|
||||
26 Oct 2011; Mario Fetka <mario.fetka@gmail.com>
|
||||
|
@ -6,12 +6,8 @@ AUX nldap.initd 321 RMD160 404e9e69ab9224841d675caecec02ed94d2d19c0 SHA1 3490484
|
||||
AUX nldap87.initd 3137 RMD160 2e8532d8ea4889e99114236555aa82ba295c3b4e SHA1 51baa74d3ccb5598ac0e0bc6b669e07b08816505 SHA256 ae740abc714063b8870bc09aa6998bc4135e8aec1893bb377886c4ceaa8b32a2
|
||||
AUX nldap88.initd 3263 RMD160 9d8fe9efb8d6b637a0392b586314c4df82df521e SHA1 3d646b1edb0639c4ff5adca803426396f64013a4 SHA256 76854724718301f3fbe0f5f0cbcc2c0c69467d0d1a8f3f703f1dccd7dbec2156
|
||||
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-ndsserv-8.7.3.10.114.ebuild 3210 RMD160 0604625d281bb5c19337f759ea233709a8335107 SHA1 fb21720db34fbe6034a7479bbbf616bc1e7f8cdf SHA256 913d3bb7ddb7569f2f817b389e354757bb87a0b5a67074808be003a239fe1d30
|
||||
EBUILD novell-ndsserv-8.8.5.4.12.ebuild 4273 RMD160 712e8d2b2d1d5bebb0763eed6a06001f48f56bc1 SHA1 195fc1bb73484c8f96dff93ae6f569aa4c35fa47 SHA256 b00c9f88eecdc74ef35b8da9dc384cc120fc6aaee33801e6a172dd0fc1e20eec
|
||||
EBUILD novell-ndsserv-8.8.6.2.12.ebuild 4308 RMD160 e898d2d17f05a98c12a8200a0cd1fa0134abdced SHA1 05b7f45d9b06be63f1bf4aff8ad259464835c70f SHA256 bfe52740874989960dae5b4e9983521f2654323688f8e195c561c8079cef23d4
|
||||
EBUILD novell-ndsserv-8.8.6.3.15.ebuild 4308 RMD160 7a1160594c03a3906bbf5e5058743847c42f9289 SHA1 5203945500d81f9ce5992e4e6272d7942ed67d24 SHA256 333061dc50e234d323f4df54f4e14f60360dfdd0dd9b06d6277c0ee8bfc87067
|
||||
MISC ChangeLog 3204 RMD160 0361bdc33257b54e289c5320f7279eeff16c5bbf SHA1 1f15543c2a134e81744bcae7b53b2fbd58bfff45 SHA256 f4f9d05b3edf8b0bc082ee53f954d1b6897d334ca60ed59aac630a5277a176d9
|
||||
MISC ChangeLog 3338 RMD160 b9dabb97c72598f3f5a0d8728d309844ff04e069 SHA1 fca60748f1f8af995dbca8af7b766203831bbd14 SHA256 ec83bb2148871a9ee6206278dbfd2e5f21406752aa4fdd3b3feeffb516e86c5a
|
||||
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2
|
||||
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
NOVELL_BUILDID="n8PWgAEctzY~"
|
||||
NOVELL_FILE32="patchfiles/edir8854.tar.gz"
|
||||
NOVELL_FILE64="patchfiles/edir8854.tar.gz"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
inherit novell eutils rpm multilib versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 4 '-')
|
||||
|
||||
DESCRIPTION="Novell NDS Server and DS Utilities"
|
||||
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="linguas_fr linguas_ja"
|
||||
|
||||
DEPEND="!net-nds/novell-ndsserv:0
|
||||
!net-nds/novell-ndsserv:8.7"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
net-misc/novell-ncpenc:8.8
|
||||
net-nds/novell-ndsbase:8.8
|
||||
net-nds/novell-ndscommon:8.8
|
||||
net-nds/novell-ndsmasv:8.8
|
||||
net-nds/novell-nldapsdk:8.8
|
||||
app-crypt/novell-npkiapi:8.8
|
||||
app-crypt/novell-npkit:8.8
|
||||
sys-auth/novell-nmas: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/edir8854/${ndir}/novell-NDSserv.${narch}.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
into /opt/novell/eDirectory/
|
||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
|
||||
dosbin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/sbin/ndsd
|
||||
dosbin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/sbin/nldap
|
||||
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/*
|
||||
insinto /opt/novell/eDirectory/res
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/res/*
|
||||
|
||||
insinto /etc/opt/novell/eDirectory/conf
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/opt/novell/eDirectory/conf/*.*
|
||||
|
||||
keepdir /opt/novell/eDirectory/$(get_libdir)/nds-install
|
||||
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/nds-http/iconsole
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/nds-http/iconsole/*.css
|
||||
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/nds-http/iconsole/images
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/nds-http/iconsole/images/*.gif
|
||||
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
|
||||
|
||||
newconfd "${FILESDIR}"/ndsd88.confd ndsd
|
||||
newinitd "${FILESDIR}"/ndsd88.initd ndsd
|
||||
newinitd "${FILESDIR}"/nldap88.initd nldapd
|
||||
# add fake nldap bash script for compatibility
|
||||
newinitd "${FILESDIR}"/nldap.initd nldap
|
||||
}
|
||||
|
||||
#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"
|
||||
}
|
@ -1,112 +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 multilib versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="Novell NDS Server and DS Utilities"
|
||||
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="linguas_fr linguas_ja"
|
||||
|
||||
DEPEND="!net-nds/novell-ndsserv:0
|
||||
!net-nds/novell-ndsserv:8.7"
|
||||
|
||||
RDEPEND="virtual/libc
|
||||
net-misc/novell-ncpenc:8.8
|
||||
net-nds/novell-ndsbase:8.8
|
||||
net-nds/novell-ndscommon:8.8
|
||||
net-nds/novell-ndsmasv:8.8
|
||||
net-nds/novell-nldapsdk:8.8
|
||||
app-crypt/novell-npkiapi:8.8
|
||||
app-crypt/novell-npkit:8.8
|
||||
sys-auth/novell-nmas: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/edir8862/${ndir}/novell-NDSserv.${narch}.rpm
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
into /opt/novell/eDirectory/
|
||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/bin/*
|
||||
dosbin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/sbin/ndsd
|
||||
dosbin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/sbin/nldap
|
||||
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/*
|
||||
insinto /opt/novell/eDirectory/res
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/res/*
|
||||
|
||||
insinto /etc/opt/novell/eDirectory/conf
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/opt/novell/eDirectory/conf/*.*
|
||||
|
||||
keepdir /opt/novell/eDirectory/$(get_libdir)/nds-install
|
||||
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/nds-http/iconsole
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/nds-http/iconsole/*.css
|
||||
insinto /opt/novell/eDirectory/$(get_libdir)/nds-modules/nds-http/iconsole/images
|
||||
doins "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/eDirectory/${nlib}/nds-modules/nds-http/iconsole/images/*.gif
|
||||
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
|
||||
|
||||
newconfd "${FILESDIR}"/ndsd88.confd ndsd
|
||||
newinitd "${FILESDIR}"/ndsd88.initd ndsd
|
||||
newinitd "${FILESDIR}"/nldap88.initd nldapd
|
||||
# add fake nldap bash script for compatibility
|
||||
newinitd "${FILESDIR}"/nldap.initd nldap
|
||||
}
|
||||
|
||||
#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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user