Move to root

This commit is contained in:
Mario Fetka
2012-01-14 09:45:05 +01:00
parent d884fb4a6d
commit 5253d3ea35
482 changed files with 0 additions and 578 deletions

View File

@@ -0,0 +1,131 @@
# ChangeLog for net-nds/novell-xtier-base
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
09 Jul 2010; Mario Fetka <mario.fetka@gmail.com>
-novell-xtier-base-3.1.6.10-r1.ebuild, -novell-xtier-base-3.1.6.12.ebuild,
-novell-xtier-base-3.1.6.12-r1.ebuild,
-novell-xtier-base-3.1.6.12-r2.ebuild:
cleanup
09 Jul 2010; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
Bump
16 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.7.0.7.ebuild:
Bump
09 Dec 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.6.12-r2.ebuild:
Bump
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.12-r1.ebuild:
correct typo of binutils
*novell-xtier-base-3.1.6.12-r1 (03 Sep 2009)
03 Sep 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.6.12-r1.ebuild:
correct location of binutils
10 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.10-r1.ebuild, novell-xtier-base-3.1.6.12.ebuild:
repoman cleanup
10 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
-novell-xtier-base-3.1.5_p46.ebuild, -novell-xtier-base-3.1.6.0.8.ebuild,
-novell-xtier-base-3.1.6.8.ebuild, -novell-xtier-base-3.1.6.8-r1.ebuild,
-novell-xtier-base-3.1.6.8-r2.ebuild, -novell-xtier-base-3.1.6.10.ebuild,
+novell-xtier-base-3.1.6.12.ebuild:
Updated to new release drop old
09 Apr 2009; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8-r2.ebuild, novell-xtier-base-3.1.6.10-r1.ebuild:
correct rpm_unpack
20 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.6.10-r1.ebuild:
new config system
20 Jan 2009; Mario Fetka <mario.fetka@gmail.com> +files/10_base.sh,
files/novell-xregd20.initd, novell-xtier-base-3.1.6.10.ebuild:
new config system
16 Jan 2009; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.6.10.ebuild:
Bump and use my rpm5 eclass
10 Dec 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8-r2.ebuild:
correct typo
05 Dec 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8-r2.ebuild:
add qute to variables
05 Dec 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8-r2.ebuild:
correct download link for binutils
11 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.6.8-r2.ebuild:
correct wrong dependency
08 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8-r1.ebuild:
correct depend
08 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
files/novell-xregd20.initd, +novell-xtier-base-3.1.6.8-r1.ebuild:
correct xtier ebuild and init script
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8.ebuild:
lzma rpms not supported at the moment in portage
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
novell-xtier-base-3.1.6.8.ebuild:
correct typo
03 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
+novell-xtier-base-3.1.6.0.8.ebuild, +novell-xtier-base-3.1.6.8.ebuild:
Bump
28 Aug 2008; Mario Fetka <mario.fetka@gmail.com> -files/80novell-xtier,
-files/80novell-xtier64, novell-xtier-base-3.1.5_p46.ebuild:
depend on env package
26 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
-files/3.1.4_p4/novell-xregd, -files/novell-xregd12.initd,
-novell-xtier-base-3.1.4_p4-r4.ebuild, novell-xtier-base-3.1.5_p46.ebuild:
Repoman cleanup
01 Nov 2007; Mario Fetka <mario-fetka@gmx.at> +files/80novell-xtier64,
+files/novell-xregd20.initd, +novell-xtier-base-3.1.5_p46.ebuild:
initial import novell client 2.0
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-xtier-base-3.1.4_p4-r2.ebuild,
-novell-xtier-base-3.1.4_p4-r3.ebuild:
Drop old buggy Ebuild
18 Feb 2007; Mario Fetka <mario-fetka@gmx.at> +files/3.1.4_p4,
+novell-xtier-base-3.1.4_p4-r4.ebuild, +files/3.1.4_p4/novell-xregd:
Gentooize ebuild
18 Oct 2006; Mario Fetka <mario-fetka@gmx.at> files/80novell-xtier,
+novell-xtier-base-3.1.4_p4-r3.ebuild:
Add Novell Packages to PRELINK_MASK_PATH.
05 Oct 2006; Mario Fetka <mario-fetka@gmx.at>
+novell-xtier-base-3.1.4_p4-r2.ebuild:
Correct permissions for non root use
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-xtier-base-3.1.4_p4-r1.ebuild, +metadata.xml:
Correct Typo
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial xtier-base ChangeLog

View File

@@ -0,0 +1,9 @@
AUX 10_base.sh 131 RMD160 26f3bd184d6db31542b96622cdf6712d9b3be782 SHA1 998371426235583474cc6dcdbf288b60af5f5e25 SHA256 8b2bd1f78c1d51ab5ecefcda7e598d333d93a727e752dbb0196cefc1cfe02cf4
AUX novell-xregd20.initd 1141 RMD160 b190671d5c8961c1d6528de852feb25b55e9e47c SHA1 0cee72fc211fc25c86899400fc6b5c76251980b1 SHA256 a1a52c3002e734ea1da4eaa9d981884797547c4dc753f8289110aab19a699698
DIST binutils-2.19-9.3.i586.rpm 3047972 RMD160 a5ecc5f65b58dde11ae551a01a04e18692c61f70 SHA1 18148549e83756e02e8e8179eb56643cbc711a8f SHA256 7c6a9d1a3ff5f392348262189fb9c7ab830b2ab679081df5a23e0e92409e4137
DIST binutils-2.19-9.3.x86_64.rpm 3026372 RMD160 d86aa8decc0b60a7e5ecbc44484421559e795d91 SHA1 6c756b54648e58a6426f18464825d5ba9d3e409a SHA256 b30fe58809f73a8203216a6c7b6f08a5106e4f59ca9708115eec4eaed6559048
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
EBUILD novell-xtier-base-3.1.6.12-r3.ebuild 3383 RMD160 8877402f748ddff854c202c73de6e672a408bec7 SHA1 7bd9f59088dcf35f33181e9a6c836ee32a9b7b76 SHA256 fa74f4498387651623791b405768a0072e2e1934f7b63604b03a79c17cad49e2
MISC ChangeLog 4402 RMD160 b2b8d4f00c07257a541a081be7787ca58fd173c8 SHA1 4a0499d6b5b0be3edb422cc40c91a0716b61c630 SHA256 1f339b9f320edf1dfbd50974153909bdbf7cea3e6d12e0fb3a51e08b7716deef
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@@ -0,0 +1,5 @@
# init xtier registry
einfo "load base registry"
/opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml
eend $?

View File

@@ -0,0 +1,46 @@
#!/sbin/runscript
depend() {
need net
after namcd
}
checkconfig() {
if [ ! -e /var/opt/novell/xtier/xregd/db/xtier_registry.db ] ; then
einfo "Configuring Novell Xreg Server"
for sh in /etc/opt/novell/xtier/xregd/init/*.sh ; do
[ -r "$sh" ] && . "$sh"
done
unset sh
else
einfo "Checking xtier DB"
/opt/novell/xtier/bin/regutil -c
eend $?
fi
}
start() {
checkconfig || return 1
# Update the limit parameters
ulimit -c unlimited
ulimit -f unlimited
# Force ownership of all directories and files required for
# smooth running. This is to get around possible LUM induced
# ID mismatch
chown novlxregd:novlxtier /var/opt/novell/xtier 2> /dev/null
chown -R novlxregd:novlxtier /var/opt/novell/xtier/xregd 2> /dev/null
ebegin "Starting novell-xregd"
start-stop-daemon --start --quiet --exec /opt/novell/xtier/bin/novell-xregd -u novlxregd -- -d
eend $?
}
stop() {
ebegin "Stopping novell-xregd"
start-stop-daemon --stop --quiet --retry TERM/30/KILL/5 --name /opt/novell/xtier/bin/novell-xregd
eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>maintainer-wanted</herd>
</pkgmetadata>

View File

@@ -0,0 +1,117 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NOVELL_BUILDID="6Dvlz12hewI~"
NOVELL_FILE32="novell-client-2.0-sp2-patch2-sle11-i586.iso"
NOVELL_FILE64="novell-client-2.0-sp2-patch2-sle11-x86_64.iso"
SUSE_FILE32="http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/binutils-2.19-9.3.i586.rpm"
SUSE_FILE64="http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/binutils-2.19-9.3.x86_64.rpm"
RESTRICT="mirror strip"
USE_RPMOFFSET_ONLY="1"
inherit novell eutils rpm5 versionator
MY_PVV=$(replace_version_separator 3 '-')
MY_PV="${MY_PVV/_p/-}"
DESCRIPTION="Novell Xtier Base"
HOMEPAGE="http://www.novell.com"
SRC_URI="x86? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/patchfiles/${NOVELL_FILE32}
${SUSE_FILE32} )
amd64? ( http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/${NOVELL_BUILDID}/patchfiles/${NOVELL_FILE64}
${SUSE_FILE64} )"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=app-arch/p7zip-4.15"
RDEPEND="virtual/libc
net-nds/novell-xtier-env
>=dev-libs/expat-2.0.0
>=net-nds/novell-xtier-core-${PV}
>=sys-libs/ncurses-5.5
>=sys-devel/gcc-4.1"
src_unpack() {
cd "${WORKDIR}"
if use x86
then
narch=i586
nlib=lib
brel=9.3
7z x "${DISTDIR}"/${NOVELL_FILE32}
elif use amd64
then
narch=x86_64
nlib=lib64
brel=9.3
7z x "${DISTDIR}"/${NOVELL_FILE64}
fi
rpm5_unpack "${DISTDIR}"/binutils-2.19-${brel}.${narch}.rpm
mkdir -p "${WORKDIR}"/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm5_unpack "${WORKDIR}"/suse/${narch}/${PN}-${MY_PV}.${narch}.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/xtier
# still a hack
dolib.so "${WORKDIR}"/usr/${nlib}/libbfd-*.so
dobin "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/xtier/bin/*
dolib.so "${WORKDIR}"/${PN}-${MY_PV}/opt/novell/xtier/${nlib}/*
dodoc "${WORKDIR}"/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
dodir /var/opt/novell/xtier/xregd/db
keepdir /var/opt/novell/xtier/xregd/db
dodir /etc/opt/novell/xtier/xregd
keepdir /etc/opt/novell/xtier/xregd
insinto /etc/opt/novell/xtier/
doins "${WORKDIR}"/${PN}-${MY_PV}/etc/opt/novell/xtier/*
exeinto /etc/opt/novell/xtier/xregd/init/
doexe "${FILESDIR}"/*.sh
newinitd "${FILESDIR}"/novell-xregd20.initd novell-xregd
}
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 get the following files from SuSE"
if use x86
then
einfo " - ${SUSE_FILE32}"
elif use amd64
then
einfo " - ${SUSE_FILE64}"
fi
einfo "and place them 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"
}
pkg_preinst(){
enewgroup novlxtier
enewuser novlxregd -1 -1 /var/opt/novell/xtier/xregd novlxtier
}