net-nds/novell-ndsserv: cleanup

This commit is contained in:
geos_one 2010-07-09 07:13:58 +00:00
parent c10847a337
commit fa3a9f9347
4 changed files with 5 additions and 227 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-ndsserv-8.8.5.2.12.ebuild, -novell-ndsserv-8.8.5.3.16.ebuild:
cleanup
06 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
+novell-ndsserv-8.8.5.4.12.ebuild:
Bump

View File

@ -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 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-ndsserv-8.7.3.10.114.ebuild 3210 RMD160 0604625d281bb5c19337f759ea233709a8335107 SHA1 fb21720db34fbe6034a7479bbbf616bc1e7f8cdf SHA256 913d3bb7ddb7569f2f817b389e354757bb87a0b5a67074808be003a239fe1d30
EBUILD novell-ndsserv-8.8.5.2.12.ebuild 4285 RMD160 607e111e4e4b9a9da0cbe6d56f89c104f3c7fac6 SHA1 d802e0ae3fe6ec4317339f562785fe8cef7d37f9 SHA256 3e750bcb28cdc4ace53452ca71f5b93a6b60d921d1d6a72d9f29e6e7def503bd
EBUILD novell-ndsserv-8.8.5.3.16.ebuild 4273 RMD160 1763ac9df5457360e68e7b396ad6520c310a416e SHA1 da4ed5df91442df16149c295e8837abfd20a60ab SHA256 b037f28a918ac73a2e423a5ca113d76bb5bfc3307070e5cd3eb0a281dbaf6b9f
EBUILD novell-ndsserv-8.8.5.4.12.ebuild 4273 RMD160 712e8d2b2d1d5bebb0763eed6a06001f48f56bc1 SHA1 195fc1bb73484c8f96dff93ae6f569aa4c35fa47 SHA256 b00c9f88eecdc74ef35b8da9dc384cc120fc6aaee33801e6a172dd0fc1e20eec
MISC ChangeLog 2786 RMD160 3e09d6302080fa0cb166787772a9024395c90b11 SHA1 0f5c28476abfe9489ab134128e5594aee6cf4932 SHA256 021c866e2809f93cefd8290965170c796a212dac5ba30bccb95228e72765cf61
MISC ChangeLog 2920 RMD160 ea75ed13fad56fc4f6724e84b57088fe254f5504 SHA1 fa282901e818f3051554073b7733a732cb75d69f SHA256 5120dec83c13176e8c33eaf7755bb3d735df4e3784c67132ba86d7c7cd234855
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -1,111 +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 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/edir8852/${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"
}

View File

@ -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="SGLpwvlw9ig~"
NOVELL_FILE32="patchfiles/edir8853.tar.gz"
NOVELL_FILE64="patchfiles/edir8853.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/edir8853/${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"
}