From 9f852e6997020ff3dbee7c321a24d408b69df717 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 12 Dec 2009 13:31:59 +0000 Subject: [PATCH] net-libs/novell-ndsslp: make consistent naming and add amd64 support --- .../net-libs/novell-ndsslp/ChangeLog | 6 +- .../net-libs/novell-ndsslp/Manifest | 3 +- .../novell-ndsslp-8.7.3.13.ebuild | 63 +++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 trunk/novell4gentoo/net-libs/novell-ndsslp/novell-ndsslp-8.7.3.13.ebuild diff --git a/trunk/novell4gentoo/net-libs/novell-ndsslp/ChangeLog b/trunk/novell4gentoo/net-libs/novell-ndsslp/ChangeLog index 14875b4..7185923 100644 --- a/trunk/novell4gentoo/net-libs/novell-ndsslp/ChangeLog +++ b/trunk/novell4gentoo/net-libs/novell-ndsslp/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for net-libs/novell-ndsslp -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 12 Dec 2009; Mario Fetka + +novell-ndsslp-8.7.3.13.ebuild: + make consistent naming and add amd64 support + 03 Nov 2008; Mario Fetka novell-ndsslp-8.7.3_p13-r5.ebuild: correct blocking slot's diff --git a/trunk/novell4gentoo/net-libs/novell-ndsslp/Manifest b/trunk/novell4gentoo/net-libs/novell-ndsslp/Manifest index 4427d8a..dc0fb20 100644 --- a/trunk/novell4gentoo/net-libs/novell-ndsslp/Manifest +++ b/trunk/novell4gentoo/net-libs/novell-ndsslp/Manifest @@ -1,6 +1,7 @@ AUX slpuasa87.initd 2348 RMD160 115e108e8765ef6f3397b9c1642043f9fb6b8993 SHA1 6ff0e1e7b70bf70fe1e017dcfc3d65c763bb2707 SHA256 184719510ba3fc826e8f1e3ece52e3ad1119d62aab02ccb03b1f65e6f15fbfa5 DIST c1_136h-linux.tar.gz 41771356 RMD160 0c2b8ac9309962492936a5c988ec519103bad0f2 SHA1 de6525532a5b89b0872c129a54bb82e8f2e08aec SHA256 481c20119c0d84659a25a5f79e32740b27c7ffa69d4ac1ce810aeebbae211a2b +EBUILD novell-ndsslp-8.7.3.13.ebuild 1949 RMD160 22382aac405796f517429c838f4749ce984c91c4 SHA1 f2787314df5cd380299f2cac1738d868e548eb30 SHA256 701a896b23fbbe3cea14e45cbd8f1d4c4d427868344e52ba5289c5092562d3e6 EBUILD novell-ndsslp-8.7.3_p13-r4.ebuild 1818 RMD160 111d8144a798c7f0047d72d6b032ca32fff96faf SHA1 debc93a549d8b8b4d18e3a9d65fec5ea3ddfb901 SHA256 c8f7bb07cd0a790232b8ab667a4ac6b60436c66ae5d5ec7e568cfc2adc4bf577 EBUILD novell-ndsslp-8.7.3_p13-r5.ebuild 1876 RMD160 85573cff67f48197435ea1c4c7d4d25fd47f5637 SHA1 19b559daccc755a2f8ce616396849ad182d51f79 SHA256 18e7a32d2a40f7df78c83c073b2df06a6894ce4be88081b66c0f3690886c6eb1 -MISC ChangeLog 1480 RMD160 a2cfb67841b9347a41db6ab8f59ff91a9c74d085 SHA1 8044605d142f30d499b7da8188fb9c6b229c8a52 SHA256 5578f00b28eb10059d0272bbc78631e719f415bd15094f93b4ea20eb73c8dcdf +MISC ChangeLog 1613 RMD160 988305baef9f2aa2ecbf71089442a424e5c27cfe SHA1 2710f1e75485b7a8c2925bb6122cb5ca477be023 SHA256 142a813e852ea27c58eb6f63dbe919785a10c661d060f0b086d6040fa0534830 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-libs/novell-ndsslp/novell-ndsslp-8.7.3.13.ebuild b/trunk/novell4gentoo/net-libs/novell-ndsslp/novell-ndsslp-8.7.3.13.ebuild new file mode 100644 index 0000000..d86cac6 --- /dev/null +++ b/trunk/novell4gentoo/net-libs/novell-ndsslp/novell-ndsslp-8.7.3.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NOVELL_BUILDID="-a_gSRIUOK0~" +NOVELL_FILE32="c1_136h-linux.tar.gz" +RESTRICT="mirror strip" + +inherit novell eutils rpm versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="Novell Service Location Protokol" +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="8.7" +KEYWORDS="~x86 ~amd64" +IUSE="linguas_fr" + +DEPEND="!net-libs/novell-ndsslp:0 + !net-libs/novell-ndsslp:8.8" + +RDEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + mkdir -p "${WORKDIR}"/${PN}-${MY_PV} + cd ${PN}-${MY_PV} + rpm_unpack ../work/Linux/NDSslp-${MY_PV}.i386.rpm +} + +src_compile() { :; } + +src_install() { + has_multilib_profile && ABI="x86" + + insinto /etc + doins "${WORKDIR}"/${PN}-${MY_PV}/etc/*.conf + into /usr + dobin "${WORKDIR}"/${PN}-${MY_PV}/usr/bin/* + dolib "${WORKDIR}"/${PN}-${MY_PV}/usr/lib/* + doman "${WORKDIR}"/${PN}-${MY_PV}/usr/man/*/*.gz + use linguas_fr && doman -i18n=fr "${WORKDIR}"/${PN}-${MY_PV}/usr/man/fr/*/*.gz + insinto /usr/share/nwlocale + doins "${WORKDIR}"/${PN}-${MY_PV}/usr/share/nwlocale/* + + newinitd "${FILESDIR}"/slpuasa87.initd slpuasa +} + +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" +}