source: MondoRescue/branches/2.2.4/mondo/distributions/gentoo/mondo.ebuild@ 1360

Last change on this file since 1360 was 1236, checked in by Bruno Cornec, 17 years ago

Port from stable important patches for 2.2.2:
mindi-busybox:

  • Improve Gentoo packaging

mindi:

  • Better messages for analyze-my-lvm
  • Add support for newer Qlogic drivers (qla2300 & 2400), mpt, dm and ohci
  • Fix a bug in mindi for the FAILSAFE support
  • PATH fixed for init in restore (/usr/games added for petris)
  • Fiw a bug where restore failing because no archive files are found when -G is used
  • /media is now completely excluded as per StandardsCompliance

mondo:

  • Handle no compression + verify correctly
  • various HOWTO fixes
  • Fix temporarily a bug when a biggiefile > 32MB was compressed below the size

of a slice (16MB)

  • Better module loading in insmod_crucial_modules
  • Improve Gentoo packaging
  • Small typo fix for mondorestore man page
  • Small memory management improvements
  • Store NFS config only once
  • Fix a flaw in libmondo-mountlist.c (there since rev [1] !!)
  • Increased MAX_STR_LEN to 384 to make it divisible without remainder by eight

for 64 bits platforms

  • Fix a bug where no bzip2 format file would be found when supporting gzip
  • CentOS fixes
File size: 1.6 KB
Line 
1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5# $Id$
6
7inherit libtool
8
9DESCRIPTION="The premier GPL disaster recovery solution."
10HOMEPAGE="http://www.mondorescue.org"
11SRC_URI="ftp://ftp.mondorescue.org/src/${PN/-rescue/}-${PV}.tar.gz"
12
13LICENSE="GPL-2"
14SLOT="0"
15KEYWORDS="-* ~x86"
16IUSE=""
17
18DEPEND="virtual/libc
19 >=sys-libs/slang-1.4.1
20 >=dev-libs/newt-0.50"
21RDEPEND="app-arch/afio
22 sys-block/buffer
23 sys-devel/binutils
24 >=app-arch/bzip2-0.9
25 app-cdr/cdrtools
26 >=sys-apps/mindi-1.2.1
27 >=dev-libs/newt-0.50
28 >=sys-libs/slang-1.4.1
29 >=sys-boot/syslinux-1.52"
30
31S="${WORKDIR}/${PN/-rescue/}-${PV}"
32
33src_unpack() {
34 unpack ${A}
35 cd "${S}"
36 chmod 750 configure
37}
38
39src_compile() {
40 elibtoolize
41 econf || die "Configuration failed"
42 emake VERSION=VVV || die "Make failed"
43}
44
45src_install() {
46 make install DESTDIR="${D}" || die "make install failed"
47 exeinto /usr/share/mondo
48 doexe mondo/autorun
49}
50
51pkg_postinst() {
52 einfo "${P} was successfully installed."
53 einfo "Please read the associated docs for help."
54 einfo "Or visit the website @ ${HOMEPAGE}"
55 echo
56 ewarn "This package is a new version after a long gap."
57 ewarn "Please report bugs to http://bugs.gentoo.org/"
58 ewarn "However, please do an advanced query to search for bugs"
59 ewarn "before reporting. This will keep down on duplicates."
60 echo
61 einfo "Prior to running mondo, ensure /boot is mounted."
62 ewarn "Grub users need to have a symlink like this:"
63 ewarn "ln -s /boot/grub/menu.lst /etc/grub.conf"
64 einfo "Unless you want to have mondo backup your distfiles,"
65 einfo "append \"-E ${DISTDIR}\" to your mondoarchive command."
66 echo
67}
Note: See TracBrowser for help on using the repository browser.