Clean up Overlay remove old buggy ebuilds
This commit is contained in:
@@ -8,10 +8,6 @@ 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-r1.ebuild 6894 RMD160 f77336f087a9a301cbf25333216ab828f840700d SHA1 43382253c49fd447ab521c884d2fdfa7abe3812e SHA256 4328edcdacffa49d01f8803a58f079296f326591532ae3f119004e19fbd9be6b
|
||||
MD5 cfb99b8186f44c6411d230a5a0446b40 novell-xtier-base-3.1.4_p4-r1.ebuild 6894
|
||||
RMD160 f77336f087a9a301cbf25333216ab828f840700d novell-xtier-base-3.1.4_p4-r1.ebuild 6894
|
||||
SHA256 4328edcdacffa49d01f8803a58f079296f326591532ae3f119004e19fbd9be6b novell-xtier-base-3.1.4_p4-r1.ebuild 6894
|
||||
EBUILD novell-xtier-base-3.1.4_p4-r2.ebuild 7025 RMD160 40b255a40da5e07d9ad9cdb234d0b39b0f9da903 SHA1 677dd004c174407605f6ffea24a78363b794de41 SHA256 597789602434635d9db62c5f200458a9ecf568cc040bbc25a91d3b56442db7d4
|
||||
MD5 6ddfba5836fc6386e914b62be4f8b478 novell-xtier-base-3.1.4_p4-r2.ebuild 7025
|
||||
RMD160 40b255a40da5e07d9ad9cdb234d0b39b0f9da903 novell-xtier-base-3.1.4_p4-r2.ebuild 7025
|
||||
@@ -28,9 +24,6 @@ MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f4
|
||||
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-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
|
||||
MD5 a5cd406a9ef68f48c0d518a17223e53e files/digest-novell-xtier-base-3.1.4_p4-r2 557
|
||||
RMD160 579f4fb237e7ba5ff91c6adc7761635d14b40420 files/digest-novell-xtier-base-3.1.4_p4-r2 557
|
||||
SHA256 ef7a957c188f73f4252c8f914c68b5e418bc31118114e0c6d9acbf56178116cf files/digest-novell-xtier-base-3.1.4_p4-r2 557
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
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
|
||||
@@ -1,172 +0,0 @@
|
||||
# Copyright 1999-2006 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}@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-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() {
|
||||
# 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 **********
|
||||
# ***************************************
|
||||
}
|
||||
Reference in New Issue
Block a user