diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-08-11 00:33:31 +0100 |
commit | ff5dd7b3704b9e8f9f606d4929f95694ec84ddf3 (patch) | |
tree | 393b3bd8a65eb3ec464babab42da8d9ec88851c3 /net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild | |
parent | 4c05e04608db666140daaa94499f5f90521a2cc4 (diff) |
cleanup
Diffstat (limited to 'net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild')
-rw-r--r-- | net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild b/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild deleted file mode 100644 index 87a137b9..00000000 --- a/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.76-r1.ebuild,v 1.1 2012/10/15 18:22:42 hwoarang Exp $ - -inherit eutils linux-info - -DESCRIPTION="LogMeIn Hamachi VPN tunneling engine" -HOMEPAGE="https://secure.logmein.com/products/hamachi2" -SRC_URI="x86? ( https://secure.logmein.com/labs/${P}-x86.tgz ) - amd64? ( https://secure.logmein.com/labs/${P}-x64.tgz )" - -LICENSE="LogMeIn" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -RDEPEND="!net-misc/hamachi" - -RESTRICT="mirror" - -QA_PREBUILT="/opt/${PN}/bin/hamachid" -QA_PRESTRIPPED="/opt/${PN}/bin/hamachid" - -pkg_setup() { - einfo "Checking your kernel configuration for TUN/TAP support." - CONFIG_CHECK="~TUN" - check_extra_config -} - -src_unpack() { - unpack ${A} - mv ${P}-$(use x86 && echo x86 || echo x64) "${S}" || die -} - -src_install() { - into /opt/${PN} - dobin hamachid dnsup dnsdown || die - dosym /opt/${PN}/bin/hamachid /usr/bin/hamachi || die "Couldn't create hamachi symlink" - - dodir /var/run/${PN} || die - - # Config and log directory - dodir /var/lib/${PN} || die - - newconfd "${FILESDIR}"/${PN}.confd ${PN} || die - newinitd "${FILESDIR}"/${PN}.initd ${PN} || die - - dodoc CHANGES README || die -} - -pkg_postinst() { - elog "LogMeIn Hamachi2 is installed." - elog "Consult the README file on how to configure your client." - elog "You can run the client 'hamachi' as root," - elog "or as a user if you add a newline terminated line:" - elog "Ipc.User " - elog "to the file '/var/lib/${PN}/h2-engine-override.cfg'" - elog "and restart the daemon with" - elog "/etc/init.d/${PN} restart" - elog "To enable auto-login when the service starts set a nickname in" - elog "/etc/conf.d/${PN}" -} |