# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ ESVN_REPO_URI="http://dev.zenoss.org/svn/trunk/wmi/Samba/source" ESVN_PATCHES="${FILESDIR}/winexe-svn-10171-pth.patch" inherit eutils subversion DESCRIPTION="Winexe remotely executes commands on WindowsNT/2000/XP/2003 systems from GNU/Linux" HOMEPAGE="http://eol.ovh.org/winexe/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="dev-lang/python dev-lang/swig" RDEPEND="${DEPEND}" src_compile() { ./autogen.sh || die "autogen failed" econf || die "econf failed" emake proto bin/winexe || die "emake failed" } src_install() { dobin bin/winexe } pkg_postinst() { einfo "To use the PASS-THE-HASH patch you must set SMBHASH environment variable:" einfo "Example: export SMBHASH=\"_LM_HASH_:_NTLM_HASH_\"" }