From b9b4df18e3311fe2ac4a9eedfe092d5ba312cca6 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sun, 13 Dec 2009 08:55:45 +0000 Subject: [PATCH] net-misc/novell-ncpenc: first round of edir 8.8 ebuild mods --- .../net-misc/novell-ncpenc/ChangeLog | 4 + .../net-misc/novell-ncpenc/Manifest | 4 +- .../novell-ncpenc/novell-ncpenc-1.2.9.ebuild | 74 +++++++++++++++++++ 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 trunk/novell4gentoo/net-misc/novell-ncpenc/novell-ncpenc-1.2.9.ebuild diff --git a/trunk/novell4gentoo/net-misc/novell-ncpenc/ChangeLog b/trunk/novell4gentoo/net-misc/novell-ncpenc/ChangeLog index 49738efc..1aaed88e 100644 --- a/trunk/novell4gentoo/net-misc/novell-ncpenc/ChangeLog +++ b/trunk/novell4gentoo/net-misc/novell-ncpenc/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Dec 2009; Mario Fetka + +novell-ncpenc-1.2.9.ebuild: + first round of edir 8.8 ebuild mods + 13 Dec 2009; Mario Fetka -novell-ncp-1.0.1_p110.ebuild, -novell-ncp-1.0.1_p110-r1.ebuild, -novell-ncp-1.0.1_p118.ebuild, -novell-ncp-1.0.1_p118-r1.ebuild, diff --git a/trunk/novell4gentoo/net-misc/novell-ncpenc/Manifest b/trunk/novell4gentoo/net-misc/novell-ncpenc/Manifest index 965dd10d..97206ef0 100644 --- a/trunk/novell4gentoo/net-misc/novell-ncpenc/Manifest +++ b/trunk/novell4gentoo/net-misc/novell-ncpenc/Manifest @@ -1,4 +1,6 @@ DIST edir87310_ftf2.tar.gz 254893129 RMD160 5db2ec018ecf7de9f3eb1e5a8ba8022e99f8cce2 SHA1 9fabfdfd807428c760942fdf49fc35b55a4b4e9a SHA256 36c657623419edb2e43b14943785d24f3d1872b4ecf5d6fc97a35792a8db3ba7 +DIST edir885_Patch2.tar.gz 306609536 RMD160 4483666615f90ba16c6996e562c4dc182c3f6f6c SHA1 b9b8b9d3659b70738674f356f0691ab7545bc7c2 SHA256 12153f6a17d69bdf3fc968c067db9bcdd284b6910738ebbdde232f5e204c11bc EBUILD novell-ncpenc-1.0.1.132.ebuild 1830 RMD160 bddd9a4433855117364b2fd5e8f02dbbcf6871fb SHA1 ce36263165c00fc208844324829d18fc2c9efac9 SHA256 c13c852a2950937b9cc1b257f5c2ce4b27ad2179ab43cef4dc078ecf45fa92d7 -MISC ChangeLog 2079 RMD160 a27ff20c6159fa22e63103b3f4d0c7c5a67b8b2a SHA1 4ea646984a9a0901e3a4ca7c7a1b530658c1002d SHA256 0469509b4cc2c3822d5c13e09546d522cfb53387fa4e9d3904547aeff0f1e44e +EBUILD novell-ncpenc-1.2.9.ebuild 2371 RMD160 20ea55e98fe6262d4b27fc53867601e112d121ac SHA1 f969b0749f7448f7276dd1cdd5423e8d8d1c2758 SHA256 c65a9ddbd173aa83f71d9e8dc63d632638fe571bbf0ca5b08191266a3b4c2fde +MISC ChangeLog 2200 RMD160 b9365fd3ff2b5956bcac808c6b1bddb38a5f344e SHA1 7b27e967dcd43a167f8463d52b5b8664c597ac4a SHA256 880571ac28be044f4e2de037ad6006b03dfd0c4da5265a844800ef15ed8f97fd MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/trunk/novell4gentoo/net-misc/novell-ncpenc/novell-ncpenc-1.2.9.ebuild b/trunk/novell4gentoo/net-misc/novell-ncpenc/novell-ncpenc-1.2.9.ebuild new file mode 100644 index 00000000..a3c75650 --- /dev/null +++ b/trunk/novell4gentoo/net-misc/novell-ncpenc/novell-ncpenc-1.2.9.ebuild @@ -0,0 +1,74 @@ +# 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 2 '-') + +DESCRIPTION="Novell NCP Services for Linux" +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-87" +SLOT="8.8" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="!net-misc/novell-ncpenc:0 + !net-misc/novell-ncpenc:8.7" + +RDEPEND="virtual/libc + net-nds/novell-ndscommon:8.8 + sys-apps/coreutils" + +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-ncpenc.${narch}.rpm +} + +src_compile() { :; } + +src_install() { + 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) +} + +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" +} +