First Real Checkin

This commit is contained in:
geos_one
2006-08-08 23:20:17 +00:00
parent c177ebf699
commit 68ddb35f39
333 changed files with 7357 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
AUX 80novell-xtier 141 RMD160 e3394767dcb3a7f7a5a39c9414c343af4857b33d SHA1 e440e5152400fff25f13180f1b7473cc5678a93d SHA256 1f1e58f1f1a97b82a7dafbe44097b8aa2c5e52cd0993373a58ab5004eb4880d3
MD5 ad4153c5e14c5d518c6239b606be326e files/80novell-xtier 141
RMD160 e3394767dcb3a7f7a5a39c9414c343af4857b33d files/80novell-xtier 141
SHA256 1f1e58f1f1a97b82a7dafbe44097b8aa2c5e52cd0993373a58ab5004eb4880d3 files/80novell-xtier 141
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 ncl_SLE10_bld711.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
DIST novell-client-1.2-SLE10.tar.gz 13963983 RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 SHA1 14278f74c8226afabc0c602bdc31d4e20acff6b9 SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241
EBUILD novell-xtier-base-3.1.4_p4-r1.ebuild 7043 RMD160 9fa7c6602f90d4596239610a7056e112912ce334 SHA1 05a994b2a28cbe0822632beb2fe86c465ea86f92 SHA256 8c46abbbef0e50b1ebe8228b2e7004c6ce9e7d250e21dec082e93eab12785a0b
MD5 5427db1cdf7a8a4fe1f30eb6a61c1d9d novell-xtier-base-3.1.4_p4-r1.ebuild 7043
RMD160 9fa7c6602f90d4596239610a7056e112912ce334 novell-xtier-base-3.1.4_p4-r1.ebuild 7043
SHA256 8c46abbbef0e50b1ebe8228b2e7004c6ce9e7d250e21dec082e93eab12785a0b novell-xtier-base-3.1.4_p4-r1.ebuild 7043
EBUILD novell-xtier-base-3.1.4_p4.ebuild 7320 RMD160 8321c779485885aa9bfb201b82ba2cce5a62b066 SHA1 ce49656200fa8517f041e4b0053a403307a79d15 SHA256 c5f8e5bca8afac76e3a65c0223fbc4659ce07e7206e00636d2bc00ed9f7ab4cc
MD5 f4b6dfbef919cfa810bd182d8ed3395f novell-xtier-base-3.1.4_p4.ebuild 7320
RMD160 8321c779485885aa9bfb201b82ba2cce5a62b066 novell-xtier-base-3.1.4_p4.ebuild 7320
SHA256 c5f8e5bca8afac76e3a65c0223fbc4659ce07e7206e00636d2bc00ed9f7ab4cc novell-xtier-base-3.1.4_p4.ebuild 7320
MD5 3b43ef17673ab5aedfd5a6ddc203ee90 files/digest-novell-xtier-base-3.1.4_p4 536
RMD160 786f4dabd4ee1fc0b22818daf4bbc73e83cc5557 files/digest-novell-xtier-base-3.1.4_p4 536
SHA256 9a1acb148588693713d2ed1c2b3710ac198e86285df03ffed1146889458a78a5 files/digest-novell-xtier-base-3.1.4_p4 536
MD5 a5cd406a9ef68f48c0d518a17223e53e files/digest-novell-xtier-base-3.1.4_p4-r1 557
RMD160 579f4fb237e7ba5ff91c6adc7761635d14b40420 files/digest-novell-xtier-base-3.1.4_p4-r1 557
SHA256 ef7a957c188f73f4252c8f914c68b5e418bc31118114e0c6d9acbf56178116cf files/digest-novell-xtier-base-3.1.4_p4-r1 557

View File

@@ -0,0 +1,5 @@
NOVELL_XTIER=/opt/novell/xtier
PATH=/opt/novell/xtier/bin
ROOTPATH=/opt/novell/xtier/bin
MANPATH=/opt/novell/man
LDPATH=/opt/novell/xtier/lib

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 ncl_SLE10_bld711.tar.gz 13963983
RMD160 98a0aa1ecd9c4f36c158fa2cce77f51927d2f693 ncl_SLE10_bld711.tar.gz 13963983
SHA256 ddf55b7a757a4f4e104c4aefb04639f4022d43c31171d0a914d1b765d6e78241 ncl_SLE10_bld711.tar.gz 13963983

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,170 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /srv/svnroot/gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.4_p4.ebuild,v 0.1 2006/07/22 15:25:32 Mario Fetka $
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}@cache.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"
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() {
# still a hack
cp "${WORKDIR}"/usr/lib/libbfd-*.so "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier/lib
rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc/init.d
chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier
chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier/lib
mv "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN} "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/${P}
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt"
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}/${PN}-${MY_PV}"/var "${D}"/ || die "mv var"
insinto /etc/env.d
doins "${FILESDIR}"/80novell-xtier
exeinto /etc/init.d
newexe "${FILESDIR}"/novell-xregd12.initd 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,176 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /srv/svnroot/gentoo/net-nds/novell-xtier-base/novell-xtier-base-3.1.4_p4.ebuild,v 0.1 2006/07/22 15:25:32 Mario Fetka $
inherit eutils rpm
if [[ -z "${NOVELL_ACCOUNT_USERNAME}" && -z "${NOVELL_ACCOUNT_PASSWORD}" ]]; then
einfo "Please add the NOVELL_ACCOUNT_USERNAME=\"...\" Variable to /etc/make.conf"
einfo "Please add the NOVELL_ACCOUNT_PASSWORD=\"...\" Variable to /etc/make.conf"
die "No login Informations."
fi
MY_PV="${PV/_p/-}"
DESCRIPTION="Novell Xtier Base"
HOMEPAGE="http://www.novell.com"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cache.novell.com/prot/5kA1ixCv1_k~/ncl_SLE10_bld711.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"
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 ncl_SLE10_bld711.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() {
# still a hack
cp "${WORKDIR}"/usr/lib/libbfd-*.so "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier/lib
rm -rf "${WORKDIR}/${PN}-${MY_PV}"/etc/init.d
chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier
chmod 755 "${WORKDIR}/${PN}-${MY_PV}"/opt/novell/xtier/lib
mv "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/packages/${PN} "${WORKDIR}/${PN}-${MY_PV}"/usr/share/doc/${P}
mv "${WORKDIR}/${PN}-${MY_PV}"/etc "${D}"/ || die "mv etc"
mv "${WORKDIR}/${PN}-${MY_PV}"/opt "${D}"/ || die "mv opt"
mv "${WORKDIR}/${PN}-${MY_PV}"/usr "${D}"/ || die "mv usr"
mv "${WORKDIR}/${PN}-${MY_PV}"/var "${D}"/ || die "mv var"
insinto /etc/env.d
doins "${FILESDIR}"/80novell-xtier
exeinto /etc/init.d
newexe "${FILESDIR}"/novell-xregd12.initd 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 **********
# ***************************************
}