1 |
voyageur 08/11/28 15:58:00 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: freenet6-6.0_beta4.ebuild |
5 |
Log: |
6 |
Bump to 6.0 beta (connection stability fixes), ebuild cleanup thanks to Flameeyes and Alexandre Hamelin <alexandre.hamelin@×××××.com>. Closes bugs #241064 and #246577 |
7 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.26-gentoo x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 net-misc/freenet6/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/metadata.xml?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/metadata.xml?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/metadata.xml?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/freenet6/metadata.xml,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- metadata.xml 12 May 2007 08:15:41 -0000 1.3 |
23 |
+++ metadata.xml 28 Nov 2008 15:58:00 -0000 1.4 |
24 |
@@ -9,4 +9,7 @@ |
25 |
<longdescription> |
26 |
Client to configure an IPv6 tunnel to freenet6 |
27 |
</longdescription> |
28 |
+ <use> |
29 |
+ <flag name="radvd">Enable support for <pkg>net-misc/radvd</pkg></flag> |
30 |
+ </use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.37 net-misc/freenet6/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/ChangeLog?rev=1.37&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/ChangeLog?rev=1.37&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/ChangeLog?r1=1.36&r2=1.37 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v |
44 |
retrieving revision 1.36 |
45 |
retrieving revision 1.37 |
46 |
diff -u -r1.36 -r1.37 |
47 |
--- ChangeLog 22 Nov 2008 17:11:49 -0000 1.36 |
48 |
+++ ChangeLog 28 Nov 2008 15:58:00 -0000 1.37 |
49 |
@@ -1,6 +1,16 @@ |
50 |
# ChangeLog for net-misc/freenet6 |
51 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v 1.36 2008/11/22 17:11:49 jer Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/ChangeLog,v 1.37 2008/11/28 15:58:00 voyageur Exp $ |
54 |
+ |
55 |
+*freenet6-6.0_beta4 (28 Nov 2008) |
56 |
+ |
57 |
+ 28 Nov 2008; Bernard Cafarelli <voyageur@g.o> |
58 |
+ -files/freenet6-4.2.2-noretry.patch, |
59 |
+ +files/freenet6-6.0_beta4-no-template-validation.patch, files/gw6c.conf, |
60 |
+ +freenet6-6.0_beta4.ebuild: |
61 |
+ Bump to 6.0 beta (connection stability fixes), ebuild cleanup thanks to |
62 |
+ Flameeyes and Alexandre Hamelin <alexandre.hamelin@×××××.com>. Closes bugs |
63 |
+ #241064 and #246577 |
64 |
|
65 |
22 Nov 2008; Jeroen Roovers <jer@g.o> freenet6-5.1.ebuild: |
66 |
Stable for HPPA (bug #245871). |
67 |
|
68 |
|
69 |
|
70 |
1.1 net-misc/freenet6/freenet6-6.0_beta4.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/freenet6-6.0_beta4.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/freenet6/freenet6-6.0_beta4.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: freenet6-6.0_beta4.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2008 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/freenet6/freenet6-6.0_beta4.ebuild,v 1.1 2008/11/28 15:58:00 voyageur Exp $ |
80 |
|
81 |
inherit eutils versionator toolchain-funcs |
82 |
|
83 |
MY_P=gw6c-$(replace_all_version_separators "_") |
84 |
MY_P=${MY_P/_beta/-BETA} |
85 |
DESCRIPTION="Client to configure an IPv6 tunnel to freenet6" |
86 |
HOMEPAGE="http://www.freenet6.net" |
87 |
SRC_URI="http://go6.net/4105/file.asp?file_id=151&file=/${MY_P}.tar.gz" |
88 |
|
89 |
LICENSE="VPL-1.0" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
92 |
IUSE="radvd" |
93 |
|
94 |
DEPEND="dev-libs/openssl |
95 |
sys-apps/iproute2 |
96 |
radvd? ( net-misc/radvd )" |
97 |
RDEPEND="${DEPEND}" |
98 |
|
99 |
S="${WORKDIR}/${MY_P}" |
100 |
|
101 |
src_unpack() { |
102 |
unpack ${A} |
103 |
cd "${S}" |
104 |
|
105 |
epatch "${FILESDIR}"/${PN}-5.1-gcc43.patch |
106 |
epatch "${FILESDIR}"/${P}-no-template-validation.patch |
107 |
|
108 |
for i in gw6c-config gw6c-messaging ; do |
109 |
sed -i -e "s/-O2//" \ |
110 |
-e "s/CXXFLAGS=/CXXFLAGS+=/" \ |
111 |
-e "s/CFLAGS=/CFLAGS+=/" \ |
112 |
-e "s/LDFAGS=/LDFLAGS+=/" \ |
113 |
${i}/Makefile || die "sed failed in ${i}" |
114 |
done |
115 |
|
116 |
cd tspc-advanced |
117 |
for i in platform/linux platform/unix-common src/lib src/net src/tsp src/xml ; do |
118 |
sed -i -e "s/-O2//" \ |
119 |
-e "s/CXXFLAGS=/CXXFLAGS+=/" \ |
120 |
-e "s/CFLAGS=/CFLAGS+=/" \ |
121 |
-e "s/LDFAGS=/LDFLAGS+=/" \ |
122 |
${i}/Makefile || die "sed failed in ${i}" |
123 |
done |
124 |
} |
125 |
|
126 |
src_compile() { |
127 |
# Parallel compilation broken |
128 |
emake -j1\ |
129 |
AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \ |
130 |
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ |
131 |
all configdir=/etc/freenet6 target=linux || die "Build Failed" |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
cd "${S}"/tspc-advanced |
136 |
dosbin bin/gw6c |
137 |
|
138 |
insopts -m 600 |
139 |
insinto /etc/freenet6 |
140 |
doins "${FILESDIR}"/gw6c.conf |
141 |
exeinto /etc/freenet6/template |
142 |
doexe template/linux.sh |
143 |
|
144 |
newinitd "${FILESDIR}"/gw6c.rc gw6c |
145 |
|
146 |
doman man/{man5/gw6c.conf.5,man8/gw6c.8} |
147 |
dodir /var/lib/freenet6 |
148 |
} |
149 |
|
150 |
pkg_preinst() { |
151 |
has_version "=${CATEGORY}/${PN}-1*" |
152 |
upgrade_from_1_x=$? |
153 |
} |
154 |
|
155 |
pkg_postinst() { |
156 |
if [[ $upgrade_from_1_x = 0 ]] ; then |
157 |
ewarn "Warning: you are upgrading from an older version" |
158 |
ewarn "The configuration file has been renamed to gw6c.conf" |
159 |
ewarn "Remember to port your personal settings from tspc.conf to it" |
160 |
ewarn "The init script has been renamed to 'gw6c'," |
161 |
else |
162 |
elog "The freenet6 ebuild installs an init script named 'gw6c'" |
163 |
fi |
164 |
elog "to coincide with the name of the client binary installed" |
165 |
elog "To add support for a freenet6 connection at startup, do" |
166 |
elog "" |
167 |
elog "# rc-update add gw6c default" |
168 |
} |