Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/hamachi: hamachi-0.9.9.9_p20-r4.ebuild metadata.xml ChangeLog hamachi-0.9.9.9_p20-r2.ebuild
Date: Fri, 31 Jul 2009 11:03:03
Message-Id: E1MWpt7-0000oU-DV@stork.gentoo.org
1 scarabeus 09/07/31 11:03:01
2
3 Modified: hamachi-0.9.9.9_p20-r4.ebuild metadata.xml
4 ChangeLog
5 Removed: hamachi-0.9.9.9_p20-r2.ebuild
6 Log:
7 Rename pentium useflag to sse. Get rid of old ebuild. Thx to sedzimir on sunrise for patch.
8 (Portage version: 2.2_rc33/cvs/Linux i686)
9
10 Revision Changes Path
11 1.2 net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild?r1=1.1&r2=1.2
16
17 Index: hamachi-0.9.9.9_p20-r4.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- hamachi-0.9.9.9_p20-r4.ebuild 31 Jul 2009 09:26:18 -0000 1.1
24 +++ hamachi-0.9.9.9_p20-r4.ebuild 31 Jul 2009 11:03:01 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild,v 1.1 2009/07/31 09:26:18 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/hamachi-0.9.9.9_p20-r4.ebuild,v 1.2 2009/07/31 11:03:01 scarabeus Exp $
30
31 inherit eutils linux-info
32
33 @@ -12,18 +12,18 @@
34 DESCRIPTION="Hamachi is a secure mediated peer to peer."
35 HOMEPAGE="http://hamachi.cc"
36 LICENSE="as-is"
37 -SRC_URI=" !pentium? ( http://files.hamachi.cc/linux/${MY_P}.tar.gz )
38 - pentium? ( http://files.hamachi.cc/linux/${MY_P}-pentium.tar.gz )"
39 +SRC_URI="sse? ( http://files.hamachi.cc/linux/${MY_P}.tar.gz )
40 + !sse? ( http://files.hamachi.cc/linux/${MY_P}-pentium.tar.gz )"
41 SLOT="0"
42 KEYWORDS="-* ~amd64 ~x86"
43 -IUSE="pentium"
44 +IUSE="sse"
45 RESTRICT="strip mirror"
46
47 # Set workdir for both hamachi versions
48 -if use pentium; then
49 - S=${WORKDIR}/${MY_P}-pentium
50 -else
51 +if use sse; then
52 S=${WORKDIR}/${MY_P}
53 +else
54 + S=${WORKDIR}/${MY_P}-pentium
55 fi
56
57 pkg_preinst() {
58 @@ -38,15 +38,6 @@
59 check_extra_config
60 }
61
62 -src_unpack() {
63 - # Unpack the correct Hamachi version
64 - if use !pentium; then
65 - unpack ${MY_P}.tar.gz
66 - else
67 - unpack ${MY_P}-pentium.tar.gz
68 - fi
69 -}
70 -
71 src_compile() {
72 # Compile Tuncfg
73 make -sC "${S}"/tuncfg || die "Compiling of tunecfg failed"
74 @@ -81,21 +72,6 @@
75 }
76
77 pkg_postinst() {
78 - if use pentium; then
79 - einfo "Remember, you set the pentium USE flag!"
80 - einfo So, you installed the version for older x86 systems!
81 - einfo If your CPU is greater than Intel Pentium / AMD K6,
82 - einfo remove the pentium USE flag and try this version!
83 - fi
84 -
85 - if use !pentium; then
86 - ewarn "If you are seeing 'illegal instruction' error when trying"
87 - ewarn "to run Hamachi client, set the pentium USE flag!"
88 - ewarn "It enables binaries built specifically for older"
89 - ewarn "x86 platforms, like Intel Pentium or AMD K6,"
90 - ewarn "with all optimizations turned off."
91 - fi
92 -
93 einfo "To start Hamachi just type:"
94 einfo "/etc/init.d/hamachi start"
95
96
97
98
99 1.4 net-misc/hamachi/metadata.xml
100
101 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/metadata.xml?rev=1.4&view=markup
102 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/metadata.xml?rev=1.4&content-type=text/plain
103 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/metadata.xml?r1=1.3&r2=1.4
104
105 Index: metadata.xml
106 ===================================================================
107 RCS file: /var/cvsroot/gentoo-x86/net-misc/hamachi/metadata.xml,v
108 retrieving revision 1.3
109 retrieving revision 1.4
110 diff -u -r1.3 -r1.4
111 --- metadata.xml 8 Aug 2008 04:57:09 -0000 1.3
112 +++ metadata.xml 31 Jul 2009 11:03:01 -0000 1.4
113 @@ -7,7 +7,4 @@
114 </maintainer>
115 <longdescription>Hamachi is an encrypted tunneling service that allows pseudo networks to be joined together.
116 </longdescription>
117 - <use>
118 - <flag name="pentium">Add support for older Pentium based systems</flag>
119 - </use>
120 </pkgmetadata>
121
122
123
124 1.12 net-misc/hamachi/ChangeLog
125
126 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/ChangeLog?rev=1.12&view=markup
127 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/ChangeLog?rev=1.12&content-type=text/plain
128 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/hamachi/ChangeLog?r1=1.11&r2=1.12
129
130 Index: ChangeLog
131 ===================================================================
132 RCS file: /var/cvsroot/gentoo-x86/net-misc/hamachi/ChangeLog,v
133 retrieving revision 1.11
134 retrieving revision 1.12
135 diff -u -r1.11 -r1.12
136 --- ChangeLog 31 Jul 2009 09:26:18 -0000 1.11
137 +++ ChangeLog 31 Jul 2009 11:03:01 -0000 1.12
138 @@ -1,6 +1,12 @@
139 # ChangeLog for net-misc/hamachi
140 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
141 -# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/ChangeLog,v 1.11 2009/07/31 09:26:18 ssuominen Exp $
142 +# $Header: /var/cvsroot/gentoo-x86/net-misc/hamachi/ChangeLog,v 1.12 2009/07/31 11:03:01 scarabeus Exp $
143 +
144 + 31 Jul 2009; Tomáš Chvátal <scarabeus@g.o>
145 + -hamachi-0.9.9.9_p20-r2.ebuild, hamachi-0.9.9.9_p20-r4.ebuild,
146 + -files/hamachi.initd, metadata.xml:
147 + Rename pentium useflag to sse. Get rid of old ebuild. Thx to sedzimir on
148 + sunrise for patch.
149
150 *hamachi-0.9.9.9_p20-r4 (31 Jul 2009)