summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-05 19:55:12 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-05 19:55:12 +0000
commit5a2072dc485a57d4afda41b2231d0f65a53cc931 (patch)
tree14fda30fefe4a87c814f12d4df2a6486de21ddf5 /app-admin/anaconda
parentUnmasked some tools (diff)
downloadanaconda-overlay-5a2072dc485a57d4afda41b2231d0f65a53cc931.tar.gz
anaconda-overlay-5a2072dc485a57d4afda41b2231d0f65a53cc931.tar.bz2
anaconda-overlay-5a2072dc485a57d4afda41b2231d0f65a53cc931.zip
Removed sabayon anaconda-0.9.9.55
Diffstat (limited to 'app-admin/anaconda')
-rw-r--r--app-admin/anaconda/Manifest2
-rw-r--r--app-admin/anaconda/anaconda-0.9.9.55.ebuild216
2 files changed, 0 insertions, 218 deletions
diff --git a/app-admin/anaconda/Manifest b/app-admin/anaconda/Manifest
index dc6cb57..a4b3667 100644
--- a/app-admin/anaconda/Manifest
+++ b/app-admin/anaconda/Manifest
@@ -3,8 +3,6 @@ AUX compat.py 461 RMD160 ae776a51f27564321845126c39874eab953a41cd SHA1 229eea09e
AUX libselinux-glibc-fix.patch 277 RMD160 212f7e529fabb3bb0a00b262a7d0dbf8895281f5 SHA1 e6982a27d284f214b859364d76fa7e8cd0fd8fe7 SHA256 add3156bb12439a48fb7166bf25ef7b51f53c8a750813546f33fe5d54c9645cb
AUX liveinst 40 RMD160 39595adfb6c90dcf5b30d1ebdd7f0fac224d6d16 SHA1 4ec5b3c634341ca1e856fbffe69a61236f8335af SHA256 32721c6398f6b7e77e45ed5cbbe32c15b9b2ae424311ae4fe77d95c2b17a8af3
AUX make_liveinst_update_package.sh 653 RMD160 0c7e88651d03d25210ca36500e28e0bc2caa7172 SHA1 abf190bf40d5d8b0ddd0ff99a69c5096b47c949b SHA256 cfec6af92438e670dbc3341519e65a6847640003708a07e6d78aca187d307d2c
-DIST anaconda-0.9.9.55.tar.bz2 13343746 RMD160 dbe9ae841f496f6d7ecd3ba5c81073441f62a12b SHA1 9dcdfbee35c96ef06eec620297fc2486c003a1f3 SHA256 2e97082ca36e9a042eee2fe4303a6790c60880658b84b49709399c08cc8fbc36
DIST audit-1.7.9.tar.gz 1245155 RMD160 248ca395c6d58dccf8437750e6cf5a7040a28c9f SHA1 aa7de4546f4774338946987fe1a8231222475e64 SHA256 95ce67d9aee4339a5aa11214f21dfa5f37c5820e2511c7bddf998d26b1aaefc9
DIST libselinux-2.0.85.tar.gz 175396 RMD160 ce27fc9c5baf23d9f1c2eeda24357abc4d619d48 SHA1 b2e29934f3cde0a2fb86fe29c8cc1abac8c7e9ca SHA256 54db845fbaa2b3183798e6754b11e4178802f9eae47569b391d87a45b8a69c3c
-EBUILD anaconda-0.9.9.55.ebuild 6702 RMD160 a0d41052690730e5b0222c0224af20118e762b69 SHA1 48760f2641e63e8743081818ba988617fb893f4a SHA256 bee46a595e7557eb6a50107715635c7a5a34eef791a88666557b7235f6cb35ef
EBUILD anaconda-9999.ebuild 6602 RMD160 cbe495efc5351753ecd69f4fdca1d4a066c51be3 SHA1 50e7abc7f1f5b828f73b5448ec43c27d1a744e50 SHA256 23e7f28070028d1c19ea628e33948f9557384ada7b3307e04c3bfc50b01108bf
diff --git a/app-admin/anaconda/anaconda-0.9.9.55.ebuild b/app-admin/anaconda/anaconda-0.9.9.55.ebuild
deleted file mode 100644
index 1bd32be..0000000
--- a/app-admin/anaconda/anaconda-0.9.9.55.ebuild
+++ /dev/null
@@ -1,216 +0,0 @@
-# Copyright 2004-2010 Sabayon
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-if [ "${PV}" = "9999" ]; then
- EGIT_COMMIT="master"
- EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/anaconda.git"
- MY_ECLASS="git"
-fi
-inherit flag-o-matic base python libtool autotools eutils ${MY_ECLASS}
-
-AUDIT_VER="1.7.9"
-AUDIT_SRC_URI="http://people.redhat.com/sgrubb/audit/audit-${AUDIT_VER}.tar.gz"
-
-SEPOL_VER="2.0"
-LSELINUX_VER="2.0.85"
-LSELINUX_SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/libselinux-${LSELINUX_VER}.tar.gz"
-
-DESCRIPTION="Gentoo Redhat Anaconda Installer Port"
-HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=summary"
-if [ "${PV}" = "9999" ]; then
- SRC_URI="${AUDIT_SRC_URI} ${LSELINUX_SRC_URI}"
- KEYWORDS=""
-else
- SRC_URI="http://distfiles.sabayon.org/${CATEGORY}/${PN}-${PVR}.tar.bz2 ${AUDIT_SRC_URI} ${LSELINUX_SRC_URI}"
- KEYWORDS="~amd64 ~x86"
-fi
-S="${WORKDIR}"/${PN}-${PVR}
-AUDIT_S="${WORKDIR}/audit-${AUDIT_VER}"
-LSELINUX_S="${WORKDIR}/libselinux-${LSELINUX_VER}"
-
-LICENSE="GPL-2 public-domain"
-SLOT="0"
-IUSE="+ipv6 +nfs ldap"
-
-AUDIT_DEPEND="dev-lang/swig"
-AUDIT_RDEPEND="ldap? ( net-nds/openldap )"
-LSELINUX_DEPEND="=sys-libs/libsepol-${SEPOL_VER}* dev-lang/swig"
-LSELINUX_RDEPEND="=sys-libs/libsepol-${SEPOL_VER}*"
-LSELINUX_CONFLICT="!sys-libs/libselinux" # due to pythonX.Y/site-packages+/usr/sbin not being handled
-COMMON_DEPEND="app-admin/system-config-keyboard
- >=app-arch/libarchive-2.8
- app-cdr/isomd5sum
- dev-libs/newt
- nfs? ( net-fs/nfs-utils )
- sys-fs/lvm2
- =sys-block/open-iscsi-2.0.870.3-r1"
-DEPEND="${COMMON_DEPEND} ${AUDIT_DEPEND} ${LSELINUX_DEPEND} sys-apps/sed"
-RDEPEND="${COMMON_DEPEND} ${AUDIT_RDEPEND}
- ${LSELINUX_RDEPEND} ${LSELINUX_CONFLICT}
- app-misc/anaconda-runtime
- app-misc/anaconda-runtime-gui"
-
-src_unpack() {
- if [ "${PV}" = "9999" ]; then
- git_src_unpack
- base_src_unpack
- else
- base_src_unpack
- fi
- # Patch the internal libs to fix new glibc incompatibility
- epatch "${FILESDIR}/audit-glibc-fix.patch"
- epatch "${FILESDIR}/libselinux-glibc-fix.patch"
-}
-
-src_prepare() {
-
- # Setup CFLAGS, LDFLAGS
- append-cflags "-I${D}/usr/include/anaconda-runtime"
- append-ldflags "-L${D}/usr/$(get_libdir)/anaconda-runtime"
-
- # Setup anaconda
- cd "${S}"
- ./autogen.sh || die "cannot run autogen"
-
- ##
- ## Setup libaudit
- ##
- cd "${AUDIT_S}"
- # Do not build GUI tools
- sed -i \
- -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
- "${AUDIT_S}"/configure.ac || die "cannot sed libaudit configure.ac"
- sed -i \
- -e 's,system-config-audit,,g' \
- -e '/^SUBDIRS/s,\\$,,g' \
- "${AUDIT_S}"/Makefile.am || die "cannot sed libaudit Makefile.am"
- rm -rf "${AUDIT_S}"/system-config-audit
-
- if ! use ldap; then
- sed -i \
- -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
- "${AUDIT_S}"/configure.ac || die "cannot sed libaudit configure.ac (ldap)"
- sed -i \
- -e '/^SUBDIRS/s,zos-remote,,g' \
- "${AUDIT_S}"/audisp/plugins/Makefile.am || die "cannot sed libaudit Makefile.am (ldap)"
- fi
- eautoreconf
-
-}
-
-copy_audit_data_over() {
- dodir "/usr/$(get_libdir)/anaconda-runtime"
- cp -Ra "${AUDIT_S}/fakeroot/usr/$(get_libdir)/anaconda-runtime/"* \
- "${D}/usr/$(get_libdir)/anaconda-runtime" || die "cannot cp audit data"
- dodir "/usr/include/anaconda-runtime"
- cp -Ra "${AUDIT_S}/fakeroot/usr/include/anaconda-runtime/"* \
- "${D}/usr/include/anaconda-runtime" || die "cannot cp audit include data"
-}
-
-src_configure() {
- # configure audit
- cd "${AUDIT_S}"
- einfo "configuring audit"
- econf --sbindir=/sbin --libdir=/usr/$(get_libdir)/anaconda-runtime \
- --includedir=/usr/include/anaconda-runtime \
- --without-prelude || die
-
- # compiling audit here, anaconda configure needs libaudit
- einfo "compiling audit"
- cd "${AUDIT_S}" || die "cannot cd into ${AUDIT_S}"
- base_src_compile
-
- # installing audit
- einfo "installing audit libs into ${AUDIT_S}/fakeroot temporarily"
- cd "${AUDIT_S}" || die "cannot cd into ${AUDIT_S}"
- ( rm -rf fakeroot && mkdir fakeroot ) || die "cannot mkdir"
- emake DESTDIR="${AUDIT_S}/fakeroot" install || die "cannot install libaudit"
- copy_audit_data_over # for proper linking
-
- # configure anaconda
- cd "${S}"
- einfo "configuring anaconda"
- econf \
- $(use_enable ipv6) $(use_enable selinux) \
- $(use_enable nfs) || die "configure failed"
-}
-
-src_compile() {
-
- cd "${S}"
- base_src_compile
-
- # compiling libselinux
- einfo "compiling libselinux"
- cd "${LSELINUX_S}" || die "cannot cd into ${LSELINUX_S}"
- LD_RUN_PATH="/usr/$(get_libdir)/anaconda-runtime" \
- emake \
- LDFLAGS="-fPIC ${LDFLAGS}" \
- PYLIBVER="python$(python_get_version)" \
- PYTHONLIBDIR="${D}/usr/$(get_libdir)/python$(python_get_version)" \
- SHLIBDIR="${D}/usr/$(get_libdir)/anaconda-runtime" \
- INCLUDEDIR="${D}/usr/include/anaconda-runtime" \
- all || die
- LD_RUN_PATH="/usr/$(get_libdir)/anaconda-runtime" \
- emake \
- LDFLAGS="-fPIC ${LDFLAGS}" \
- PYLIBVER="python$(python_get_version)" \
- PYTHONLIBDIR="${D}/usr/$(get_libdir)/python$(python_get_version)" \
- SHLIBDIR="${D}/usr/$(get_libdir)/anaconda-runtime" \
- INCLUDEDIR="${D}/usr/include/anaconda-runtime" \
- pywrap || die
-
- # add compatibility aliases to swig wrapper
- cat "${FILESDIR}/compat.py" >> "${LSELINUX_S}/src/selinux.py" || die
-
-}
-
-src_install() {
-
- # installing libselinux
- cd "${LSELINUX_S}"
- python_need_rebuild
- LD_RUN_PATH="/usr/$(get_libdir)/anaconda-runtime" \
- emake DESTDIR="${D}" \
- PYLIBVER="python$(python_get_version)" \
- PYTHONLIBDIR="${D}/usr/$(get_libdir)/python$(python_get_version)" \
- LIBDIR="${D}/usr/$(get_libdir)/anaconda-runtime" \
- SHLIBDIR="${D}/usr/$(get_libdir)/anaconda-runtime" \
- INCLUDEDIR="${D}/usr/include/anaconda-runtime" \
- install install-pywrap || die
-
- # fix libselinux.so link
- dosym libselinux.so.1 /usr/$(get_libdir)/anaconda-runtime/libselinux.so
- # LD_RUN_PATH works with ld >=2.20, so /etc/env.d/99anaconda for now
- # will be dropped in future
- echo "LDPATH=\"/usr/$(get_libdir)/anaconda-runtime\"" > 99anaconda
- doenvd 99anaconda
-
- cd "${S}"
- copy_audit_data_over # ${D} is cleared
- base_src_install
-
- # install liveinst for user
- dodir /usr/bin
- exeinto /usr/bin
- doexe "${FILESDIR}"/liveinst
- dosym /usr/bin/liveinst /usr/bin/installer
-
- # drop .la files for God sake
- find "${D}" -name "*.la" | xargs rm
-
- # Cleanup .pyc .pyo
- find "${D}" -name "*.py[co]" -type f -delete
-
-}
-
-pkg_postrm() {
- python_mod_cleanup $(python_get_sitedir)/py${PN}
-}
-
-pkg_postinst() {
- python_mod_optimize $(python_get_sitedir)/py${PN}
-}