From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/logmein-hamachi: metadata.xml ChangeLog logmein-hamachi-2.0.1.13.ebuild |
Date: | Sat, 15 Jan 2011 21:13:35 |
Message-Id: | 20110115211325.4EE0420054@flycatcher.gentoo.org |
1 | hwoarang 11/01/15 21:13:25 |
2 | |
3 | Added: metadata.xml ChangeLog |
4 | logmein-hamachi-2.0.1.13.ebuild |
5 | Log: |
6 | Initial commit of new hamachi client. Bug #350172. Thanks to Simone Scanzoni <nonno.cicala@××××××.it> for the ebuilds and scripts. |
7 | |
8 | (Portage version: 2.1.9.31/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 net-misc/logmein-hamachi/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/logmein-hamachi/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/logmein-hamachi/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>no-herd</herd> |
22 | <maintainer> |
23 | <email>hwoarang@g.o</email> |
24 | <name>Markos Chandras</name> |
25 | <description>Proxy maintainer. CC him on bugs</description> |
26 | </maintainer> |
27 | <maintainer> |
28 | <email>nonno.cicala@××××××.it</email> |
29 | <name>Simone Scanzoni</name> |
30 | <description>Maintainer. Assign bugs to him</description> |
31 | </maintainer> |
32 | <longdescription lang="en"> |
33 | </longdescription> |
34 | </pkgmetadata> |
35 | |
36 | |
37 | |
38 | |
39 | 1.1 net-misc/logmein-hamachi/ChangeLog |
40 | |
41 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/logmein-hamachi/ChangeLog?rev=1.1&view=markup |
42 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/logmein-hamachi/ChangeLog?rev=1.1&content-type=text/plain |
43 | |
44 | Index: ChangeLog |
45 | =================================================================== |
46 | # ChangeLog for net-misc/logmein-hamachi |
47 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
48 | # $Header: /var/cvsroot/gentoo-x86/net-misc/logmein-hamachi/ChangeLog,v 1.1 2011/01/15 21:13:25 hwoarang Exp $ |
49 | |
50 | *logmein-hamachi-2.0.1.13 (15 Jan 2011) |
51 | |
52 | 15 Jan 2011; Markos Chandras <hwoarang@g.o> |
53 | +logmein-hamachi-2.0.1.13.ebuild, +files/logmein-hamachi.confd, |
54 | +files/logmein-hamachi.initd, +metadata.xml: |
55 | Initial commit of new hamachi client. Bug #350172. The original hamachi |
56 | client has been renamed to logmein-hamachi which is more a replacement rather |
57 | than a new version. Thanks to Simone Scanzoni <nonno.cicala@××××××.it> for |
58 | the ebuilds and scripts. He will proxy maintain it. The old client will be |
59 | removed in 30 days |
60 | |
61 | |
62 | |
63 | |
64 | 1.1 net-misc/logmein-hamachi/logmein-hamachi-2.0.1.13.ebuild |
65 | |
66 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/logmein-hamachi/logmein-hamachi-2.0.1.13.ebuild?rev=1.1&view=markup |
67 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/logmein-hamachi/logmein-hamachi-2.0.1.13.ebuild?rev=1.1&content-type=text/plain |
68 | |
69 | Index: logmein-hamachi-2.0.1.13.ebuild |
70 | =================================================================== |
71 | # Copyright 1999-2011 Gentoo Foundation |
72 | # Distributed under the terms of the GNU General Public License v2 |
73 | # $Header: /var/cvsroot/gentoo-x86/net-misc/logmein-hamachi/logmein-hamachi-2.0.1.13.ebuild,v 1.1 2011/01/15 21:13:25 hwoarang Exp $ |
74 | |
75 | inherit eutils linux-info |
76 | |
77 | DESCRIPTION="LogMeIn Hamachi VPN tunneling engine" |
78 | HOMEPAGE="https://secure.logmein.com/products/hamachi2" |
79 | SRC_URI="x86? ( https://secure.logmein.com/labs/${P}-x86.tgz ) |
80 | amd64? ( https://secure.logmein.com/labs/${P}-x64.tgz )" |
81 | |
82 | LICENSE="LogMeIn" |
83 | SLOT="0" |
84 | KEYWORDS="-* ~amd64 ~x86" |
85 | IUSE="" |
86 | |
87 | RDEPEND="!net-misc/hamachi" |
88 | |
89 | RESTRICT="mirror" |
90 | |
91 | QA_PRESTRIPPED="/opt/${PN}/bin/hamachid" |
92 | |
93 | pkg_setup() { |
94 | einfo "Checking your kernel configuration for TUN/TAP support." |
95 | CONFIG_CHECK="~TUN" |
96 | check_extra_config |
97 | } |
98 | |
99 | src_unpack() { |
100 | unpack ${A} |
101 | mv ${P}-$(use x86 && echo x86 || echo x64) "${S}" || die |
102 | } |
103 | |
104 | src_install() { |
105 | into /opt/${PN} |
106 | dobin hamachid dnsup dnsdown || die |
107 | dosym /opt/${PN}/bin/hamachid /usr/bin/hamachi || die "Couldn't create hamachi symlink" |
108 | |
109 | dodir /var/run/${PN} || die |
110 | |
111 | # Config and log directory |
112 | dodir /var/lib/${PN} || die |
113 | |
114 | newconfd "${FILESDIR}"/${PN}.confd ${PN} || die |
115 | newinitd "${FILESDIR}"/${PN}.initd ${PN} || die |
116 | |
117 | dodoc CHANGES README || die |
118 | } |
119 | |
120 | pkg_postinst() { |
121 | elog "LogMeIn Hamachi2 is installed." |
122 | elog "Consult the README file on how to configure your client." |
123 | elog "You can run the client 'hamachi' as root," |
124 | elog "or as a user if you add a line:" |
125 | elog "Ipc.User <login name>" |
126 | elog "to the file '/var/lib/${PN}/h2-engine-override.cfg'" |
127 | elog "and restart the daemon with" |
128 | elog "/etc/init.d/${PN} restart" |
129 | elog "To enable auto-login when the service starts set a nickname in" |
130 | elog "/etc/conf.d/${PN}" |
131 | elog "Running 'hamachi' without arguments may crash the daemon." |
132 | } |