Changes between Initial Version and Version 1 of Ticket #516, comment 3


Ignore:
Timestamp:
Nov 15, 2011, 1:12:17 AM (12 years ago)
Author:
Bruno Cornec

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #516, comment 3

    initial v1  
    1 Here is a little info that might be useful:
    21{{{
    3 $ emerge -s mondo
    4 Searching...
    5 [ Results for search key : mondo ]
    6 [ Applications found : 1 ]
    7 
    8 *  app-backup/mondo-rescue
    9       Latest version available: 2.2.9.2
    10       Latest version installed: [ Not Installed ]
    11       Size of files: 2,419 kB
    12       Homepage:      http://www.mondorescue.org
    13       Description:   The premier GPL disaster recovery solution.
    14       License:       GPL-2
     2[ebuild  N    ~] sys-apps/mindi-2.0.7.5  187 kB [1]
     3[ebuild  N    ~] app-backup/mondo-rescue-2.2.9.2  0 kB [1]
    154}}}
    165
    17 
     6As said, these are old versions.
    187{{{
    19 $ sudo emerge -pv mondo-rescue
    20 
    21 These are the packages that would be merged, in order:
    22 
    23 Calculating dependencies... done!
    24 [ebuild  N    ~] sys-apps/mindi-2.0.7.5  187 kB [1]
    25 [ebuild  N    ~] app-backup/mondo-rescue-2.2.9.2  0 kB [1]
    26 
    278Total: 2 packages (2 new), Size of downloads: 187 kB
    289Portage tree and overlays:
     
    3011 [1] /var/lib/layman/zugaina
    3112}}}
    32 
    33 Here are the ebuilds being used:
    34 
    35 {{{
    36 $ cat /var/lib/layman/zugaina/sys-apps/mindi/mindi-2.0.7.5.ebuild
    37 # Copyright 1999-2010 Gentoo Foundation
    38 # Distributed under the terms of the GNU General Public License v2
    39 # $Header: $
    40 
    41 DESCRIPTION="A program that creates emergency boot disks/CDs using your kernel, tools and modules"
    42 HOMEPAGE="http://www.mondorescue.org"
    43 SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz"
    44 LICENSE="GPL-2"
    45 SLOT="0"
    46 KEYWORDS="~x86 ~ia64 ~amd64"
    47 IUSE=""
    48 DEPEND="virtual/libc"
    49 RDEPEND=">=app-arch/bzip2-0.9
    50                 sys-libs/ncurses
    51                 sys-devel/binutils
    52                 sys-fs/dosfstools
    53                 sys-block/parted
    54                 sys-apps/gawk
    55                 sys-apps/busybox"
    56 
    57 
    58 src_install() {
    59         export HEAD="${D}"
    60         export PREFIX="/usr"
    61         export CONFDIR="/etc"
    62         export CACHEDIR="/var/cache/mindi"
    63         export MANDIR="${PREFIX}/share/man"
    64         export DOCDIR="${PREFIX}/share/doc"
    65         export LIBDIR="${PREFIX}/lib"
    66         export DONT_RELINK=1
    67         export PKGBUILDMINDI="true"
    68         "${WORKDIR}"/"${P}"/install.sh
    69 }
    70 
    71 pkg_postinst() {
    72         einfo "${P} was successfully installed."
    73         einfo "Please read the associated docs for help."
    74         einfo "Or visit the website @ ${HOMEPAGE}"
    75         echo
    76         ewarn "Please report bugs to http://bugs.gentoo.org/"
    77         ewarn "However, please do an advanced query to search for bugs"
    78         ewarn "before reporting. This will keep down on duplicates."
    79         echo
    80 }
    81 }}}
     13Probably because taken from another place
    8214{{{
    8315$ cat /var/lib/layman/zugaina/app-backup/mondo-rescue/mondo-rescue-2.2.9.2.ebuild
     
    8820# This ebuild is a small modification of the official mondo-rescue ebuild
    8921
    90 inherit libtool
     22}}}
    9123
    92 DESCRIPTION="The premier GPL disaster recovery solution."
    93 HOMEPAGE="http://www.mondorescue.org"
    94 SRC_URI="ftp://ftp.mondorescue.org/src/${PN/-rescue/}-${PV}.tar.gz"
    95 LICENSE="GPL-2"
    96 SLOT="0"
    97 KEYWORDS="~x86 ~ia64 ~amd64"
    98 IUSE=""
    99 DEPEND="virtual/libc
    100         >=sys-libs/slang-1.4.1
    101         >=dev-libs/newt-0.50"
    102 RDEPEND="app-arch/afio
    103         sys-block/buffer
    104         sys-devel/binutils
    105         >=app-arch/bzip2-0.9
    106         virtual/cdrtools
    107         >=sys-apps/mindi-2.0.0
    108         >=dev-libs/newt-0.50
    109         >=sys-libs/slang-1.4.1
    110         sys-block/parted
    111         >=sys-boot/syslinux-1.52"
     24I'd appreciate that these persons work with upstream to help fix upstream the gentoo packages instead of having now obsolete versions :-(
    11225
    113 S="${WORKDIR}/${PN/-rescue/}-${PV}"
    114 
    115 src_compile() {
    116         elibtoolize
    117         chmod 750 configure
    118         econf || die "Configuration failed"
    119         emake VERSION=${PV} || die "Make failed"
    120 }
    121 
    122 src_install() {
    123         make install DESTDIR="${D}" || die "make install failed"
    124         mkdir -p "${D}"/var/cache/mondo
    125         exeinto /usr/share/mondo
    126         doexe src/autorun
    127 }
    128 
    129 pkg_postinst() {
    130         einfo "${PN} was successfully installed."
    131         einfo "Please read the associated docs for help."
    132         einfo "Or visit the website @ ${HOMEPAGE}"
    133         echo
    134         ewarn "Please report bugs to http://bugs.gentoo.org/"
    135         ewarn "However, please do an advanced query to search for bugs"
    136         ewarn "before reporting. This will keep down on duplicates."
    137         echo
    138         einfo "Prior to running mondo, ensure /boot is mounted."
    139         ewarn "Grub users need to have a symlink like this:"
    140         ewarn "ln -s /boot/grub/menu.lst /etc/grub.conf"
    141         einfo "Unless you want to have mondo backup your distfiles,"
    142         einfo "append \"-E ${DISTDIR}\" to your mondoarchive command."
    143         echo
    144 }
    145 }}}
     26Work with your provider to solve the issue.