diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-09-03 19:07:23 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-09-03 19:07:23 +0000 |
commit | 2300fb9c4083e0c9dd0911c1e66f2af1669239c0 (patch) | |
tree | d08c35f173bffa4e74c324cc43f716783b972d23 | |
parent | Add systemd support (#466084) (diff) | |
download | historical-2300fb9c4083e0c9dd0911c1e66f2af1669239c0.tar.gz historical-2300fb9c4083e0c9dd0911c1e66f2af1669239c0.tar.bz2 historical-2300fb9c4083e0c9dd0911c1e66f2af1669239c0.zip |
Add unit file (#478524)
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
-rw-r--r-- | net-misc/logmein-hamachi/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/logmein-hamachi/Manifest | 10 | ||||
-rw-r--r-- | net-misc/logmein-hamachi/files/logmein-hamachi.service | 10 | ||||
-rw-r--r-- | net-misc/logmein-hamachi/logmein-hamachi-2.1.0.101-r1.ebuild | 65 |
4 files changed, 88 insertions, 5 deletions
diff --git a/net-misc/logmein-hamachi/ChangeLog b/net-misc/logmein-hamachi/ChangeLog index a2777181c252..1e4e0300ea52 100644 --- a/net-misc/logmein-hamachi/ChangeLog +++ b/net-misc/logmein-hamachi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/logmein-hamachi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/logmein-hamachi/ChangeLog,v 1.12 2013/07/06 16:38:53 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/logmein-hamachi/ChangeLog,v 1.13 2013/09/03 19:07:19 pacho Exp $ + +*logmein-hamachi-2.1.0.101-r1 (03 Sep 2013) + + 03 Sep 2013; Pacho Ramos <pacho@gentoo.org> +files/logmein-hamachi.service, + +logmein-hamachi-2.1.0.101-r1.ebuild: + Add unit file (#478524) *logmein-hamachi-2.1.0.101 (06 Jul 2013) diff --git a/net-misc/logmein-hamachi/Manifest b/net-misc/logmein-hamachi/Manifest index 236d0faffc2e..3d0e2ed0b7e1 100644 --- a/net-misc/logmein-hamachi/Manifest +++ b/net-misc/logmein-hamachi/Manifest @@ -3,15 +3,17 @@ Hash: SHA256 AUX logmein-hamachi.confd 541 SHA256 661be1f7ca7ce360933ab275a9f0a43961c00940534c1c156a985fe346bcb058 SHA512 8d28891af13b597d9a29dcdc3a92e3c933e6cd3c122d720f6ec140619fbf26e2a2c4d3c729ed0499fc844e7b4480149dae76268bfe024b88f7c2e44b39e5ac14 WHIRLPOOL e1019d4bc29884932691f49f5bd2889c1331a14f63b9b98d30a68b15d366ca236e56bce606f3082c6ee678ffa1621204e706fdfe3f62da3d8d1eb36840ac96f3 AUX logmein-hamachi.initd 1582 SHA256 30a64d6924e218c681631e1654166e0067f2477478eb788103fa221743efd166 SHA512 e36fecb250681a8f31447420e0b91e1260723e38f4973e3d4da3ea34f2e15ae38a0ff4656995d22934a5e4664aa9a4bc2f05f6495f28fd0b43fb54c3929b61ac WHIRLPOOL 2b9448c64eeecff584bb711075a0d37264c8db0c2c4b968c232e11f8f12f9e69f47f44d8f0d33036b0d79f0cd4e99d0e68c1b6497c4ab9d4cbd2f581152a70f0 +AUX logmein-hamachi.service 185 SHA256 b32e32f2c98519b469a660f7459eeb12f454767bcec0f5edf8ae6bd89eef3dba SHA512 cdd5b2f2f2c7df88322c22eec7c050eb5fb2495b57a47526063f0f529d9cc51fffac7ecd19fa9c20ff3da95741008f4ea583d87b45f4267bb204b0342e8eee90 WHIRLPOOL 108b6737580a2c92916abd67b0efd34786685264c466d565217c09d02a649e18431a86415e341de4929eb42f69eeed85cb025c796b4ef563d1ca207f6d4ebbc3 DIST logmein-hamachi-2.1.0.101-x64.tgz 1203028 SHA256 e3e97f70187abf6c4f13fcb530ef04badae45f2dccfa5b3e935b141d1d2659d0 SHA512 8fcd6ac8f34d16e4a581a10a674ebed28138add893e3da2b5f5ae3815462247730ac9a5518cbea75dda4bc1df52f63194706bfed9336619d8949251501fffc3a WHIRLPOOL 0b5b081695d50ecaa1d737fe32d695ce3cdf4bab8315f5c75e39b63927bda806bcd996b518845b88dd3ea5cec587bdb9ee0674772bf2b89fe1aff740626812a4 DIST logmein-hamachi-2.1.0.101-x86.tgz 1141216 SHA256 261db32bfbae4a91a06983fbf53aa88677901e13c6591c221f64fc672f473b19 SHA512 817078ee879246f780826a6715f7571c6a627601f6f310d465863d78266962988e86cb6d42e068a18cf966fd8046e079cb8c4f0b1b2a164993259cf10c422afd WHIRLPOOL 4294ad2af9f2b2ae8bd7519aa30799051655962088160745e59a94d349047af3bff0c6bfaadbbad5daebefaf6ba0ddb1e896fc719c7c2a53059921e89a3ba433 +EBUILD logmein-hamachi-2.1.0.101-r1.ebuild 1839 SHA256 8dbcd6277ebfd8f194999b679515175100b3fdc1b8edfdc4132462803c2b4ec2 SHA512 67ad4e4359e1496e8e9f72120620e24fd5692b52c6a26068047316ce1570435ed94b32ec500fb83f25b2fc7bf64e09bef9a25573e947ecd9a281ab26836b6990 WHIRLPOOL 39cdd32d48eafe290082edef99c2b755e7e70140df0d8771810239ccf20a3e90ad3143ce92bf9c2445c4c4e9af297f9c428206a385c25be0238c3d26f07a6cf3 EBUILD logmein-hamachi-2.1.0.101.ebuild 1709 SHA256 0eb1a853636aeab94c94e8cb1b46adc93d6d0ebb615e082d62147828e7519dc9 SHA512 7d4b009cc09c19e99eb482ff20f38a1be3d10276bdafabd70d416c25e45e11db5dbee6aef06128e9bfee0a61c16305728b5fb3c61af4585cd07fde125261a177 WHIRLPOOL bca47d0494201c98ebc3f6fa3bac4d6cf6a134b816bd83679afb39b980f645306615ea2fd18eb3d5246a91d225aebbe0e51419cdaeaf7d18c17df6ebd3ccde3c -MISC ChangeLog 3428 SHA256 1cd3d2fef964123fac01ae72221950405c2d0d4d6b93779f6aa5872917ba1e2f SHA512 b558c01ee7b34ba01e312a3e9107e06d0584fd46e0e95724285d349987c3f40a9588548b953486aa837dbdf9ba0bdc62a90944ee05624085f76bb8627b05feef WHIRLPOOL 0b9ec0ea870c8903753ca816b0d42511a2acd168c81d00fdc541e31c67cc72468f421d669f81a33651dcdfb40c0add5bdd55f1eb5f958f890f3e383f7c34151e +MISC ChangeLog 3620 SHA256 2523d62e6c8dc524abda09bbc33f94e8fdab1b8a62af5a01b866f52626052448 SHA512 116bae7158a6b3817d7672c911b7f99c2d01af8ff0f0a349fd839d61a8a8609b9fcf4c0d455d085153653d357a991d4a70e014fbe92e13f335070218be847398 WHIRLPOOL bde2225e539288f77b1104aa43f020d9c861c0f5893422493b13b7a0c6aba81aca0a7d16cd85a293767485ebe0dc2b90652662903cd444afb3b3515e68a25d57 MISC metadata.xml 271 SHA256 fbb3d4a4ac430596956b69e0435bad93c2a660fa52c7503cefd1d7b615770185 SHA512 8e0d07e4d7817e26452a71f4c35f1becf91c842da68ff67f4f09cb5c6d2d42a60d1cc424118841ce9d891594008de066e823537e69e5d983f056b87ef8a42079 WHIRLPOOL 3c41fce26ea8420680f397d6b68f0b0fd9b4b9c787c2c802535138f73e82db575943ade214f5a29d0447e7e0a532b2451f503b88be1b3499abb9746e1ab4f719 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlHYSCQACgkQknrdDGLu8JCujwD9EzZwXP04gugMrSfvWaIymCYc -xJoNXLX9k2nV8MyFpzAA/A81iioK/BV+vpAY3qGkU8lyJk2ipWkST4F0aIf3GJUB -=cgRz +iEYEAREIAAYFAlImM2gACgkQCaWpQKGI+9RUqgCfSXQ9MVlgoJvnVoeQuRovuZuY +M/UAn0CKSZeGJTW2+9t9dGFjWSHRBu76 +=60LR -----END PGP SIGNATURE----- diff --git a/net-misc/logmein-hamachi/files/logmein-hamachi.service b/net-misc/logmein-hamachi/files/logmein-hamachi.service new file mode 100644 index 000000000000..609447e16373 --- /dev/null +++ b/net-misc/logmein-hamachi/files/logmein-hamachi.service @@ -0,0 +1,10 @@ +[Unit] +Description=LogMeIn Hamachi daemon +After=local-fs.target network.target + +[Service] +ExecStart=/opt/logmein-hamachi/bin/hamachid +Type=forking + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.101-r1.ebuild b/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.101-r1.ebuild new file mode 100644 index 000000000000..da959ef74fd1 --- /dev/null +++ b/net-misc/logmein-hamachi/logmein-hamachi-2.1.0.101-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 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.101-r1.ebuild,v 1.1 2013/09/03 19:07:19 pacho Exp $ + +EAPI=5 +inherit eutils linux-info systemd + +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" +QA_WX_LOAD="/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 + dosym /opt/${PN}/bin/hamachid /usr/bin/hamachi + + # Config and log directory + dodir /var/lib/${PN} + + newconfd "${FILESDIR}"/${PN}.confd ${PN} + newinitd "${FILESDIR}"/${PN}.initd ${PN} + systemd_dounit "${FILESDIR}"/${PN}.service + + dodoc CHANGES README +} + +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 <login name>" + elog "to the file '/var/lib/${PN}/h2-engine-override.cfg'" + elog "and restart the daemon with" + elog "/etc/init.d/${PN} restart" + elog "or:" + elog "systemctl restart ${PN}" + elog "To enable auto-login when the service starts set a nickname in" + elog "/etc/conf.d/${PN} (only supported using openRC)" +} |