branch novell cLient for updating to 2.0 beta

This commit is contained in:
geos_one
2007-08-02 15:09:55 +00:00
parent fdcefde695
commit b689a3068f
73 changed files with 1584 additions and 11 deletions

View File

@@ -0,0 +1,28 @@
# ChangeLog for net-nds/novell-xtier-base
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
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,29 @@
AUX 3.1.4_p4/novell-xregd 650 RMD160 a68a152abd479ac2e4292dcb633b085b0683585d SHA1 ced9d00bb48bdc770b0e2c4ed6da0ac018794bbe SHA256 c708d5e30c1340dedea93a56294efbc66bb419d324c4b3a7ec8586c0d0e75d52
MD5 a88889973c9ca37bc4e72f2eb5642faa files/3.1.4_p4/novell-xregd 650
RMD160 a68a152abd479ac2e4292dcb633b085b0683585d files/3.1.4_p4/novell-xregd 650
SHA256 c708d5e30c1340dedea93a56294efbc66bb419d324c4b3a7ec8586c0d0e75d52 files/3.1.4_p4/novell-xregd 650
AUX 80novell-xtier 183 RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 SHA1 01987259189cca71e36d1e4ee2f7c507b9ac1b9d SHA256 201cf6aeb826faf7ddd8ba99ff4847a686b23ca9821c0fde9e15c1b20bfb72d3
MD5 f52d3a51b0482348825586842d5943b9 files/80novell-xtier 183
RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 files/80novell-xtier 183
SHA256 201cf6aeb826faf7ddd8ba99ff4847a686b23ca9821c0fde9e15c1b20bfb72d3 files/80novell-xtier 183
AUX novell-xregd12.initd 650 RMD160 a68a152abd479ac2e4292dcb633b085b0683585d SHA1 ced9d00bb48bdc770b0e2c4ed6da0ac018794bbe SHA256 c708d5e30c1340dedea93a56294efbc66bb419d324c4b3a7ec8586c0d0e75d52
MD5 a88889973c9ca37bc4e72f2eb5642faa files/novell-xregd12.initd 650
RMD160 a68a152abd479ac2e4292dcb633b085b0683585d files/novell-xregd12.initd 650
SHA256 c708d5e30c1340dedea93a56294efbc66bb419d324c4b3a7ec8586c0d0e75d52 files/novell-xregd12.initd 650
DIST binutils-2.16.91.0.5-18.i586.rpm 4265211 RMD160 aa5d41e1cd94e2cdcffa655db49647794066d42d SHA1 b9a2ae1479543d887cb7caa9035759afa2796a8a SHA256 616f3acba1d84e59d243a8d1b1e3fb4814e5cd0f72d121e5beaf1221f4f54e2f
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
EBUILD novell-xtier-base-3.1.4_p4-r4.ebuild 6724 RMD160 5f6b76b6ceb2b2b1caf6e96f340a49ba6d074ff1 SHA1 f7350c50624fe14fcb8e39f44eb5f1c827e79ee9 SHA256 cfa58c1b020e4b8e5fca03ffa42bbdde51e364eafb19bad2a576edeab443e4bf
MD5 945004a2d42412ced36dd30e0cfede8f novell-xtier-base-3.1.4_p4-r4.ebuild 6724
RMD160 5f6b76b6ceb2b2b1caf6e96f340a49ba6d074ff1 novell-xtier-base-3.1.4_p4-r4.ebuild 6724
SHA256 cfa58c1b020e4b8e5fca03ffa42bbdde51e364eafb19bad2a576edeab443e4bf novell-xtier-base-3.1.4_p4-r4.ebuild 6724
MISC ChangeLog 932 RMD160 2fa5156894e5f1c41508f3369ccd6c8a47e17444 SHA1 9155816a505c07e5187a5d682f3cbd9f8bcef3aa SHA256 cccb966e4dcb7da6ba865f9590911968f69f2e61b308f34448b41a106b49f799
MD5 d6991cffa66e05577f789dce936831cb ChangeLog 932
RMD160 2fa5156894e5f1c41508f3369ccd6c8a47e17444 ChangeLog 932
SHA256 cccb966e4dcb7da6ba865f9590911968f69f2e61b308f34448b41a106b49f799 ChangeLog 932
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 a5cd406a9ef68f48c0d518a17223e53e files/digest-novell-xtier-base-3.1.4_p4-r4 557
RMD160 579f4fb237e7ba5ff91c6adc7761635d14b40420 files/digest-novell-xtier-base-3.1.4_p4-r4 557
SHA256 ef7a957c188f73f4252c8f914c68b5e418bc31118114e0c6d9acbf56178116cf files/digest-novell-xtier-base-3.1.4_p4-r4 557

View File

@@ -0,0 +1,33 @@
#!/sbin/runscript
depend() {
need net
after namcd
}
checkconfig() {
if [ ! -e ${NDSD_CONFIGFILE} ] ; then
eerror "Novell eDirectory server has not been configured."
return 1
fi
}
start() {
# Update the limit parameters
ulimit -c unlimited
ulimit -f unlimited
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 --signal INT --retry 30 --name /opt/novell/xtier/bin/novell-xregd
eend $?
}
#restart() {
# (Commands necessary to restart the service)
#}

View File

@@ -0,0 +1,5 @@
NOVELL_XTIER_DIR=/opt/novell/xtier
PATH=/opt/novell/xtier/bin
ROOTPATH=/opt/novell/xtier/bin
LDPATH=/opt/novell/xtier/lib
PRELINK_PATH_MASK=/opt/novell/xtier/lib:/opt/novell/xtier/bin

View File

@@ -0,0 +1,6 @@
MD5 00f1263b1f6e9effffbb691c3a265b71 binutils-2.16.91.0.5-18.i586.rpm 4265211
RMD160 aa5d41e1cd94e2cdcffa655db49647794066d42d binutils-2.16.91.0.5-18.i586.rpm 4265211
SHA256 616f3acba1d84e59d243a8d1b1e3fb4814e5cd0f72d121e5beaf1221f4f54e2f binutils-2.16.91.0.5-18.i586.rpm 4265211
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

View File

@@ -0,0 +1,33 @@
#!/sbin/runscript
depend() {
need net
after namcd
}
checkconfig() {
if [ ! -e ${NDSD_CONFIGFILE} ] ; then
eerror "Novell eDirectory server has not been configured."
return 1
fi
}
start() {
# Update the limit parameters
ulimit -c unlimited
ulimit -f unlimited
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 --signal INT --retry 30 --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,171 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Xtier Base"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz
http://download.opensuse.org/distribution/SL-10.1/inst-source/suse/i586/binutils-2.16.91.0.5-18.i586.rpm"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
DEPEND=""
RDEPEND="virtual/libc
>=dev-libs/expat-2.0.0
>=net-nds/novell-xtier-core-3.1.4
>=sys-libs/ncurses-5.5
>=sys-devel/gcc-4.1
!net-misc/novell-xtier-base"
RESTRICT="nomirror nostrip"
src_unpack() {
unpack novell-client-1.2-SLE10.tar.gz
rpm_unpack ${DISTDIR}/binutils-2.16.91.0.5-18.i586.rpm
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.sles10.i586.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/xtier
# still a hack
dolib.so "${WORKDIR}"/usr/lib/libbfd-*.so
dobin ${WORKDIR}/${PN}-${MY_PV}/opt/novell/xtier/bin/*
dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/xtier/lib/*
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/*
doenvd "${FILESDIR}"/80novell-xtier
doinitd "${FILESDIR}/${PV}"/novell-xregd
}
pkg_preinst(){
# ***************************************
# ******* Begin of pre script ***********
# ***************************************
einfo "Running Novell XTier Base pre script..."
# We just want to stop the novell-xregd service and export the XTier registry to a
# temporary file if this is an upgrade.
if [ -e "/etc/init.d/novell-xregd" ]; then
#echo "Novell XTier Base pre script stoping novell-xregd for upgrade"
/etc/init.d/novell-xregd stop
fi
# Check if we need to export the XTier registry
# Note: We export the registry at this time to avoid losing its settings in case
# that we have to rebuild the database.
if [ -e "/var/opt/novell/xtier/xregd/db/xtier_registry.db" ]; then
einfo " Exporting Xtier Registry to temporary file..."
rm -f /var/opt/novell/xtier/xregd/xtier_registry.xml.export
/opt/novell/xtier/bin/regutil -e /etc/opt/novell/xtier/xtier_registry.xml.export
einfo " done exporting Xtier Xml Registry"
fi
einfo "done running Novell XTier Base pre script!"
# Do necessary user and group administration
enewgroup novlxtier
enewuser novlxregd -1 -1 /var/opt/novell/xtier/xregd novlxtier
einfo "done running Novell XTier Base pre script!"
# ***************************************
# ******* End of pre script *************
# ***************************************
}
pkg_postinst(){
# ***************************************
# ******* Begin of post script **********
# ***************************************
echo "Running Novell XTier Base post script..."
# Check if we need to import the XTier registry
if [ ! -e "/var/opt/novell/xtier/xregd/db/xtier_registry.db" ]; then
einfo " Importing Xtier Xml Registry..."
# Import the registry.
# Note: We could be dealing with an upgrade from a Pre-XFlaim registry in which
# case we would have saved the previous registry contents to let us upgrade to XFlaim based
# registry without loosing configuration settings.
einfo " Using newly installed registry file"
mkdir -p /var/opt/novell/xtier/xregd/db/
/opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml
# Make sure that novlxregd has rights to the registry db
chown -R novlxregd:novlxtier /var/opt/novell/xtier/xregd/db/
einfo " done importing Xtier Xml Registry"
else
# The XTier registry exists, check its integrity.
/opt/novell/xtier/bin/regutil -c
if [ "$?" != "0" ]; then
einfo " Existing XTier Registry Db Unsupported or Corrupted"
einfo " Re-installing XTier Registry Db"
# Import the registry. Use registry file that was exported earlier if present to
# avoid losing configuration settings that may have been made.
if [ -e "/etc/opt/novell/xtier/xtier_registry.xml.export" ]; then
/opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xregd/xtier_registry.xml.export
else
einfo " Exported registry file not found"
einfo " Configuration settings stored in the registry after initial install have been lost"
/opt/novell/xtier/bin/regutil -i /etc/opt/novell/xtier/xtier_registry.xml
fi
# Make sure that novlxregd has rights to the registry db
chown -R novlxregd:novlxtier /var/opt/novell/xtier/xregd/db/
einfo " done importing Xtier Xml Registry"
fi
fi
# Make sure that we are not leaving the temporary registry xml file around
rm -f /etc/opt/novell/xtier/xtier_registry.xml.export
einfo "done running Novell XTier Base post script!"
# ***************************************
# ******* End of post script ************
# ***************************************
}
pkg_prerm(){
# ***************************************
# ******* Begin of pre-remove script ****
# ***************************************
einfo "Running Novell XTier Base preun script ..."
# Stop novell-xregd
/etc/init.d/novell-xregd stop
# Check if we need to export the XTier registry
if [ -e "/var/opt/novell/xtier/xregd/db/xtier_registry.db" ]; then
einfo " Exporting Xtier Xml Registry..."
rm -f /etc/opt/novell/xtier/xtier_registry.xml.export
/opt/novell/xtier/bin/regutil -e /etc/opt/novell/xtier/xtier_registry.xml.export
einfo " done exporting Xtier Xml Registry"
fi
einfo "done running Novell XTier Base preun script!"
# ***************************************
# ******* End of pre-remove script ******
# ***************************************
}
pkg_postrm(){
# ***************************************
# ******* Begin of postun script ********
# ***************************************
einfo "Running Novell XTier Base postun script ..."
# Delete the var files
rm -rf /var/opt/novell/xtier
einfo "done running Novell XTier Base postun script!"
# ***************************************
# ******* End of postun script **********
# ***************************************
}

View File

@@ -0,0 +1,28 @@
# ChangeLog for net-nds/novell-xtier-core
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
04 Apr 2007; Mario Fetka <mario-fetka@gmx.at>
-novell-xtier-core-3.1.4_p4-r2.ebuild,
-novell-xtier-core-3.1.4_p4-r3.ebuild:
Drop old buggy Ebuild
18 Feb 2007; Mario Fetka <mario-fetka@gmx.at>
+novell-xtier-core-3.1.4_p4-r4.ebuild:
Gentooize ebuild
18 Oct 2006; Mario Fetka <mario-fetka@gmx.at> files/80novell-xtier,
+novell-xtier-core-3.1.4_p4-r3.ebuild:
Add Novell Packages to PRELINK_MASK_PATH.
05 Oct 2006; Mario Fetka <mario-fetka@gmx.at>
+novell-xtier-core-3.1.4_p4-r2.ebuild:
Correct Permissions for non root use
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at>
novell-xtier-core-3.1.4_p4-r1.ebuild, +metadata.xml:
Correct Typo
13 Aug 2006; Mario Fetka <mario-fetka@gmx.at> ChangeLog:
Initial xtier-core ChangeLog

View File

@@ -0,0 +1,20 @@
AUX 80novell-xtier 183 RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 SHA1 01987259189cca71e36d1e4ee2f7c507b9ac1b9d SHA256 201cf6aeb826faf7ddd8ba99ff4847a686b23ca9821c0fde9e15c1b20bfb72d3
MD5 f52d3a51b0482348825586842d5943b9 files/80novell-xtier 183
RMD160 c342ca807d858c64adf5e2808ab13abcc1524764 files/80novell-xtier 183
SHA256 201cf6aeb826faf7ddd8ba99ff4847a686b23ca9821c0fde9e15c1b20bfb72d3 files/80novell-xtier 183
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
EBUILD novell-xtier-core-3.1.4_p4-r4.ebuild 970 RMD160 d9db66040dfabf741bcc95ac781c892cee8650cf SHA1 4094e1236cee5fd3076e075733532ee214d7270d SHA256 c6deb242487ec98dd0e3243e1374e6837ea5de487ff7fe09a987a4ba03ed6e9a
MD5 652e3422476ab010f512a8d9dd895451 novell-xtier-core-3.1.4_p4-r4.ebuild 970
RMD160 d9db66040dfabf741bcc95ac781c892cee8650cf novell-xtier-core-3.1.4_p4-r4.ebuild 970
SHA256 c6deb242487ec98dd0e3243e1374e6837ea5de487ff7fe09a987a4ba03ed6e9a novell-xtier-core-3.1.4_p4-r4.ebuild 970
MISC ChangeLog 885 RMD160 087bc03acc3c1cadf3cf64b81bb5e81fcecdd0ae SHA1 750d82ce5328616157b0a9d8d3abc759f3fc9361 SHA256 f700c1797c9962f20857c67452baf94f527a8875009e61ef6356d10d8c5f8f11
MD5 b65fc1caa5be4b0e0b94a39d761bffb1 ChangeLog 885
RMD160 087bc03acc3c1cadf3cf64b81bb5e81fcecdd0ae ChangeLog 885
SHA256 f700c1797c9962f20857c67452baf94f527a8875009e61ef6356d10d8c5f8f11 ChangeLog 885
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 dcdc80c8269e53d3a5ecd72aa4034a06 files/digest-novell-xtier-core-3.1.4_p4-r4 277
RMD160 4767389e6f47ba8fb5b8907a954b9f80ce106b78 files/digest-novell-xtier-core-3.1.4_p4-r4 277
SHA256 aa21d5b182ad571f4bedf0694cc608f211146d09e0af2bdd1addd6415a2bf0b8 files/digest-novell-xtier-core-3.1.4_p4-r4 277

View File

@@ -0,0 +1,5 @@
NOVELL_XTIER_DIR=/opt/novell/xtier
PATH=/opt/novell/xtier/bin
ROOTPATH=/opt/novell/xtier/bin
LDPATH=/opt/novell/xtier/lib
PRELINK_PATH_MASK=/opt/novell/xtier/lib:/opt/novell/xtier/bin

View File

@@ -0,0 +1,3 @@
MD5 2aab6c7358a733d1d8d9a4e893500a36 novell-client-1.2-SLE10.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 novell-client-1.2-SLE10.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 novell-client-1.2-SLE10.tar.gz 13963983

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,40 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Client for Linux file system deamon"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/2JyMn7sWP_Q~/novell-client-1.2-SLE10.tar.gz"
LICENSE="Novell-NCL"
SLOT="0"
KEYWORDS="~x86"
IUSE="gtk"
DEPEND=""
RDEPEND="virtual/libc
>=sys-auth/novell-nmasclient-3.2.0
!net-misc/novell-xtier-core"
RESTRICT="fetch nostrip"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${PN}-${MY_PV}
cd ${PN}-${MY_PV}
rpm_unpack ${WORKDIR}/ncl_build_711/NCL_disk/novell/i586/${PN}-${MY_PV}.sles10.i586.rpm
}
src_compile() { :; }
src_install() {
into /opt/novell/xtier/
dolib.so ${WORKDIR}/${PN}-${MY_PV}/opt/novell/xtier/lib/*
dodoc ${WORKDIR}/${PN}-${MY_PV}/usr/share/doc/packages/${PN}/*
doenvd "${FILESDIR}"/80novell-xtier
}