net-misc/novell-client-config: cleanup
This commit is contained in:
parent
d542c0abd9
commit
1b11378bba
@ -2,6 +2,12 @@
|
|||||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
|
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
|
-novell-client-config-2.0.0_p21.ebuild,
|
||||||
|
-novell-client-config-2.0.0_p22.ebuild,
|
||||||
|
-novell-client-config-2.0.1.0.8.ebuild:
|
||||||
|
cleanup
|
||||||
|
|
||||||
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
07 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
|
||||||
+novell-client-config-3.0.0.3.ebuild:
|
+novell-client-config-3.0.0.3.ebuild:
|
||||||
Bump
|
Bump
|
||||||
|
@ -3,20 +3,11 @@ AUX login.conf 157 RMD160 b64c994d432617fbbef5bf90fdf39d62d92c7f7b SHA1 2d92de93
|
|||||||
AUX map.conf 70 RMD160 7282038822ca43aa8a6dd7fc97011040cd974850 SHA1 a2b7a85777778ed5ee0fd63851b001594ec95b26 SHA256 fef50cace34626e96153c8ccaa171343d31594c0140201effe8429c495e175b1
|
AUX map.conf 70 RMD160 7282038822ca43aa8a6dd7fc97011040cd974850 SHA1 a2b7a85777778ed5ee0fd63851b001594ec95b26 SHA256 fef50cace34626e96153c8ccaa171343d31594c0140201effe8429c495e175b1
|
||||||
AUX protocol.conf 130 RMD160 1d8c50f5d51e1e4891165668861ce65b766e5877 SHA1 c63c8f936a48796eb6c00e142ae7e13ddab654a3 SHA256 50714fb34d9512effd7a58d31cfab5657809707fa666e1f272ae13f9a812782f
|
AUX protocol.conf 130 RMD160 1d8c50f5d51e1e4891165668861ce65b766e5877 SHA1 c63c8f936a48796eb6c00e142ae7e13ddab654a3 SHA256 50714fb34d9512effd7a58d31cfab5657809707fa666e1f272ae13f9a812782f
|
||||||
AUX tray_app.conf 402 RMD160 785eea3a5e234f6a45de7dbce22c9849f5332adb SHA1 52b7b667da4be0946b16f8c507647475d6664b73 SHA256 c1c338fef2dfabb62d0d7ac4bae3acd94c42ae339e1dbfecc3ea30bb0655f9d8
|
AUX tray_app.conf 402 RMD160 785eea3a5e234f6a45de7dbce22c9849f5332adb SHA1 52b7b667da4be0946b16f8c507647475d6664b73 SHA256 c1c338fef2dfabb62d0d7ac4bae3acd94c42ae339e1dbfecc3ea30bb0655f9d8
|
||||||
DIST Novell_Client_SLE11-i586-20081218-CD1.iso 8058880 RMD160 4a2a4146e82f0bb6f3f64e47f992fafcd20ce2e4 SHA1 e688c2571d90d5726928ff325e8da274f863d89f SHA256 7c3a6487879ae7846f3859e906e52811321b049667cbb04cb48fac079e6aee2e
|
|
||||||
DIST Novell_Client_SLE11-x86_64-20081218-CD1.iso 8388608 RMD160 749d45b32a1317a8e48f5c4346ea235078bab721 SHA1 7bb062942005e1316539e8b97e961c8cbb0a0c2e SHA256 cc0be51b5f3c61bd071751c26c65fd3fc0a5cea495622bbce2e811973fa70d59
|
|
||||||
DIST novell-client-2.0-sp2-patch2-sle11-i586.iso 7997440 RMD160 e65eb47b944800d92ca4e37f3397e325f97034ab SHA1 10388020720829678b39fa73ce113d1edb16fd5b SHA256 3df7fd33504543cbbd0cef9a1917c3b9979c70f0ad27643d80daba7e28523021
|
DIST novell-client-2.0-sp2-patch2-sle11-i586.iso 7997440 RMD160 e65eb47b944800d92ca4e37f3397e325f97034ab SHA1 10388020720829678b39fa73ce113d1edb16fd5b SHA256 3df7fd33504543cbbd0cef9a1917c3b9979c70f0ad27643d80daba7e28523021
|
||||||
DIST novell-client-2.0-sp2-patch2-sle11-x86_64.iso 7976960 RMD160 f81ab1c343291b428a05230e33e306679825a027 SHA1 9d13af47bf0dd34576ecaa8ff16f7e34bc5bf485 SHA256 7e985f980a3cc197fb9dc0017d4c72e4be61709b894080825315cf0c84b705be
|
DIST novell-client-2.0-sp2-patch2-sle11-x86_64.iso 7976960 RMD160 f81ab1c343291b428a05230e33e306679825a027 SHA1 9d13af47bf0dd34576ecaa8ff16f7e34bc5bf485 SHA256 7e985f980a3cc197fb9dc0017d4c72e4be61709b894080825315cf0c84b705be
|
||||||
DIST novell-client-2.0-sp2-sle11-i586.iso 8083456 RMD160 2cbd4ff77d1c4894621efed58a92c728ee9adfe1 SHA1 4e61f5421b369a44966c848671c6db20aa478d1d SHA256 9aa9f5cc4cd415476bcfaae278c38947c5809802c36ae40855252d9167189a1f
|
|
||||||
DIST novell-client-2.0-sp2-sle11-x86_64.iso 8400896 RMD160 92fe3ecfdb89e28cc3b417d1305e2ea8d79970f5 SHA1 b8241956f966ce55a24572aee25aa4747826f760 SHA256 cfb27415884042ecde16be9f671dc8910d578fb850b57aeb57bc96d26329dee9
|
|
||||||
DIST novell-client-2.0-sp3-sled10sp3-i386-CD1.iso 9959424 RMD160 48242b1ae27a15d3755c437d2a204dfef974e887 SHA1 94f49fe432aa136cb0dc30f7cd3970c11931c659 SHA256 7c2448eccbf057d820442b88861c81696fc1e3155cd799da29c8ac809e35eeca
|
|
||||||
DIST novell-client-2.0-sp3-sled10sp3-x86_64-CD1.iso 10782720 RMD160 f005eea112c4139256511713d3f9b3cbcb3c0caf SHA1 938f29ab820cd6aa79dd504bcc71164e3885f8ac SHA256 16da3ebf0e100825605b71515ac94daf5f382206e60c009f47a715da24094bb8
|
|
||||||
DIST novell-client-3.0-sled11-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed
|
DIST novell-client-3.0-sled11-i586-CD1.iso 7987200 RMD160 b98b4cb79ddfbd7fe6dc3442288ef71fac6baef3 SHA1 a15b18e570d32e3c0b3ae8f7cdb51c233214ee45 SHA256 59dba7ed244811c645b52c4b8476c725b771064e1ff43c33f37001f01c7584ed
|
||||||
DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae63b2ed108d097194741b5 SHA1 ef1987e0f71f4775d2e3b5d342fdeacd4f9ca3db SHA256 3223dc757e1788222d95c1b3353b9b156072d1b3a027b6fa4b71007b6aae4a05
|
DIST novell-client-3.0-sled11-x86_64-CD1.iso 7968768 RMD160 9262874512d6c2ac7ae63b2ed108d097194741b5 SHA1 ef1987e0f71f4775d2e3b5d342fdeacd4f9ca3db SHA256 3223dc757e1788222d95c1b3353b9b156072d1b3a027b6fa4b71007b6aae4a05
|
||||||
EBUILD novell-client-config-2.0.0_p21.ebuild 2589 RMD160 a96fa452208219374c6be82e24858ac5a3c73971 SHA1 e3c7989fb08faf24196e440e0e5ba7af2b5dbcc2 SHA256 372ccbd0b9f06c07e138d1a12d2659fc0f0f28cf31d5a30d05e86ba063039c9f
|
|
||||||
EBUILD novell-client-config-2.0.0_p22.ebuild 2579 RMD160 68f1de3f147373250ad8ca2ed1d3d0832820b04f SHA1 12016fcdae61f433c13da53b4b98c2826f0ab13a SHA256 9ee0f855ef44802736f41f2a8e2b3277a59d8fb94cf01330a8bbe134e2763551
|
|
||||||
EBUILD novell-client-config-2.0.1.0.8.ebuild 2629 RMD160 a1d134e426ceb06d196fa9c9f2d4af2ca518b0bb SHA1 ddfae8d08efbf687d9999583851154e5d9b7bd07 SHA256 1b1df574e5db11db5feada79b160fdbfdef31eb0c363f98832d500a83c2c482f
|
|
||||||
EBUILD novell-client-config-3.0.0.2.ebuild 2615 RMD160 c452f462be2dd1117b42f51402e4fd9ff167846e SHA1 773eaeb7b7c6b8108bac24bc983b74b87e0120c3 SHA256 9bef6d8464d7419e4138c497e85b83d3fa51766953df003b704aff91eaf83968
|
EBUILD novell-client-config-3.0.0.2.ebuild 2615 RMD160 c452f462be2dd1117b42f51402e4fd9ff167846e SHA1 773eaeb7b7c6b8108bac24bc983b74b87e0120c3 SHA256 9bef6d8464d7419e4138c497e85b83d3fa51766953df003b704aff91eaf83968
|
||||||
EBUILD novell-client-config-3.0.0.3.ebuild 2649 RMD160 cc2b5c1f5bfe144ab8d3609d7735f8336e8a0a35 SHA1 b95d5ad8760281fdfc462c9b9bbb2a61b22ebf08 SHA256 82cbeb035d27717e54eaa045c690c6547c91936929043cdcae13c4c885e0c274
|
EBUILD novell-client-config-3.0.0.3.ebuild 2649 RMD160 cc2b5c1f5bfe144ab8d3609d7735f8336e8a0a35 SHA1 b95d5ad8760281fdfc462c9b9bbb2a61b22ebf08 SHA256 82cbeb035d27717e54eaa045c690c6547c91936929043cdcae13c4c885e0c274
|
||||||
MISC ChangeLog 2160 RMD160 fceeffded516c952b62641a736266ba564cd279d SHA1 116863fd6147976fe84ec192f4696e14e8cbe408 SHA256 571431ededd9417486aa89bc694c4f22186f6c52ac17c9b31755ce5dd081f26f
|
MISC ChangeLog 2348 RMD160 24627355df942d1fd3ec5279797a61414e38525a SHA1 7c8cdd27dd9fc2a0d0e1575db21dc328e8cd0f5f SHA256 f6d5049c7e64687d52ba769056b27ca2c7d6e1b9d6dd3ab47f81c82482f5a87d
|
||||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||||
|
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
NOVELL_BUILDID="CuRXfXSzq7M~"
|
|
||||||
NOVELL_FILE32="Novell_Client_SLE11-i586-20081218-CD1.iso"
|
|
||||||
NOVELL_FILE64="Novell_Client_SLE11-x86_64-20081218-CD1.iso"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell eutils rpm5
|
|
||||||
|
|
||||||
MY_PV="${PV/_p/-}"
|
|
||||||
|
|
||||||
DESCRIPTION="Novell Client for Linux Configuration"
|
|
||||||
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-NCL"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=">=app-arch/p7zip-4.15"
|
|
||||||
|
|
||||||
RDEPEND="virtual/libc
|
|
||||||
net-misc/novell-client-env
|
|
||||||
>=app-crypt/novell-nici-2.7.3_p12
|
|
||||||
>=net-misc/novell-client-script-2.0.0_p24
|
|
||||||
>=net-nds/novell-xtier-base-3.1.5_p46"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cd "${WORKDIR}"
|
|
||||||
if use x86
|
|
||||||
then
|
|
||||||
narch=i586
|
|
||||||
nlib=lib
|
|
||||||
7z x "${DISTDIR}"/${NOVELL_FILE32}
|
|
||||||
elif use amd64
|
|
||||||
then
|
|
||||||
narch=x86_64
|
|
||||||
nlib=lib64
|
|
||||||
7z x "${DISTDIR}"/${NOVELL_FILE64}
|
|
||||||
fi
|
|
||||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
|
||||||
cd ${PN}-${MY_PV}
|
|
||||||
rpm5_unpack "${WORKDIR}"/suse/${narch}/yast2-novell-client-${MY_PV}.${narch}.rpm
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /etc/opt/novell/ncl
|
|
||||||
doins "${FILESDIR}"/*.conf
|
|
||||||
into /opt/novell/ncl
|
|
||||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/ncl_conf_xtier
|
|
||||||
insinto /usr/share
|
|
||||||
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/share/*
|
|
||||||
dodir /var/opt/novell/log/ncl
|
|
||||||
keepdir /var/opt/novell/log/ncl
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst(){
|
|
||||||
/opt/novell/ncl/bin/ncl_conf_xtier rpm
|
|
||||||
einfo "Please run /opt/novell/ncl/bin/ncl_conf_xtier to import the config defaults"
|
|
||||||
einfo " from /etc/opt/novell/ncl/*.conf into the xtier registry Server"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
if use x86
|
|
||||||
then
|
|
||||||
einfo " - ${NOVELL_FILE32}"
|
|
||||||
elif use amd64
|
|
||||||
then
|
|
||||||
einfo " - ${NOVELL_FILE64}"
|
|
||||||
fi
|
|
||||||
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,87 +0,0 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
NOVELL_BUILDID="_xf1ppPR2xA~"
|
|
||||||
NOVELL_FILE32="novell-client-2.0-sp2-sle11-i586.iso"
|
|
||||||
NOVELL_FILE64="novell-client-2.0-sp2-sle11-x86_64.iso"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell eutils rpm5
|
|
||||||
|
|
||||||
MY_PV="${PV/_p/-}"
|
|
||||||
|
|
||||||
DESCRIPTION="Novell Client for Linux Configuration"
|
|
||||||
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-NCL"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=">=app-arch/p7zip-4.15"
|
|
||||||
|
|
||||||
RDEPEND="virtual/libc
|
|
||||||
net-misc/novell-client-env
|
|
||||||
>=app-crypt/novell-nici-2.7.3_p12
|
|
||||||
>=net-misc/novell-client-script-2.0.0_p24
|
|
||||||
>=net-nds/novell-xtier-base-3.1.5_p46"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cd "${WORKDIR}"
|
|
||||||
if use x86
|
|
||||||
then
|
|
||||||
narch=i586
|
|
||||||
nlib=lib
|
|
||||||
7z x "${DISTDIR}"/${NOVELL_FILE32}
|
|
||||||
elif use amd64
|
|
||||||
then
|
|
||||||
narch=x86_64
|
|
||||||
nlib=lib64
|
|
||||||
7z x "${DISTDIR}"/${NOVELL_FILE64}
|
|
||||||
fi
|
|
||||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
|
||||||
cd ${PN}-${MY_PV}
|
|
||||||
rpm5_unpack "${WORKDIR}"/suse/${narch}/yast2-novell-client-${MY_PV}.${narch}.rpm
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /etc/opt/novell/ncl
|
|
||||||
doins "${FILESDIR}"/*.conf
|
|
||||||
into /opt/novell/ncl
|
|
||||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/ncl_conf_xtier
|
|
||||||
insinto /usr/share
|
|
||||||
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/share/*
|
|
||||||
dodir /var/opt/novell/log/ncl
|
|
||||||
keepdir /var/opt/novell/log/ncl
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst(){
|
|
||||||
/opt/novell/ncl/bin/ncl_conf_xtier rpm
|
|
||||||
einfo "Please run /opt/novell/ncl/bin/ncl_conf_xtier to import the config defaults"
|
|
||||||
einfo " from /etc/opt/novell/ncl/*.conf into the xtier registry Server"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
if use x86
|
|
||||||
then
|
|
||||||
einfo " - ${NOVELL_FILE32}"
|
|
||||||
elif use amd64
|
|
||||||
then
|
|
||||||
einfo " - ${NOVELL_FILE64}"
|
|
||||||
fi
|
|
||||||
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,87 +0,0 @@
|
|||||||
# Copyright 1999-2009 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
NOVELL_BUILDID="I0HifNSKi_0~"
|
|
||||||
NOVELL_FILE32="novell-client-2.0-sp3-sled10sp3-i386-CD1.iso"
|
|
||||||
NOVELL_FILE64="novell-client-2.0-sp3-sled10sp3-x86_64-CD1.iso"
|
|
||||||
RESTRICT="mirror strip"
|
|
||||||
|
|
||||||
inherit novell eutils rpm5 versionator
|
|
||||||
|
|
||||||
MY_PV=$(replace_version_separator 3 '-')
|
|
||||||
|
|
||||||
DESCRIPTION="Novell Client for Linux Configuration"
|
|
||||||
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-NCL"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~x86 ~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND=">=app-arch/p7zip-4.15"
|
|
||||||
|
|
||||||
RDEPEND="virtual/libc
|
|
||||||
net-misc/novell-client-env
|
|
||||||
>=app-crypt/novell-nici-2.7.3_p12
|
|
||||||
>=net-misc/novell-client-script-2.0.0_p24
|
|
||||||
>=net-nds/novell-xtier-base-3.1.5_p46"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
cd "${WORKDIR}"
|
|
||||||
if use x86
|
|
||||||
then
|
|
||||||
narch=i586
|
|
||||||
nlib=lib
|
|
||||||
7z x "${DISTDIR}"/${NOVELL_FILE32}
|
|
||||||
elif use amd64
|
|
||||||
then
|
|
||||||
narch=x86_64
|
|
||||||
nlib=lib64
|
|
||||||
7z x "${DISTDIR}"/${NOVELL_FILE64}
|
|
||||||
fi
|
|
||||||
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
|
|
||||||
cd ${PN}-${MY_PV}
|
|
||||||
rpm5_unpack "${WORKDIR}"/suse/${narch}/yast2-novell-client-${MY_PV}.${narch}.rpm
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() { :; }
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /etc/opt/novell/ncl
|
|
||||||
doins "${FILESDIR}"/*.conf
|
|
||||||
into /opt/novell/ncl
|
|
||||||
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/bin/ncl_conf_xtier
|
|
||||||
insinto /usr/share
|
|
||||||
doins -r "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/ncl/share/*
|
|
||||||
dodir /var/opt/novell/log/ncl
|
|
||||||
keepdir /var/opt/novell/log/ncl
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst(){
|
|
||||||
/opt/novell/ncl/bin/ncl_conf_xtier rpm
|
|
||||||
einfo "Please run /opt/novell/ncl/bin/ncl_conf_xtier to import the config defaults"
|
|
||||||
einfo " from /etc/opt/novell/ncl/*.conf into the xtier registry Server"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
einfo "This files require you to register at ${HOMEPAGE} (free account)"
|
|
||||||
einfo "Please download following file:"
|
|
||||||
if use x86
|
|
||||||
then
|
|
||||||
einfo " - ${NOVELL_FILE32}"
|
|
||||||
elif use amd64
|
|
||||||
then
|
|
||||||
einfo " - ${NOVELL_FILE64}"
|
|
||||||
fi
|
|
||||||
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