1 |
sochotnicky 11/01/18 23:58:04 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: gnunet-0.8.1-r2.ebuild |
5 |
Removed: gnunet-0.8.1-r1.ebuild |
6 |
Log: |
7 |
Fix potential buffer overflow in identity application (#339355) |
8 |
Fix bugs #351872 and #351658 (Use flag names, mysql support fix) |
9 |
|
10 |
(Portage version: 2.1.9.25/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.3 net-p2p/gnunet/metadata.xml |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/metadata.xml?rev=1.3&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/metadata.xml?rev=1.3&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/metadata.xml?r1=1.2&r2=1.3 |
18 |
|
19 |
Index: metadata.xml |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/gnunet/metadata.xml,v |
22 |
retrieving revision 1.2 |
23 |
retrieving revision 1.3 |
24 |
diff -u -r1.2 -r1.3 |
25 |
--- metadata.xml 14 Jan 2011 00:52:11 -0000 1.2 |
26 |
+++ metadata.xml 18 Jan 2011 23:58:04 -0000 1.3 |
27 |
@@ -4,13 +4,13 @@ |
28 |
<herd>net-p2p</herd> |
29 |
<longdescription>GNUnet is a framework for secure peer-to-peer networking that does not use any centralized or otherwise trusted services</longdescription> |
30 |
<use> |
31 |
- <flag name="c-ares">enable asynchronous dns support through c-ares library</flag> |
32 |
- <flag name="esmtp">enable SMTP support</flag> |
33 |
+ <flag name="ares">enable asynchronous dns support through <pkg>net-dns/c-ares</pkg> library</flag> |
34 |
+ <flag name="smtp">enable SMTP support using <pkg>net-libs/libesmtp</pkg></flag> |
35 |
<flag name="microhttpd">enable embedded http server support</flag> |
36 |
<flag name="setup">enable setup wizard</flag> |
37 |
- <flag name="dialog">enable ncurses dialog setup wizard</flag> |
38 |
+ <flag name="ncurses">enable ncurses setup wizard using <pkg>dev-util/dialog</pkg></flag> |
39 |
<flag name="gtk">enable gtk setup wizard</flag> |
40 |
- <flag name="qt">enable qt setup wizard</flag> |
41 |
+ <flag name="qt4">enable qt4 setup wizard</flag> |
42 |
<flag name="sqlite">enable sqlite database backend</flag> |
43 |
<flag name="mysql">enable mysql database backend</flag> |
44 |
</use> |
45 |
|
46 |
|
47 |
|
48 |
1.70 net-p2p/gnunet/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/ChangeLog?rev=1.70&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/ChangeLog?rev=1.70&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/ChangeLog?r1=1.69&r2=1.70 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v |
57 |
retrieving revision 1.69 |
58 |
retrieving revision 1.70 |
59 |
diff -u -r1.69 -r1.70 |
60 |
--- ChangeLog 14 Jan 2011 00:52:11 -0000 1.69 |
61 |
+++ ChangeLog 18 Jan 2011 23:58:04 -0000 1.70 |
62 |
@@ -1,6 +1,14 @@ |
63 |
# ChangeLog for net-p2p/gnunet |
64 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.69 2011/01/14 00:52:11 sochotnicky Exp $ |
66 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/ChangeLog,v 1.70 2011/01/18 23:58:04 sochotnicky Exp $ |
67 |
+ |
68 |
+*gnunet-0.8.1-r2 (18 Jan 2011) |
69 |
+ |
70 |
+ 18 Jan 2011; Stanislav Ochotnicky <sochotnicky@g.o> |
71 |
+ +files/0.8.1-Fix-buffer-overflow.patch, -gnunet-0.8.1-r1.ebuild, |
72 |
+ +gnunet-0.8.1-r2.ebuild, metadata.xml: |
73 |
+ Fix potential buffer overflow in identity application (#339355) |
74 |
+ Fix bugs #351872 and #351658 (Use flag names, mysql support fix) |
75 |
|
76 |
*gnunet-0.8.1-r1 (14 Jan 2011) |
77 |
|
78 |
|
79 |
|
80 |
|
81 |
1.1 net-p2p/gnunet/gnunet-0.8.1-r2.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1-r2.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1-r2.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: gnunet-0.8.1-r2.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2011 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1-r2.ebuild,v 1.1 2011/01/18 23:58:04 sochotnicky Exp $ |
91 |
|
92 |
EAPI=2 |
93 |
|
94 |
inherit autotools eutils |
95 |
|
96 |
S="${WORKDIR}/GNUnet-${PV}" |
97 |
DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network." |
98 |
HOMEPAGE="http://gnunet.org/" |
99 |
SRC_URI="http://gnunet.org/download/GNUnet-${PV}.tar.gz" |
100 |
#tests don't work |
101 |
RESTRICT="test" |
102 |
|
103 |
IUSE="nls +sqlite mysql ares adns +setup ncurses gtk qt4 smtp microhttpd" |
104 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
105 |
LICENSE="GPL-2" |
106 |
SLOT="0" |
107 |
|
108 |
DEPEND=">=dev-libs/libgcrypt-1.2.0 |
109 |
>=media-libs/libextractor-0.5.18a |
110 |
>=dev-libs/gmp-4.0.0 |
111 |
net-misc/curl |
112 |
sys-libs/zlib |
113 |
sys-apps/sed |
114 |
sqlite? ( >=dev-db/sqlite-3.0.8 ) |
115 |
mysql? ( >=virtual/mysql-4.0 ) |
116 |
!sqlite? ( !mysql? ( >=dev-db/sqlite-3.0.8 ) ) |
117 |
setup? ( >=dev-scheme/guile-1.8.0 |
118 |
ncurses? ( dev-util/dialog ) |
119 |
gtk? ( >=x11-libs/gtk+-2.6.10 |
120 |
gnome-base/libglade ) |
121 |
qt4? ( x11-libs/qt-gui ) |
122 |
) |
123 |
adns? ( net-libs/adns ) |
124 |
ares? ( net-dns/c-ares ) |
125 |
smtp? ( net-libs/libesmtp ) |
126 |
!ppc? ( !ppc64? ( !sparc? ( microhttpd? ( net-libs/libmicrohttpd ) ) ) ) |
127 |
nls? ( sys-devel/gettext )" |
128 |
|
129 |
RDEPEND="${DEPEND}" |
130 |
|
131 |
pkg_preinst() { |
132 |
enewgroup gnunetd |
133 |
enewuser gnunetd -1 -1 /dev/null gnunetd |
134 |
} |
135 |
|
136 |
src_prepare() { |
137 |
if ! use setup && ( use ncurses || use gtk || use qt4 ); then |
138 |
ewarn |
139 |
ewarn "You chose NOT to install setup utility. Ignoring setup frontends (ncurses, gtk, qt4)." |
140 |
ewarn |
141 |
fi |
142 |
|
143 |
if ! use sqlite; then |
144 |
# make mysql default sqstore if we do not compile sqlite support |
145 |
# (bug #107330) |
146 |
if use mysql; then \ |
147 |
sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \ |
148 |
contrib/config-daemon.in |
149 |
else |
150 |
ewarn |
151 |
ewarn "You didn't specify preferred database (mysql or sqlite)" |
152 |
ewarn "Choosing sqlite for you." |
153 |
ewarn |
154 |
fi |
155 |
fi |
156 |
|
157 |
# we do not want to built gtk support with USE=-gtk |
158 |
if ! use gtk ; then |
159 |
sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac |
160 |
fi |
161 |
|
162 |
epatch "${FILESDIR}"/${PV}-asneeded.patch |
163 |
epatch "${FILESDIR}"/${PV}-parallel-build.patch |
164 |
epatch "${FILESDIR}"/${PV}-Fix-buffer-overflow.patch |
165 |
eautoreconf |
166 |
} |
167 |
|
168 |
src_configure() { |
169 |
local myconf |
170 |
|
171 |
# if neither sqlite nor mysql are chosen pick sqlite |
172 |
if ! use sqlite; then |
173 |
if use mysql; then |
174 |
myconf="${myconf} --without-sqlite" |
175 |
else |
176 |
# fallback to sqlite |
177 |
myconf="${myconf} --with-sqlite" |
178 |
fi |
179 |
fi |
180 |
|
181 |
# doesn't work for --with-qt4 so use_with is unusable |
182 |
use qt4 || myconf="${myconf} --without-qt" |
183 |
use mysql || myconf="${myconf} --without-mysql" |
184 |
|
185 |
econf \ |
186 |
$(use_enable nls) \ |
187 |
$(use_with gtk x) \ |
188 |
$(use_with ncurses dialog) \ |
189 |
$(use_with adns) \ |
190 |
$(use_with ares c-ares) \ |
191 |
$(use_with smtp esmtp) \ |
192 |
$(use_with microhttpd) \ |
193 |
$(use_with setup guile) \ |
194 |
${myconf} || die "econf failed" |
195 |
} |
196 |
|
197 |
src_install() { |
198 |
emake DESTDIR="${D}" install || die "make install failed" |
199 |
dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README UPDATING || die |
200 |
insinto /etc |
201 |
newins contrib/gnunet.conf gnunet.conf |
202 |
docinto contrib |
203 |
dodoc contrib/* || die |
204 |
newinitd "${FILESDIR}"/${PN}.initd gnunet |
205 |
dodir /var/lib/gnunet |
206 |
chown gnunetd:gnunetd "${D}"/var/lib/gnunet |
207 |
} |
208 |
|
209 |
pkg_postinst() { |
210 |
# make sure permissions are ok |
211 |
chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet |
212 |
|
213 |
einfo |
214 |
einfo "To configure" |
215 |
einfo " 1) Add user(s) to the gnunetd group" |
216 |
einfo " 2) Run 'gnunet-setup' to generate your client config file" |
217 |
einfo " 3) Run gnunet-setup -d as root to generate a server config file" |
218 |
einfo |
219 |
} |