Jump to content



Photo

Fog Project ebuild?

gentoo ebuild fog manual

  • Please log in to reply
3 replies to this topic

#1 ArtistX

ArtistX

    Neowinian

  • Joined: 14-November 12
  • OS: Windows 8.1 Pro x64 - Windows 7 Ultimate SP1 x64

Posted 11 January 2013 - 20:02

I have tried the ebuild from the link posted in this thread

http://forums.gentoo...e36a6f240f294c4

# Copyright 2011 Luca Berton
# Distributed under the terms of the GNU General Public License v2
# $Header : $
DESCRIPTION="FOG package for Gentoo"
HOMEPAGE="http://www.fogproject.org/"
SRC_URI="mirror://sourceforge/freeghost/fog_0.32.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RDEPEND="www-servers/apache virtual/mysql >=dev-lang/php-5.2 net-misc/dhcp net-fs/nfs-utils"
DEPEND="${RDEPEND}"

src_compile() {
econf --with-popt
emake || die
}

src_install() {
		emake DESTDIR="${D}" install || die
		dodoc README CHANGES || die
}


but always get the error

* ERROR: net-misc/fog-0.32 failed (compile phase):
*   no configure script found
*
* Call stack:
*		  ebuild.sh, line  93:  Called src_compile
*		environment, line 132:  Called econf '--with-popt'
*   phase-helpers.sh, line 516:  Called die
* The specific snippet of code:
*			  die "no configure script found"

which of course would be right, after looking at the package there is indeed no configure script, the only install script is gearing towards red hat/fedora and ubuntu, has anyone got this working on Gentoo or can advise on a different cloning application, I would like to get rid of having to use Acronis


#2 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 12 January 2013 - 21:29

I'm not too familiar with Gentoo, but I decided to take a look at this software anyway. While its a really cool idea, it seems to be very poorly implemented. The build process and binary installer are both convoluted and the program makes use of many patched or outdated utilities. In short, its kinda hacked together to even work on Ubuntu and Fedora. I recommend that you find another piece of software to do what you want - or find an interested Gentoo developer, which I am not. Generally, Clonezilla is a good substitute for Acronis. Will that work in this case?

#3 OP ArtistX

ArtistX

    Neowinian

  • Joined: 14-November 12
  • OS: Windows 8.1 Pro x64 - Windows 7 Ultimate SP1 x64

Posted 12 January 2013 - 21:31

I will look into it, as long as it saves me having to spend $$$ every time acronis comes out with another version and as long as I can back up linux and windows 8 pc's with it and it works then its good for me :)

#4 +Karl L.

Karl L.

    xorangekiller

  • Tech Issues Solved: 15
  • Joined: 24-January 09
  • Location: Virginia, USA
  • OS: Debian Testing

Posted 12 January 2013 - 21:36

If your main objective is to create full disk backups of Windows and Linux machines, Clonezilla should work well. It is much more mature and well-supported than FOG. If you want to boot it over the network, you can use one of the Debian-based images provided on the Clonezilla website. If you need to customize the image, the Clonezilla wiki has good documentation. Considering that there are Debian packages available for it (unlike FOG), its likely that you can also build Clonezilla in Gentoo.



Click here to login or here to register to remove this ad, it's free!