From 077b757f68e7b5a0e6dc604acb96252a1fdd0400 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 3 Nov 2007 14:20:12 +0000 Subject: [PATCH] net-nds/novell-ndsserv: initial import edir8739ftf3 --- .../net-nds/novell-ndsserv/ChangeLog | 4 + .../net-nds/novell-ndsserv/Manifest | 20 ++++- .../files/digest-novell-ndsserv-8.7.3.9_p51 | 3 + .../net-nds/novell-ndsserv/files/nldap.initd | 13 +++ .../novell-ndsserv-8.7.3.9_p51.ebuild | 87 +++++++++++++++++++ 5 files changed, 123 insertions(+), 4 deletions(-) create mode 100644 trunk/novell4gentoo/net-nds/novell-ndsserv/files/digest-novell-ndsserv-8.7.3.9_p51 create mode 100644 trunk/novell4gentoo/net-nds/novell-ndsserv/files/nldap.initd create mode 100644 trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.9_p51.ebuild diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog b/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog index 72e50c9..da5b0f7 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Nov 2007; Mario Fetka +files/nldap.initd, + +novell-ndsserv-8.7.3.9_p51.ebuild: + initial import edir8739ftf3 + 04 Apr 2007; Mario Fetka -novell-ndsserv-8.7.3_p37.ebuild, -novell-ndsserv-8.7.3.8_p47.ebuild, -novell-ndsserv-8.7.3.8_p54-r1.ebuild, -novell-ndsserv-8.7.3.9_p22.ebuild, diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest b/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest index 8eb5a6a..231b6f8 100644 --- a/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/Manifest @@ -18,6 +18,10 @@ AUX ndsd88.initd 985 RMD160 146fc74cdfde9c8fb34b92cbe598480a50a6a7e6 SHA1 c2f152 MD5 6f7934c5a427164e0f49cd9b47a9199f files/ndsd88.initd 985 RMD160 146fc74cdfde9c8fb34b92cbe598480a50a6a7e6 files/ndsd88.initd 985 SHA256 63305fd9d81baa2f0c921e9d6d54e835434bda13bb827b9a4e2c693034d072b0 files/ndsd88.initd 985 +AUX nldap.initd 321 RMD160 404e9e69ab9224841d675caecec02ed94d2d19c0 SHA1 34904845db96a6914242866f6868b7d186d890d0 SHA256 9f090443493452eae3880158b26e30124c73ac3bc58b8fe760c18f2ad82a73b3 +MD5 a32aa9985902d82515b02e2e142281ba files/nldap.initd 321 +RMD160 404e9e69ab9224841d675caecec02ed94d2d19c0 files/nldap.initd 321 +SHA256 9f090443493452eae3880158b26e30124c73ac3bc58b8fe760c18f2ad82a73b3 files/nldap.initd 321 AUX nldap87.initd 3137 RMD160 2e8532d8ea4889e99114236555aa82ba295c3b4e SHA1 51baa74d3ccb5598ac0e0bc6b669e07b08816505 SHA256 ae740abc714063b8870bc09aa6998bc4135e8aec1893bb377886c4ceaa8b32a2 MD5 643619618a61c77a84a7bcef970f76b3 files/nldap87.initd 3137 RMD160 2e8532d8ea4889e99114236555aa82ba295c3b4e files/nldap87.initd 3137 @@ -27,14 +31,19 @@ MD5 2df6b952c5621f315c712b36b401e4dd files/nldap88.initd 3263 RMD160 9d8fe9efb8d6b637a0392b586314c4df82df521e files/nldap88.initd 3263 SHA256 76854724718301f3fbe0f5f0cbcc2c0c69467d0d1a8f3f703f1dccd7dbec2156 files/nldap88.initd 3263 DIST edir8739ftf_1.tgz 217355205 RMD160 bb8fa794a7b34bcf0bc05efbe46573bc8f8bafbe SHA1 8d9151d8de8f319bcdf29f3c6e99d697f18452db SHA256 e1e81a1fbf7065e36d79dd96918215d3313c595565196d5f2ae57a49585d47b4 +DIST edir8739ftf_3.tgz 79061689 RMD160 1dde6b1f9c7b40c6bafd84e6a5826cf8208dc7f6 SHA1 6d24e2b544deab21d395688d20e830f1267047fb SHA256 326db9be78199ca9dc9110dc5d62f8c37e94269533eed0fbc33cc0ef29b98601 EBUILD novell-ndsserv-8.7.3.9_p26.ebuild 2182 RMD160 faed102cae0924373a85677d34aedf1412733636 SHA1 e0835cfe66341b4b659fd97ec7741b9cd712dfff SHA256 a67444898a2888512eccc7a9fc8b3a3a29f2788fe65281a762b13ec885a4bdf0 MD5 78556e5282efc4583e6e3770f585598a novell-ndsserv-8.7.3.9_p26.ebuild 2182 RMD160 faed102cae0924373a85677d34aedf1412733636 novell-ndsserv-8.7.3.9_p26.ebuild 2182 SHA256 a67444898a2888512eccc7a9fc8b3a3a29f2788fe65281a762b13ec885a4bdf0 novell-ndsserv-8.7.3.9_p26.ebuild 2182 -MISC ChangeLog 1263 RMD160 c49a0ee395b15a3514bff1c0d06876873447d2c3 SHA1 428a36a57b1422208dff438e60de49516f7d2651 SHA256 8baad8c42163a547557ba6cc9d276c2c9de379c5b5489e229b046fac724ba804 -MD5 46ffff3555bf571509200d5fb9cd3487 ChangeLog 1263 -RMD160 c49a0ee395b15a3514bff1c0d06876873447d2c3 ChangeLog 1263 -SHA256 8baad8c42163a547557ba6cc9d276c2c9de379c5b5489e229b046fac724ba804 ChangeLog 1263 +EBUILD novell-ndsserv-8.7.3.9_p51.ebuild 2994 RMD160 e49aa0690935947ba2a95c3c736c0557f484c954 SHA1 ef29ffc17cdbf3179dfbb04fcceb033051345f33 SHA256 a76eb3f9d697ceac43d2c9f7d637b6454c646cede2831abcc5a4063f12bfce9d +MD5 4516bd90c434da241387ac1782308017 novell-ndsserv-8.7.3.9_p51.ebuild 2994 +RMD160 e49aa0690935947ba2a95c3c736c0557f484c954 novell-ndsserv-8.7.3.9_p51.ebuild 2994 +SHA256 a76eb3f9d697ceac43d2c9f7d637b6454c646cede2831abcc5a4063f12bfce9d novell-ndsserv-8.7.3.9_p51.ebuild 2994 +MISC ChangeLog 1400 RMD160 56da7a9611b86a56ba34e1ad893a1943196c4544 SHA1 7ba4c65d56907986459fb0ecc6d091d1257c2980 SHA256 e120c076cfed3ebd3a86dd2867b17941506c482e2f7156bfd4b6309c5e0ccdce +MD5 f2ee4b516e6d83fd24ffa7031ed8ad5e ChangeLog 1400 +RMD160 56da7a9611b86a56ba34e1ad893a1943196c4544 ChangeLog 1400 +SHA256 e120c076cfed3ebd3a86dd2867b17941506c482e2f7156bfd4b6309c5e0ccdce ChangeLog 1400 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 @@ -42,3 +51,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata MD5 714d72a973c0c10c64dc4a8aa16355f9 files/digest-novell-ndsserv-8.7.3.9_p26 241 RMD160 945fe304a2be5210187df21ab4e6961843301452 files/digest-novell-ndsserv-8.7.3.9_p26 241 SHA256 18e8670fb1d4d8c8dcd0c59cc298e2d83ce985c4fe8b2809090bfbc37473dc87 files/digest-novell-ndsserv-8.7.3.9_p26 241 +MD5 3110352b8855035bf44298f41eccb474 files/digest-novell-ndsserv-8.7.3.9_p51 238 +RMD160 be54e5b96f06752c388fe16d394aa2c29917ab5c files/digest-novell-ndsserv-8.7.3.9_p51 238 +SHA256 3456330a2fd8ff1cfdd314f1a5c757455f5a879b76250cf698c7221149ed0694 files/digest-novell-ndsserv-8.7.3.9_p51 238 diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/files/digest-novell-ndsserv-8.7.3.9_p51 b/trunk/novell4gentoo/net-nds/novell-ndsserv/files/digest-novell-ndsserv-8.7.3.9_p51 new file mode 100644 index 0000000..05f8065 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/files/digest-novell-ndsserv-8.7.3.9_p51 @@ -0,0 +1,3 @@ +MD5 4dad9ccc5c4e3e6b7b29d959065afb07 edir8739ftf_3.tgz 79061689 +RMD160 1dde6b1f9c7b40c6bafd84e6a5826cf8208dc7f6 edir8739ftf_3.tgz 79061689 +SHA256 326db9be78199ca9dc9110dc5d62f8c37e94269533eed0fbc33cc0ef29b98601 edir8739ftf_3.tgz 79061689 diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/files/nldap.initd b/trunk/novell4gentoo/net-nds/novell-ndsserv/files/nldap.initd new file mode 100644 index 0000000..258df65 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/files/nldap.initd @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Copyright (c) 2007, Mario Fetka +# +# Licensed under the GNU General Public License, v2 + +# fake initd for stupid /usr/sbib/ndsconfig +# and the real nldap start script is named nldapd + +echo "!!!! fake init.d script !!!!" +echo " use the nldapd init script" + +eval exec rc-config start nldapd \ No newline at end of file diff --git a/trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.9_p51.ebuild b/trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.9_p51.ebuild new file mode 100644 index 0000000..89ba545 --- /dev/null +++ b/trunk/novell4gentoo/net-nds/novell-ndsserv/novell-ndsserv-8.7.3.9_p51.ebuild @@ -0,0 +1,87 @@ +# Copyrig4#ht 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="oR3nIJefhkI~" +NOVELL_FILE32="patchfiles/edir8739ftf_3.tgz" +RESTRICT="mirror strip" + +inherit novell eutils rpm + +MY_PV="${PV/_p/-}" + +DESCRIPTION="Novell NDS Server and DS Utilities" +HOMEPAGE="http://www.novell.com" +SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/${NOVELL_FILE32}" + +LICENSE="Novell-eDir-87" +SLOT="0" +KEYWORDS="~x86" +IUSE="linguas_fr linguas_ja" + +DEPEND="" + +RDEPEND="virtual/libc + >=net-misc/novell-ncp-1.0.1_p92 + >=net-nds/novell-ndsbase-8.7.3.9_p44 + >=net-nds/novell-ndscommon-8.7.3_p37 + >=net-nds/novell-ndsmasv-8.7.3.9_p1 + >=net-nds/novell-nldapsdk-8.7.3.9_p51 + >=app-crypt/novell-npkiapi-2.7.7_p2 + >=app-crypt/novell-npkit-2.7.7_p2 + >=sys-auth/novell-nmas-2.3.0_p20031205" + +src_unpack() { + unpack ${A} + mkdir -p ${WORKDIR}/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ${WORKDIR}/edir8739ftf3/Linux/NDSserv.i386.rpm +} + +src_compile() { :; } + +src_install() { + into /usr + dobin ${WORKDIR}/${PN}-${MY_PV}/usr/bin/* + dosbin ${WORKDIR}/${PN}-${MY_PV}/usr/sbin/ndsd + dosbin ${WORKDIR}/${PN}-${MY_PV}/usr/sbin/nldap + dolib.so ${WORKDIR}/${PN}-${MY_PV}/usr/lib/* + dosym . /usr/lib/nds-modules/lib + into /usr/lib/nds-modules + dolib.so ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds-modules/* + rm ${D}/usr/lib/nds-modules/lib + insinto /usr/lib/nds-schema + doins ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds-schema/* + keepdir /usr/lib/nds-install + insinto /usr/lib/nds/nds-http/iconsole + doins ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds/nds-http/iconsole/*.css + insinto /usr/lib/nds/nds-http/iconsole/images + doins ${WORKDIR}/${PN}-${MY_PV}/usr/lib/nds/nds-http/iconsole/images/*.gif + doman ${WORKDIR}/${PN}-${MY_PV}/usr/man/*/*.gz + use linguas_fr && doman -i18n=fr ${WORKDIR}/${PN}-${MY_PV}/usr/man/fr/*/*.gz + use linguas_ja && doman -i18n=ja ${WORKDIR}/${PN}-${MY_PV}/usr/man/ja/*/*.gz + + newconfd ${FILESDIR}/ndsd87.confd ndsd + newinitd ${FILESDIR}/ndsd87.initd ndsd + newinitd ${FILESDIR}/nldap87.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" +}