summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-09-10 15:58:53 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-09-10 15:58:53 +0000
commitda8e8b5134c988e71ec5875f556e2d023a62e2d8 (patch)
tree8e2936c1a5a990e0193885623a668d06f47e4c27 /net-misc
parentamd64 stable, bug #233652 (diff)
downloadgentoo-2-da8e8b5134c988e71ec5875f556e2d023a62e2d8.tar.gz
gentoo-2-da8e8b5134c988e71ec5875f556e2d023a62e2d8.tar.bz2
gentoo-2-da8e8b5134c988e71ec5875f556e2d023a62e2d8.zip
Added postinst instructions for bug #218481, thanks to Franz Metz for the suggestion
(Portage version: 2.2_rc8/cvs/Linux 2.6.22-gentoo-r2 i686)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/hamachi/ChangeLog7
-rw-r--r--net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild18
2 files changed, 18 insertions, 7 deletions
diff --git a/net-misc/hamachi/ChangeLog b/net-misc/hamachi/ChangeLog
index ff1dd5f2a834..dc7e3c70a1a7 100644
--- a/net-misc/hamachi/ChangeLog
+++ b/net-misc/hamachi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/hamachi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/ChangeLog,v 1.8 2008/07/19 12:27:57 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/ChangeLog,v 1.9 2008/09/10 15:58:53 darkside Exp $
+
+ 10 Sep 2008; Jeremy Olexa <darkside@gentoo.org>
+ hamachi-0.9.9.9_p20-r2.ebuild:
+ Added postinst instructions for bug #218481, thanks to Franz Metz for the
+ suggestion
19 Jul 2008; Caleb Tennis <caleb@gentoo.org> metadata.xml:
change to maintainer-needed
diff --git a/net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild b/net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild
index fc49535dd7e1..07e360052cfd 100644
--- a/net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild
+++ b/net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild,v 1.7 2007/07/12 02:52:15 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r2.ebuild,v 1.8 2008/09/10 15:58:53 darkside Exp $
inherit eutils linux-info
@@ -49,7 +49,7 @@ src_unpack() {
src_compile() {
# Compile Tuncfg
- make -sC ${S}/tuncfg || die "Compiling of tunecfg failed"
+ make -sC "${S}"/tuncfg || die "Compiling of tunecfg failed"
}
src_install() {
@@ -71,9 +71,9 @@ src_install() {
# Config files
einfo "Installing config files"
- newinitd ${FILESDIR}/tuncfg.initd tuncfg
- newconfd ${FILESDIR}/hamachi.confd hamachi
- newinitd ${FILESDIR}/hamachi.initd hamachi
+ newinitd "${FILESDIR}"/tuncfg.initd tuncfg
+ newconfd "${FILESDIR}"/hamachi.confd hamachi
+ newinitd "${FILESDIR}"/hamachi.initd hamachi
# Docs
dodoc CHANGES README LICENSE LICENSE.openssh LICENSE.openssl LICENSE.tuncfg
@@ -98,4 +98,10 @@ pkg_postinst() {
einfo "To start Hamachi just type:"
einfo "/etc/init.d/hamachi start"
+
+ # added for bug #218481
+ einfo "If the 'hamachi' command shows no output, use the following command"
+ einfo "to extract the hamachi executable either with app-arch/upx or"
+ einfo "app-arch/upx-ucl:"
+ einfo "/opt/bin/upx -d /usr/bin/hamachi"
}